Problems with Tomcat6 on IIS7 Windows 2008 64bit

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 (1.0.2.0) 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?
Thanks
otbtechAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TolomirAdministratorCommented:
Did you use java 64 bit version?



This sounds like you use the wrong java version.

http://java.sun.com/javase/downloads/widget/jdk6.jsp

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.  


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
otbtechAuthor Commented:
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.
0
otbtechAuthor Commented:
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.  
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.