1

使用 WAS 控制台,我删除了一个应用程序并重新安装了它。因为在那之后我得到了错误。

Error Page Exception

SRVE0260E: 服务器无法使用为您的应用程序指定的错误页面来处理下面打印的原始异常。

原始例外:

错误消息:JSPG0049E:/EliteStorefrontAssetStore/UserArea/AccountSection/LogonSubsection/LogonSetup.jsp 无法编译:JSPG0225E:在静态包含的文件中的第 222 行发生错误:/EliteStorefrontAssetStore/include/JSTLEnvironmentSetup.jspf JSPG0093E:从生成的 servlet 错误文件:/EliteStorefrontAssetStore/UserArea/AccountSection/LogonSubsection/LogonSetup.jsp D:\IBM\WebSphere\AppServer\profiles\mistage\temp\WC_mistage_node\server1\WC_mistage\Stores.war_ibmjsp\EliteStorefrontAssetStore\UserArea\AccountSection\LogonSubsection_LogonSetup.java:460 : ServletRequest 类型中的方法 setAttribute(String, Object) 不适用于参数 (String, int) JSPG0225E: 静态包含文件中的第 223 行发生错误:/EliteStorefrontAssetStore/include/JSTLEnvironmentSetup.jspf JSPG0093E:从文件生成的 servlet 错误:/EliteStorefrontAssetStore/UserArea/AccountSection/LogonSubsection/LogonSetup.jsp D:\IBM\WebSphere\AppServer\profiles\mistage\temp\WC_mistage_node\server1\WC_mistage\Stores.war_ibmjsp\EliteStorefrontAssetStore\UserArea\AccountSection\LogonSubsection_LogonSetup .java:461:ServletRequest 类型中的方法 setAttribute(String, Object) 不适用于参数 (String, int) 错误代码:500 目标 Servlet:/EliteStorefrontAssetStore/UserArea/AccountSection/LogonSubsection/LogonSetup.jsp 错误堆栈: com.ibm.ws.jsp.JspCoreException: JSPG0049E: /EliteStorefrontAssetStore/UserArea/AccountSection/LogonSubsection/LogonSetup.jsp 编译失败:\IBM\WebSphere\AppServer\profiles\mistage\temp\WC_mistage_node\server1\WC_mistage\Stores.war_ibmjsp\EliteStorefrontAssetStore\UserArea\AccountSection\LogonSubsection_LogonSetup.java:461:ServletRequest 类型中的方法 setAttribute(String, Object) 不适用对于参数(字符串,整数)错误代码:500 目标 Servlet:/EliteStorefrontAssetStore/UserArea/AccountSection/LogonSubsection/LogonSetup.jsp 错误堆栈:com.ibm.ws.jsp.JspCoreException:JSPG0049E:/EliteStorefrontAssetStore/UserArea/AccountSection/LogonSubsection /LogonSetup.jsp 编译失败:\IBM\WebSphere\AppServer\profiles\mistage\temp\WC_mistage_node\server1\WC_mistage\Stores.war_ibmjsp\EliteStorefrontAssetStore\UserArea\AccountSection\LogonSubsection_LogonSetup.java:461:ServletRequest 类型中的方法 setAttribute(String, Object) 不适用对于参数(字符串,整数)错误代码:500 目标 Servlet:/EliteStorefrontAssetStore/UserArea/AccountSection/LogonSubsection/LogonSetup.jsp 错误堆栈:com.ibm.ws.jsp.JspCoreException:JSPG0049E:/EliteStorefrontAssetStore/UserArea/AccountSection/LogonSubsection /LogonSetup.jsp 编译失败:500 目标 Servlet:/EliteStorefrontAssetStore/UserArea/AccountSection/LogonSubsection/LogonSetup.jsp 错误堆栈:com.ibm.ws.jsp.JspCoreException:JSPG0049E:/EliteStorefrontAssetStore/UserArea/AccountSection/LogonSubsection/LogonSetup.jsp 编译失败:500 目标 Servlet:/EliteStorefrontAssetStore/UserArea/AccountSection/LogonSubsection/LogonSetup.jsp 错误堆栈:com.ibm.ws.jsp.JspCoreException:JSPG0049E:/EliteStorefrontAssetStore/UserArea/AccountSection/LogonSubsection/LogonSetup.jsp 编译失败:

 JSPG0225E: An error occurred at line: 222 in the statically included file: /EliteStorefrontAssetStore/include/JSTLEnvironmentSetup.jspf 
 JSPG0093E: Generated servlet error from file: /EliteStorefrontAssetStore/UserArea/AccountSection/LogonSubsection/LogonSetup.jsp 

 D:\IBM\WebSphere\AppServer\profiles\mistage\temp\WC_mistage_node\server1\WC_mistage\Stores.war\_ibmjsp\EliteStorefrontAssetStore\UserArea\AccountSection\LogonSubsection\_LogonSetup.java : 460 : The method setAttribute(String, Object) in the type ServletRequest is not applicable for the arguments (String, int) 

 JSPG0225E: An error occurred at line: 223 in the statically included file: /EliteStorefrontAssetStore/include/JSTLEnvironmentSetup.jspf 
 JSPG0093E: Generated servlet error from file: /EliteStorefrontAssetStore/UserArea/AccountSection/LogonSubsection/LogonSetup.jsp 

 D:\IBM\WebSphere\AppServer\profiles\mistage\temp\WC_mistage_node\server1\WC_mistage\Stores.war\_ibmjsp\EliteStorefrontAssetStore\UserArea\AccountSection\LogonSubsection\_LogonSetup.java : 461 : The method setAttribute(String, Object) in the type ServletRequest is not applicable for the arguments (String, int) 

 at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.translateJsp(AbstractJSPExtensionServletWrapper.java:612) 
 at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper._checkForTranslation(AbstractJSPExtensionServletWrapper.java:479) 
 at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.checkForTranslation(AbstractJSPExtensionServletWrapper.java:337) 
 at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:153) 
 at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:372) 
 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:225) 
 at com.ibm.commerce.struts.ECActionServlet.doGet(ECActionServlet.java:166) 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) 
 at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:307) 
 at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:576) 
 at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:250) 
 at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:259) 
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657) 
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597) 
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131) 
 at com.ibm.commerce.campaigns.filter.CampaignsFilter.doFilter(CampaignsFilter.java:148) 
 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) 
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) 
 at com.ibm.commerce.likeminds.filter.LikeMindsFilter.doFilter(LikeMindsFilter.java:183) 
 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) 
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) 
 at com.ibm.commerce.dynacache.filter.CacheFilter$1.run(CacheFilter.java:377) 
 at com.ibm.commerce.dynacache.filter.CacheFilter.doFilter(CacheFilter.java:508) 
 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) 
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) 
 at com.ibm.commerce.webcontroller.RuntimeServletFilter.doFilterAction(RuntimeServletFilter.java:724) 
 at com.ibm.commerce.webcontroller.RuntimeServletFilter.access$0(RuntimeServletFilter.java:534) 
 at com.ibm.commerce.webcontroller.RuntimeServletFilter$1.run(RuntimeServletFilter.java:475) 
 at com.ibm.commerce.webcontroller.RuntimeServletFilter.doFilter(RuntimeServletFilter.java:500) 
 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) 
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) 
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77) 
 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908) 
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934) 
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502) 
 at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181) 
 at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3935) 
 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:1592) 
 at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186) 
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452) 
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511) 
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305) 
 at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83) 
 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:1613) 

错误页面异常:

错误消息:JSPG0049E:/error.jsp 编译失败:JSPG0091E:在文件中的第 45 行发生错误:/error.jsp JSPG0093E:从文件中生成的 servlet 错误:/error.jsp D:\IBM\WebSphere\AppServer \profiles\mistage\temp\WC_mistage_node\server1\WC_mistage\Stores.war_ibmjsp_error.java:120:OutTag 类型中的方法 setValue(Object) 不适用于参数 (int) JSPG0091E:第 56 行发生错误文件:/error.jsp JSPG0093E:从文件生成的 servlet 错误:/error.jsp D:\IBM\WebSphere\AppServer\profiles\mistage\temp\WC_mistage_node\server1\WC_mistage\Stores.war_ibmjsp_error.java:140:方法OutTag 类型中的 setValue(Object) 不适用于参数 (int) 错误代码:500 目标 Servlet:/error.jsp 错误堆栈:com.ibm.ws.jsp.JspCoreException:JSPG0049E:/error.jsp 编译失败:

 JSPG0091E: An error occurred at line: 45 in the file: /error.jsp 
 JSPG0093E: Generated servlet error from file: /error.jsp 

 D:\IBM\WebSphere\AppServer\profiles\mistage\temp\WC_mistage_node\server1\WC_mistage\Stores.war\_ibmjsp\_error.java : 120 : The method setValue(Object) in the type OutTag is not applicable for the arguments (int) 

 JSPG0091E: An error occurred at line: 56 in the file: /error.jsp 
 JSPG0093E: Generated servlet error from file: /error.jsp 

 D:\IBM\WebSphere\AppServer\profiles\mistage\temp\WC_mistage_node\server1\WC_mistage\Stores.war\_ibmjsp\_error.java : 140 : The method setValue(Object) in the type OutTag is not applicable for the arguments (int) 

 at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.translateJsp(AbstractJSPExtensionServletWrapper.java:612) 
 at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper._checkForTranslation(AbstractJSPExtensionServletWrapper.java:479) 
 at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.checkForTranslation(AbstractJSPExtensionServletWrapper.java:337) 
 at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:153) 
 at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:372) 
 at com.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:3369) 
 at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:255) 
 at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:372) 
 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:225) 
 at com.ibm.commerce.struts.ECActionServlet.doGet(ECActionServlet.java:166) 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) 
 at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:307) 
 at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:576) 
 at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:250) 
 at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:259) 
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657) 
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597) 
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131) 
 at com.ibm.commerce.campaigns.filter.CampaignsFilter.doFilter(CampaignsFilter.java:148) 
 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) 
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) 
 at com.ibm.commerce.likeminds.filter.LikeMindsFilter.doFilter(LikeMindsFilter.java:183) 
 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) 
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) 
 at com.ibm.commerce.dynacache.filter.CacheFilter$1.run(CacheFilter.java:377) 
 at com.ibm.commerce.dynacache.filter.CacheFilter.doFilter(CacheFilter.java:508) 
 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) 
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) 
 at com.ibm.commerce.webcontroller.RuntimeServletFilter.doFilterAction(RuntimeServletFilter.java:724) 
 at com.ibm.commerce.webcontroller.RuntimeServletFilter.access$0(RuntimeServletFilter.java:534) 
 at com.ibm.commerce.webcontroller.RuntimeServletFilter$1.run(RuntimeServletFilter.java:475) 
 at com.ibm.commerce.webcontroller.RuntimeServletFilter.doFilter(RuntimeServletFilter.java:500) 
 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) 
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) 
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77) 
 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908) 
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934) 
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502) 
 at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181) 
 at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3935) 
 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:1592) 
 at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186) 
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452) 
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511) 
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305) 
 at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83) 
 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:1613) 
4

1 回答 1

0

问题很老了 - 但如果其他人面临这个错误,调查的一条线是:

根本错误似乎是这样的:

ServletRequest 类型中的方法 setAttribute(String, Object) 不适用于参数 (String, int)

看起来当 JSP(int)需要一个对象时,它正在传递一个原始类型的参数。更改要传递的代码new Integer(int)可以解决问题。

于 2014-08-12T04:51:40.460 回答