WepSphere Application Server中已编译JSP的位置

时间:2015-12-29 03:23:52

标签: java jsp websphere

我的应用程序部署在websphere应用程序服务器上,我在jsp文件中收到错误。如何在websphere中获取该jsp的编译java代码。在开发环境中我使用jboss服务器和相同的代码工作正常。

以下是错误日志。

            [12/29/15 10:40:58:929 HKT] 0000013b LocalTranCoor E   WLTC0017E: Resources rolled back due to setRollbackOnly() being called. 
            [12/29/15 10:40:58:929 HKT] 0000013b webapp        E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[/jsp/product/SIExpressionEditor.jsp]: java.lang.IllegalArgumentException 
                    at com.ibm.wsspi.webcontainer.util.RequestUtils.parseName(RequestUtils.java:353) 
                    at com.ibm.wsspi.webcontainer.util.RequestUtils.parseQueryString(RequestUtils.java:142) 
                    at com.ibm.ws.webcontainer.srt.SRTServletRequest.parseQueryStringList(SRTServletRequest.java:2377) 
                    at com.ibm.ws.webcontainer.srt.SRTServletRequest.parseParameters(SRTServletRequest.java:2353) 
                    at com.ibm.ws.webcontainer.srt.SRTServletRequest.getParameterValues(SRTServletRequest.java:1876) 
                    at com.ibm._jsp._SIExpressionEditor._jspService(_SIExpressionEditor.java:118) 
                    at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99) 
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) 
                    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1224) 
                    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774) 
                    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456) 
                    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178) 
                    at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122) 
                    at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:216) 

如何找到

com.ibm._jsp._SIExpressionEditor._jspService(_SIExpressionEditor.java:118)

这行编译代码。

1 个答案:

答案 0 :(得分:3)

您需要在keepgenerated=true文件中设置ibm-web.ext.xml选项。生成的源将存储在Profile_Root/temp/node_name/server_name/EAR_App_Name/WAR_APP_Name/temp

有关详情,请查看: