Bug 780575 (SOA-3011)

Summary: remove backport-util-concurrent.jar in SOA-P
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Aleksandar Kostadinov <akostadinov>
Component: JBPM - within SOA, EAP, CompatibilityAssignee: Julian Coleman <jcoleman>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3 cp05 ER1CC: akostadinov, jcoleman, ldimaggi
Target Milestone: ---   
Target Release: FUTURE   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3011
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Aleksandar Kostadinov 2011-04-06 13:59:24 UTC
project_key: SOA

I see [SerialVersionUIDUnitTestCase|https://hudson.qa.jboss.com/hudson/view/SOA-Release/job/soa-eap/95/testReport/org.jboss.test.compatibility.test/SerialVersionUIDUnitTestCase%28tests-compatibility%29/test404Compatibility/] JBoss AS test case fail.

Actually the following three classes have a different serial version UUID from what JBoss AS 4.0 has.
edu.emory.mathcs.backport.java.util.Collections$AsLifoQueue
edu.emory.mathcs.backport.java.util.Collections$ReverseComparator
edu.emory.mathcs.backport.java.util.concurrent.TimeUnit

These classes were in jboss-backport-concurrent.jar in JBoss AS 4. These classes are NOT present in JBoss EAP 4.3 CP09. These classes are present in SOA-P in backport-util-concurrent.jar

So since these classes seem not needed with java 5+ can we remove backport-util-concurrent.jar from SOA-P?

Comment 1 Aleksandar Kostadinov 2011-04-06 15:13:56 UTC
(16,59,24) jpechane: akostadinov, http://anonsvn.jboss.org/repos/jbpm/jbpm3/tags/3.2.10.SP1/core/src/main/java/org/jbpm/job/executor/JobExecutor.java
(16,59,40) jpechane: akostadinov, It uses edu.emory blah blah

Comment 2 Len DiMaggio 2011-04-08 14:51:37 UTC
Before we move with this JIRA - question - where did the file come from? And do we know why/how it was added in CP05?

 
find 43CP04  -name *backport-util-concurrent.jar -print
43CP04/jboss-soa-p.4.3.0/seam1/examples/icefaces/resources/WEB-INF/lib/backport-util-concurrent.jar

find 43CP05  -name *backport-util-concurrent.jar -print
43CP05/jboss-soa-p.4.3.0/seam1/examples/icefaces/resources/WEB-INF/lib/backport-util-concurrent.jar
43CP05/jboss-soa-p.4.3.0/jboss-as/server/default/deploy/jbpm.esb/backport-util-concurrent.jar
43CP05/jboss-soa-p.4.3.0/jboss-as/server/all/deploy/jbpm.esb/backport-util-concurrent.jar
43CP05/jboss-soa-p.4.3.0/jboss-as/server/production/deploy/jbpm.esb/backport-util-concurrent.jar
43CP05/jboss-soa-p.4.3.0/jbpm-jpdl/lib/backport-util-concurrent.jar
43CP05/jboss-soa-p-standalone.4.3.0/jbpm-jpdl/lib/backport-util-concurrent.jar
43CP05/jboss-soa-p-standalone.4.3.0/jboss-esb/server/default/deploy/jbpm.esb/backport-util-concurrent.jar

find 51_GA/  -name *backport-util-concurrent.jar -print
51_GA/jbpm-jpdl/lib/backport-util-concurrent.jar



Comment 3 Julian Coleman 2011-04-12 15:04:47 UTC
Need to investigate if jBPM will compile/run with the .../jboss-as/client/concurrent.jar from EAP.

Comment 4 (please assign to mrietvel@redhat.com) 2011-09-01 11:38:36 UTC
jBPM 3 is java 4 compliant -- which is why backport-util-concurrent is used and not newer java 5+ implementations of the same classes. 

Aleksandar's comment above is spot on: backport-util-concurrent was added because of fixes to the JobExecutor implementation. 

Because of this, I don't think it's possible to remove backport-util-concurrent from SOA-P.