Bug 1088249

Summary: Business-central cannot be deployed to WebSphere AS because of CNFE: com.sun.ws.rs.ext.RuntimeDelegateImpl
Product: [Retired] JBoss BRMS Platform 6 Reporter: Radovan Synek <rsynek>
Component: Business CentralAssignee: Kris Verlaenen <kverlaen>
Status: CLOSED CURRENTRELEASE QA Contact: Radovan Synek <rsynek>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0.2CC: kverlaen, mbiarnes, rrajasek, rzhang
Target Milestone: ER2   
Target Release: 6.0.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 19:54:15 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
stacktrace none

Description Radovan Synek 2014-04-16 10:08:03 UTC
Created attachment 886824 [details]
stacktrace

Description of problem:
CNFE: com.sun.ws.rs.ext.RuntimeDelegateImpl raises when starting Business-central on WebSphere AS. See the attached stacktrace.

This is probably caused by jboss-jaxb-api_2.2_spec-1.0.4.Final-redhat-2.jar (in business-central.war/WEB-INF/lib) which tries to find appropriate javax.ws.rs.ext.RuntimeDelegate implementation class and without any hint it defaults to com.sun.ws.rs.ext.RuntimeDelegateImpl.

Version-Release number of selected component (if applicable):
6.0.2.ER1

additional info:
In opposite to community kie-wb, the BPMS/BRMS WAS installations contain also jboss-annotations-api_1.1_spec-1.0.1.Final-redhat-2.jar and
jboss-jaxb-api_2.2_spec-1.0.4.Final-redhat-2.jar. I wonder if these jars mean similar danger.

Comment 1 Radovan Synek 2014-04-16 10:49:31 UTC
Sorry for a mistake - the JAR probably causing the issue is jboss-jaxrs-api_1.1_spec-1.0.1.Final-redhat-2.jar.

Comment 2 Radovan Synek 2014-04-16 15:58:28 UTC
After removing jboss-jaxrs-api_1.1_spec-1.0.1.Final-redhat-2.jar from business-central.war/WEB-INF/lib business-central can be deployed to WebSphere AS.

Comment 6 Michael 2014-04-23 07:12:26 UTC
Ticket cherry picked into 6.0.2.ER2.
Commit: f9a2f3ad14f47546584c6491d33629c991a133f0

Comment 7 Radovan Synek 2014-04-28 15:26:49 UTC
Verified with BPMS-6.0.2.ER2