You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by sujoy ray <su...@gmail.com> on 2006/12/08 23:28:54 UTC

Deployment Error: A quick guidence required.

Can anybody tell me where is the possible error in BPEL or WSDL code.
This is a deployment error happening while deploying my own WS-BPEL process
with ode in Tomcat.

Error seems to be in portType but apparently they are well written so I
require much insight please.

 ERROR - DeploymentPoller.check(137) | Deployment of WeatherForAPP failed,
aborting for now.
java.lang.NullPointerException: Null portTypeName argument!
        at org.apache.ode.bpel.compiler.BpelCompiler.resolvePortType(
BpelCompiler.java:161)
        at org.apache.ode.bpel.compiler.BpelCompiler.compile(
BpelCompiler.java:855)
        at org.apache.ode.bpel.compiler.BpelCompiler.access$1200(
BpelCompiler.java:53)
        at org.apache.ode.bpel.compiler.BpelCompiler$8.run(BpelCompiler.java
:963)
        at org.apache.ode.bpel.compiler.BpelCompiler.compile(
BpelCompiler.java:900)
        at org.apache.ode.bpel.compiler.BpelCompiler.compileScope(
BpelCompiler.java:943)
        at org.apache.ode.bpel.compiler.BpelCompiler.compile(
BpelCompiler.java:562)
        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:276)
        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:365)
        at org.apache.ode.store.DeploymentUnitDir.compile(
DeploymentUnitDir.java:130)
        at org.apache.ode.store.DeploymentUnitDir.compile(
DeploymentUnitDir.java:96)
        at org.apache.ode.store.ProcessStoreImpl.deploy(
ProcessStoreImpl.java:134)
        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)

Re: Deployment Error: A quick guidence required.

Posted by sujoy ray <su...@gmail.com>.
Thanks Matthieu.

It seems it worked. You are right I wrote the wsdl file with previously
adopted BPEL4WS1.1 syntax. But let me finally check with the client. I shall
let you know.

Best Regards,
Sujoy



On 12/8/06, Matthieu Riou <ma...@gmail.com> wrote:
>
> Hi,
>
> Looks like the error is in your partnerLinkType definition. In BPEL 2.0the
> declaration of a partnerLinkType definition has changed and the portType
> should be declared using a portType attribute. Have a look at the latest
> version of the spec if you want examples of how the partnerLinkType
> declaration should look like.
>
> Thanks,
>
> Matthieu
>
> On 12/8/06, sujoy ray <su...@gmail.com> wrote:
> >
> > Can anybody tell me where is the possible error in BPEL or WSDL code.
> > This is a deployment error happening while deploying my own WS-BPEL
> > process
> > with ode in Tomcat.
> >
> > Error seems to be in portType but apparently they are well written so I
> > require much insight please.
> >
> > ERROR - DeploymentPoller.check(137) | Deployment of WeatherForAPP
> failed,
> > aborting for now.
> > java.lang.NullPointerException: Null portTypeName argument!
> >         at org.apache.ode.bpel.compiler.BpelCompiler.resolvePortType(
> > BpelCompiler.java:161)
> >         at org.apache.ode.bpel.compiler.BpelCompiler.compile(
> > BpelCompiler.java:855)
> >         at org.apache.ode.bpel.compiler.BpelCompiler.access$1200(
> > BpelCompiler.java:53)
> >         at org.apache.ode.bpel.compiler.BpelCompiler$8.run(
> > BpelCompiler.java
> > :963)
> >         at org.apache.ode.bpel.compiler.BpelCompiler.compile(
> > BpelCompiler.java:900)
> >         at org.apache.ode.bpel.compiler.BpelCompiler.compileScope(
> > BpelCompiler.java:943)
> >         at org.apache.ode.bpel.compiler.BpelCompiler.compile(
> > BpelCompiler.java:562)
> >         at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:276)
> >         at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:365)
> >         at org.apache.ode.store.DeploymentUnitDir.compile(
> > DeploymentUnitDir.java:130)
> >         at org.apache.ode.store.DeploymentUnitDir.compile(
> > DeploymentUnitDir.java:96)
> >         at org.apache.ode.store.ProcessStoreImpl.deploy(
> > ProcessStoreImpl.java:134)
> >         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)
> >
> >
>
>

Re: Deployment Error: A quick guidence required.

Posted by Matthieu Riou <ma...@gmail.com>.
Hi,

Looks like the error is in your partnerLinkType definition. In BPEL 2.0 the
declaration of a partnerLinkType definition has changed and the portType
should be declared using a portType attribute. Have a look at the latest
version of the spec if you want examples of how the partnerLinkType
declaration should look like.

Thanks,

Matthieu

On 12/8/06, sujoy ray <su...@gmail.com> wrote:
>
> Can anybody tell me where is the possible error in BPEL or WSDL code.
> This is a deployment error happening while deploying my own WS-BPEL
> process
> with ode in Tomcat.
>
> Error seems to be in portType but apparently they are well written so I
> require much insight please.
>
> ERROR - DeploymentPoller.check(137) | Deployment of WeatherForAPP failed,
> aborting for now.
> java.lang.NullPointerException: Null portTypeName argument!
>         at org.apache.ode.bpel.compiler.BpelCompiler.resolvePortType(
> BpelCompiler.java:161)
>         at org.apache.ode.bpel.compiler.BpelCompiler.compile(
> BpelCompiler.java:855)
>         at org.apache.ode.bpel.compiler.BpelCompiler.access$1200(
> BpelCompiler.java:53)
>         at org.apache.ode.bpel.compiler.BpelCompiler$8.run(
> BpelCompiler.java
> :963)
>         at org.apache.ode.bpel.compiler.BpelCompiler.compile(
> BpelCompiler.java:900)
>         at org.apache.ode.bpel.compiler.BpelCompiler.compileScope(
> BpelCompiler.java:943)
>         at org.apache.ode.bpel.compiler.BpelCompiler.compile(
> BpelCompiler.java:562)
>         at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:276)
>         at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:365)
>         at org.apache.ode.store.DeploymentUnitDir.compile(
> DeploymentUnitDir.java:130)
>         at org.apache.ode.store.DeploymentUnitDir.compile(
> DeploymentUnitDir.java:96)
>         at org.apache.ode.store.ProcessStoreImpl.deploy(
> ProcessStoreImpl.java:134)
>         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)
>
>