I am using this version of java:
C:\NetProvision\jre\bin>java -version
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode)
The jvm.dll version that I am using reports
File version: 5.0.70.3
Full version: 1.5.0_07-b03
Description: Java HotSpot(TM) Server VM
The way I register the service is with the following script:
setlocal
set TOMCAT_HOME=%1\tomcat
set CATALINA_HOME=%TOMCAT_HOME%
set CATALINA_BASE=%CATALINA_HOME%
set JAVA_HOME=%1\jre
set SERVICE_NAME=Tomcat5
set PR_DISPLAYNAME=Apache Tomcat
set PR_DESCRIPTION=Apache Tomcat Server
set PR_LOGPATH=%CATALINA_HOME%\logs
set PR_CLASSPATH=%CATALINA_HOME%\bin\bootstrap.jar
set PR_JVM=%JAVA_HOME%\bin\server\jvm.dll
set PR_STDOUTPUT=auto
set PR_STDERROR=auto
cd %TOMCAT_HOME%\bin
%TOMCAT_HOME%\bin\tomcat5.exe //IS//Tomcat5 --StartClass
org.apache.catalina.startup.Bootstrap --StopClass
org.apache.catalina.startup.Bootstrap --StartParams start --StopParams
stop --Startup=auto --StartMode jvm --StopMode jvm --JvmOptions
"-Dcatalina.base=%CATALINA_BASE%;-Dcatalina.home=%CATALINA_HOME%;-Djava.rmi.server.hostname=%COMPUTERNAME%;-Djava.endorsed.dirs=%CATALINA_HOME%\common\endorsed;-Djava.io.tmpdir=%CATALINA_BASE%\temp;-Djava.net.preferIPv4Stack=true"
--JvmSs 250 --JvmMs 512 --JvmMx 512
The version of Tomcat is (I know, its old, can't help it right now):
C:\NetProvision\tomcat\bin>version.bat
Using CATALINA_BASE: C:\NetProvision\tomcat
Using CATALINA_HOME: C:\NetProvision\tomcat
Using CATALINA_TMPDIR: C:\NetProvision\tomcat\temp
Using JAVA_HOME: C:\NetProvision\jre\
Server version: Apache Tomcat/5.5.9
Server built: Mar 26 2005 02:21:04
Server number: 5.5.9.0
OS Name: Windows 2003
OS Version: 5.2
Architecture: x86
JVM Version: 1.5.0_07-b03
JVM Vendor: Sun Microsystems Inc.
I still can't recreate the problem locally - I'm hoping to get access
to the problematic system again later today, and I'll try to capture
some more detailed error logs.
I don't think that LD_LIBRARY_PATH is set - but I'll verify that on
the problem machine.
Likewise, none of my test machines have this key:
HKLM\System\CurrentControlSet\Control\SessionManager\SafeDllSearchMode
- but I'll check that on the problem machine as well when I get a
chance.
Thanks for any advice...
Dan
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|