Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Problem with Tomcat 5.5x and Win 7

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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
 
Darren Littlepage
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Thanks William.

I ended up posting in the Tomcat forum here:
https://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.
 
Dinner will be steamed monkey heads with a side of tiny ads.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
    Bookmark Topic Watch Topic
  • New Topic