You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Amine AMAR <a....@dns1.caciopee.com> on 2001/12/05 10:38:47 UTC

Configuring tomcat4 to run as a WinNT Service

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:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Configuring tomcat4 to run as a WinNT Service

Posted by amol <ma...@yahoo.com>.
check out
http://www.alexandriasc.com/software/JavaService

----- Original Message -----
From: "Amine AMAR" <a....@dns1.caciopee.com>
To: <to...@jakarta.apache.org>
Sent: Wednesday, December 05, 2001 3:08 PM
Subject: Configuring tomcat4 to run as a WinNT Service


> 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:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>