tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amine AMAR" <a.a...@dns1.caciopee.com>
Subject Configuring tomcat4 to run as a WinNT Service
Date Wed, 05 Dec 2001 09:38:47 GMT
Hello,

I'm runnig tomcat V4.0 under Win2000. It runs perfectly from the command
line. I was used to the jk_nt_service.exe utility for tomcat 3.2.4. it seems
that it no longer exists for tomcat 4 and was replaced by
%tomcat_home%\bin\tomcat.exe.

I tried to use the following command to install tomcat4 as a Win2000
service:
tomcat -install tomcat4
C:\jdk1.3.1_01\lib -Djava.classpath="C:\jakarta-tomcat-4.0.1\bin\bootstrap.j
ar;C:\jdk1.3.1_01\lib\lib\tools.jar" -Dcatalina.base="C:\jakarta-tomcat-4.0.
1" -Dcatalina.home="C:\jakarta-tomcat-4.0.1" -start
org.apache.catalina.startup.Bootstrap -params start -stop
org.apache.catalina.startup.Bootstrap -params stop -out
"C:\jakarta-tomcat-4.0.1\logs\out.log" -err
"C:\jakarta-tomcat-4.0.1\logs\err.log" -current "C:\jakarta-tomcat-4.0.1"

the service installs correctly but when trying to start it, I get the
following messages (in the Win event log)
The tomcat4 service failed to start.
Could not load the Java Virtual Machine.
The LoadLibrary function failed for the following reason: Access Denied

Can anyone please help :)

Thank you very much

Amine




--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message