加载JSF Expression Factory时阻止了WebSphere Web容器线程

时间:2012-12-10 12:18:51

标签: jsf jsf-2 websphere

我正在使用WAS 8,JSF 2(Apache MyFaces) 在性能测试期间,我们注意到一些Web容器线程在加载JSF Expression Factory时被阻止。从线程转储

中查找下面的日志

任何关于如何避免这种情况的建议都会有用。 为什么JSF为javax.el.expressionfactory的每个新实例创建加载类?

java/lang/ClassLoader.loadClass(ClassLoader.java:627(Compiled Code)) at
javax/el/ExpressionFactory.newInstance(ExpressionFactory.java:175(Compiled Code)) at
javax/el/ExpressionFactory.newInstance(ExpressionFactory.java:107(Compiled Code)) at
javax/el/BeanELResolver.invoke(BeanELResolver.java:404(Compiled Code)) at
javax/el/CompositeELResolver.invoke(CompositeELResolver.java:137(Compiled Code)) at
org/apache/el/parser/AstValue.getValue(AstValue.java:162(Compiled Code)) at
org/apache/el/ValueExpressionImpl.getValue(ValueExpressionImpl.java:283(Compiled Code)) at
org/apache/myfaces/view/facelets/el/TagValueExpression.getValue(TagValueExpression.java:85(Compiled Code)) at
org/apache/el/parser/AstIdentifier.getValue(AstIdentifier.java:67(Compiled Code)) at
org/apache/el/ValueExpressionImpl.getValue(ValueExpressionImpl.java:283(Compiled Code)) at
org/apache/myfaces/view/facelets/el/ELText$ELTextVariable.toString(ELText.java:202(Compiled Code)) at
org/apache/myfaces/view/facelets/el/ELText$ELTextComposite.toString(ELText.java:134(Compiled Code)) at
org/apache/myfaces/view/facelets/compiler/AttributeInstruction.write(AttributeInstruction.java:51(Compiled Code)) at
org/apache/myfaces/view/facelets/compiler/UIInstructions.encodeBegin(UIInstructions.java:46(Compiled Code)) at
org/apache/myfaces/view/facelets/compiler/UILeaf.encodeAll(UILeaf.java:214(Compiled Code)) at
javax/faces/component/UIComponent.encodeAll(UIComponent.java:622(Compiled Code)) at
javax/faces/component/UIComponent.encodeAll(UIComponent.java:622(Compiled Code)) at
org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1320(Compiled Code)) at
org/apache/myfaces/application/ViewHandlerImpl.renderView(ViewHandlerImpl.java:263(Compiled Code)) at
org/apache/myfaces/lifecycle/RenderResponseExecutor.execute(RenderResponseExecutor.java:85(Compiled Code)) at
org/apache/myfaces/lifecycle/LifecycleImpl.render(LifecycleImpl.java:239(Compiled Code)) at
javax/faces/webapp/FacesServlet.service(FacesServlet.java:191(Compiled Code)) at
com/ibm/ws/cache/servlet/ServletWrapper.serviceProxied(ServletWrapper.java:307(Compiled Code)) at
com/ibm/ws/cache/servlet/CacheHook.handleFragment(CacheHook.java:562(Compiled Code)) at
com/ibm/ws/cache/servlet/CacheHook.handleServlet(CacheHook.java:255(Compiled Code)) at
com/ibm/ws/cache/servlet/ServletWrapper.service(ServletWrapper.java:259(Compiled Code)) at
com/ibm/ws/webcontainer/servlet/ServletWrapper.service(ServletWrapper.java:1224(Compiled Code)) at
com/ibm/ws/webcontainer/servlet/ServletWrapper.handleRequest(ServletWrapper.java:774(Compiled Code))

1 个答案:

答案 0 :(得分:0)

这似乎是最近解决的(但尚未在修订包中发货)APAR,PM78648。

http://www-01.ibm.com/support/docview.wss?uid=swg24034243&myns=swgws&mynp=OCSSEQTP&mync=R

我建议您向IBM开票并申请临时解决方案,以便继续进行性能测试。