[Webinar] Streamline your web hosting managementRegister Today


Problems with Tomcat6 on IIS7 Windows 2008 64bit

Posted on 2010-04-06
Medium Priority
Last Modified: 2013-12-02
I am having a problem.  I have an IIS7 web server sitting on Win2008 64bit fully patched.
I have had Tomcat6 running on it since the end of last year.

The server had a hard disk problem and I ended up reloading.  Everything worked fine except that Tomcat will not start.  So I proceeded to un-install and re-install to the newest version.  I also ended up uninstalling/re-installing Java to the newest build.  For Tomcat I used the 32/64bit service installer.

Tomcat will not start.  I have copied the .dll file from the Java/bin directory to the Tomcat/bin directory, didn't work.  I downloaded the full 64bit version and copied the files into the Tomcat/bin folder, didn't work.  I found the 2 files in the common daemon, renamed them and copied to the Tomcat/bin folder, didn't work.  

I currently have a clean copy from the 32/64bit service installer installed and this is what I get when I try to start the service:
[2010-04-06 22:32:57] [info] Commons Daemon procrun ( started
[2010-04-06 22:32:57] [info] Running Service...
[2010-04-06 22:32:57] [info] Starting service...
[2010-04-06 22:32:58] [206  javajni.c] [error] %1 is not a valid Win32 application.
[2010-04-06 22:32:58] [985  prunsrv.c] [error] Failed creating java c:\Java\\bin\client\jvm.dll
[2010-04-06 22:32:58] [1280 prunsrv.c] [error] ServiceStart returned 1
[2010-04-06 22:32:58] [info] Run service finished.
[2010-04-06 22:32:58] [info] Commons Daemon procrun finished.

In the system events I get:
The Apache Tomcat 6 service terminated with service-specific error 0 (0x0).

Any ideas what is going on?
Question by:otbtech
  • 2
LVL 27

Accepted Solution

Tolomir earned 2000 total points
ID: 29978483
Did you use java 64 bit version?

This sounds like you use the wrong java version.


Choose "Windows x64" as platform.

-> Download Java SE Development Kit 6u19          for Windows x64,   Multi-language

And before installation deinstall (cleanup) old java and tomcat.  


Author Comment

ID: 30012278
I will try this link.  However I was getting the same error with the older version of Java that I was using, and it worked before.  That is what is really confusing me.

Author Comment

ID: 30015910
Thanks that worked.  I know that this was the same Java that I was using before, just updated from 2 versions ago.  Not sure why it was working before.  

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question