ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Boisvert" <boisv...@intalio.com>
Subject Re: BPEL Compilation Problem
Date Wed, 15 Nov 2006 14:04:09 GMT
Nothing else comes to mind.   Can you open a Jira issue and attach your
.bpel, .xsd and .wsdl files?   If the process itself contains sensitive
information, you can remove the process logic and leave an empty top-level
activity.  I only need the service definitions to debug this.

alex


On 11/15/06, Alina Dima <dima.alina@gmail.com> wrote:
>
> Hi,
>
> Nope....This is not the problem...I just moved Tomcat in my C drive...any
> other ideas?
>
> Thanks,
> Alina
>
> On 11/13/06, Alex Boisvert <boisvert@intalio.com> wrote:
> >
> > Shooting in the dark but... I see you're running in a directory
> hierarchy
> > containing spaces "Program Files" and "Apache Software".   Can you try
> > running in a directory hierarchy without spaces in the path?  It's
> > possible
> > we have some bugs in the schema/wsdl import locators.
> >
> > alex
> >
> >
> > On 11/12/06, Alina Dima <dima.alina@gmail.com> wrote:
> > >
> > > Hi,
> > >
> > > I am having yet another problem with compiling a BPEL file. This is
> the
> > > exception I am getting when I try to compile my processs:
> > >
> > > ERROR - BpelC.logCompilationMessage(371) | C:\Program Files\Apache
> > > Software
> > > Foundation\Tomcat
> > > 5.5\webapps\ode\WEB-INF\processes\BprId220-ver1\BpId322.bpel:9: error:
> > > [UndeclaredPartnerLinkType] Attempt to reference undeclared partner
> link
> > > type "{
> > >
> > >
> >
> http://cdl2bpel.cecka.sap.com/SAC1/StoragePartner}InitProcessStoragePartnerPLType
> > > ".
> > > ERROR - BpelC.logCompilationMessage(371) | C:\Program Files\Apache
> > > Software
> > > Foundation\Tomcat
> > > 5.5\webapps\ode\WEB-INF\processes\BprId220-ver1\BpId322.bpel:10:error:
> > > [UndeclaredPartnerLinkType] Attempt to reference undeclared partner
> link
> > > type "{
> > >
> http://cdl2bpel.cecka.sap.com/SAC1/StoragePartner}AnalysisStoragePLType
> > ".
> > > ERROR - BpelC.logCompilationMessage(371) | C:\Program Files\Apache
> > > Software
> > > Foundation\Tomcat
> > > 5.5\webapps\ode\WEB-INF\processes\BprId220-ver1\BpId322.bpel:11:error:
> > > [UndeclaredPartnerLinkType] Attempt to reference undeclared partner
> link
> > > type "{
> > http://cdl2bpel.cecka.sap.com/SAC1/StoragePartner}PrivateStoPLType
> > > ".
> > > ERROR - BpelC.logCompilationMessage(371) | C:\Program Files\Apache
> > > Software
> > > Foundation\Tomcat
> > > 5.5\webapps\ode\WEB-INF\processes\BprId220-ver1\BpId322.bpel:34:error:
> > > [UndeclaredPartnerLink] Attempt to reference undeclared partner link
> > > "InitProcessStoragePartnerPL".
> > > WARN - BpelObjectFactory.createBpelObject(193) | Unrecognized element
> in
> > > BPEL dom: {
> > >
> >
> http://cdl2bpel.cecka.sap.com/SAC1}InitProcessStoragePartnerOpRespMsgElem
> > > ERROR - BpelC.logCompilationMessage(371) | C:\Program Files\Apache
> > > Software
> > > Foundation\Tomcat
> > > 5.5\webapps\ode\WEB-INF\processes\BprId220-ver1\BpId322.bpel:41:error:
> > > [XPathSyntax] The string "" is not a valid XPath 1.0 expression.
> > > ERROR - BpelC.logCompilationMessage(371) | C:\Program Files\Apache
> > > Software
> > > Foundation\Tomcat
> > > 5.5\webapps\ode\WEB-INF\processes\BprId220-ver1\BpId322.bpel:59:error:
> > > [UndeclaredPartnerLink] Attempt to reference undeclared partner link
> > > "InitProcessStoragePartnerPL".
> > > ERROR - BpelC.logCompilationMessage(371) | C:\Program Files\Apache
> > > Software
> > > Foundation\Tomcat
> > > 5.5\webapps\ode\WEB-INF\processes\BprId220-ver1\BpId322.bpel:68:error:
> > > [UndeclaredPartnerLink] Attempt to reference undeclared partner link
> > > "AnalysisStoragePL".
> > > WARN - BpelObjectFactory.createBpelObject(193) | Unrecognized element
> in
> > > BPEL dom: {
> > > http://trustcom.cecka.sap.com/cdl2bpel/PrivStorage}getDataReqElem
> > > ERROR - BpelC.logCompilationMessage(371) | C:\Program Files\Apache
> > > Software
> > > Foundation\Tomcat
> > > 5.5\webapps\ode\WEB-INF\processes\BprId220-ver1\BpId322.bpel:84:error:
> > > [XPathSyntax] The string "" is not a valid XPath 1.0 expression.
> > > ERROR - BpelC.logCompilationMessage(371) | C:\Program Files\Apache
> > > Software
> > > Foundation\Tomcat
> > > 5.5\webapps\ode\WEB-INF\processes\BprId220-ver1\BpId322.bpel:96:error:
> > > [UndeclaredPartnerLink] Attempt to reference undeclared partner link
> > > "PrivateStoPL".
> > > WARN - BpelObjectFactory.createBpelObject(193) | Unrecognized element
> in
> > > BPEL dom: {http://cdl2bpel.cecka.sap.com/SAC1}getRawDataOpRespMsgElem
> > > ERROR - BpelC.logCompilationMessage(371) | C:\Program Files\Apache
> > > Software
> > > Foundation\Tomcat
> > > 5.5\webapps\ode\WEB-INF\processes\BprId220-ver1\BpId322.bpel:108:error:
> > > [XPathSyntax] The string "" is not a valid XPath 1.0 expression.
> > > ERROR - BpelC.logCompilationMessage(371) | C:\Program Files\Apache
> > > Software
> > > Foundation\Tomcat
> > > 5.5\webapps\ode\WEB-INF\processes\BprId220-ver1\BpId322.bpel:129:error:
> > > [UndeclaredPartnerLink] Attempt to reference undeclared partner link
> > > "AnalysisStoragePL".
> > > ERROR - BpelC.logCompilationMessage(371) | C:\Program Files\Apache
> > > Software
> > > Foundation\Tomcat
> > > 5.5\webapps\ode\WEB-INF\processes\BprId220-ver1\BpId322.bpel:138:error:
> > > [UndeclaredPartnerLink] Attempt to reference undeclared partner link
> > > "AnalysisStoragePL".
> > > WARN - BpelObjectFactory.createBpelObject(193) | Unrecognized element
> in
> > > BPEL dom: {
> > > http://trustcom.cecka.sap.com/cdl2bpel/PrivStorage}storeDataReqElem
> > > ERROR - BpelC.logCompilationMessage(371) | C:\Program Files\Apache
> > > Software
> > > Foundation\Tomcat
> > > 5.5\webapps\ode\WEB-INF\processes\BprId220-ver1\BpId322.bpel:154:error:
> > > [XPathSyntax] The string "" is not a valid XPath 1.0 expression.
> > > ERROR - BpelC.logCompilationMessage(371) | C:\Program Files\Apache
> > > Software
> > > Foundation\Tomcat
> > > 5.5\webapps\ode\WEB-INF\processes\BprId220-ver1\BpId322.bpel:166:error:
> > > [UndeclaredPartnerLink] Attempt to reference undeclared partner link
> > > "PrivateStoPL".
> > > WARN - BpelObjectFactory.createBpelObject(193) | Unrecognized element
> in
> > > BPEL dom: {
> > http://cdl2bpel.cecka.sap.com/SAC1}storeResultDataOpRespMsgElem
> > > ERROR - BpelC.logCompilationMessage(371) | C:\Program Files\Apache
> > > Software
> > > Foundation\Tomcat
> > > 5.5\webapps\ode\WEB-INF\processes\BprId220-ver1\BpId322.bpel:178:error:
> > > [XPathSyntax] The string "" is not a valid XPath 1.0 expression.
> > > ERROR - BpelC.logCompilationMessage(371) | C:\Program Files\Apache
> > > Software
> > > Foundation\Tomcat
> > > 5.5\webapps\ode\WEB-INF\processes\BprId220-ver1\BpId322.bpel:199:error:
> > > [UndeclaredPartnerLink] Attempt to reference undeclared partner link
> > > "AnalysisStoragePL".
> > > ERROR - DeploymentPoller.check(133) | Deployment of BprId220-ver1
> > failed,
> > > aborting for now.
> > > org.apache.ode.bpel.iapi.BpelEngineException: Compilation failure!
> > >     at
> > > org.apache.ode.store.deploy.DeploymentUnitImpl.loadProcessDefinitions
> > > (DeploymentUnitImpl.java:112)
> > >     at org.apache.ode.store.deploy.DeploymentUnitImpl.refresh(
> > > DeploymentUnitImpl.java:238)
> > >     at org.apache.ode.store.deploy.DeploymentUnitImpl.<init>(
> > > DeploymentUnitImpl.java:75)
> > >     at
> > > org.apache.ode.store.deploy.DeploymentManagerImpl.createDeploymentUnit
> (
> > > DeploymentManagerImpl.java:49)
> > >     at org.apache.ode.store.ProcessStoreImpl.deploy(
> > ProcessStoreImpl.java
> > > :78)
> > >     at org.apache.ode.axis2.deploy.DeploymentPoller.check(
> > > DeploymentPoller.java:127)
> > >     at org.apache.ode.axis2.deploy.DeploymentPoller.access$300(
> > > DeploymentPoller.java:55)
> > >     at org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(
> > > DeploymentPoller.java:178)
> > > Caused by: org.apache.ode.bpel.compiler.api.CompilationException:
> error:
> > > [CompilationErrors] Compilation completed with 16 error(s).
> > >     at org.apache.ode.bpel.compiler.BpelCompiler.compile(
> > BpelCompiler.java
> > > :627)
> > >     at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:265)
> > >     at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:355)
> > >     at org.apache.ode.store.deploy.DeploymentUnitImpl.compile(
> > > DeploymentUnitImpl.java:101)
> > >     at org.apache.ode.store.deploy.DeploymentUnitImpl.compileProcesses
> (
> > > DeploymentUnitImpl.java:91)
> > >     at
> > > org.apache.ode.store.deploy.DeploymentUnitImpl.loadProcessDefinitions
> > > (DeploymentUnitImpl.java:109)
> > >     ... 7 more
> > >
> > > However, I am sure that the namespaces are correct since I checked
> them
> > > already multiple times. The following are excerpts of my code:
> > >
> > > BPEL file:
> > > <process name="BP_StoragePartner" suppressJoinFailure="yes"
> > > targetNamespace="http://cdl2bpel.cecka.sap.com/SAC1/StoragePartner"
> > > xmlns="
> > > http://schemas.xmlsoap.org/ws/2004/03/business-process/" xmlns:bpws="
> > > http://schemas.xmlsoap.org/ws/2004/03/business-process/"
> > xmlns:choreons="
> > > http://cdl2bpel.cecka.sap.com/SAC1" xmlns:ns0="
> > > http://trustcom.cecka.sap.com/cdl2bpel/PrivStorage" xmlns:ns1="
> > > http://cdl2bpel.cecka.sap.com/SAC1/AnalysisPartner" xmlns:tns="
> > > http://cdl2bpel.cecka.sap.com/SAC1/StoragePartner" xmlns:xsd="
> > > http://www.w3.org/2001/XMLSchema">
> > >     <import location="WsdlId820.wsdl" namespace="
> > > http://cdl2bpel.cecka.sap.com/SAC1/StoragePartner" importType="
> > > http://schemas.xmlsoap.org/wsdl/"/>
> > >     <import location="WsdlId823.wsdl" namespace="
> > > http://cdl2bpel.cecka.sap.com/SAC1/AnalysisPartner" importType="
> > > http://schemas.xmlsoap.org/wsdl/"/>
> > >     <import location="WsdlIdSubPrivSto.wsdl" namespace="
> > > http://trustcom.cecka.sap.com/cdl2bpel/PrivStorage" importType="
> > > http://schemas.xmlsoap.org/wsdl/"/>
> > >     <import
> > > location="StoragePartnerRole_InitProcessStoragePartnerPLService.wsdl"
> > > namespace="http://cdl2bpel.cecka.sap.com/SAC1/StoragePartner"
> > importType="
> > > http://schemas.xmlsoap.org/wsdl/"/>
> > >     <import
> location="StoragePartnerRole_AnalysisStoragePLService.wsdl"
> > > namespace="http://cdl2bpel.cecka.sap.com/SAC1/StoragePartner"
> > importType="
> > > http://schemas.xmlsoap.org/wsdl/"/>
> > >     <partnerLinks>
> > >         <partnerLink
> > > myRole="StoragePartnerRole_InitProcessStoragePartnerPL"
> > > name="InitProcessStoragePartnerPL"
> > > partnerLinkType="tns:InitProcessStoragePartnerPLType"/>
> > >         <partnerLink myRole="StoragePartnerRole_AnalysisStoragePL"
> > > name="AnalysisStoragePL" partnerLinkType="tns:AnalysisStoragePLType"
> > > partnerRole="AnalysisPartnerRole_AnalysisStoragePL"/>
> > >         <partnerLink name="PrivateStoPL"
> > > partnerLinkType="tns:PrivateStoPLType"
> partnerRole="Role_PrivateStoPL"/>
> > >     </partnerLinks>
> > >
> > >
> > > WSDL file
> > > <wsdl:definitions xmlns:bpws="
> > > http://schemas.xmlsoap.org/ws/2004/03/business-process/"
> > xmlns:choreons="
> > > http://cdl2bpel.cecka.sap.com/SAC1" xmlns:ns0="
> > > http://trustcom.cecka.sap.com/cdl2bpel/PrivStorage" xmlns:ns1="
> > > http://cdl2bpel.cecka.sap.com/SAC1/AnalysisPartner" xmlns:plnk="
> > > http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:tns="
> > > http://cdl2bpel.cecka.sap.com/SAC1/StoragePartner" xmlns:wsdl="
> > > http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="
> > > http://www.w3.org/2001/XMLSchema" name="WSDL_StoragePartner"
> > > targetNamespace="http://cdl2bpel.cecka.sap.com/SAC1/StoragePartner">
> > >
> > > <plnk:partnerLinkType name="InitProcessStoragePartnerPLType">
> > >         <plnk:role
> > name="StoragePartnerRole_InitProcessStoragePartnerPL">
> > >             <plnk:portType name="tns:InitProcessStoragePartner"/>
> > >         </plnk:role>
> > >     </plnk:partnerLinkType>
> > >     <plnk:partnerLinkType name="AnalysisStoragePLType">
> > >         <plnk:role name="StoragePartnerRole_AnalysisStoragePL">
> > >             <plnk:portType
> name="tns:StoragePartner_AnalysisStoragePT"/>
> > >         </plnk:role>
> > >         <plnk:role name="AnalysisPartnerRole_AnalysisStoragePL">
> > >             <plnk:portType
> > name="ns1:AnalysisPartner_AnalysisStoragePT"/>
> > >         </plnk:role>
> > >     </plnk:partnerLinkType>
> > >     <plnk:partnerLinkType name="PrivateStoPLType">
> > >         <plnk:role name="Role_PrivateStoPL">
> > >             <plnk:portType name="ns0:PrivateStoragePT"/>
> > >         </plnk:role>
> > >     </plnk:partnerLinkType>
> > >
> > > I would really appreciate it if anyone could give me a hand as to what
> > the
> > > problem might be.
> > >
> > > Thanks,
> > > Alina
> > >
> > >
> >
> >
>
>

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