aspose file tools*
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
Author

tomcat jsp probem

felix thomas
Ranch Hand

Joined: Jun 10, 2001
Posts: 89
hi,
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:
java.lang.NoSuchMethodError
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?
regds.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Jayanthimeena
Greenhorn

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
Bye
Jayanthi
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
help needed urgent
error 500
jsp examples
struts problem
To Tomcat and JSP users.. *help* :)