You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Prabhakar, V" <V....@compaq.com> on 2002/05/17 01:09:22 UTC
Getting Struts Example work with WebSphere 4.0
I am trying to get the struts example (struts-example.war) work with Websphere. I am getting to the main page (index.jsp). From there I am able to go to the tour page. But I am unable to get to login page. When I try login page, the web server encounters internal error.
My config is:
Win 2000 server
IIS 5.0
Websphere 4.0
Xceres 1.4.4 (installed separately)
I have *not* configured the websphere with any jdbc resources. I assume the sample (example) does not require any database and keeps the thing in an xml file. Am I wrong?
Any help would be appreciated. I have attached the stack trace which I got from the websphere log file:
[02.05.16 18:56:48:820 EDT] 516e1a24 WebGroup X Servlet Error (Root + 1)
[02.05.16 18:56:48:852 EDT] 516e1a24 WebGroup X SRVE0030E: Root Cause java.lang.IllegalArgumentException: cant remove Attributes from request scope
at org.apache.jasper.runtime.PageContextImpl.removeAttribute(PageContextImpl.java:269)
at org.apache.struts.taglib.html.FormTag.doEndTag(FormTag.java:591)
at logon_jsp_0._jspService(logon_jsp_0.java:389)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:127)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:286)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:415)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:532)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:718)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:428)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:870)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:788)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:439)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:239)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:104)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:61)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:132)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:125)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:271)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:49)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:303)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:232)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
Thanks,
_V Prabhakar
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>