dcsimg
HTTP Status 500 - The server encountered an internal error () that prevented it from fulfilling this request
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, July 17, 2006 10:16 AM

hello.please help me. I am a beginner. I have just installed tomcat5.0 and tried to execute a servlet.I am getting the following error.tried tried tried to resolve, I am tired but nochange in error message . pleaseeeeeeeee helpme. message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error allocating a servlet instance org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781) org.apache.coyote.http11.Http11Protocol$Http1   More>>

hello.please help me. I am a beginner. I have just installed tomcat5.0 and tried to execute a servlet.I am getting the following error.tried tried tried to resolve, I am tired but nochange in error message . pleaseeeeeeeee helpme.

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Error allocating a servlet instance
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
java.lang.Thread.run(Thread.java:536)


root cause

java.lang.NoClassDefFoundError: beerselect (wrong name: example/beerselect)
java.lang.ClassLoader.defineClass0(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:502)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1652)
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:883)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1212)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
java.lang.Thread.run(Thread.java:536)


note The full stack trace of the root cause is available in the Tomcat logs.

   <<Less

Re: HTTP Status 500 - The server encountered an internal error () that prevented it from fulfilling this request

Posted By:   lavanya_latha  
Posted On:   Wednesday, July 26, 2006 03:16 AM

Hi



root cause java.lang.NoClassDefFoundError: beerselect ..



This error occured bcos u havent defined some class correctly.. check out ur class names and also whether u have defined the servlet in web.xml or not.. If this is related to any of ur files or code (wrong name: example/beerselect) then do check this out..
About | Sitemap | Contact