[jira] [Comment Edited] (WW-4894) Issue while class loading

2017-11-30 Thread Anekant Jain (JIRA)

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

Anekant Jain edited comment on WW-4894 at 11/30/17 9:24 AM:


We are following up for Java update with provider, we are facing difficulty 
because websphere uses it's supplement Java, not open JDK. 

Additional observation from thread dump is that, the issue occurs only while 
calling *doEndTag()* method of Jsp class file under high load condition.

PFA screenshot of JspClass file highlighting line of origination -
!screenshot-2.png!



was (Author: anekant87):
We are following up for Java update with IBM, we are facing difficulty because 
websphere uses it's supplement Java, not open JDK. 

Additional observation from thread dump is that, the issue occurs only while 
calling *doEndTag()* method of Jsp class file under high load condition.

PFA screenshot of JspClass file highlighting line of origination -
!screenshot-2.png!


> 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@0x1240AD50*
> {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 
> 

[jira] [Comment Edited] (WW-4894) Issue while class loading

2017-11-30 Thread Anekant Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/WW-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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@0x1240AD50*
> {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 
> 

[jira] [Comment Edited] (WW-4894) Issue while class loading

2017-11-29 Thread Anekant Jain (JIRA)

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

Anekant Jain edited comment on WW-4894 at 11/29/17 1:04 PM:


We are following up for Java update with IBM, we are facing difficulty because 
websphere uses it's supplement Java, not open JDK. 

Additional observation from thread dump is that, the issue occurs only while 
calling *doEndTag()* method of Jsp class file under high load condition.

PFA screenshot of JspClass file highlighting line of origination -
!screenshot-2.png!



was (Author: anekant87):
We are following up for Java update with IBM, we are facing difficulty because 
websphere uses it's supplement Java, not open JDK. 

Additional observation from thread dump is that, the issue occurs only while 
calling *doEndTag()* method of Jsp class file under high load condition.

PFA screenshot of JspClass file highlighting line of origination -
!screenshot-2.jpg!


> 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@0x1240AD50*
> {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
>  

[jira] [Comment Edited] (WW-4894) Issue while class loading

2017-11-29 Thread Anekant Jain (JIRA)

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

Anekant Jain edited comment on WW-4894 at 11/29/17 1:03 PM:


We are following up for Java update with IBM, we are facing difficulty because 
websphere uses it's supplement Java, not open JDK. 

Additional observation from thread dump is that, the issue occurs only while 
calling *doEndTag()* method of Jsp class file under high load condition.

PFA screenshot of JspClass file highlighting line of origination -
!screenshot-2.jpg!



was (Author: anekant87):
We are following up for Java update with IBM, we are facing difficulty because 
websphere uses it's supplement Java, not open JDK. 

Additional observation from thread dump is that, the issue occurs only while 
calling *doEndTag()* method of Jsp class file under high load condition.

PFA screenshot of JspClass file highlighting line of origination -
!attachment-screenshot-2.jpg|thumbnail!


> 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@0x1240AD50*
> {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 
> 

[jira] [Comment Edited] (WW-4894) Issue while class loading

2017-11-29 Thread Anekant Jain (JIRA)

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

Anekant Jain edited comment on WW-4894 at 11/29/17 1:02 PM:


We are following up for Java update with IBM, we are facing difficulty because 
websphere uses it's supplement Java, not open JDK. 

Additional observation from thread dump is that, the issue occurs only while 
calling *doEndTag()* method of Jsp class file under high load condition.

PFA screenshot of JspClass file highlighting line of origination -
[^screenshot-2.png]



was (Author: anekant87):
We are following up for Java update with IBM, we are facing difficulty because 
websphere uses it's supplement Java, not open JDK. 

Additional observation from thread dump is that, the issue occurs only while 
calling *doEndTag()* method of Jsp class file under high load condition.


> 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@0x1240AD50*
> {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 
> 

[jira] [Comment Edited] (WW-4894) Issue while class loading

2017-11-29 Thread Anekant Jain (JIRA)

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

Anekant Jain edited comment on WW-4894 at 11/29/17 1:02 PM:


We are following up for Java update with IBM, we are facing difficulty because 
websphere uses it's supplement Java, not open JDK. 

Additional observation from thread dump is that, the issue occurs only while 
calling *doEndTag()* method of Jsp class file under high load condition.

PFA screenshot of JspClass file highlighting line of origination -
!attachment-screenshot-2.jpg|thumbnail!



was (Author: anekant87):
We are following up for Java update with IBM, we are facing difficulty because 
websphere uses it's supplement Java, not open JDK. 

Additional observation from thread dump is that, the issue occurs only while 
calling *doEndTag()* method of Jsp class file under high load condition.

PFA screenshot of JspClass file highlighting line of origination -
[^screenshot-2.png]


> 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@0x1240AD50*
> {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 
>