Hello all, 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 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'. Runnin c:\j2sdk1.4.2_02\bin\java -server does not give that error, so it seems that Tomcat is somehow picking the wrong java.exe. If I run "Configure Tomcat" again, and put C:\j2sdk1.4.2_02\bin\java.exe instead of the default java.exe, then the problem gets worse: $ net start "apache tomcat" The service is not responding to the control function. More help is available by typing NET HELPMSG 2186. And the "Configure Tomcat" tool does not start anymore, I have to modify the value in the registry. This is using clean installs for the J2SDK and Tomcat. I've glanced at the Tomcat 5.0.18 changelog, and didn't notice anything that could relate to that, but I haven't tried installing it yet. Does anybody know if I'm doing something wrong, or if there is a problem in Tomcat 5.0.16 install? TIA, Laurent --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]