| Author |
Failed to load servlet
|
Nilesh Pathare
Greenhorn
Joined: Jul 12, 2006
Posts: 2
|
|
Hi, I have deployed an application on Websphere Server ver. 5.1 and when I try to access the application I get an Internal Server Error. After checking the log file I could see the error below.... Can anybody help me explain whats going wrong with the application or the server. Thanks in advance... Error Log ========== E SRVE0020E: [Servlet Error]-[action]: Failed to load servlet: javax.servlet.UnavailableException at org.apache.struts.action.ActionServlet.init(ActionServlet.java:368) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147) at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113) at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:876) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.getServletReference(WebAppServletManager.java:455) at com.ibm.ws.webcontainer.webapp.WebApp.getServletReference(WebApp.java:726) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.calculateInfo(WebAppRequestDispatcherInfo.java:207) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.<init>(WebAppRequestDispatcherInfo.java:78) at com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1564) at com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1523) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:290) at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:246) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:448) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:936)
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
|
This can happen if you put your struts.jar file in a common area used by other applications. Make sure that the struts.jar file and its accompanying commons-xxx.jar files exist in the WEB-INF/lib directory, and nowhere else.
|
Merrill
Consultant, Sima Solutions
|
 |
Nilesh Pathare
Greenhorn
Joined: Jul 12, 2006
Posts: 2
|
|
Thanks for the reply.. I check all the .jar files location and they do reside in the WEB-INF/lib folder only. Any other suggestion or something else I should be looking at ??? Nilesh...
|
 |
 |
|
|
subject: Failed to load servlet
|
|
|