Dominik Use 8.3 file names shortened named for directories over 8 characters e.g. C:\Program Files to C:\PROGRA~1 -Martin ----- Original Message ----- From: "Dominik Drzewiecki" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Thursday, January 22, 2004 8:37 AM Subject: Re: -server VM option does not work, changing VM breaks configure tool
> >I'm trying to check if the -server option of the VM would improve performance. > >However, I'm running into weird problems. > > > >My platform is Windows 2000, J2SDK 1.4.2_02, Tomcat 5.0.16. > > > >Java was installed with the default options (it installed the JRE automatically). > >Tomcat was installed with the "Service" option checked, and correctly detected > >the path for the SDK. > >JAVA_HOME is set to c:\j2sdk1.4.2_02 > >PATH is set to C:\j2sdk1.4.2_02\bin;%SystemRoot%\system32;etc... > > > >Using the "Configure Tomcat" tool, I've set the Java options to: > >-Dcatalina.home="C:\Program Files\Apache Software Foundation\Tomcat 5.0" > >-Djava.endorsed.dirs="C:\Program Files\Apache Software Foundation\Tomcat > >5.0\common\endorsed" > >-server > -server needs to be the first parameter following java executable. > Try placing it as a first parameter. > > > > >But then, when I try to run the service, I get that: > >$ net start "apache tomcat" > >The Apache Tomcat service is starting. > >The Apache Tomcat service could not be started. > > > >The service did not report an error. > > > >More help is available by typing NET HELPMSG 3534. > > > > > >Nothing in Windows' logs, and Tomcat stderr is truncated: > >$ more stderr.log > >Err > > > >I tried several times, and sometimes got only the first letter, and once more > >information, and the error is the same as when running: > >C:\>c:\winnt\system32\java -server > >Error: no `server' JVM at `C:\Program Files\Java\j2re1.4.2_02\bin\server\jvm.dll'. > Indeed, j2sdk1.4.2 does not install server vm within the j2re in C:\Program > Files\Java\j2re1.4.2_02\bin\. You can simply copy appropriate binaried from j2sdk > or update your PATH env variable so that JAVA_HOME\bin\java is picked up first. > > >Does anybody know if I'm doing something wrong, or if there is a problem in > >Tomcat 5.0.16 install? > Everything's fine with it, honest. > > Best regards, > Dominik > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
