Bug 806232
Summary: | jBPM console can't connect to Guvnor after install jbossws-cxf | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Ryan Zhang <rzhang> | ||||
Component: | BRM (Guvnor) | Assignee: | manstis | ||||
Status: | VERIFIED --- | QA Contact: | |||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | BRMS 5.3.0.GA | CC: | bmaxwell, mproctor | ||||
Target Milestone: | ER6 | ||||||
Target Release: | BRMS 5.3.0.GA | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | Type: | --- | |||||
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
Ryan Zhang
2012-03-23 09:36:10 UTC
Created attachment 572209 [details]
server.log
Please make sure that the console works with both CXF and Native - we need to support both. Hi Ryan, Can you help me reproduce this issue locally? Which product builds should I download? Full URL's please. Looks like the build isn't available anywhere, but dpalmer just started a build job and I should be able to download it here soon: https://brewweb.devel.redhat.com/taskinfo?taskID=4299895 That build failed, they fixed it now, here's the new build: https://brewweb.devel.redhat.com//buildinfo?buildID=209496 That new build (which takes a few hours to download) is borked. I am getting a new build now: http://jawa05.englab.brq.redhat.com/miscellaneous/brms-5.3-ER6/brms-p-5.3.0.BRMS-ER6-standalone.zip Solution proposal 1: ClientBehaviorPolicyType (the casted class) comes from cxf-rt-transports-jms http://search.maven.org/#search|ga|1|fc%3A%22org.apache.cxf.transport.jms.ClientBehaviorPolicyType%22 But the jboss-brms.war/WEB-INF/lib/ folder only contains cxf-rt-transports-common 2.4.1 cxf-rt-transports-http 2.4.1 but not cxf-rt-transports-jms 2.4.1 So let's add cxf-rt-transports-jms 2.4.1 in there. That creates a new CCE further down the line: ... Caused by: java.lang.ClassCastException at java.lang.Class.cast(Class.java:2990) at org.apache.cxf.bus.CXFBusImpl.getExtension(CXFBusImpl.java:109) ... With Geoffrey's help, I think adding the following cxf jars would finally fix this issue: cxf-rt-bindings-corba-2.4.1.jar cxf-rt-management-2.4.1.jar cxf-rt-transports-jms-2.4.1.jar Geoffrey, could we add these three cxf jars dependency in upstream code or it would be better to scope them into soa profile? I've added those 3 jars (and nothing more) only for the EAP 5.1 profile (as they shouldn't be in the tomcat and AS 7 profiles): https://github.com/droolsjbpm/guvnor/commit/12c922a0c750f1d81c78b5969e3ad9821f705477 Forward ported to 5.4 and master too. Verified that the guvnor war REST still works on a normal EAP 5.1 (without cxf extension) by opening this url in the browser: http://localhost:8080/guvnor-5.3.2-SNAPSHOT-jboss-as-5.1/rest/packages Update status to ON_QA. Please verify them against ER6. ER6 standalone has cxf already installed and there's no problem with connecting tu Guvnor. The "bus-extensions.xml is deprecated" warning is still there and has been reported as a separate issue. I got no ClassCastException. |