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
posted
0
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
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