ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Goldhammer <Goldhammer.J...@gmx.net>
Subject Re: Apache Tomcat 6, Apache ODE, Example HelloWorld2
Date Mon, 30 Jul 2007 15:06:02 GMT



Alex Boisvert wrote:
> 
> Hi Jens,
> 
> Can you provide the actual error message + stack trace if possible?
> 
> thanks,
> alex
> 
>  http://www.nabble.com/file/p11865472/Screen%2B00001.jpg 
> 
> I copied the console log and provide an image...
> 
> INFO: Server startup in 8681 ms
> ERROR - GeronimoLog.error(108) | Deploy failed; BPEL compilation errors.
> org.apache.ode.bpel.compiler.api.CompilationException:
> file:/c:/cisdev/tomcat6/w
> ebapps/ode/WEB-INF/processes/HelloWorld2/HelloWorld2.bpel:0: error:
> [BpelParseEr
> r] 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:16
> 5)
>         at
> org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.j
> ava:144)
>         at
> org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPol
> ler.java:55)
>         at
> org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(Deploy
> mentPoller.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.startElemen
> t(DOMBuilderContentHandler.java:49)
>         at
> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
> ce)
>         at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
> own Source)
>         at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s
> canRootElementHook(Unknown Source)
>         at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
> Dispatcher.dispatch(Unknown Source)
>         at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
> known 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(BpelObjectFa
> ctory.java:306)
>         at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:309)
>         ... 6 more
> ERROR - GeronimoLog.error(108) | Deployment of HelloWorld2 failed,
> aborting for
> now.
> org.apache.ode.bpel.iapi.ContextException: Deploy failed; BPEL compilation
> error
> s.
>         at
> org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:16
> 9)
>         at
> org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.j
> ava:144)
>         at
> org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPol
> ler.java:55)
>         at
> org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(Deploy
> mentPoller.java:188)
> Caused by: org.apache.ode.bpel.compiler.api.CompilationException:
> file:/c:/cisde
> v/tomcat6/webapps/ode/WEB-INF/processes/HelloWorld2/HelloWorld2.bpel:0:
> error: [
> BpelParseErr] Error parsing BPEL process: the BPEL is either malformed or
> is inv
> alid.
>         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:16
> 5)
>         ... 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.startElemen
> t(DOMBuilderContentHandler.java:49)
>         at
> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
> ce)
>         at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
> own Source)
>         at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s
> canRootElementHook(Unknown Source)
>         at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
> Dispatcher.dispatch(Unknown Source)
>         at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
> known 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(BpelObjectFa
> ctory.java:306)
>         at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:309)
>         ... 6 more
> 
> 
> On 7/30/07, Jens Goldhammer <Goldhammer.Jens@gmx.net> wrote:
>>
>>
>> Hello,
>>
>> can somebody evaluate the following set-up:
>>
>> Apache Tomcat 6.0.13- unzipped and started with startup.bat
>> Apache Ode 1.0- war deployed to webapps-folder
>> HelloWorld2 Example of Ode-Archiv copied to Ode processes folder
>>
>> JAVA_HOME set to jdk 1.5.012 for starting apache tomcat
>> CATALINA_HOME set to used tomcat
>>
>> While deploying there is one failure with uncorrect namespaces, so that
>> the
>> bpel compiler says bpel file must be mismatched and so on-> bpel process
>> cannot be deployed correctly.
>>
>> Has somebody an idea?
>> The same settings work with a tomcat 5.5.23!!!
>>
>> Thanks,
>> Jens
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Apache-Tomcat-6%2C-Apache-ODE%2C-Example-HelloWorld2-tf4170153.html#a11863554
>> Sent from the Apache Ode User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Apache-Tomcat-6%2C-Apache-ODE%2C-Example-HelloWorld2-tf4170153.html#a11865472
Sent from the Apache Ode User mailing list archive at Nabble.com.


Mime
View raw message