ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoît Gschwind <gschw...@mezimail.com>
Subject Hellowolrd2 BPEL process Compile Error on deploy
Date Fri, 16 Feb 2007 16:48:14 GMT

Hi,

I try to get Helloword2 working but I fail.

I use tomcat 5.0.28 with  jvm 1.5 under linux, and I get the error reported
below. I can't find why it give me a ParseError. By default my CLASSPATH is
empty.

I try to compile it with provided tools i.e. bpelc.sh, it's work with a litle
patch that append a customized CLASSPATH.

Then I try same CLASSPATH to run tomcat/ode with out more success.

If someone can help me, I appreciate :)

PS: I get an error when I try to shutdown tomcat. I think this error is about
databases and it seems not have links with deploy.

[...]
ERROR - ProcessStoreImpl.deploy(146) | Deploy failed; BPEL compilation errors.
org.apache.ode.bpel.compiler.api.CompilationException:
/home/gschwind/www/jakarta-tomcat-5.0.28/webapps/ode/WEB-INF/processes/HelloWorld2/HelloWorld2.bpel:
error: [BpelParseErr] Error parsing BPEL process: the BPEL is either malformed
or is invalid.
        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:320)
        at
org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:125)
        at
org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:95)
        at
org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:143)
        at
org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:134)
        at
org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:55)
        at
org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:179)
Caused by: java.lang.RuntimeException: Internal compiler error
        at
org.apache.ode.bpel.compiler.bom.BpelObjectFactory.createBpelObject(BpelObjectFactory.java:201)
        at
org.apache.ode.bpel.compiler.bom.BpelObjectFactory.parse(BpelObjectFactory.java:226)
        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:314)
        ... 6 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at
org.apache.ode.bpel.compiler.bom.BpelObjectFactory.createBpelObject(BpelObjectFactory.java:199)
        ... 8 more
Caused by: java.lang.NoSuchMethodError:
org.w3c.dom.Attr.getTextContent()Ljava/lang/String;
        at
org.apache.ode.bpel.compiler.bom.BpelObject.initNSContext(BpelObject.java:241)
        at
org.apache.ode.bpel.compiler.bom.BpelObject.<init>(BpelObject.java:61)
        at
org.apache.ode.bpel.compiler.bom.JoinFailureSuppressor.<init>(JoinFailureSuppressor.java:33)
        at org.apache.ode.bpel.compiler.bom.Scope.<init>(Scope.java:38)
        at org.apache.ode.bpel.compiler.bom.Process.<init>(Process.java:37)
        ... 13 more
ERROR - DeploymentPoller.check(137) | Deployment of HelloWorld2 failed, aborting
for now.
org.apache.ode.bpel.iapi.ContextException: Deploy failed; BPEL compilation
errors.
        at
org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:147)
        at
org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:134)
        at
org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:55)
        at
org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:179)
Caused by: org.apache.ode.bpel.compiler.api.CompilationException:
/home/gschwind/www/jakarta-tomcat-5.0.28/webapps/ode/WEB-INF/processes/HelloWorld2/HelloWorld2.bpel:
error: [BpelParseErr] Error parsing BPEL process: the BPEL is either malformed
or is invalid.
        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:320)
        at
org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:125)
        at
org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:95)
        at
org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:143)
        ... 3 more
Caused by: java.lang.RuntimeException: Internal compiler error
        at
org.apache.ode.bpel.compiler.bom.BpelObjectFactory.createBpelObject(BpelObjectFactory.java:201)
        at
org.apache.ode.bpel.compiler.bom.BpelObjectFactory.parse(BpelObjectFactory.java:226)
        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:314)
        ... 6 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at
org.apache.ode.bpel.compiler.bom.BpelObjectFactory.createBpelObject(BpelObjectFactory.java:199)
        ... 8 more
Caused by: java.lang.NoSuchMethodError:
org.w3c.dom.Attr.getTextContent()Ljava/lang/String;
        at
org.apache.ode.bpel.compiler.bom.BpelObject.initNSContext(BpelObject.java:241)
        at
org.apache.ode.bpel.compiler.bom.BpelObject.<init>(BpelObject.java:61)
        at
org.apache.ode.bpel.compiler.bom.JoinFailureSuppressor.<init>(JoinFailureSuppressor.java:33)
        at org.apache.ode.bpel.compiler.bom.Scope.<init>(Scope.java:38)
        at org.apache.ode.bpel.compiler.bom.Process.<init>(Process.java:37)
        ... 13 more
[...]

--
Benoît Gschwind                                   powered by Gentoo Linux


-------------------------------------------------
Ce message a été envoyé via www.mezimail.com

Mime
View raw message