|
From: Paul G. <PGu...@ps...> - 2004-07-28 13:30:57
|
When I run jboss.bat the wrapper works fine but when I run it as a service it gives me like it doesn't know how to launch the JVM. What am I missing? STATUS | wrapper | 2004/07/28 09:31:15 | --> Wrapper Started as Service STATUS | wrapper | 2004/07/28 09:31:15 | Launching a JVM... INFO | jvm 1 | 2004/07/28 09:31:15 | Usage: java [-options] class [args...] INFO | jvm 1 | 2004/07/28 09:31:15 | (to execute a class) INFO | jvm 1 | 2004/07/28 09:31:15 | or java [-options] -jar jarfile [args...] INFO | jvm 1 | 2004/07/28 09:31:15 | (to execute a jar file) INFO | jvm 1 | 2004/07/28 09:31:15 | INFO | jvm 1 | 2004/07/28 09:31:15 | where options include: INFO | jvm 1 | 2004/07/28 09:31:15 | -client to select the "client" VM INFO | jvm 1 | 2004/07/28 09:31:15 | -server to select the "server" VM INFO | jvm 1 | 2004/07/28 09:31:15 | -hotspot is a synonym for the "client" VM [deprecated] INFO | jvm 1 | 2004/07/28 09:31:15 | The default VM is client. INFO | jvm 1 | 2004/07/28 09:31:15 | INFO | jvm 1 | 2004/07/28 09:31:15 | -cp <class search path of directories and zip/jar files> INFO | jvm 1 | 2004/07/28 09:31:15 | -classpath <class search path of directories and zip/jar files> INFO | jvm 1 | 2004/07/28 09:31:15 | A ; separated list of directories, JAR archives, INFO | jvm 1 | 2004/07/28 09:31:15 | and ZIP archives to search for class files. INFO | jvm 1 | 2004/07/28 09:31:15 | -D<name>=<value> INFO | jvm 1 | 2004/07/28 09:31:15 | set a system property INFO | jvm 1 | 2004/07/28 09:31:15 | -verbose[:class|gc|jni] INFO | jvm 1 | 2004/07/28 09:31:15 | enable verbose output INFO | jvm 1 | 2004/07/28 09:31:15 | -version print product version and exit INFO | jvm 1 | 2004/07/28 09:31:15 | -showversion print product version and continue INFO | jvm 1 | 2004/07/28 09:31:15 | -? -help print this help message INFO | jvm 1 | 2004/07/28 09:31:15 | -X print help on non-standard options INFO | jvm 1 | 2004/07/28 09:31:15 | -ea[:<packagename>...|:<classname>] INFO | jvm 1 | 2004/07/28 09:31:15 | -enableassertions[:<packagename>...|:<classname>] INFO | jvm 1 | 2004/07/28 09:31:15 | enable assertions INFO | jvm 1 | 2004/07/28 09:31:15 | -da[:<packagename>...|:<classname>] INFO | jvm 1 | 2004/07/28 09:31:15 | -disableassertions[:<packagename>...|:<classname>] INFO | jvm 1 | 2004/07/28 09:31:15 | disable assertions INFO | jvm 1 | 2004/07/28 09:31:15 | -esa | -enablesystemassertions INFO | jvm 1 | 2004/07/28 09:31:15 | enable system assertions INFO | jvm 1 | 2004/07/28 09:31:15 | -dsa | -disablesystemassertions INFO | jvm 1 | 2004/07/28 09:31:15 | disable system assertions Paul W. Guilmette Sr. Programmer Analyst PSCU Financial Services 727-572-7723 ext 2247 ----------------------------------------------------------------------- This e-mail is intended for the addressee shown. It contains information that is confidential and protected from disclosure. Any review, dissemination or use of this transmission or its contents by persons or unauthorized employees of the intended organizations is strictly prohibited. The contents of this email do not necessarily represent the views or policies of PSCU Financial Services. |
|
From: Leif M. <le...@ta...> - 2004-07-28 15:07:17
|
Paul,
Most likely this is a simple mistake in the wrapper.conf file. Add
the wrapper.debug=true
property to the wrapper.conf and try again. Amongst other information,
this will cause the
full command used to launch the JVM to be printed to the log. Once you
have seen that the
difference between it and the batch file should become obvious.
I am curious what exact mistake would cause this, so do post back.
Also if you are still
having problems, post back with your wrapper.conf and the wrapper.log
(with debug output)
as attachments (not inline due to line wrapping).
Cheers,
Leif
Paul Guilmette wrote:
>When I run jboss.bat the wrapper works fine but when I run it as a
>service it gives me like it doesn't know how to launch the JVM. What am
>I missing?
>
>STATUS | wrapper | 2004/07/28 09:31:15 | --> Wrapper Started as
>Service
>STATUS | wrapper | 2004/07/28 09:31:15 | Launching a JVM...
>INFO | jvm 1 | 2004/07/28 09:31:15 | Usage: java [-options] class
>[args...]
>INFO | jvm 1 | 2004/07/28 09:31:15 | (to execute a
>class)
>INFO | jvm 1 | 2004/07/28 09:31:15 | or java [-options] -jar
>jarfile [args...]
>INFO | jvm 1 | 2004/07/28 09:31:15 | (to execute a jar
>file)
>INFO | jvm 1 | 2004/07/28 09:31:15 |
>INFO | jvm 1 | 2004/07/28 09:31:15 | where options include:
>INFO | jvm 1 | 2004/07/28 09:31:15 | -client to select the
>"client" VM
>INFO | jvm 1 | 2004/07/28 09:31:15 | -server to select the
>"server" VM
>INFO | jvm 1 | 2004/07/28 09:31:15 | -hotspot is a synonym
>for the "client" VM [deprecated]
>INFO | jvm 1 | 2004/07/28 09:31:15 | The default
>VM is client.
>INFO | jvm 1 | 2004/07/28 09:31:15 |
>INFO | jvm 1 | 2004/07/28 09:31:15 | -cp <class search path of
>directories and zip/jar files>
>INFO | jvm 1 | 2004/07/28 09:31:15 | -classpath <class search
>path of directories and zip/jar files>
>INFO | jvm 1 | 2004/07/28 09:31:15 | A ;
>separated list of directories, JAR archives,
>INFO | jvm 1 | 2004/07/28 09:31:15 | and ZIP
>archives to search for class files.
>INFO | jvm 1 | 2004/07/28 09:31:15 | -D<name>=<value>
>INFO | jvm 1 | 2004/07/28 09:31:15 | set a
>system property
>INFO | jvm 1 | 2004/07/28 09:31:15 | -verbose[:class|gc|jni]
>INFO | jvm 1 | 2004/07/28 09:31:15 | enable
>verbose output
>INFO | jvm 1 | 2004/07/28 09:31:15 | -version print
>product version and exit
>INFO | jvm 1 | 2004/07/28 09:31:15 | -showversion print
>product version and continue
>INFO | jvm 1 | 2004/07/28 09:31:15 | -? -help print this
>help message
>INFO | jvm 1 | 2004/07/28 09:31:15 | -X print help
>on non-standard options
>INFO | jvm 1 | 2004/07/28 09:31:15 |
>-ea[:<packagename>...|:<classname>]
>INFO | jvm 1 | 2004/07/28 09:31:15 |
>-enableassertions[:<packagename>...|:<classname>]
>INFO | jvm 1 | 2004/07/28 09:31:15 | enable
>assertions
>INFO | jvm 1 | 2004/07/28 09:31:15 |
>-da[:<packagename>...|:<classname>]
>INFO | jvm 1 | 2004/07/28 09:31:15 |
>-disableassertions[:<packagename>...|:<classname>]
>INFO | jvm 1 | 2004/07/28 09:31:15 | disable
>assertions
>INFO | jvm 1 | 2004/07/28 09:31:15 | -esa |
>-enablesystemassertions
>INFO | jvm 1 | 2004/07/28 09:31:15 | enable
>system assertions
>INFO | jvm 1 | 2004/07/28 09:31:15 | -dsa |
>-disablesystemassertions
>INFO | jvm 1 | 2004/07/28 09:31:15 | disable
>system assertions
>
>
|