• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat starting trouble

 
Rex Rock
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I download tomcat and installed it. I have set the TOMCAT_HOME,JAVA_HOME variables. I clicked on startup.bat to startup tomcat, and went to http://localhost:8080 and the page loaded fine. However when i clicked on JSP examples and choose number guess, i get an exception as under.
<code>
javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:871)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve
..
..
</code>
Am i missing something . ?
?
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat 4.0.x does not use TOMCAT_HOME.

Set CATALINA_HOME instead
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic