Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 901041 (JBEWS-200)

Summary: Option sessionDrainingStrategy in mod_cluster listener in tomcat causes an exception
Product: [JBoss] JBoss Enterprise Web Server 2 Reporter: Radim Hatlapatka <rhatlapa>
Component: unspecifiedAssignee: Permaine Cheung <pcheung>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 2.0.0CC: jfclere, pcheung, rhatlapa
Target Milestone: ---   
Target Release: 2.0.0   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEWS-200
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-18 13:58:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch.JBPAPP-10168 none

Description Radim Hatlapatka 2012-10-11 08:59:12 UTC
project_key: JBEWS

sessionDrainingStrategy causes exception:
{noformat}
java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.NullPointerException
       at org.jboss.modcluster.ModClusterService.stop(ModClusterService.java:409)
       at org.jboss.modcluster.ModClusterService.stop(ModClusterService.java:265)
{noformat}

Comment 1 Radim Hatlapatka 2012-10-11 09:02:30 UTC
Link: Added: This issue relates to JBPAPP-9551


Comment 2 Jean-Frederic Clere 2012-10-11 09:58:43 UTC
Patch to fix the issue.

Comment 3 Jean-Frederic Clere 2012-10-11 09:58:43 UTC
Attachment: Added: patch.JBPAPP-10168


Comment 4 Jean-Frederic Clere 2012-10-11 09:59:51 UTC
please add the patch to CR2 production.

Comment 5 Permaine Cheung 2012-10-12 16:31:30 UTC
As we are rebuilding, we are adding this fix into CR2.
I couldn't find a fix version for EWS 2.0.0 CR2, so I'm marking this as resolved for EWS 2.0.0.

Comment 6 Permaine Cheung 2012-10-12 16:32:26 UTC
These are the builds:
mod_cluster-1.2.2-5.Final_redhat_3.ep6.el6 
mod_cluster-1.2.2-5.Final_redhat_3.ep6.el5
and have been added to both errata.

Comment 7 Radim Hatlapatka 2012-10-18 13:58:12 UTC
Verified that it is ok at least on RHEL and Solaris

Comment 8 Jiri Skrabal 2012-11-13 16:26:34 UTC
Docs QE Status: Removed: NEW