tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From damar thapa <da...@netvigator.com>
Subject Re: Error on running .war application in Tomcat-4.1.18
Date Wed, 09 Apr 2003 12:02:55 GMT
Hi,

The problem is solved after creating lib directory under /WEB-INF, and 
placing barracuda.jar, log4j-1.2.6.jar and xmlc.jar file there.


Damar


damar@netvigator.com wrote:

>Hi,
>
>I created a small webapp, using Enhydra5.1 and Barracuda1.1.1, which when
>run under enhydra, works fine. But, when I deploy the .war file to
>Tomcat-4.1.18 and run, I get the following error message:  
>
>*type* Exception report
>
>*message*
>
>*description* _The server encountered an internal error () that 
>prevented it from fulfilling this request._
>
>*exception*
>
>org.apache.jasper.JasperException: Error allocating a servlet instance
>	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)
>	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
>	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
>	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
>	at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
>	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
>	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
>	at java.lang.Thread.run(Thread.java:536)
>
>*root cause*
>
>javax.servlet.ServletException: Error allocating a servlet instance
>	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:670)
>	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:653)
>	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
>	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
>	at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
>	at org.apache.jsp.index_jsp._jspService(index_jsp.java:52)
>	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204)
>	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
>	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
>	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
>	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
>	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
>	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
>	at java.lang.Thread.run(Thread.java:536)
>
>The server is running Slackware8.0 and Tomcat can run all examples with
>no problem.  
>
>Have I missed some classes in CLASSPATH environment? or, class conflicts
>with different applications? 
>
>Any pointers would be highly appreciated.
>
>Damar
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message