tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goehring, Chuck Mr., RCI - San Diego" <cgoehr...@resourceconsultants.com>
Subject Installing Tomcat 4.1.24 as a service on Win 2000 - won't start
Date Fri, 05 Sep 2003 22:16:49 GMT
Tomcatters,

I'm having trouble getting tomcat installed as a Win2000 service.

Below is the command I'm using:
"%CATALINA_HOME%\bin\tomcat.exe" -install "Apache Tomcat" "%JAVA_HOME%\jre\bin\server\jvm.dll"
-Djava.class.path="%CATALINA_HOME%\bin\bootstrap.jar" -Djava.endorsed.dirs="%CATALINA_HOME%\bin;%CATALINA_HOME%\common\lib"
-Dcatalina.home="%CATALINA_HOME%" -start org.apache.catalina.startup.BootstrapService -params
start -stop org.apache.catalina.startup.BootstrapService -params stop -out "%CATALINA_HOME%\logs\stdout.log"
-err "%CATALINA_HOME%\logs\stderr.log"

It succeeds and produces registry entries that look the same as those created by the Tomcat
installer.  When it tries to load, the following messages get logged to the event log:

  The LoadLibrary function failed for the following reason: The specified module could not
be found.
  Could not load the Java Virtual Machine. 
  The Apache Tomcat service failed to start. 

There is nothing in any of tomcats logs.  The version info is as folowes:
  Win 2000 service pack 4
  Tomcat 4.1.24
  Java j2sdk1.4.2_01 (never used this new one before)

Environment(wrapped):
  CATALINA_HOME=f:\Tomcat4.1
  JAVA_HOME=d:\j2re1.4.2_01
  Path=F:\Tomcat4.1\bin;E:\perl\bin;E:\Apache2\bin;D:\j2sdk1.4.2_01\bin;C:\PROGRA~
  1\SIMSEX~1;c:\aux_bin;C:\Oracle\Ora81\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\Sy
  stem32\Wbem;C:\PROGRA~1\MICROS~3\Common\msdev98\BIN;C:\PROGRA~1\MICROS~3\VC98\BI
  N;C:\PROGRA~1\MICROS~3\Common\TOOLS\WINNT;C:\PROGRA~1\MICROS~3\Common\TOOLS;"C:\
  Program Files\Symantec_Client_Security\Symantec AntiVirus"

If I start it with the startup.bat, it comes up fine.

Anyone have a suggestion?

Chuck





 

Mime
View raw message