You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Matthieu Riou (JIRA)" <ji...@apache.org> on 2007/10/25 00:46:50 UTC

[jira] Resolved: (ODE-203) Use of initializePartnerRole="false" in a PartnerLink does not prevent it from being initalized

     [ https://issues.apache.org/jira/browse/ODE-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthieu Riou resolved ODE-203.
-------------------------------

    Resolution: Fixed
      Assignee: Matthieu Riou

Fixed in the 1.1 branch as well as in the trunk.

> Use of initializePartnerRole="false" in a PartnerLink does not prevent it from being initalized
> -----------------------------------------------------------------------------------------------
>
>                 Key: ODE-203
>                 URL: https://issues.apache.org/jira/browse/ODE-203
>             Project: ODE
>          Issue Type: Bug
>          Components: Axis2 Integration
>    Affects Versions: 1.1
>         Environment: Axis2 Distro - ODE 1.1
> Jetty 6.1.1 (Tested in Tomcat as well)
> JDK 1.5.0_10
>            Reporter: Richard Taylor
>            Assignee: Matthieu Riou
>            Priority: Minor
>             Fix For: 1.1.1, 1.2
>
>         Attachments: unusedimports.zip
>
>
> If you create a process that contains an unused partnerlink and don't bind this partnerlink to an endpoint in deploy.xml and error occurs upon deployment.  According to the user guide one should be able to set initializePartnerRole="false" to prevent this error.
> I will attach an example process.
> Upon deployment with an unused partnerlink, no binding in deploy.xml and with initializePartnerRole="false"set, the error I get is:
> ERROR - GeronimoLog.error(108) | Deployment of unusedimports failed, aborting fo
> r now.
> org.apache.ode.bpel.iapi.ContextException: Deployment failed within the engine.
>         at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:29
> 1)
>         at org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.j
> ava:144)
>         at org.apache.ode.axis2.deploy.DeploymentPoller.access$2(DeploymentPolle
> r.java:113)
>         at org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(Deploy
> mentPoller.java:188)
> Caused by: java.lang.IllegalArgumentException: EchoService must be bound to an e
> ndpoint in deloy.xml
>         at org.apache.ode.bpel.engine.BpelProcess.setRoles(BpelProcess.java:423)
>         at org.apache.ode.bpel.engine.BpelProcess.access$1000(BpelProcess.java:6
> 9)
>         at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.doHydrate(BpelP
> rocess.java:730)
>         at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.access$100(Bpel
> Process.java:677)
>         at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch$2.run(BpelProce
> ss.java:689)
>         at org.apache.ode.bpel.engine.NStateLatch.latch(NStateLatch.java:89)
>         at org.apache.ode.bpel.engine.BpelProcess.hydrate(BpelProcess.java:570)
>         at org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.jav
> a:277)
>         at org.apache.ode.axis2.ODEServer.handleEvent(ODEServer.java:539)
>         at org.apache.ode.axis2.ODEServer.access$0(ODEServer.java:530)
>         at org.apache.ode.axis2.ODEServer$ProcessStoreListenerImpl.onProcessStor
> eEvent(ODEServer.java:525)
>         at org.apache.ode.store.ProcessStoreImpl.fireEvent(ProcessStoreImpl.java
> :501)
>         at org.apache.ode.store.ProcessStoreImpl.fireStateChange(ProcessStoreImp
> l.java:507)
>         at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:28
> 4)
>         ... 3 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.