Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4A22F200D4C for ; Thu, 30 Nov 2017 10:25:10 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 48C07160C18; Thu, 30 Nov 2017 09:25:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 17DBC160BF4 for ; Thu, 30 Nov 2017 10:25:08 +0100 (CET) Received: (qmail 1853 invoked by uid 500); 30 Nov 2017 09:25:08 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 1843 invoked by uid 99); 30 Nov 2017 09:25:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Nov 2017 09:25:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B9F3C1A0CCC for ; Thu, 30 Nov 2017 09:25:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id vdYsoqP9CIJD for ; Thu, 30 Nov 2017 09:25:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 645B05F588 for ; Thu, 30 Nov 2017 09:25:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BB892E0A29 for ; Thu, 30 Nov 2017 09:25:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 44DDF2105C for ; Thu, 30 Nov 2017 09:25:01 +0000 (UTC) Date: Thu, 30 Nov 2017 09:25:01 +0000 (UTC) From: "Anekant Jain (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (WW-4894) Issue while class loading MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 30 Nov 2017 09:25:10 -0000 [ https://issues.apache.org/jira/browse/WW-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16272268#comment-16272268 ] Anekant Jain edited comment on WW-4894 at 11/30/17 9:24 AM: ------------------------------------------------------------ Yes, we are following up with provider 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. was (Author: anekant87): 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)