Problem noticed in initializing the servlets.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Smita_L
Posted On:   Wednesday, August 20, 2003 08:41 AM

I have already seen http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6248 and issues 11752 and 6374. My issue is different than the above mentioned issues. I don't use any xml/parser related/dependent classes. I do use tomcat 4.0 and would like to stick to it. I do have Context tag in the main web.xml in conf directory. My we-app web.xml has all the servlets listed. The configurations seems to be fine. Becuase the same stuff works at rest of the times. But it fails to initiate 1 or more servlets sometimes. The error is- 2003-08-24 15:12:19 invoker: Cannot allocate servlet instance for path /webgui/servlet/System javax.s   More>>


I have already seen


http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6248
and issues 11752 and 6374.


My issue is different than the above mentioned issues. I don't use any xml/parser related/dependent classes.


I do use tomcat 4.0 and would like to stick to it.


I do have Context tag in the main web.xml in conf directory. My we-app web.xml has all the servlets listed. The configurations seems to be fine. Becuase the same stuff works at rest of the times. But it fails to initiate 1 or more servlets sometimes.


The error is-


2003-08-24 15:12:19 invoker: Cannot allocate servlet instance for path /webgui/servlet/System
javax.servlet.ServletException: Error allocating a servlet instance
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java)
at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java)
at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java)
at java.lang.Thread.run(Thread.java:536)
----- Root Cause -----
java.lang.IllegalArgumentException: com.r2tech.servlet.control
at java.lang.ClassLoader.definePackage(ClassLoader.java:1151)
at java.net.URLClassLoader.definePackage(URLClassLoader.java:310)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java)
at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java)
at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java)
at java.lang.Thread.run(Thread.java:536)

   <<Less
About | Sitemap | Contact