struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anekant Jain (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4894) Issue while class loading
Date Thu, 30 Nov 2017 07:21:00 GMT

    [ https://issues.apache.org/jira/browse/WW-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16272268#comment-16272268
] 

Anekant Jain commented on WW-4894:
----------------------------------

Yes, we are following up with IBM in parallel, just wondering why it always get blocked on
the same line while calling *doEndTag()*, is there any possibility of issue from application
side. It comes randomly on any JSP and on any field but on the same line, while calling *doEndTag()*.
This is a common pattern observed.

> Issue while class loading
> -------------------------
>
>                 Key: WW-4894
>                 URL: https://issues.apache.org/jira/browse/WW-4894
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.3.32
>            Reporter: Anekant Jain
>            Priority: Blocker
>             Fix For: 2.4
>
>         Attachments: screenshot-1.png, screenshot-2.png
>
>
> Facing following issue in production environment, threads are being Blocked and from
almost a week every day it is required to restart the server. Seems there is some issue with
class loading, we are using Websphere application server. Following is the stack trace of
blocking thread -
> *Owns Monitor Lock on java/util/Hashtable@0x000000001240AD50*
> {noformat}
> at java/util/Hashtable.get(Hashtable.java:469(Compiled Code)) 
> at java/lang/ClassLoader.getPackage(ClassLoader.java:953(Compiled Code)) 
> at java/lang/Class.getPackage(Class.java:1660(Compiled Code)) 
> at com/opensymphony/xwork2/ognl/SecurityMemberAccess.isAccessible(SecurityMemberAccess.java:75(Compiled
Code)) 
> at ognl/OgnlRuntime.isMethodAccessible(OgnlRuntime.java:1974(Compiled Code)) 
> at ognl/OgnlRuntime.hasGetMethod(OgnlRuntime.java:1980(Compiled Code)) 
> at ognl/OgnlRuntime.hasGetProperty(OgnlRuntime.java:2040(Compiled Code)) 
> at com/opensymphony/xwork2/ognl/accessor/CompoundRootAccessor.getProperty(CompoundRootAccessor.java:141(Compiled
Code)) 
> at ognl/OgnlRuntime.getProperty(OgnlRuntime.java:2413(Compiled Code)) 
> at ognl/ASTProperty.getValueBody(ASTProperty.java:114(Compiled Code)) 
> at ognl/SimpleNode.evaluateGetValueBody(SimpleNode.java:212(Compiled Code)) 
> at ognl/SimpleNode.getValue(SimpleNode.java:258(Compiled Code)) 
> at ognl/Ognl.getValue(Ognl.java:467(Compiled Code)) 
> at com/opensymphony/xwork2/ognl/OgnlUtil$4.execute(OgnlUtil.java:360(Compiled Code))

> at com/opensymphony/xwork2/ognl/OgnlUtil.compileAndExecute(OgnlUtil.java:383(Compiled
Code)) 
> at com/opensymphony/xwork2/ognl/OgnlUtil.getValue(OgnlUtil.java:358(Compiled Code)) 
> at com/opensymphony/xwork2/ognl/OgnlValueStack.getValue(OgnlValueStack.java:363(Compiled
Code)) 
> at com/opensymphony/xwork2/ognl/OgnlValueStack.tryFindValue(OgnlValueStack.java:351(Compiled
Code)) 
> at com/opensymphony/xwork2/ognl/OgnlValueStack.tryFindValueWhenExpressionIsNotNull(OgnlValueStack.java:326(Compiled
Code)) 
> at com/opensymphony/xwork2/ognl/OgnlValueStack.findValue(OgnlValueStack.java:310(Compiled
Code)) 
> at com/opensymphony/xwork2/ognl/OgnlValueStack.findValue(OgnlValueStack.java:371(Compiled
Code)) 
> at com/opensymphony/xwork2/ognl/OgnlValueStack.findString(OgnlValueStack.java:226(Compiled
Code)) 
> at sun/reflect/GeneratedMethodAccessor104.invoke(Bytecode PC:40(Compiled Code)) 
> at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55(Compiled
Code)) 
> at java/lang/reflect/Method.invoke(Method.java:613(Compiled Code)) 
> at freemarker/ext/beans/BeansWrapper.invokeMethod(BeansWrapper.java:1458(Compiled Code))

> at freemarker/ext/beans/ReflectionCallableMemberDescriptor.invokeMethod(ReflectionCallableMemberDescriptor.java:52(Compiled
Code)) 
> at freemarker/ext/beans/MemberAndArguments.invokeMethod(MemberAndArguments.java:48(Compiled
Code)) 
> at freemarker/ext/beans/OverloadedMethodsModel.exec(OverloadedMethodsModel.java:62(Compiled
Code)) 
> at freemarker/core/MethodCall._eval(MethodCall.java:62(Compiled Code)) 
> at freemarker/core/Expression.eval(Expression.java:78(Compiled Code)) 
> at freemarker/core/Assignment.accept(Assignment.java:70(Compiled Code)) 
> at freemarker/core/Environment.visit(Environment.java:312(Compiled Code)) 
> at freemarker/core/MixedContent.accept(MixedContent.java:62(Compiled Code)) 
> at freemarker/core/Environment.visitByHiddingParent(Environment.java:333(Compiled Code))

> at freemarker/core/IfBlock.accept(IfBlock.java:48(Compiled Code)) 
> at freemarker/core/Environment.visitByHiddingParent(Environment.java:333(Compiled Code))

> at freemarker/core/IfBlock.accept(IfBlock.java:48(Compiled Code)) 
> at freemarker/core/Environment.visit(Environment.java:312(Compiled Code)) 
> at freemarker/core/MixedContent.accept(MixedContent.java:62(Compiled Code)) 
> at freemarker/core/Environment.visitByHiddingParent(Environment.java:333(Compiled Code))

> at freemarker/core/Environment.visitAndTransform(Environment.java:413(Compiled Code))

> at freemarker/core/UnifiedCall.accept(UnifiedCall.java:108(Compiled Code)) 
> at freemarker/core/Environment.visit(Environment.java:312(Compiled Code)) 
> at freemarker/core/MixedContent.accept(MixedContent.java:62(Compiled Code)) 
> at freemarker/core/Environment.visit(Environment.java:312(Compiled Code)) 
> at freemarker/core/Environment.process(Environment.java:290(Compiled Code)) 
> at freemarker/template/Template.process(Template.java:312(Compiled Code)) 
> at org/apache/struts2/components/template/FreemarkerTemplateEngine.renderTemplate(FreemarkerTemplateEngine.java:158(Compiled
Code)) 
> at org/apache/struts2/components/UIBean.mergeTemplate(UIBean.java:584(Compiled Code))

> at org/apache/struts2/components/UIBean.end(UIBean.java:538(Compiled Code)) 
> at org/apache/struts2/views/jsp/ComponentTagSupport.doEndTag(ComponentTagSupport.java:42(Compiled
Code)) 
> at com/ibm/_jsp/_Scrn001045._jspx_meth_s_select_3(_Scrn001045.java:3410) 
> at com/ibm/_jsp/_Scrn001045._jspService(_Scrn001045.java:544) 
> at com/ibm/ws/jsp/runtime/HttpJspBase.service(HttpJspBase.java:99(Compiled Code)) 
> at javax/servlet/http/HttpServlet.service(HttpServlet.java:668(Compiled Code)) 
> at com/ibm/ws/webcontainer/servlet/ServletWrapper.service(ServletWrapper.java:1232(Compiled
Code)) 
> at com/ibm/ws/webcontainer/servlet/ServletWrapper.handleRequest(ServletWrapper.java:781(Compiled
Code)) 
> at com/ibm/ws/webcontainer/servlet/ServletWrapper.handleRequest(ServletWrapper.java:480(Compiled
Code)) 
> at com/ibm/ws/webcontainer/servlet/ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178(Compiled
Code)) 
> at com/ibm/wsspi/webcontainer/servlet/GenericServletWrapper.handleRequest(GenericServletWrapper.java:122(Compiled
Code)) 
> at com/ibm/ws/jsp/webcontainerext/AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:220(Compiled
Code)) 
> at com/ibm/ws/webcontainer/filter/WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136(Compiled
Code)) 
> at com/ibm/ws/webcontainer/filter/WebAppFilterChain.doFilter(WebAppFilterChain.java:79(Compiled
Code)) 
> at com/ibm/ws/webcontainer/filter/WebAppFilterManager.doFilter(WebAppFilterManager.java:967(Compiled
Code)) 
> at com/ibm/ws/webcontainer/filter/WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107(Compiled
Code)) 
> at com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1385(Compiled
Code)) 
> at com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:194(Compiled
Code)) 
> at org/apache/struts2/dispatcher/ServletDispatcherResult.doExecute(ServletDispatcherResult.java:164(Compiled
Code)) 
> at org/apache/struts2/dispatcher/StrutsResultSupport.execute(StrutsResultSupport.java:191(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.executeResult(DefaultActionInvocation.java:372(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:276(Compiled
Code)) 
> at com/tcs/channels/framework/comms/interceptor/XSSHandlerInterceptor.intercept(XSSHandlerInterceptor.java:193(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:168(Compiled
Code)) 
> at com/opensymphony/xwork2/interceptor/MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at com/opensymphony/xwork2/validator/ValidationInterceptor.doIntercept(ValidationInterceptor.java:265(Compiled
Code)) 
> at org/apache/struts2/interceptor/validation/AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:76(Compiled
Code)) 
> at com/opensymphony/xwork2/interceptor/MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at com/opensymphony/xwork2/interceptor/ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at com/opensymphony/xwork2/interceptor/ParametersInterceptor.doIntercept(ParametersInterceptor.java:229(Compiled
Code)) 
> at com/opensymphony/xwork2/interceptor/MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at com/opensymphony/xwork2/interceptor/ParametersInterceptor.doIntercept(ParametersInterceptor.java:229(Compiled
Code)) 
> at com/opensymphony/xwork2/interceptor/MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at com/opensymphony/xwork2/interceptor/StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at org/apache/struts2/interceptor/MultiselectInterceptor.intercept(MultiselectInterceptor.java:73(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at org/apache/struts2/interceptor/CheckboxInterceptor.intercept(CheckboxInterceptor.java:91(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at org/apache/struts2/interceptor/FileUploadInterceptor.intercept(FileUploadInterceptor.java:253(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at com/opensymphony/xwork2/interceptor/ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at com/opensymphony/xwork2/interceptor/ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at org/apache/struts2/interceptor/debugging/DebuggingInterceptor.intercept(DebuggingInterceptor.java:256(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at com/opensymphony/xwork2/interceptor/ChainingInterceptor.intercept(ChainingInterceptor.java:145(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at com/opensymphony/xwork2/interceptor/PrepareInterceptor.doIntercept(PrepareInterceptor.java:171(Compiled
Code)) 
> at com/opensymphony/xwork2/interceptor/MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at org/apache/struts2/interceptor/ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at com/opensymphony/xwork2/interceptor/AliasInterceptor.intercept(AliasInterceptor.java:193(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at com/opensymphony/xwork2/interceptor/ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:189(Compiled
Code)) 
> at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:245(Compiled
Code)) 
> at org/apache/struts2/impl/StrutsActionProxy.execute(StrutsActionProxy.java:54(Compiled
Code)) 
> at org/apache/struts2/dispatcher/Dispatcher.serviceAction(Dispatcher.java:575(Compiled
Code)) 
> at org/apache/struts2/dispatcher/ng/ExecuteOperations.executeAction(ExecuteOperations.java:81(Compiled
Code)) 
> at org/apache/struts2/dispatcher/ng/filter/StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99(Compiled
Code)) 
> at com/ibm/ws/webcontainer/filter/FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195(Compiled
Code)) 
> at com/ibm/ws/webcontainer/filter/WebAppFilterChain.doFilter(WebAppFilterChain.java:91(Compiled
Code)) 
> at com/tcs/channels/nbl/MDCFilter.doFilter(MDCFilter.java:66(Compiled Code)) 
> at com/ibm/ws/webcontainer/filter/FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195(Compiled
Code)) 
> at com/ibm/ws/webcontainer/filter/WebAppFilterChain.doFilter(WebAppFilterChain.java:91(Compiled
Code)) 
> at org/owasp/csrfguard/CsrfGuardFilter.doFilter(CsrfGuardFilter.java:75(Compiled Code))

> at com/ibm/ws/webcontainer/filter/FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195(Compiled
Code)) 
> at com/ibm/ws/webcontainer/filter/WebAppFilterChain.doFilter(WebAppFilterChain.java:91(Compiled
Code)) 
> at com/ibm/ws/webcontainer/filter/WebAppFilterManager.doFilter(WebAppFilterManager.java:967(Compiled
Code)) 
> at com/ibm/ws/webcontainer/filter/WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107(Compiled
Code)) 
> at com/ibm/ws/webcontainer/webapp/WebApp.handleRequest(WebApp.java:3928(Compiled Code))

> at com/ibm/ws/webcontainer/webapp/WebGroup.handleRequest(WebGroup.java:304(Compiled Code))

> at com/ibm/ws/webcontainer/WebContainer.handleRequest(WebContainer.java:1007(Compiled
Code)) 
> at com/ibm/ws/webcontainer/WSWebContainer.handleRequest(WSWebContainer.java:1817(Compiled
Code)) 
> at com/ibm/ws/webcontainer/channel/WCChannelLink.ready(WCChannelLink.java:200(Compiled
Code)) 
> at com/ibm/ws/http/channel/inbound/impl/HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463(Compiled
Code)) 
> at com/ibm/ws/http/channel/inbound/impl/HttpInboundLink.handleNewRequest(HttpInboundLink.java:530(Compiled
Code)) 
> at com/ibm/ws/http/channel/inbound/impl/HttpInboundLink.processRequest(HttpInboundLink.java:316(Compiled
Code)) 
> at com/ibm/ws/http/channel/inbound/impl/HttpInboundLink.ready(HttpInboundLink.java:287(Compiled
Code)) 
> at com/ibm/ws/tcp/channel/impl/NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214(Compiled
Code)) 
> at com/ibm/ws/tcp/channel/impl/NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113(Compiled
Code)) 
> at com/ibm/ws/tcp/channel/impl/AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175(Compiled
Code)) 
> at com/ibm/io/async/AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217(Compiled
Code)) 
> at com/ibm/io/async/AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161(Compiled
Code)) 
> at com/ibm/io/async/AsyncFuture.completed(AsyncFuture.java:138(Compiled Code)) 
> at com/ibm/io/async/ResultHandler.complete(ResultHandler.java:204(Compiled Code)) 
> at com/ibm/io/async/ResultHandler.runEventProcessingLoop(ResultHandler.java:775(Compiled
Code)) 
> at com/ibm/io/async/ResultHandler$2.run(ResultHandler.java:905(Compiled Code)) 
> at com/ibm/ws/util/ThreadPool$Worker.run(ThreadPool.java:1881(Compiled Code))
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message