aspose file tools*
The moose likes Tomcat and the fly likes Problem with Tomcat 5.5x and Win 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic
Author

Problem with Tomcat 5.5x and Win 7

Darren Littlepage
Ranch Hand

Joined: Dec 27, 2010
Posts: 35
Hello,

I'm having a problem getting Tomcat 5.5x to run on Windows 7. I installed it in C:Tomcat
It installs fine and all...but the service won't start. When I look at the log it says:
Failed creating java C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
I set the permissions for the folder and file so it could have full access.
When I change the Startup tab to use Java instead of jvm I get this error:
Unable to find Java Runtime Environment.

Is there a work around? Any help is appreciated.
I don't mind running it from a cmd prompt if I knew how. That info would be good too if it's possible.
The reason I'm going with ver 5.5x is because I am studying for the SCJWCD.

Thanks in advance.


OCPJP for Java 6 on 01/2011
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12682
    
    5
For study you really should be running Tomcat as an application rather than a service.

Download the zipped version (I recommend version 6 not 5) and expand it - should result in an application you can start with start.bat

Bill

Java Resources at www.wbrogden.com
Darren Littlepage
Ranch Hand

Joined: Dec 27, 2010
Posts: 35
Thanks William.

I ended up posting in the Tomcat forum here:
http://www.coderanch.com/t/525348/java-Web-Component-SCWCD/certification/Tomcat-Windows-problems

I did go with ver 6. I am having JAVA_HOME problems. It is telling me that my JAVA_HOME needs to point to a JDK and not a JRE. It does point to a JDK...without the bin folder.
My version has a startup.bat in the bin directory.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with Tomcat 5.5x and Win 7
 
Similar Threads
Tomcat 5.5x on Windows 7 problems
JDK 1.5 with Tomcat 5.0.x
Compatability Package for Tomcat5.5?
A couple of generic Tomcat questions
how to start and stop tomcat 5.5 server