Once the new code has been deployed to WebSphere Commerce environment and hit the Category Page, it starting throwing the following Exception,
[8/4/16 7:29:13:700 GMT] 00000059 webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[/DefaultStorefrontAssetStore/Layouts/SearchBasedCategoryPage.jsp]: com.ibm.ws.jsp.JspCoreException: JSPG0049E: /DefaultStorefrontAssetStore/Layouts/SearchBasedCategoryPage.jsp failed to compile :
/opt/IBM/WebSphere/AppServer/profiles/live/temp/WC_myNode_node/server1/WC_live/Stores.war/DefaultStorefrontAssetStore/Layouts/_SearchBasedCategoryPage.java : 967 : The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.translateJsp(AbstractJSPExtensionServletWrapper.java:620)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper._checkForTranslation(AbstractJSPExtensionServletWrapper.java:487)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.checkForTranslation(AbstractJSPExtensionServletWrapper.java:340)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:156)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:374)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at com.ibm.commerce.struts.ECActionServlet.processRequest(ECActionServlet.java:232)
at com.ibm.commerce.struts.ECActionServlet.doGet(ECActionServlet.java:173)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at com.ibm.commerce.struts.ECActionServlet.service(ECActionServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
To fix the issue, here are the steps,
- Login to WAS Administration Console
- Navigate to Servers --> Server Types --> WebSphere application servers
- Click on server1
- In Configuration Tab, Click on Container Settings --> Web Container Settings --> Web Container
- Click on Additional Properties --> Custom properties
- Click on New and provide the custom property,
Value: true
- Restart the server
Thanks Yashod :) Got this issue resolved with your help
ReplyDeleteGreat Yashod!
ReplyDeleteThanks Yashod. Nice article, Solved my issue like a gem :)
ReplyDelete