tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin HaleBoyes <>
Subject Re: Tomcat-as-an-NT-service startup failure
Date Mon, 07 Jan 2002 20:18:47 GMT
Thanks for your help Andrew.

First to answer some of the points made:
I didn't install the jk_nt_service component since Tomcat already worked
as a service.  Ie., I could start and stop it from the NT service manager.

I only have one JDK installed on the machine though there is also a JRE
installed.  Tomcat, during installation, identified the JDK properly.

I uninstalled Tomcat from the machine and started again.  This time
I rebooted after (almost) every step.  The result:  Tomcat now starts
properly as a service at boot time!  I don't know why there is a difference
based on the number of times I rebooted during the install!  Tomcat can
also serve content when I access it directly on the 8080 port.

I do still have one problem though.
I can't get the redirection between IIS and Tomcat to work properly.

I added the "jakarta" virtual directory
(points to bin\native in the Tomcat installation directory) and I ensured
that execute permission is enabled.  The isapi_redirect.dll exists in the
bin\native directory.

I also added the ISAPI filter (isapi_redirect.dll) using the IIS manager
and it shows up with the green arrow.  I also enabled the AJP connector in
the server.xml file and set the following in the

When I access a jsp page I get the following error in the IIS log files:

2002-01-07 17:55:59 - 80 GET
/jakarta/isapi_redirect.dll - 404

I get that message and then a whole bunch of garbage (ascii barf) with some
recognizable text:


I'm not sure where to go from here so any help and or comments
would be greatly appreciated.


 --- Andrew Bruno <> wrote: 
> Hi Kevin,
> in my document there could be a mistake.
> tomcat binary comes pre-installed with the NT Service, so there is no need to
> install the second jk_nt_service
> Look in your services, and see if you see if you see a service named Apache
> Tomcat with executabel path being C:\tomcat4\bin\tomcat.exe
> Then you will probably have a second service (as specified in my doc) which
> you created with jk_nt_service
> Please let me know if this is the case.
> Also, do you have only one JVM installed?  I read some posting about people
> have two JVMs, which caused some problems?
> ~ Andrew
>   ----- Original Message ----- 
>   From: Kevin HaleBoyes 
>   To: 
>   Sent: Saturday, December 15, 2001 4:01 AM
>   Subject: Tomcat-as-an-NT-service startup failure
>   I just installed j2sdk1.3.1, Tomcat4, and the IIS redirector stuff
>   posted by Andrew Bruno.  It all seems to work fine except on the
>   initial startup of the machine.  If I manually start the Tomcat
>   service then everything works great but when I reboot the machine,
>   the Tomcat service _fails_ to start.  I get the following message
>   in the application section of the Event Viewer: "The Java Virtual
>   Machine has exited with a code of 1, the service is being stopped".
>   But, like I said above, I can then go into the service admin program
>   and start Tomcat. Does anyone have any idea why the JVM is exiting
>   or how I can find out what it all means (what is code 1)?
>   I'm using the latest jdk, tomcat, redirector on Win2K
>    (+sp1+hot patches).
>   Thanks,
>   Kevin.

Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message