• Post Reply 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
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Windows cannot stat the apache tomcat 6 on Local Computer

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Folks

I'm having problems with getting tomcat to run. The strange thing is that I was running fine on this machine.

I had a set of files in the ROOT folder and the site was working fine at localhost:8080

I stopped the service and replaced the site in ROOT with a completely different site. I restarted tomcat and each time I browsed to http://localhost:8080/index.jsp it redirected to http://localhost:8080/find_a_contractor (this is what the previous site was supposed to do.)

I could not figure out what this was happening so I thought I would just uninstall tomcat and re install it. Now I get the error "Windows cannot start the apache tomcat 6 on Local Computer" each time I try to start the service.



I have searched endlessly on forums and google to try to find reason this might be happening, I have tried many different things suggested on different threads.

I have tried different versions of tomcat.

apache-tomcat-6.0.24-windows-x86
apache-tomcat-6.0.24-windows-i64
apache-tomcat-5.5.28

I have tried combining different versions of JRE with tomcat.

I have tried re installing my whole OS and still get the same result on the fresh install.

I am running vista 64 bit on a x86 box, with an Intel Core I5 CPU 4 GB

When I run the installer it wants to install to
C:\Program Files\Apache Software Foundation\Tomcat 6.0

Should it be
C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0 ???

I don't have an error log right now as I uninstalled it again and re tried installing it and now I get



the error log with this says


UAC is switched off.

Any tips of recommendations would be much appreciated.

Thanks in advance!






 
michael white
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
so I got it working...

im so bloody confused about JREs and JDKs

I installed

jdk-6u18-windows-x64.exe
to
C:\Program Files\Java\jdk1.6.0_18

and
jre-6u18-windows-i586.exe
to
C:\Program Files (x86)\Java\jre6

but C:\Program Files\Java\
shows
C:\Program Files\Java\jdk1.6.0_18
and
C:\Program Files\Java\jre6

I followed the instructions at http://www.advancedwebstats.com/user-guide/html/en/ch05.html

I have to say that it seems confusing to me, like Im not sure where to start.

I would be cool if there was a noob tutorial on apache.org from beginning to end explaining how to set the JAVA_HOME path prior to installing tomcat.

thanks folks!!





 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic