|
From: Leif M. <le...@ta...> - 2008-01-30 14:58:31
|
Pedro, The error that you are seeing is actually not related to the Wrapper. It is being caused because you compiled your classes using a newer JVM version than the one you are running with. When running as a service, the environment variables may not be quite the same as they are when running as a console application. To help debug this problem, try setting the following property. wrapper.java.command.loglevel=INFO That will cause the Wrapper to output the complete generated command used to launch the JVM. You might also want to setup a JAVA_HOME environment variable as a System wide variable and then set your java command as follows: wrapper.java.command=%JAVA_HOME%/bin/java Let me know if you are unable to get it working. Cheers, Leif Pedro Alves wrote: > Hello, > > The Web Services Client Application return all documents and attached > available in the server. > > The application above run with Java Service Wrapper developer by your > team. > My question is: When it run in the server side your software > didn't find the main class to start the application. Can you have some > explanation for it? > The same application run well in a destop with the same software > developer by your team. > > Your support is well came. See the output information below: > > wrapper | --> Wrapper Started as Console > wrapper | Launching a JVM... > jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org > jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights > Reserved. > jvm 1 | > jvm 1 | WrapperSimpleApp: Unable to locate the class > no.more.webservice.resultset.axis.Client: > java.lang.UnsupportedClassVersionError: > no/more/webservice/resultset/axis/Client (Unsupported major.minor > version 49.0) > jvm 1 | > jvm 1 | WrapperSimpleApp Usage: > jvm 1 | java org.tanukisoftware.wrapper.WrapperSimpleApp > {app_class} [app_arguments] > jvm 1 | > jvm 1 | Where: > jvm 1 | app_class: The fully qualified class name of the > application to run. > jvm 1 | app_arguments: The arguments that would normally be > passed to the > jvm 1 | application. > wrapper | <-- Wrapper Stopped |