WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Struts Error after Websphere Application Server Migration to 7.X

  • 1.  Struts Error after Websphere Application Server Migration to 7.X

    Posted Fri December 10, 2010 07:04 AM

    Hi All,
    We have recently migrated a  J2EE Struts project from Websphere applicaiton Server 6.0.2.39  to WAS 7.X  , After migration  when we ran the application,
    we are facing a weird struts error on a webpage, which is comming only on WAS 7.X( ie., we have tested this on all WAS 7 FP's( 7.0.0.1 to the very latest 7.0.0.13 )  and on WAS 6.1.X version as well. The same application works perfectly without any errors on WAS 6.0.2.X version.

    Below is the Stack trace :-
    ----------------------------------
    Error 500: javax.servlet.jsp.JspException: No getter method for property genericList of bean RegistrationProcessForm
    [12/10/10 12:13:07:312 IST] 00000019 servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [services_eservicepac] [/services/eservicepac] [/jsp/registrationtablegeneric.jsp]: Initialization successful.
    [12/10/10 12:13:07:421 IST] 00000019 servlet       E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet /jsp/registrationtablegeneric.jsp in application services_eservicepac. Exception created : com.ibm.websphere.servlet.error.ServletErrorReport: javax.servlet.jsp.JspException: No getter method for property genericList of bean RegistrationProcessForm
        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:695)
        at com.ibm._jsp._registrationtablegeneric._jspService(_registrationtablegeneric.java:1803)
        at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
        at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)


    Has any one  face this kind of problem or any suggestions are greatly appreciated.


     


    Thanks in Advance


     


    chandi



  • 2.  Struts Error after Websphere Application Server Migration to 7.X

    Posted Thu December 16, 2010 02:45 AM

    Maybe the JSP needs to be recompiled for some reason; did you look into that?



  • 3.  Struts Error after Websphere Application Server Migration to 7.X

    Posted Wed March 16, 2011 08:23 PM

    Hello!


    Recently We  made the same migration and we are getting a very similar error. How did you fix  that?


     


    Thanks!


    The following is the exception stack trace.


     [3/16/11 16:44:29:568 CDT] 00000033 servlet       E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet /newRequest.jsp in application DemandProd1. Exception created : com.ibm.websphere.servlet.error.ServletErrorReport: javax.servlet.jsp.JspException: Cannot find bean under name CATS
        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:695)
        at com.ibm._jsp._newRequest._jspService(_newRequest.java:225)
        at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
        at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
        at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:259)
        at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:353)
        at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:353)
        at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
        at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3933)
        at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
        at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:445)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:504)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:301)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:275)
        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1016)
        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:639)
        at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
    Caused by: javax.servlet.jsp.JspException: Cannot find bean under name CATS
        at org.apache.struts.taglib.html.OptionsTag.getIterator(OptionsTag.java:407)
        at org.apache.struts.taglib.html.OptionsTag.doEndTag(OptionsTag.java:232)
        at com.ibm._jsp._newRequest._jspx_meth_html_options_1(_newRequest.java:1033)
        at com.ibm._jsp._newRequest._jspx_meth_html_select_1(_newRequest.java:1071)
        at com.ibm._jsp._newRequest._jspx_meth_logic_equal_1(_newRequest.java:3351)
        at com.ibm._jsp._newRequest._jspx_meth_logic_notEqual_1(_newRequest.java:3508)
        at com.ibm._jsp._newRequest._jspx_meth_html_form_0(_newRequest.java:3604)
        at com.ibm._jsp._newRequest._jspService(_newRequest.java:217)



  • 4.  Struts Error after Websphere Application Server Migration to 7.X

    Posted Fri March 18, 2011 02:03 PM

    This is not really the same error as the previous post.


    the previous post it was about a method not found, while this one is about a bean not found.


    In this case, I would do more application debugging to see why its not found... this sounds like an application error.