Friday, January 8, 2010

BPEL:Cannot find partnerLinkType 2

Problem:
Cannot find partnerLinkType 2.
PartnerLinkType "{http://xmlns.oracle.com/pcbpel/adapter/ftp/pl_get/}Get_plt" is not found in WSDL.
Please make sure the partnerLinkType is defined in the WSDL.

Solution:
If you get such kind of error while deploying project, the simple solution is to clear the WSDL Cache in the BPEL console.
Step to reach there:
1) Login to Oracle BPEL Console (for 10.1.3.4)
2) Goto Administration Tab -> Click on Actions tab
3) Click on Clear WSDL Cache.
4) Try deploying project.

Tuesday, January 5, 2010

OPMNCTL command

Problem:
Running OPMNCTL commands on Windows and Linux servers.

Solution:
For running OPMNCTL command on Windows:

Ensure that before running you be at opmn\bin folder
To Start:
>opmnctl startall

To Stop:
>opmnctl stopall

To check the status:
>opmnctl status

To know opmnctl command:
>opmnctl

For running OPMNCTL command on Unix/Linux:

Connect to server using Telnet. Ensure that before running you be at opmn/bin folder
To Start:
>\.opmnctl startall

To Stop:
>\.opmnctl stopall

To check the status:
>\.opmnctl status

To know opmnctl command:
>\.opmnctl