• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tomcat not starting

 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have installed tomcat 6.0.20 today,after trying to run (startup.bat) at http://localhost:8080 it does not run
so i tried to change the connector port(in server.xml) but nothing happened , neither did i get a log message .

i have read somewhere to check the error by running catalina so i did and got the message below at command prompt :



according to error, JAVA_HOME should point to JDK , but path given is E:\Program Files\Java\jdk1.6.0_14
where it went wrong

morever i have set JAVA_HOME environment variable by



tomcat installed in : C drive
jdk installed in : E drive

so where lies the error everything is set to work ???

explain briefly

 
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Windows restart may help
 
tushar panda
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Misha Ver wrote:Windows restart may help



still same problem , restarting didn't help .
 
JavaMonitor Support
Posts: 251
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear tushar,

Check that you have set JAVA_HOME with quotes, because of the space in the path name. Thus:

C:\> SET JAVA_HOME="E:\Program Files\Java\jdk1.6.0_14"
 
tushar panda
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Kees Jan Koster wrote:Dear tushar,

Check that you have set JAVA_HOME with quotes, because of the space in the path name. Thus:

C:\> SET JAVA_HOME="E:\Program Files\Java\jdk1.6.0_14"



thanks for reply

i did it but same problem .

how can i see and roll back all the path i have set , so that i can reset the path and try oncemore

 
tushar panda
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yippee tomcat is running .

i uninstalled glassfish and removed the environment variables of catalina .. and it worked.
reply
    Bookmark Topic Watch Topic
  • New Topic