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

Bug 1105667

Summary: CCE: JaxbExceptionResponse cannot be cast to JaxbCommandsResponse during REST client initialization in exec-server profile
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jiri Svitak <jsvitak>
Component: Business CentralAssignee: Shelly McGowan <smcgowan>
Status: CLOSED EOL QA Contact: Marek Baluch <mbaluch>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.2CC: mbaluch
Target Milestone: DR4   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:13:29 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
client.log none

Description Jiri Svitak 2014-06-06 16:40:23 UTC
Created attachment 902986 [details]
client.log

CCE: JaxbExceptionResponse cannot be cast to JaxbCommandsResponse during REST client initialization in exec-server profile. Found in this Jenkins job:

https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/BxMS/view/BxMS-6.0/view/bpms-perf/job/bpms-perf-client-server-transport-matrix/9/PROFILE=exec-server,TRANSPORT=kieREST,jdk=java17_default,label=brmsperf01-rhel6-x86_64/artifact/console.log

Appeared only in exec-server profile. See the attached logs.

[INFO] --- exec-maven-plugin:1.3:exec (default-cli) @ bpms-6.x ---
java.lang.ClassCastException: org.kie.services.client.serialization.jaxb.rest.JaxbExceptionResponse cannot be cast to org.kie.services.client.serialization.jaxb.impl.JaxbCommandsResponse
	at org.kie.services.client.api.command.AbstractRemoteCommandObject.executeRestCommand(AbstractRemoteCommandObject.java:410)

To reproduce:
1.) Setup BPMS 6.0.2.ER3 with exec-server web.xml file, PPI strategy, create there user guest, password guest. Hint:
guest=b5d048a237bfd2874b6928e1f37ee15e
guest=admin
2.) Build and deploy project bpms-perf from repository bpms-assets:
git://git.app.eng.bos.redhat.com/bpms-assets.git
3.) Run jbossqe-process-flood framework:
mvn clean package exec:exec -Dscenario=HumanTask_kieREST ...

Expected behavior:
No ClassCastExceptions are thrown before the start of the performance test.

My env:
BPMS 6.0.2.ER3 exec-server profile, PPI
EAP 6.1.1
Oracle 11gR2

Comment 2 Jiri Svitak 2014-09-19 11:11:28 UTC
Cannot verify due to:
https://bugzilla.redhat.com/show_bug.cgi?id=1144427

Comment 3 Jiri Svitak 2014-11-18 10:33:59 UTC
BZ1144427 has been verified and business-central.war can deploy in BPMS 6.1.0.ER2. Because of this the issue could be tested again and it was fixed.

Verified in BPMS 6.1.0.ER2.

QE tests provided remote REST client, so possible regression will be found, thus setting qe_test_coverage+.

Comment 4 Jiri Svitak 2014-11-18 10:35:58 UTC
BZ1144427 has been verified and business-central.war can deploy in BPMS 6.1.0.ER2. Because of that this issue has been tested again and I can confirm it has been fixed.

Verified in BPMS 6.1.0.ER2.

QE tests provided remote REST client in exec-server profile, so a possible regression will be found, thus setting qe_test_coverage+.