File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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(
at org.apache.tomcat.core.Handler.service(
at org.apache.tomcat.core.ServletWrapper.service(
at org.apache.tomcat.core.ContextManager.handleError(
at org.apache.tomcat.core.Handler.service(
at org.apache.tomcat.core.ServletWrapper.service(
at org.apache.tomcat.core.ContextManager.internalService(
at org.apache.tomcat.core.ContextManager.service(
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(
at org.apache.tomcat.service.TcpWorkerThread.runIt(
at org.apache.tomcat.util.ThreadPool$

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:
subject: tomcat jsp probem
It's not a secret anymore!