|
From: Chris B. <chr...@ya...> - 2004-02-09 15:20:03
|
Thanks for the reply Leif. I did as you suggested and attempted to run after removing the -Dwrapper.key and it ran just fine. It's only within the wrapper that I appear to have problems. I'm using the -Xbootclasspath:/p option on the java command line to insert my class in front of the standard rt.jar, is it possible that the wrapper has an issue with this? Thank you, Chris Leif Mortenson <le...@ta...> wrote: 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? ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user --------------------------------- Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online |