当前位置: 首页 > 知识库问答 >
问题:

在websphere(WAS)8.5上运行时,在任何范围异常中都找不到bean

燕和同
2023-03-14

我试图在WAS 8.5上部署web服务,启动应用程序时,服务器日志中出现以下异常。此服务以前在was 7上运行。

有人知道这件事吗?

提前感谢。

[3/4/14 5:27:39:741 CST] 00000191 servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.appmanagement.appedition/appCollectionTableLayout.jsp]: Initialization successful.
**[3/4/14 5:27:39:788 CST] 00000191 servlet       E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: Uncaught service() exception root cause /secure/layouts/pagingLayout.jsp: com.ibm.websphere.servlet.error.ServletErrorReport: javax.servlet.jsp.JspException: Cannot find bean com.ibm.ws.console.appmanagement.appedition.AppEditionApplicationCollectionForm in any scope
    at** org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:695)
    at _ibmjsp.secure.layouts._pagingLayout._jspService(_pagingLayout.java:641)
    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:1230)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
    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)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1384)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:548)
    at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1045)
    at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:527)
    at org.apache.struts.tiles.TilesUtilImpl.doInclude(Unknown Source)
    at org.apache.struts.tiles.TilesUtil.doInclude(Unknown Source)
    at org.apache.struts.taglib.tiles.InsertTag.doInclude(Unknown Source)
    at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(Unknown Source)
    at org.apache.struts.taglib.tiles.InsertTag.doEndTag(Unknown Source)
    at _ibmjsp.secure.layouts._vboxLayout._jspService(_vboxLayout.java:191)
    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:1230)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
    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)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1384)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:548)
    at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1045)
    at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:527)
    at org.apache.struts.tiles.TilesUtilImpl.doInclude(Unknown Source)
    at org.apache.struts.tiles.TilesUtil.doInclude(Unknown Source)
    at org.apache.struts.taglib.tiles.InsertTag.doInclude(Unknown Source)
    at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(Unknown Source)
    at org.apache.struts.taglib.tiles.InsertTag.doEndTag(Unknown Source)
    at _ibmjsp.secure.layouts._contentLayout._jspService(_contentLayout.java:838)
    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:1230)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
    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)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1384)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:193)
    at org.apache.struts.action.RequestProcessor.doForward(Unknown Source)
    at org.apache.struts.tiles.TilesRequestProcessor.doForward(Unknown Source)
    at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(Unknown Source)
    at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Unknown Source)
    at org.apache.struts.action.RequestProcessor.process(Unknown Source)
    at org.apache.struts.action.ActionServlet.process(Unknown Source)
    at org.apache.struts.action.ActionServlet.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
    at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistance(WSCUrlFilter.java:950)
    at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:499)
    at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:320)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:908)
    at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
    at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1048)
    at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.readyInboundPostHandshake(SSLConnectionLink.java:716)
    at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyHandshakeCompletedCallback.complete(SSLConnectionLink.java:412)
    at com.ibm.ws.ssl.channel.impl.SSLUtils.handleHandshake(SSLUtils.java:1066)
    at com.ibm.ws.ssl.channel.impl.SSLHandshakeIOCallback.complete(SSLHandshakeIOCallback.java:87)
    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:1815)
Caused by: javax.servlet.jsp.JspException: Cannot find bean com.ibm.ws.console.appmanagement.appedition.AppEditionApplicationCollectionForm in any scope
    at org.apache.struts.util.RequestUtils.lookup(Unknown Source)
    at org.apache.struts.taglib.bean.DefineTag.doEndTag(Unknown Source)
    at _ibmjsp.secure.layouts._pagingLayout._jspService(_pagingLayout.java:343)
    ... 101 more

[3/4/14 5:27:39:834 CST] 00000191 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\websphere\appserver\profiles\dmgr\logs\ffdc\dmgr_8300bef7_14.03.04_05.27.39.7888063670773023820718.txt com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter 82
[3/4/14 5:27:39:975 CST] 00000191 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\websphere\appserver\profiles\dmgr\logs\ffdc\dmgr_8300bef7_14.03.04_05.27.39.834901919649726887194.txt com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters -SER 1047
[3/4/14 5:27:59:834 CST] 00000191 MBeanHelper   E   Could not invoke an operation on object: WebSphere:name=ApplicationManager,process=Direct_eaodr01,platform=proxy,node=eaodr01,version=8.5.0.2,type=ApplicationManager,mbeanIdentifier=ApplicationManager,cell=eaodr01cell01,spec=1.0 because of an mbean exception: com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: JVMVRFY013 class loading constraint violated&#59; class=com/sun/jersey/server/impl/container/servlet/JerseyServletContainerInitializer, method=onStartup(Ljava/util/Set&#59;Ljavax/servlet/ServletContext&#59;)V, pc=0
[3/4/14 5:28:12:282 CST] 00000191 MBeanHelper   E   Could not invoke an operation on object: WebSphere:name=ApplicationManager,process=Direct_eaodr01_1,platform=proxy,node=eaodr01,version=8.5.0.2,type=ApplicationManager,mbeanIdentifier=ApplicationManager,cell=eaodr01cell01,spec=1.0 because of an mbean exception: com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: JVMVRFY013 class loading constraint violated&#59; class=com/sun/jersey/server/impl/container/servlet/JerseyServletContainerInitializer, method=onStartup(Ljava/util/Set&#59;Ljavax/servlet/ServletContext&#59;)V, pc=0
[3/4/14 5:35:05:090 CST] 000001b4 MBeanHelper   E   Could not invoke an operation on object: WebSphere:name=ApplicationManager,process=Direct_eaodr01,platform=proxy,node=eaodr01,version=8.5.0.2,type=ApplicationManager,mbeanIdentifier=ApplicationManager,cell=eaodr01cell01,spec=1.0 because of an mbean exception: com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: JVMVRFY013 class loading constraint violated&#59; class=com/sun/jersey/server/impl/container/servlet/JerseyServletContainerInitializer, method=onStartup(Ljava/util/Set&#59;Ljavax/servlet/ServletContext&#59;)V, pc=0
[3/4/14 5:35:18:974 CST] 000001b4 MBeanHelper   E   Could not invoke an operation on object: WebSphere:name=ApplicationManager,process=Direct_eaodr01_1,platform=proxy,node=eaodr01,version=8.5.0.2,type=ApplicationManager,mbeanIdentifier=ApplicationManager,cell=eaodr01cell01,spec=1.0 because of an mbean exception: com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: JVMVRFY013 class loading constraint violated&#59; class=com/sun/jersey/server/impl/container/servlet/JerseyServletContainerInitializer, method=onStartup(Ljava/util/Set&#59;Ljavax/servlet/ServletContext&#59;)V, pc=0
[3/4/14 5:45:36:314 CST] 0000675d servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.environment/nodeCollection.jsp]: Initialization successful.

共有1个答案

柳玄裳
2023-03-14

在尝试更新EAR时,我在Websphere 8.5.5.2中遇到了相同的错误。在WAS控制台的更新过程中,我过快地完成了这些步骤,收到一个错误,告诉我对象已经加载。然后,我卸载/重新安装了有问题的EAR,安装过程完成后,我按start启动应用程序,这导致出现一条错误消息,说明“XXXX未能启动。有关详细信息,请查看节点SVRXXXXNode01上服务器server1的日志。启动XXXX时出错。有关详细信息,请查看节点SVRGIAS1VMTNode01上服务器server1的日志。”

要在WAS控制台中解决此问题,请进入WebSphere应用程序/WebSphere企业应用程序,并在有问题的命名应用程序上按回车键。在引用下,选择共享库引用。按左边复选框中的回车键,其中模块声明为“web”,您的应用程序位于URI列中。在“可用”框中,选择“SHRLIB_vxxx”,并按其右侧的箭头将共享库添加到“选定”框中。按OK,然后再按OK。按保存到主配置。您现在回到了企业应用程序页面。选择有问题的应用程序,然后按开始。

如果您有一个基于Websphere的系统,版本8.5.5.2,这应该可以解决这个问题。WebSphereVersion7没有这个问题,因为它在安装ear时保持了共享库的完整性。

 类似资料:
  • 我从GitHub下载了这段代码,看看是否可以对其进行定制,使其适用于我正在进行的项目。我希望这是我的最后一期,但我完全被这个错误所困住了。我可以构建和运行应用程序,但它在启动时崩溃。 我在这里经历了许多类似的问题,我根据解决方案做出了修改,但它们似乎对我不起作用。我是这方面的新手,如果有任何帮助,我将不胜感激。拜托...任何人。:) 这是我的错误输出-

  • 对于一个项目,我试图实现JSCSSMergeServlet servlet。 在完全按照说明并通过Maven启动Jetty之后 我得到一个错误的说法: 是否有一些其他文件我需要修改,以便使这个启动和运行?

  • 我想在WebSphere中配置的webapp中使用JDBC Connetion。(就像这里的这个:如何在JavaEE中使用JDBC?) 我以前通过JPA使用过此数据源,但我们的客户希望使用本机SQL。。。不要问。 我找到了很多例子和教程(例如。http://www.wickcentral.com/java/dl/ds_resreferencesetts_Websphere.pdf,Webspher

  • 我安装了android studio,但是当我一启动它,一个错误就出现了 请提供android sdk的路径。 我搜索了它,但一次又一次地被重定向到IDE下载页面,但那里没有sdk。 早期的androidstudio包是在同一个链接中提供的,但现在,这个链接中似乎只有ide 我已经尝试从其他资源获得sdk,但再次,没有运气。

  • 问题内容: Python中确定两个范围中的哪些值重叠的最佳方法是什么? 例如: 给定一个范围x,迭代另一个范围y并输出两个范围共享的所有值的最佳方法是什么?先谢谢您的帮助。 编辑: 作为后续,我意识到我还需要知道x是否与y重叠。我正在寻找一种方法来遍历范围列表,并做一些范围重叠的其他事情。是否有简单的True / False语句来完成此操作? 问题答案: 尝试设置交集: 请注意,接受任何可迭代的参

  • 我试图创建一个自定义供应商包,但还没有把包打包。根据文档,包可以从git(vcs)而不是Packagist加载:https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository yii2项目(虽然不认为框架问题)我已经在供应商文件夹中创建了包: foundationize/yii2 foun