wood burning stoves 2.0*
The moose likes Servlets and the fly likes tomcat jsp probem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat jsp probem" Watch "tomcat jsp probem" New topic

tomcat jsp probem

felix thomas
Ranch Hand

Joined: Jun 10, 2001
Posts: 89
i installed tomcat 3.2.3 my windows 98 system .but none of the Jsp examples work it gives the following error.
Error: 500
Location: /examples/jsp/num/numguess.jsp
Internal Servlet Error:
at org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:289)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1183)
at org.apache.tomcat.core.Handler.service(Handler.java:312)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)

what could be the problem i have set all the classpath defined in the document properly.
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

what could be the problem i have set all the classpath defined in the document properly.

I wonder why you had to do this.....
All I would expect to do is set TOMCAT_HOME and
JAVA_HOME. Tomcat does the classpath automatically.
Looks like your JSP is not getting translated properly.
I could help if you provide more details....
1. Did you change any of the configuration parameters?
2. Does this re-occur if you shutdown tomcat and start
it again?
I would try the latter first and see whats' going on.
Also do you get all these errors for any JSP or only the
NumGuess JSP?
- satya

Take a Minute, Donate an Hour, Change a Life

Joined: Jul 24, 2001
Posts: 17
Hai all
First after installing the tomcat, go to bin and click startup.bat. if it starts up, go to browser and type http://localhost:8080 and press enter. If tomcat home page comes then click the link " jsp examples". and now it will work fine.
Set javahome to point to jdk kit and
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

you might have an older servlet.jar file that is referenced before the new one in your System CLASSPATH.

Remove all the old ones, and restart the server.
I agree. Here's the link: http://aspose.com/file-tools
subject: tomcat jsp probem
Similar Threads
jsp examples
To Tomcat and JSP users.. *help* :)
error 500
struts problem
help needed urgent