|
From: Leif M. <le...@ta...> - 2006-09-23 02:19:10
|
Casey, The wrapper.java.command, wrapper.java.classpath.n, and wrapper.java.library.path.n values should be auto wrapped in quotes. I am wondering if you have any other parameters defined. Could you do the following? Add the wrapper.java.command.loglevel=INFO property and rerun. This will cause the full java command to be logged to the wrapper.log file. Post that back to the list in your reply. Also please post your full wrapper.conf file as an attachment. It is also possible to avoid this problem altogether by using relative paths. Everything must be relative to the location of the wrapper.exe. If your wrapper.exe is located in your Corticon\Apache\common\bin directory for example, the following values could be used: wrapper.java.command=../../../JRE/bin/java wrapper.java.classpath.1=../lib/wrapper.jar wrapper.java.classpath.2=../../bin/bootstrap.jar This will make your application much more portable as well as it can not be installed anywhere in a user's system. Let me see your output and conf file from your static paths first however. Cheers, Leif Casey Kochmer wrote: > I am using the latest build of: Wrapper_3.2.1 > <http://sourceforge.net/project/showfiles.php?group_id=39428&package_id=31591&release_id=431137> > [Notes > <http://sourceforge.net/project/shownotes.php?release_id=431137&group_id=39428>] > (2006-07-10 19:17) > Ok I have some silly questions: > > when I do this in the config file: > > wrapper.java.command=C:\Program Files\Corticon\JRE\bin\java > > I get the following error > > STATUS | wrapper | 2006/09/22 15:48:32 | Launching a JVM... > INFO | jvm 1 | 2006/09/22 15:48:32 | java.util.zip.ZipException : > The system cannot find the file specified > > How do you handle spaces in windows 2003 server enviroment? > > > So then for testing purposes I use the default JVM but then I have > issues with the spaces in the classpath and Parms > > wrapper.java.classpath.1=C:\Program > Files\Corticon\Apache\common\lib\wrapper.jar > wrapper.java.classpath.2=C:\Program > Files\Corticon\Apache\bin\bootstrap.jar > > with the following error: > > STATUS | wrapper | 2006/09/22 16:16:53 | --> Wrapper Started as Console > STATUS | wrapper | 2006/09/22 16:16:53 | Launching a JVM... > INFO | jvm 1 | 2006/09/22 16:16:53 | Unable to access jarfile > Files\Corticon\Apache > > From the error its clear its having parsing issues. I tried using a > sys variable but it gives me similiar headache > > I also have problems with the parms > > > # Java Additional Parameters > wrapper.java.additional.1=-jar > wrapper.java.additional.2=-Duser.dir=C:\Program Files\Corticon\Apache > > > help for newbie! |