Bug 780710 (SOA-3162)

Summary: Exception during bpel_secure_invoke deploy.
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Marek Baluch <mbaluch>
Component: EDS, riftsawAssignee: Kevin Conner <kevin.conner>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.2.0dev2CC: gary.pi4tech, kevin.conner, mbaluch
Target Milestone: ---   
Target Release: 5.2.0 ER1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3162
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
SOA 5.2 Dev2 with CXF
Last Closed: 2011-08-17 07:39:38 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:

Description Marek Baluch 2011-07-12 11:00:25 UTC
Affects: Interactive Demo/Tutorial
project_key: SOA

The web service it self deploys fine. Trying to deploy the process archive gives the following NoSuchMethodError. Looks like a classpath problem.

{noformat}
12:37:13,745 ERROR [STDERR] java.lang.NoSuchMethodError: net.sf.saxon.Configuration.newConfiguration()Lnet/sf/saxon/Configuration;
12:37:13,745 ERROR [STDERR] 	at net.sf.saxon.xpath.XPathFactoryImpl.<init>(XPathFactoryImpl.java:26)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.elang.xpath20.compiler.XPath20ExpressionCompilerImpl.doJaxpCompile(XPath20ExpressionCompilerImpl.java:164)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.elang.xpath20.compiler.XPath20ExpressionCompilerImpl._compile(XPath20ExpressionCompilerImpl.java:136)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.elang.xpath20.compiler.XPath20ExpressionCompilerImpl.compile(XPath20ExpressionCompilerImpl.java:115)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java:576)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelCompiler.compileLValueExpr(BpelCompiler.java:544)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.AssignGenerator.compileTo(AssignGenerator.java:261)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.AssignGenerator.compile(AssignGenerator.java:78)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:966)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1132)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:962)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:911)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.SequenceGenerator.compileChildren(SequenceGenerator.java:54)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.SequenceGenerator.compile(SequenceGenerator.java:45)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:966)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1132)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:962)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:911)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelCompiler$5.run(BpelCompiler.java:765)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelCompiler$8.run(BpelCompiler.java:1222)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1132)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelCompiler.compileScope(BpelCompiler.java:1172)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:745)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:263)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:333)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.store.DeploymentUnitDir$5.run(DeploymentUnitDir.java:208)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.utils.InternPool.runBlock(InternPool.java:57)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:205)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:166)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:209)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.store.RiftSawProcessStore$DeployScheduler.doDeploy(RiftSawProcessStore.java:171)
12:37:13,745 ERROR [STDERR] 	at org.apache.ode.store.RiftSawProcessStore$DeployScheduler.run(RiftSawProcessStore.java:98)
{noformat}

Comment 1 Gary Brown 2011-07-13 09:41:12 UTC
Was unable to reproduce this problem. I unpacked DEV2, went to the cxf installer folder and ran "ant", then started the server, and ran the deploy for the bpel_secure_invoke and it deployed fine.

When I ran the test it had the signature verification problem, which is a known issue: SOA-3146

Did you do anything different to what I tried?


Comment 2 Marek Baluch 2011-07-13 10:46:41 UTC
Hi Gary. I installed the whole EDS (Modeshape + Teiid). I will retry both and if the problem persists then assign back to you.

Comment 3 Gary Brown 2011-07-13 10:51:34 UTC
Hi Marek, thanks - the problem is that if the issue occurs when EDS is installed, then not sure whose responsibility it is, as it looks like the exception is due to a mismatch in version of saxon.


Comment 4 Kevin Conner 2011-07-13 10:57:32 UTC
I'll take responsibility for it for now.  I'll chase this up tomorrow and then we can work out the best way to reconcile these versions.

Comment 5 Marek Baluch 2011-07-13 11:44:05 UTC
yep it's caused by Teiid.

Comment 6 Kevin Conner 2011-07-15 19:25:53 UTC
Riftsaw and Teiid have conflicting versions of saxon.  Riftsaw requires version 9.2.1.5 whereas Teiid requires 9.1.0.8, unfortunately these are not compatible.

There are some changes required to Teiid in order to support the same version as Riftsaw, I have made a first pass at this and will pass it over to Van for his comments.


Comment 8 Kevin Conner 2011-07-19 14:01:06 UTC
Doug is pulling this in for ER1, will now resolve.

Comment 9 Marek Baluch 2011-08-17 07:39:38 UTC
Verified on 5.2.0.ER2.