当前位置: 代码迷 >> Web前端 >> webSphere portal InvocationTargetException 错误有关问题
  详细解决方案

webSphere portal InvocationTargetException 错误有关问题

热度:812   发布时间:2012-07-08 17:43:43.0
webSphere portal InvocationTargetException 异常问题

The SystemOut.log at the time of the exception displays content similar to the following snippet:
[1/19/09 14:41:22:877 PST] 00000045 WebApp E SRVE0026E: [Servlet Error]-[JSPG0227E: Exception caught while translating /ConsumerDirectStorefrontAssetStore/ShoppingArea/CatalogSection/CategorySubsection/TopCategoriesDisplay.jsp: 
java.lang.reflect.InvocationTargetException 
]: com.ibm.ws.jsp.translator.JspTranslationException: JSPG0227E: Exception caught while translating /ConsumerDirectStorefrontAssetStore/ShoppingArea/CatalogSection/CategorySubsection/TopCategoriesDisplay.jsp: 
java.lang.reflect.InvocationTargetException 

at com.ibm.ws.jsp.translator.JspTranslator.processVisitors(JspTranslator.java:133) 
at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJsp(JspTranslatorUtil.java:169) 
at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJspAndCompile(JspTranslatorUtil.java:82) 
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.translateJsp(JSPExtensionServletWrapper.java:386) 
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper._checkForTranslation(JSPExtensionServletWrapper.java:355)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.checkForTranslation(JSPExtensionServletWrapper.java:263) 
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:150) 
at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:254) 
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:334) 
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 com.ibm.commerce.struts.ECActionServlet.processRequest(ECActionServlet.java:249) 
at com.ibm.commerce.struts.ECActionServlet.doGet(ECActionServlet.java:179) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) 
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:255) 
at com.ibm.ws.cache.servlet.CacheHook.handleCacheMiss(CacheHook.java:669) 
.. 
[1/19/09 14:41:23:051 PST] 00000045 WebApp E SRVE0026E: [Servlet Error]-[JSPG0227E: Exception caught while translating /error.jsp: 
java.lang.reflect.InvocationTargetException 
]: com.ibm.ws.jsp.translator.JspTranslationException: JSPG0227E: Exception caught while translating /error.jsp: 
java.lang.reflect.InvocationTargetException 

at com.ibm.ws.jsp.translator.JspTranslator.processVisitors(JspTranslator.java:133) 
at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJsp(JspTranslatorUtil.java:169) 
at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJspAndCompile(JspTranslatorUtil.java:82) 
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.translateJsp(JSPExtensionServletWrapper.java:386) 
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper._checkForTranslation(JSPExtensionServletWrapper.java:355)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.checkForTranslation(JSPExtensionServletWrapper.java:263) 
.. 
[1/19/09 14:41:23:052 PST] 00000045 WebApp A SRVE0180I: [Stores] [/webapp/wcs/stores] [Servlet.LOG]: Error page exception The server cannot use the error page specified for your application because of the exception printed below. 
.. 
[1/19/09 14:41:23:053 PST] 00000045 WebApp A SRVE0181I: [Stores] [/webapp/wcs/stores] [Servlet.LOG]: Error Page Exception: : com.ibm.ws.jsp.webcontainerext.JSPErrorReport: JSPG0227E: Exception caught while translating /error.jsp: 
java.lang.reflect.InvocationTargetException?
出现这样的问题有可能是linux下文件权限的事情,server没有权限读取jsp文件的权限
解决办法:将这些文件的权限还原到能读写 并付给portal的用户
ibm技术支持网站上找到的答案 ?找了好半天,linux里面的权限问题真多
网站:http://www-01.ibm.com/support/docview.wss?uid=swg21388377
  相关解决方案