|
From: Leif M. <le...@ta...> - 2004-02-05 20:26:33
|
Chris,
In general, that is not something you are supposed to do. But I
assume you
know that. :-)
Normally, the rt.jar jar file is not located on the class path. I
believe it is looked at
before anything else on your classpath (??) I actually would not expect
what you are
doing to work even when running Java manually, so I am not sure why you
are only
having problems running with the Wrapper.
Set the wrapper.debug=true property in your wrapper.conf file. This
will cause
the Wrapper to display the full Java command used to launch the JVM in
the log.
Copy that full command into a fresh batch file. You will need to remove the
-Dwrapper.key property from the command, but other than that you should not
make any changes.
Now try running that script. It should behave exactly as it does
when running
under the Wrapper, only the Wrapper is now out of the equation. You
can then
fiddle with that batch file until you have things working. When you
know what the
problem was it should be easy to make the changes to the wrapper.conf
file to get
things working.
Let me know if you have any questions while doing the above.
Cheers,
Leif
Chris Brundick wrote:
> I'm very close to being able to run my application as a service in
> WinXP but I'm having an issue. I am replacing one of the standard
> java classes in java.io with my own version. I place my jar
> containing this class in the wrapper.java.classpath list in my
> wrapper.conf but it doesn't appear to recognize it. It seems to work
> just fine in the console. Any thoughts?
|