|
From: Christian M. <chr...@ta...> - 2012-04-23 02:18:58
|
Hello, The ClassNotFoundException you are seeing means that the wrapper.jar file wasn't found on the classpath. In your conf file, I can see the following: wrapper.java.classpath.2=../lib/wrapper.jar Can you please make sure that the file is located at the specified location? Hope this information helps you out. Best Regards, Christian Mueller Tanuki Software, Ltd. On Fri, Apr 20, 2012 at 6:33 PM, Abhishek Chordia < ema...@gm...> wrote: > Hi , > > Now i am getting the below error and also wrapper.conf file attached.: > > > STATUS | wrapper | 2012/04/20 14:54:30 | Launching a JVM... > ERROR | wrapper | 2012/04/20 14:54:31 | JVM exited while loading the > application. > INFO | jvm 3 | 2012/04/20 14:54:31 | Exception in thread "main" > java.lang.NoClassDefFoundError: > org/tanukisoftware/wrapper/test/WrapperSimpleApp > INFO | jvm 3 | 2012/04/20 14:54:31 | Caused by: > java.lang.ClassNotFoundException: > org.tanukisoftware.wrapper.test.WrapperSimpleApp > INFO | jvm 3 | 2012/04/20 14:54:31 | at > java.net.URLClassLoader$1.run(URLClassLoader.java:200) > INFO | jvm 3 | 2012/04/20 14:54:31 | at > java.security.AccessController.doPrivileged(Native Method) > INFO | jvm 3 | 2012/04/20 14:54:31 | at > java.net.URLClassLoader.findClass(URLClassLoader.java:188) > INFO | jvm 3 | 2012/04/20 14:54:31 | at > java.lang.ClassLoader.loadClass(ClassLoader.java:307) > INFO | jvm 3 | 2012/04/20 14:54:31 | at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > INFO | jvm 3 | 2012/04/20 14:54:31 | at > java.lang.ClassLoader.loadClass(ClassLoader.java:252) > INFO | jvm 3 | 2012/04/20 14:54:31 | at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > INFO | jvm 3 | 2012/04/20 14:54:31 | Could not find the main class: > org.tanukisoftware.wrapper.test.WrapperSimpleApp. Program will exit. > STATUS | wrapper | 2012/04/20 14:54:35 | Launching a JVM... > ERROR | wrapper | 2012/04/20 14:54:35 | JVM exited while loading the > application. > INFO | jvm 4 | 2012/04/20 14:54:35 | Exception in thread "main" > java.lang.NoClassDefFoundError: > org/tanukisoftware/wrapper/test/WrapperSimpleApp > INFO | jvm 4 | 2012/04/20 14:54:35 | Caused by: > java.lang.ClassNotFoundException: > org.tanukisoftware.wrapper.test.WrapperSimpleApp > INFO | jvm 4 | 2012/04/20 14:54:35 | at > java.net.URLClassLoader$1.run(URLClassLoader.java:200) > INFO | jvm 4 | 2012/04/20 14:54:35 | at > java.security.AccessController.doPrivileged(Native Method) > INFO | jvm 4 | 2012/04/20 14:54:35 | at > java.net.URLClassLoader.findClass(URLClassLoader.java:188) > INFO | jvm 4 | 2012/04/20 14:54:35 | at > java.lang.ClassLoader.loadClass(ClassLoader.java:307) > INFO | jvm 4 | 2012/04/20 14:54:35 | at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > INFO | jvm 4 | 2012/04/20 14:54:35 | at > java.lang.ClassLoader.loadClass(ClassLoader.java:252) > INFO | jvm 4 | 2012/04/20 14:54:35 | at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > INFO | jvm 4 | 2012/04/20 14:54:35 | Could not find the main class: > org.tanukisoftware.wrapper.test.WrapperSimpleApp. Program will exit. > STATUS | wrapper | 2012/04/20 14:54:40 | Launching a JVM... > ERROR | wrapper | 2012/04/20 14:54:40 | JVM exited while loading the > application. > INFO | jvm 5 | 2012/04/20 14:54:40 | Exception in thread "main" > java.lang.NoClassDefFoundError: > org/tanukisoftware/wrapper/test/WrapperSimpleApp > INFO | jvm 5 | 2012/04/20 14:54:40 | Caused by: > java.lang.ClassNotFoundException: > org.tanukisoftware.wrapper.test.WrapperSimpleApp > INFO | jvm 5 | 2012/04/20 14:54:40 | at > java.net.URLClassLoader$1.run(URLClassLoader.java:200) > INFO | jvm 5 | 2012/04/20 14:54:40 | at > java.security.AccessController.doPrivileged(Native Method) > INFO | jvm 5 | 2012/04/20 14:54:40 | at > java.net.URLClassLoader.findClass(URLClassLoader.java:188) > INFO | jvm 5 | 2012/04/20 14:54:40 | at > java.lang.ClassLoader.loadClass(ClassLoader.java:307) > INFO | jvm 5 | 2012/04/20 14:54:40 | at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > INFO | jvm 5 | 2012/04/20 14:54:40 | at > java.lang.ClassLoader.loadClass(ClassLoader.java:252) > INFO | jvm 5 | 2012/04/20 14:54:40 | at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > INFO | jvm 5 | 2012/04/20 14:54:40 | Could not find the main class: > org.tanukisoftware.wrapper.test.WrapperSimpleApp. Program will exit. > FATAL | wrapper | 2012/04/20 14:54:41 | There were 5 failed launches in > a row, each lasting less than 300 seconds. Giving up. > FATAL | wrapper | 2012/04/20 14:54:41 | There may be a configuration > problem: please check the logs. > STATUS | wrapper | 2012/04/20 14:54:41 | <-- Wrapper Stopped > > > > > > > > On Fri, Apr 20, 2012 at 1:27 PM, Christian Mueller < > chr...@ta...> wrote: > >> Hello Abhishek, >> >> thank you for your mail. >> >> please change the following property: >> wrapper.java.mainclass=org.tanukisoftware.wrapper.test.Main >> to >> wrapper.java.mainclass=org.tanukisoftware.wrapper.test.WrapperSimpleApp >> >> org.tanukisoftware.wrapper.test.Main is actually the main class of the >> test application, which is shipped with every Wrapper distribution. >> >> Furthermore, I saw that the property wrapper.app.parameter.1 is commented >> out, please make sure that the name of your main class is put here and is >> correct. >> >> Hope this information helps you out. >> >> Best Regards, >> >> Christian Mueller >> Tanuki Software, Ltd. >> >> >> >> On Fri, Apr 20, 2012 at 1:10 PM, Abhishek Chordia < >> ema...@gm...> wrote: >> >>> Hi Team, >>> >>> Please help me out, i am not able to start my java application using >>> Wrapper but it is running fine manually : >>> >>> System Configuration : Linux 32 bit system. >>> Wrapper version : 3.514 >>> >>> Configurtion & log file attached. >>> >>> -- >>> Regards, >>> Abhishek Chordia >>> M : 08802042181 >>> One97 Communication Ltd. >>> B-121, Sector -5, Noida (NCR)-201301, India. >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> For Developers, A Lot Can Happen In A Second. >>> Boundary is the first to Know...and Tell You. >>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >>> http://p.sf.net/sfu/Boundary-d2dvs2 >>> _______________________________________________ >>> Wrapper-user mailing list >>> Wra...@li... >>> https://lists.sourceforge.net/lists/listinfo/wrapper-user >>> >>> >> >> >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> >> > > > -- > Regards, > Abhishek Chordia > M : 08802042181 > One97 Communication Ltd. > B-121, Sector -5, Noida (NCR)-201301 > > |