ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matthieu.r...@gmail.com>
Subject Re: Hellowolrd2 BPEL process Compile Error on deploy
Date Tue, 31 Jul 2007 18:31:54 GMT
Looks like a classpath related issue to me, JBoss probably uses an older
version of Xerces that overrides ours. Can you try to replace their version
with ours and see how it works?

Thanks,
Matthieu

On 7/31/07, fLozano <fernando.lozano@cinetconsult.com> wrote:
>
>
> Maybe you can help me. I`ve been using JBoss 3.2.7 for deploying Apache
> Ode
> and I can´t seem to get the examples running. I deploy the example on the
> "processes" folder and it creates a ".deployed" file but I get a Bpel
> parsing error. I don´t know what to do. Please help.
>
>
>
> This is the error:
>
> 11:14:20,171 INFO  [ProcessStoreImpl] Starting deployment of processes
> from
> directory "C:\jboss-3.2.7\server\d
> efault\deploy\ode.war\WEB-INF\processes\MagicSession".
> 11:14:20,859 ERROR [ProcessStoreImpl] Deploy failed; BPEL compilation
> errors.
> org.apache.ode.bpel.compiler.api.CompilationException:
> file:/C:/jboss-3.2.7/server/default/deploy/ode.war/WEB-
> INF/processes/MagicSession/Main.bpel:0: error: [BpelParseErr] Error
> parsing
> BPEL process: the BPEL is either m
> alformed or is invalid.
>         at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:313)
>         at
> org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:152)
>         at
> org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:123)
>         at
> org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:165)
>         at
> org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java
> :144)
>         at
> org.apache.ode.axis2.deploy.DeploymentPoller.access$300(
> DeploymentPoller.java:55)
>         at
> org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(
> DeploymentPoller.java:188)
> Caused by: org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to
> create or change an object in a way
> which is incorrect with regard to namespaces.
>         at org.apache.xml.utils.DOMBuilder.startElement(DOMBuilder.java
> :322)
>         at
> org.apache.ode.bpel.compiler.bom.DOMBuilderContentHandler.startElement(
> DOMBuilderContentHandler.jav
> a:49)
>         at org.apache.xerces.parsers.AbstractSAXParser.startElement
> (Unknown
> Source)
>         at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
> Source)
>         at
>
> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook
> (Unknown
> Sou
> rce)
>         at
>
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
> (Unknown
> So
> urce)
>         at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
>         at
> org.apache.ode.bpel.compiler.bom.BpelObjectFactory.parse(
> BpelObjectFactory.java:306)
>         at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:309)
>         ... 6 more
> 11:14:20,859 ERROR [DeploymentPoller] Deployment of MagicSession failed,
> aborting for now.
> org.apache.ode.bpel.iapi.ContextException: Deploy failed; BPEL compilation
> errors.
>         at
> org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:169)
>         at
> org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java
> :144)
>         at
> org.apache.ode.axis2.deploy.DeploymentPoller.access$300(
> DeploymentPoller.java:55)
>         at
> org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(
> DeploymentPoller.java:188)
> Caused by: org.apache.ode.bpel.compiler.api.CompilationException:
> file:/C:/jboss-3.2.7/server/default/deploy/o
> de.war/WEB-INF/processes/MagicSession/Main.bpel:0: error: [BpelParseErr]
> Error parsing BPEL process: the BPEL
> is either malformed or is invalid.
>         at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:313)
>         at
> org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:152)
>         at
> org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:123)
>         at
> org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:165)
>         ... 3 more
> Caused by: org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to
> create or change an object in a way
> which is incorrect with regard to namespaces.
>         at org.apache.xml.utils.DOMBuilder.startElement(DOMBuilder.java
> :322)
>         at
> org.apache.ode.bpel.compiler.bom.DOMBuilderContentHandler.startElement(
> DOMBuilderContentHandler.jav
> a:49)
>         at org.apache.xerces.parsers.AbstractSAXParser.startElement
> (Unknown
> Source)
>         at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
> Source)
>         at
>
> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook
> (Unknown
> Sou
> rce)
>         at
>
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
> (Unknown
> So
> urce)
>         at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
>         at
> org.apache.ode.bpel.compiler.bom.BpelObjectFactory.parse(
> BpelObjectFactory.java:306)
>         at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:309)
>         ... 6 more
> --
> View this message in context:
> http://www.nabble.com/Hellowolrd2-BPEL-process-Compile-Error-on-deploy-tf3241393.html#a11926088
> Sent from the Apache Ode User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message