Problem in invoking BPEL APIs

Hi Gurus,
I have the following code which invokes the BPEL APIs to get the parameters.
===========================================================
package project1;
import com.collaxa.cube.rm.suitcase.ConfigurationsDescriptor;
import com.collaxa.cube.rm.suitcase.ProcessDescriptor;
import com.oracle.bpel.client.IBPELProcessHandle;
import com.oracle.bpel.client.Locator;
import java.io.FileInputStream;
import java.util.Properties;
public class Class1 {
public Class1() {
public static void main(String[] args) throws Exception{
Properties props = new java.util.Properties();
props.load(new FileInputStream(args[0]));
Locator locator = new Locator("default","bpel",props);
System.out.println("1");
IBPELProcessHandle sh = locator.lookupProcess("HelloWorldApplication");
System.out.println("2");
String revisionTag = sh.getProcessId().getRevisionTag();
System.out.println("3");
String[] opNames = sh.getInitiateOperationNames();
System.out.println("4");
for(int i=0;i<opNames.length;++i){
System.out.println(opNames);
ProcessDescriptor scDesc = sh.getDescriptor();
System.out.println("5");
ConfigurationsDescriptor confs = scDesc.getConfigurations( );
System.out.println("6");
String defaultInput = confs.getPropertyValue( "defaultInput" );
System.out.println(defaultInput);
===========================================
These are the set of jar files I included in the classpath
$ORACLE_HOME/OracleAS_1/bpel/lib/connector15.jar:$ORACLE_HOME/OracleAS_1/bpel/lib/oracle_http_client.jar:$ORACLE_HOME/OracleAS_1/j2ee/home/oc4jclient.jar:$ORACLE_HOME/OracleAS_1/bpel/lib/orawsdl.jar:$ORACLE_HOME/OracleAS_1/bpel/lib/orabpel.jar:$ORACLE_HOME/OracleAS_1/bpel/lib/orabpel-common.jar:$ORACLE_HOME/OracleAS_1/bpel/lib/orabpel-common.jar:$ORACLE_HOME/OracleAS_1/bpel/lib/orabpel-thirdparty.jar:$ORACLE_HOME/OracleAS_1/integration/esb/lib/commons-logging.jar:$ORACLE_HOME/OracleAS_1/integration/esb/lib/commons-codec-1.3.jar:$ORACLE_HOME/OracleAS_1/j2ee/home/admin_client.jar
==========================================
When I ran the program I got the following exception::
[java] 1
[java] 2
[java] 3
[java] 4
[java] process
[java] Exception in thread "main" java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = -916876369326528164, local class serialVersionUID = 4418622981026545151
[java] at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:82)
[java] at com.oracle.bpel.client.BPELProcessHandle.getDescriptor(BPELProcessHandle.java:207)
[java] at project1.Class1.main(Class1.java:30)
[java] Caused by: java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = -916876369326528164, local class serialVersionUID = 4418622981026545151
[java] at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1602)
[java] at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1553)
[java] at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
[java] at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
[java] at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:50)
[java] at __Proxy3.getDescriptor(Unknown Source)
[java] at com.oracle.bpel.client.BPELProcessHandle.getDescriptor(BPELProcessHandle.java:203)
[java] ... 1 more
[java] Java Result: 1
=============================================
Any help

Hi Gurus,
I have the following code which invokes the BPEL APIs to get the parameters.
===========================================================
package project1;
import com.collaxa.cube.rm.suitcase.ConfigurationsDescriptor;
import com.collaxa.cube.rm.suitcase.ProcessDescriptor;
import com.oracle.bpel.client.IBPELProcessHandle;
import com.oracle.bpel.client.Locator;
import java.io.FileInputStream;
import java.util.Properties;
public class Class1 {
public Class1() {
public static void main(String[] args) throws Exception{
Properties props = new java.util.Properties();
props.load(new FileInputStream(args[0]));
Locator locator = new Locator("default","bpel",props);
System.out.println("1");
IBPELProcessHandle sh = locator.lookupProcess("HelloWorldApplication");
System.out.println("2");
String revisionTag = sh.getProcessId().getRevisionTag();
System.out.println("3");
String[] opNames = sh.getInitiateOperationNames();
System.out.println("4");
for(int i=0;i<opNames.length;++i){
System.out.println(opNames);
ProcessDescriptor scDesc = sh.getDescriptor();
System.out.println("5");
ConfigurationsDescriptor confs = scDesc.getConfigurations( );
System.out.println("6");
String defaultInput = confs.getPropertyValue( "defaultInput" );
System.out.println(defaultInput);
===========================================
These are the set of jar files I included in the classpath
$ORACLE_HOME/OracleAS_1/bpel/lib/connector15.jar:$ORACLE_HOME/OracleAS_1/bpel/lib/oracle_http_client.jar:$ORACLE_HOME/OracleAS_1/j2ee/home/oc4jclient.jar:$ORACLE_HOME/OracleAS_1/bpel/lib/orawsdl.jar:$ORACLE_HOME/OracleAS_1/bpel/lib/orabpel.jar:$ORACLE_HOME/OracleAS_1/bpel/lib/orabpel-common.jar:$ORACLE_HOME/OracleAS_1/bpel/lib/orabpel-common.jar:$ORACLE_HOME/OracleAS_1/bpel/lib/orabpel-thirdparty.jar:$ORACLE_HOME/OracleAS_1/integration/esb/lib/commons-logging.jar:$ORACLE_HOME/OracleAS_1/integration/esb/lib/commons-codec-1.3.jar:$ORACLE_HOME/OracleAS_1/j2ee/home/admin_client.jar
==========================================
When I ran the program I got the following exception::
[java] 1
[java] 2
[java] 3
[java] 4
[java] process
[java] Exception in thread "main" java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = -916876369326528164, local class serialVersionUID = 4418622981026545151
[java] at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:82)
[java] at com.oracle.bpel.client.BPELProcessHandle.getDescriptor(BPELProcessHandle.java:207)
[java] at project1.Class1.main(Class1.java:30)
[java] Caused by: java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = -916876369326528164, local class serialVersionUID = 4418622981026545151
[java] at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1602)
[java] at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1553)
[java] at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
[java] at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
[java] at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:50)
[java] at __Proxy3.getDescriptor(Unknown Source)
[java] at com.oracle.bpel.client.BPELProcessHandle.getDescriptor(BPELProcessHandle.java:203)
[java] ... 1 more
[java] Java Result: 1
=============================================
Any help

Similar Messages

  • Problem while invoking Bpel Process from Browser

    server WSDL
    <definitions
         name="getOpenInvoicesService"
         targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService/"
         xmlns="http://schemas.xmlsoap.org/wsdl/"
         xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService/"
         xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService"
         xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
         xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
        >
        <types>
          <schema xmlns="http://www.w3.org/2001/XMLSchema" >
            <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService" schemaLocation="getOpenInvoicesService.xsd" />
          </schema>
        </types>
        <message name="getOpenInvoicesServiceInput_msg">
            <part name="getOpenInvoicesServiceInput_msg" element="db:getOpenInvoicesServiceInput"/>
        </message>
        <message name="getOpenInvoicesServiceOutputCollection_msg">
            <part name="getOpenInvoicesServiceOutputCollection" element="db:getOpenInvoicesServiceOutputCollection"/>
        </message>
        <portType name="getOpenInvoicesService_ptt">
            <operation name="getOpenInvoicesService">
                <input message="tns:getOpenInvoicesServiceInput_msg"/>
                <output message="tns:getOpenInvoicesServiceOutputCollection_msg"/>
            </operation>
        </portType>
        <binding name="getOpenInvoicesService_binding" type="tns:getOpenInvoicesService_ptt">
        <jca:binding  />
            <operation name="getOpenInvoicesService">
          <jca:operation
              SqlString=" SELECT distinct aps.trx_number TrxNumber,       ra.purchase_order PurchaseOrder,       rl.sales_order OrderNumber,       ra.interface_header_attribute2 OrderType,       hc.account_number CustomerNumber,        rt.name TrxType,       aps.acctd_amount_due_remaining AmmountDue,       aps.trx_date TrxDate,        aps.due_date TrxDueDate    FROM ra_customer_trx_all ra     ,   ra_customer_trx_lines_all rl     ,   ar_payment_schedules_all aps     ,   ra_cust_trx_types_all rt         ,   hz_cust_accounts hc              ,   hz_parties hp                    ,   hz_cust_acct_sites_all hcasa_bill,   hz_cust_site_uses_all hcsua_bill ,   hz_party_sites hps_bill          ,   ra_cust_trx_line_gl_dist_all rct   WHERE 1                        = 1 AND ra.customer_trx_id           = rl.customer_trx_id AND ra.customer_trx_id           = aps.customer_trx_id AND ra.org_id                    = aps.org_id AND rct.customer_trx_id          = aps.customer_trx_id AND rct.customer_trx_id          = ra.customer_trx_id AND rct.customer_trx_id          = rl.customer_trx_id AND rct.customer_trx_line_id     = rl.customer_trx_line_id AND ra.complete_flag             = &apos;Y&apos; AND rl.line_type                IN (&apos;FREIGHT&apos;, &apos;LINE&apos;) AND ra.cust_trx_type_id          = rt.cust_trx_type_id AND ra.bill_to_customer_id       = hc.cust_account_id AND hc.status                    = &apos;A&apos; AND hp.party_id                  = hc.party_id AND hcasa_bill.cust_account_id   = ra.bill_to_customer_id AND hcasa_bill.cust_acct_site_id = hcsua_bill.cust_acct_site_id AND hcsua_bill.site_use_code     = &apos;BILL_TO&apos; AND hcsua_bill.site_use_id       = ra.bill_to_site_use_id AND hps_bill.party_site_id       = hcasa_bill.party_site_id AND hcasa_bill.status            = &apos;A&apos; AND hcsua_bill.status            = &apos;A&apos; AND aps.amount_due_remaining    &lt;&gt; 0 AND aps.status                   = &apos;OP&apos; AND hc.account_number= ?"
              InteractionSpec="oracle.tip.adapter.db.DBPureSQLInteractionSpec" >
          </jca:operation>
                <input/>
                <output/>
            </operation>
        </binding>
        <service name="getOpenInvoicesService">
            <port name="getOpenInvoicesService_pt" binding="tns:getOpenInvoicesService_binding">
    <!--Your runtime connection is declared in
    J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml
    These mcf properties here are from your design time connection and
    save you from having to edit that file and restart the application server
    if eis/DB/sfh is missing.
    These mcf properties are safe to remove.-->
          <jca:address location="eis/DB/sfh" UIConnectionName="sfh"
              ManagedConnectionFactory="oracle.tip.adapter.db.DBManagedConnectionFactory"
              mcf.DriverClassName="oracle.jdbc.OracleDriver"
              mcf.PlatformClassName="oracle.toplink.internal.databaseaccess.Oracle9Platform"
              mcf.ConnectionString="jdbc:oracle:thin:@localhost:1526:xxxx"
              mcf.UserName="apps"
              mcf.Password="53CB0F044A0D3DD2C063679F18F89870" />
            </port>
        </service>
      <plt:partnerLinkType name="getOpenInvoicesService_plt" >
        <plt:role name="getOpenInvoicesService_role" >
          <plt:portType name="tns:getOpenInvoicesService_ptt" />
        </plt:role>
      </plt:partnerLinkType>
    </definitions>
    client.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
         name="getOpenInvoices"
         targetNamespace="http://xmlns.oracle.com/getOpenInvoices"
         xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
         xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns="http://schemas.xmlsoap.org/wsdl/"
         xmlns:client="http://xmlns.oracle.com/getOpenInvoices"
         xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
        >
        <types>
            <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/getOpenInvoices" xmlns="http://www.w3.org/2001/XMLSchema">
            <element name="getOpenInvoicesProcessResponse">
            <complexType>
            <sequence>
            <element name="result" type="string"/>
            </sequence>
            </complexType>
            </element>
            <element name="getOpenInvoicesProcessRequest">
            <complexType>
            <sequence>
            <element name="accountNumber" type="string"/>
            </sequence>
            </complexType>
            </element>
            </schema>
        </types>
        <message name="getOpenInvoicesRequestMessage">
            <part name="payload" element="client:getOpenInvoicesProcessRequest"/>
        </message>
        <message name="getOpenInvoicesResponseMessage">
            <part name="payload" element="client:getOpenInvoicesProcessResponse"/>
        </message>
        <portType name="getOpenInvoices">
            <operation name="OpenInvoices">
                <input message="client:getOpenInvoicesRequestMessage"/>
                <output message="client:getOpenInvoicesResponseMessage"/>
            </operation>
        </portType>
        <binding name="OpenInvoicebindings" type="client:getOpenInvoices">
        <http:binding verb="GET"/>
        <operation name="OpenInvoices">
        <http:operation location="/OpenInvoices"/>
        <input>
        <http:urlEncoded/>
        </input>
        <output>
        <mime:mimeXml part="Body"/>
        </output>
        </operation>
        </binding>
        <service name="OpenInvoiceService">
        <port binding="client:OpenInvoicebindings" name="OpenInvoicesport">
        <http:address location="http://sys0004:8889/httpbinding/default/getOpenInvoices"/>
        </port>
        </service>
        <plnk:partnerLinkType name="getOpenInvoices">
            <plnk:role name="getOpenInvoicesProvider">
                <plnk:portType name="client:getOpenInvoices"/>
            </plnk:role>
        </plnk:partnerLinkType>
    </definitions>
    bpel process
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
      Oracle JDeveloper BPEL Designer
      Created: Tue Jul 13 11:05:51 IST 2010
      Author: 
      Purpose: Synchronous BPEL Process
    -->
    <process name="getOpenInvoices"
             targetNamespace="http://xmlns.oracle.com/getOpenInvoices"
             xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
             xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
             xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
             xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService/"
             xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
             xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService"
             xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
             xmlns:client="http://xmlns.oracle.com/getOpenInvoices"
             xmlns:ora="http://schemas.oracle.com/xpath/extension"
             xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
      <!--
          PARTNERLINKS                                                     
          List of services participating in this BPEL process              
      -->
      <partnerLinks>
        <!--
          The 'client' role represents the requester of this service. It is
          used for callback. The location and correlation information associated
          with the client role are automatically set using WS-Addressing.
        -->
        <partnerLink name="client" partnerLinkType="client:getOpenInvoices"
                     myRole="getOpenInvoicesProvider"/>
        <partnerLink name="getOpenInvoicesService"
                     partnerRole="getOpenInvoicesService_role"
                     partnerLinkType="ns1:getOpenInvoicesService_plt"/>
      </partnerLinks>
      <!--
          VARIABLES                                                       
          List of messages and XML documents used within this BPEL process
      -->
      <variables>
        <!-- Reference to the message passed as input during initiation -->
        <variable name="inputVariable"
                  messageType="client:getOpenInvoicesRequestMessage"/>
        <!-- Reference to the message that will be returned to the requester-->
        <variable name="outputVariable"
                  messageType="client:getOpenInvoicesResponseMessage"/>
        <variable name="Invoke_1_getOpenInvoicesService_InputVariable"
                  messageType="ns1:getOpenInvoicesServiceInput_msg"/>
        <variable name="Invoke_1_getOpenInvoicesService_OutputVariable"
                  messageType="ns1:getOpenInvoicesServiceOutputCollection_msg"/>
      </variables>
      <!--
         ORCHESTRATION LOGIC                                              
         Set of activities coordinating the flow of messages across the   
         services integrated within this business process                 
      -->
      <sequence name="main">
        <!-- Receive input from requestor. (Note: This maps to operation defined in getOpenInvoices.wsdl) -->
        <receive name="receiveInput" partnerLink="client"
                 portType="client:getOpenInvoices" operation="OpenInvoices"
                 variable="inputVariable" createInstance="yes"/>
        <!-- Generate reply to synchronous request -->
        <assign name="Assign_1">
          <copy>
            <from variable="inputVariable" part="payload"/>
            <to variable="Invoke_1_getOpenInvoicesService_InputVariable"
                part="getOpenInvoicesServiceInput_msg"/>
          </copy>
        </assign>
        <invoke name="Invoke_1" partnerLink="getOpenInvoicesService"
                portType="ns1:getOpenInvoicesService_ptt"
                operation="getOpenInvoicesService"
                inputVariable="Invoke_1_getOpenInvoicesService_InputVariable"
                outputVariable="Invoke_1_getOpenInvoicesService_OutputVariable"/>
        <assign name="Assign_2">
          <copy>
            <from variable="Invoke_1_getOpenInvoicesService_OutputVariable"
                  part="getOpenInvoicesServiceOutputCollection"/>
            <to variable="outputVariable" part="payload"/>
          </copy>
        </assign>
        <reply name="replyOutput" partnerLink="client"
               portType="client:getOpenInvoices" operation="OpenInvoices"
               variable="outputVariable"/>
      </sequence>
    </process>the above is the server and client wsdls and Bpel process. i have created the wsdl so as to call from HTTP calling, means process is been called from Browser .... but i can't see the result ...
    http://sys0004:8889/httpbinding/default/getOpenInvoices/OpenInvoices?accountNumber=1608
    above is the link called from browser
    output in the browser ::: <getOpenInvoicesProcessResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/getOpenInvoices" />
    actually it has to fetch data from DB and show in xml format can anyone assist me where i am going wrong

    Hi Rajesh,
    Please refer \bpel\samples\tutorials\102.InvokingProcesses\jsp.
    BPEL Tutorial 7: Invoking BPEL Processes through SOAP and Java : Reference: 2004/06/14/orabpel/d5/1.0
    Hope this helps!
    Regards
    Anirudh Pucha

  • Problem in invoking BPEL process from jsp

    Dear Experts,
    I am trying to invoke BPEL process from simple JSP form, with guide lines of http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/invoke.htm. But I'm receiving the following error
    Error: JSP files must reside in the server root directory or a subdirectory beneath it
    Note: I having my JSP page inside my project folder-->output_html--> myfile.jsp
    Thanks,
    Rajesh

    Hi Rajesh,
    Please refer \bpel\samples\tutorials\102.InvokingProcesses\jsp.
    BPEL Tutorial 7: Invoking BPEL Processes through SOAP and Java : Reference: 2004/06/14/orabpel/d5/1.0
    Hope this helps!
    Regards
    Anirudh Pucha

  • Problem while invoking BPEL from a JSP.

    I have a very simple JSP
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.delivery.IDeliveryService" %>
    <%@page import="java.util.Hashtable" %>
    <%@page import="javax.naming.Context" %>
    <html>
    <head>
    <title>Invoke HelloWorld</title>
    </head>
    <body>
    <%
    Hashtable jndi = null;
    String name = request.getParameter("name");
    if(name == null)
    name = "BPEL";
    String xml = "<name xmlns=\"http://samples.otn.com/helloworld\">" + name + "</name>";
    Locator locator = new Locator("default","bpel",jndi);
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    // construct the normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart("payload" , xml );
    deliveryService.request("HelloWorld", "process", nm);
    out.println( "BPELProcess HelloWorld initiated!" );
    %>
    Please refer to the
    BPEL Console
    to see the status of the initiated HelloWorld BPEL Process.
    </body>
    </html>
    when i am trying to run this JSP i get the following error
    java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:255)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.ApplicationContext.lookup(ApplicationContext.java:195)     at javax.naming.InitialContext.lookup(InitialContext.java:351)     at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)     at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)     at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)     at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)     at _Hello._jspService(_Hello.java:79)     [Hello.jsp]
    Please help.. is it any configuration problems do i need to set any classpath

    Try this first, to start the process from Java client:
    http://orasoa.blogspot.com/2007/06/calling-bpelesb-webservice-from.html
    The default demo applications should be working after a default install.

  • Problem in invoking BPEL Process through JSP

    Hi ,
    I have created a simple BPEL asynchronous process called as " BPELProcessAddMacroTask" .
    JSP File looks like :
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.dispatch.IDeliveryService" %>
    <html>
    <head>
    <title>Invoke AddMacro Task</title>
    </head>
    <body>
    <%
    String EmployeeId = request.getParameter("EmployeeId");
    if (EmployeeId == null)
    %>
    <!-- Construct HTML form here -->
    <h3>Invoke AddMacro Task BPEL Application</h3>
    <h4>Add Macro Task Form</h4>
    <form>
    <table>
    <tr>
    <td>EmployeeId:</td>
    <td><input type="text" name="EmployeeId" value="43"></td>
    </tr>
    <tr>
    <td>TaskName</td>
    <td><input type="text" name="MacroTaskName" value="DIMPLETTE_EXAMPLE"></td>
    </tr>
    <input type="submit" value="Send Input">
    </form>
    <%
    else
    // 1. Get form fields
    //String EmployeeId = request.getParameter("EmployeeId");
    String MacroTaskName = request.getParameter("MacroTaskName");
    // 2. Create loan application XML document
    String xml = "<AddMacroTask xmlns=\"http://xmlns.oracle.com/BPELProcessAddMacroTask\">"
    + "<EmployeeId>" + EmployeeId + "</EmployeeId>"
    + "<MacroTaskName>" + MacroTaskName + "</MacroTaskName>" ;
    // 3. Initiate the BPEL process here
    Locator locator = new Locator("default","bpel");
    IDeliveryService deliveryService = (IDeliveryService)
    locator.lookupService(IDeliveryService.SERVICE_NAME );
    // Construct a normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage();
    nm.addPart("payload", xml);
    // Initiate the BPEL process
    deliveryService.post("BPELProcessAddMacroTask", "initiate", nm);
    %>
    <p>BPEL Process <code>BPELProcessAddMacroTask</code> initiated
    with the input containing EmployeeId=<%= EmployeeId %></p>
    <p>Please refer to the
    BPEL Console
    to see the status of the initiated AddMacroTask BPEL Process.</p>
    <%
    %>
    <body>
    </html>
    I am not finding my " addmacrotask.jsp" in home.jsp even after running "Obant" command .
    I am getting following error when try to invoke the web service :
    My UI Path is : http://localhost:9700/InvokingProcessesUI/addmacrotask.jsp
    I am getting this error :
    Exception Message:
    [java.lang.Exception] Invalid Login. Domain not specified.
    Exception Trace:
    java.lang.Exception: Invalid Login. Domain not specified. at com.collaxa.cube.fe.util.ServletUtils.getLocator(ServletUtils.java:80) at displayInstance.jspService(_displayInstance.java:88) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:103) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)
    Please someone help me out with this problem .
    Thanks
    Deepika

    Hi ,
    I have set it to this in server.xml :
    <application name="orabpel" path="../../../BC4J/redist/bc4j.ear" auto-start="true" />
    <application name="BPELProcessAddMacroTask" path="D:\BPEL\integration\orabpel\system\appserver\oc4j\j2ee\home\applications\InvokingProcessesUI.ear" parent="orabpel" auto-start="true" />
    </application-server>
    But still not able to create instance . Same problem persists.
    Thanks
    Deepika

  • Problems in invoking BPEL process

    Hi there,
    I created with JDeveloper the following BPEL process :
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <process name="ProvaBPEL" targetNamespace="http://xmlns.oracle.com/ProvaBPEL"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns1="http://www.research.ibm.com/wsla"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:client="http://xmlns.oracle.com/ProvaBPEL"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:ProvaBPEL"
    myRole="ProvaBPELProvider"/>
    </partnerLinks>
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable"
    messageType="client:ProvaBPELRequestMessage"/>
    <!-- Reference to the message that will be returned to the requester-->
    <variable name="outputVariable"
    messageType="client:ProvaBPELResponseMessage"/>
    </variables>
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in ProvaBPEL.wsdl) -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:ProvaBPEL" operation="process"
    variable="inputVariable" createInstance="yes"/>
    <!-- Generate reply to synchronous request -->
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload"/>
    <to variable="outputVariable" part="payload"/>
    </copy>
    </assign>
    <reply name="replyOutput" partnerLink="client" portType="client:ProvaBPEL"
    operation="process" variable="outputVariable"/>
    </sequence>
    </process>
    which gets as input a WSLA type (http://www.research.ibm.com/wsla) and returns it as output without performing any operation (just a copy operation).
    I have deployed the process and it can be accessed at http://localhost/8888/orabpel/default/ProvaBPEL/1.0. I can see it in the BPEL Console but (first problem) I can't test it because I can't see the usual HTML form the BPEL console shows. I can't see the origine xml form too. If I go to the BPEL endpoint I see the following error message:
    Cannot test this Operation using the Test Page because Could not understand type: {http://www.research.ibm.com/wsla}StringList
    The wsdl of the deployed BPEL Process is:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="ProvaBPEL"
    targetNamespace="http://xmlns.oracle.com/ProvaBPEL"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/ProvaBPEL"
    xmlns:ns1="http://www.research.ibm.com/wsla"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
         <types>
              <schema xmlns="http://www.w3.org/2001/XMLSchema">
                   <import namespace="http://www.research.ibm.com/wsla" schemaLocation="WSLA093.xsd" />
              </schema>
         </types>
         <message name="ProvaBPELRequestMessage">
              <part name="payload" element="ns1:SLA" />
         </message>
         <message name="ProvaBPELResponseMessage">
              <part name="payload" element="ns1:SLA" />
         </message>
         <!-- portType implemented by the ProvaBPEL BPEL process -->
         <portType name="ProvaBPEL">
              <operation name="process">
                   <input message="client:ProvaBPELRequestMessage" />
                   <output message="client:ProvaBPELResponseMessage"/>
              </operation>
         </portType>
         <plnk:partnerLinkType name="ProvaBPEL">
              <plnk:role name="ProvaBPELProvider">
                   <plnk:portType name="client:ProvaBPEL"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>
    I used Apache XMLBeans to bind the WSLA types to Java types creating a WSLA.jar that I import in the following client I have developed:
    import com.ibm.research.wsla.*;
    import java.io.File;
    import java.net.URL;
    import javax.xml.soap.*;
    import org.w3c.dom.Document;
    import org.w3c.dom.Node;
    public class SOAPClient {
    public static void main(String[] args) {
    SOAPConnectionFactory fact;
    try {  
    fact = SOAPConnectionFactory.newInstance();
    SOAPConnection con = fact.createConnection();
    MessageFactory mfact = MessageFactory.newInstance();
    SOAPMessage smsg = mfact.createMessage();
    SOAPPart prt = smsg.getSOAPPart();
    SOAPEnvelope env = prt.getEnvelope();
    SOAPBody bdy = env.getBody();
    File xmlfile = new File("C:\\prova.xml");
    SLADocument sladoc = SLADocument.Factory.parse(xmlfile);
    Node nd = sladoc.getDomNode();
    bdy.addDocument((Document) nd);
    System.out.println("SOAP Message:");
    smsg.writeTo(System.out);
    System.out.println();
    System.out.println();
    //Set the WebService end point URL
    URL endpoint = new URL("http://dana:8888/orabpel/default/ProvaBPEL/1.0");
    //Send the message
    SOAPMessage response;
    response = con.call(smsg, endpoint);
    System.out.println("Received SOAP Message:");
    response.writeTo(System.out);
    System.out.println();
    //Close the connection
    con.close();
    catch (Exception e) {
    e.printStackTrace();
    The client simply parses an XML file and uses it as bosy of the SOAP message.
    JDeveloper compiles it without errors but when I run the project (second problem) I get the following as SOAP response:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:Server</faultcode><faultstring>java.lang.NullPointerException</faultstring><faultactor></faultactor></env:Fault></env:Body></env:Envelope>
    and I can't see any instance of the BPEL Process in the BPEL Console. I'm quite sure the SOAP message is well formed because I can see it in the Running output. I also tried with simpler BPEL process for which I can see the HTML form in the BPEL Console and copying and pasting the SOAP message generated with my client in the Origine XML form the Process was invoked correctly.
    Can anybody help me? Thanks in advance.

    Great! Thank you for the reply! Now I manage to invocate the BPEL process. I put the line:
    smsg.getMimeHeaders().addHeader("SOAPAction", "process");
    and now my day is a good day!
    However I tried to place the import of the WSLA093.xsd schema outside the types element with:
    <import namespace="http://www.research.ibm.com/wsla" location="WSLA093.xsd" />
    but it didn't work. Now the wsdl file of the BPEL Process is:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="ProvaBPEL"
    targetNamespace="http://xmlns.oracle.com/ProvaBPEL"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/ProvaBPEL"
    xmlns:ns1="http://www.research.ibm.com/wsla"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <import namespace="http://www.research.ibm.com/wsla" location="WSLA093.xsd" />
    <types>
              <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://www.research.ibm.com/wsla" schemaLocation="WSLA093.xsd" />
              </schema>
         </types>
         <message name="ProvaBPELRequestMessage">
              <part name="payload" element="ns1:SLA" />
         </message>
         <message name="ProvaBPELResponseMessage">
              <part name="payload" element="ns1:SLA" />
         </message>
         <!-- portType implemented by the ProvaBPEL BPEL process -->
         <portType name="ProvaBPEL">
              <operation name="process">
                   <input message="client:ProvaBPELRequestMessage" />
                   <output message="client:ProvaBPELResponseMessage"/>
              </operation>
         </portType>
         <plnk:partnerLinkType name="ProvaBPEL">
              <plnk:role name="ProvaBPELProvider">
                   <plnk:portType name="client:ProvaBPEL"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>
    Please tell me if it is correct. I also tried to delete the line:
    <import namespace="http://www.research.ibm.com/wsla" schemaLocation="WSLA093.xsd" />
    from the types element (even if I don't know if it is correct) but I always have the same error in the BPEL endpoint page:
    Cannot test this Operation using the Test Page because Could not understand type: {http://www.research.ibm.com/wsla}StringList
    Thank you very muche for the help.

  • Problem with Invoking BPEL with a Java Client

    I am trying to invoke a BPEl process from a standalone Java Application. However, it end up FileNotFoundException at
    Locator locator = new Locator("default", "bpel");
    It seems looking for some config files. I am not sure how should I set up the environment for Java Client application to connect to BPEL process.
    Below is the error messages ...
    java.io.FileNotFoundException: C:\projects\IBC_HotStart\client\JavaClient\config\security.properties (The system cannot find the path specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility.java:56)
    at com.sun.enterprise.iiop.POAEJBORB.<clinit>(POAEJBORB.java:83)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at org.omg.CORBA.ORB.create_impl(ORB.java:295)
    at org.omg.CORBA.ORB.init(ORB.java:336)
    at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:140)
    at com.sun.enterprise.util.ORBManager.init(ORBManager.java:69)
    at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitContextFactory.java:35)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at com.collaxa.cube.util.CXBeanRegistry.lookupDomainManagerBean(CXBeanRegistry.java:209)
    at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:84)
    at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:48)
    at com.oracle.bpel.client.Locator.<init>(Locator.java:88)
    at javaclient.IBCJavaClient.main(IBCJavaClient.java:39)
    java.io.FileNotFoundException: C:\projects\IBC_HotStart\client\JavaClient\config\ejb.properties (The system cannot find the path specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility.java:56)
    at com.sun.enterprise.iiop.J2EEInitializer.<init>(J2EEInitializer.java:57)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at com.sun.corba.ee.internal.Interceptors.PIORB.registerORBInitializers(PIORB.java:373)
    at com.sun.corba.ee.internal.Interceptors.PIORB.parseProperties(PIORB.java:343)
    at com.sun.corba.ee.internal.TxPOA.TxPIORB.parseProperties(TxPIORB.java:116)
    at com.sun.corba.ee.internal.corba.ORB.set_parameters(ORB.java:449)
    at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:152)
    at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:332)
    at org.omg.CORBA.ORB.init(ORB.java:337)
    at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:140)
    at com.sun.enterprise.util.ORBManager.init(ORBManager.java:69)
    at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitContextFactory.java:35)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at com.collaxa.cube.util.CXBeanRegistry.lookupDomainManagerBean(CXBeanRegistry.java:209)
    at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:84)
    at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:48)
    at com.oracle.bpel.client.Locator.<init>(Locator.java:88)
    at javaclient.IBCJavaClient.main(IBCJavaClient.java:39)
    Warning: unable to read transaction.interoperability config property
    java.io.FileNotFoundException: C:\projects\IBC_HotStart\client\JavaClient\config\security.properties (The system cannot find the path specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility.java:56)
    at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<clinit>(SecurityMechanismSelector.java:103)
    at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:213)
    at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:73)
    at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:68)
    at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:70)
    at com.sun.corba.ee.internal.corba.InitialNamingClient.locateObject(InitialNamingClient.java:769)
    at com.sun.corba.ee.internal.corba.InitialNamingClient.getIORUsingHostInfo(InitialNamingClient.java:597)
    at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveCorbaloc(InitialNamingClient.java:573)
    at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingORBInitRef(InitialNamingClient.java:544)
    at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1080)
    at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:981)
    at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:2358)
    at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:55)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:154)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.collaxa.cube.util.CXBeanRegistry.lookupDomainManagerBean(CXBeanRegistry.java:211)
    at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:84)
    at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:48)
    at com.oracle.bpel.client.Locator.<init>(Locator.java:88)
    at javaclient.IBCJavaClient.main(IBCJavaClient.java:39)

    I tried my Java Client program with rmi approach.
    In my program
    java.net.URL url = ClassLoader.getSystemResource("context.properties");
    return null for url, and the program stopped at
    props.load(url.openStream());
    Should I define the system properties somewhere before I run the client program, so that the url would not be null?

  • Problem in Invoking Bpel from HTML

    below Bpel process client wsdl code which is called from HTML(http://blogs.oracle.com/reynolds/2005/09/invoking_bpel_from_an_html_for.html followed the link ) but when i have called the process with this link http://sys0004:8889/httpbinding/default/getOpenInvoices/OpenInvoices?accountNumber=1608 the result is not coming up it shows only
    the query which it contains to get the result works fine in SqlDeveloper anyone please help me
    <OpenInvoiceProcessResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/getOpenInvoices" />
    <definitions
         name="getOpenInvoices"
         targetNamespace="http://xmlns.oracle.com/getOpenInvoices"
         xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
         xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns="http://schemas.xmlsoap.org/wsdl/"
         xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
         xmlns:client="http://xmlns.oracle.com/getOpenInvoices">
        <types>
            <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/getOpenInvoices"  xmlns="http://www.w3.org/2001/XMLSchema">
            <element name="OpenInvoiceProcessResponse">
          <complexType>
            <sequence>
              <element name="result" type="string"/>
            </sequence>
          </complexType>
        </element>
            </schema>
        </types>
        <message name="getOpenInvoicesRequestMessage">
            <part name="accountNumber" type="xsd:string"/>
        </message>
        <message name="getOpenInvoicesResponseMessage">
            <part name="payload" element="client:OpenInvoiceProcessResponse"/>
        </message>
        <portType name="getOpenInvoices">
            <operation name="OpenInvoices">
                <input message="client:getOpenInvoicesRequestMessage"/>
                <output message="client:getOpenInvoicesResponseMessage"/>
            </operation>
        </portType>
        <binding name="OpenInvoicebindings" type="client:getOpenInvoices">
        <http:binding verb="GET"/>
        <operation name="OpenInvoices">
        <http:operation location="/OpenInvoices"/>
        <input>
        <http:urlEncoded/>
        </input>
        <output>
        <mime:mimeXml/>
        </output>
        </operation>
        </binding>
        <service name="OpenInvoiceService">
        <port binding="client:OpenInvoicebindings" name="OpenInvoiceport">
        <http:address location="http://sys0004:8889/httpbinding/default/getOpenInvoices"/>
        </port>
        </service>
        <plnk:partnerLinkType name="getOpenInvoices">
            <plnk:role name="getOpenInvoicesProvider">
                <plnk:portType name="client:getOpenInvoices"/>
            </plnk:role>
        </plnk:partnerLinkType>
    </definitions>above is from SOA 10.1.3.1 with 10.1.3.4 patchset DB version:oracle 10g on windows XP 32 bit

    Hi,
    any one please help me out in this issue
    in BPEL Manager log
    <2010-07-12 03:43:25,967> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::O
    utbound> file:/C:/xxx/oracle/soa/10.1.3.1/bpel/domains/default/tmp/.bpel_getOp
    enInvoices_v2010_07_12__58321_ddf0db917991d1bd56e2e86088d3ae01.tmp/getOpenInvoic
    esService.wsdl [ getOpenInvoicesService_ptt::getOpenInvoicesService(getOpenInvoi
    cesServiceInput_msg,getOpenInvoicesServiceOutputCollection) ] - Could not invoke
    operation 'getOpenInvoicesService' against the 'Database Adapter' due to:
    ORABPEL-11633
    Pure SQL Exception.
    Pure SQL Execute of SELECT distinct aps.trx_number TrxNumber, ra.purchase
    order PurchaseOrder,       rl.salesorder OrderNumber, ra.interface_heade
    r_attribute2 OrderType, hc.account_number CustomerNumber, rt.name T
    rxType, aps.acctd_amount_due_remaining AmmountDue, to_date(aps.trx_d
    ate,'DD-MON-YYYY HH24:MI:SS') TrxDate, to_date(aps.due_date,'DD-MON-YYYY
    HH24:MI:SS')TrxDueDate FROM ra_customer_trx_all ra , ra_customer_trx_li
    nes_all rl , ar_payment_schedules_all aps , ra_cust_trx_types_all rt
    , hz_cust_accounts hc , hz_parties hp
    , hz_cust_acct_sites_all hcasa_bill, hz_cust_site_uses_all hcsua_bill ,
    hz_party_sites hps_bill , ra_cust_trx_line_gl_dist_all rct WHERE 1
    = 1 AND ra.customer_trx_id = rl.customer_trx_i
    d AND ra.customer_trx_id = aps.customer_trx_id AND ra.org_id
    = aps.org_id AND rl.org_id = aps.org_id AND rct.cus
    tomer_trx_id = aps.customer_trx_id AND rct.customer_trx_id = r
    a.customer_trx_id AND rct.customer_trx_id = rl.customer_trx_id AND rct.
    customer_trx_line_id = rl.customer_trx_line_id AND ra.complete_flag
    = 'Y' AND rl.line_type IN ('FREIGHT', 'LINE') AND ra.cust_trx
    typeid = rt.cust_trx_type_id AND ra.bill_to_customer_id = hc.cu
    st_account_id AND hc.status = 'A' AND hp.party_id
    = hc.party_id AND hcasa_bill.cust_account_id = ra.bill_to_customer_id AN
    D hcasa_bill.cust_acct_site_id = hcsua_bill.cust_acct_site_id AND hcsua_bill.sit
    e_use_code = 'BILL_TO' AND hcsua_bill.site_use_id = ra.bill_to_site_us
    e_id AND hps_bill.party_site_id = hcasa_bill.party_site_id AND hcasa_bill.
    status = 'A' AND hcsua_bill.status = 'A' AND aps.amount_du
    e_remaining <> 0 AND aps.status = 'OP' AND hc.account_numbe
    r=? failed. Caused by java.lang.NullPointerException.
    The Pure SQL option is for border use cases only and provides simple yet minimal
    functionality. Possibly try the "Perform an operation on a table" option inste
    ad.
    <2010-07-12 03:43:25,967> <INFO> <default.collaxa.cube.ws> <AdapterFramework::Ou
    tbound> Change logging level for Logger 'default.collaxa.cube.ws' to DEBUG to se
    e full error stack
    <2010-07-12 03:43:25,967> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::O
    utbound> file:/C:/vijay/oracle/soa/10.1.3.1/bpel/domains/default/tmp/.bpel_getOp
    enInvoices_v2010_07_12__58321_ddf0db917991d1bd56e2e86088d3ae01.tmp/getOpenInvoic
    esService.wsdl [ getOpenInvoicesService_ptt::getOpenInvoicesService(getOpenInvoi
    cesServiceInput_msg,getOpenInvoicesServiceOutputCollection) ] - Rolling back JCA
    LocalTransaction
    <2010-07-12 03:44:11,108> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::l
    ogError> Error while invoking bean "delivery": Waiting for response has timed ou
    t. The conversation id is null. Please check the process instance for detail.
    com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response ha
    s timed out. The conversation id is null. Please check the process instance for
    detail.
    at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:109)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke
    (EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
    ocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSI
    nterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
    ocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAAS
    Interceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAA
    SInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
    ocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invo
    ke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
    ocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSI
    nterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
    ocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContex
    tPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(S
    tatelessSessionEJBObject.java:87)
    at DeliveryBean_LocalProxy_4bin6i8.request(Unknown Source)
    at com.oracle.bpel.client.delivery.LocalDeliveryService.request(LocalDel
    iveryService.java:79)
    at com.oracle.bpel.client.delivery.LocalDeliveryService.request(LocalDel
    iveryService.java:48)
    at com.collaxa.cube.ws.http.HttpBindingServlet.call(HttpBindingServlet.j
    ava:201)
    at com.collaxa.cube.ws.http.HttpBindingServlet.doGet(HttpBindingServlet.
    java:159)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
    hain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
    estHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
    stHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
    cketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(Server
    SocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocket
    AcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(
    ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for
    response has timed out. The conversation id is null. Please check the process in
    stance for detail.
    at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyTyp
    e(DeliveryHandler.java:528)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(Deliv
    eryHandler.java:451)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHand
    ler.java:125)
    at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
    ... 43 more
    2010-07-12 03:44:11.123 ERROR ServletException cause
    this is from BPEL Manager 10.1.3.1

  • Problem in invoking bpel wthin a bpel(urgent)

    hi....
    i first created the simple bpel process in wich i added one assign activity that is performing addition operation...
    and invoking that to another bpel process in that simply i use one assign activity in that i assigned the input variable to output ..
    thats it....
    and in em i m having this..
    WebService invocation failed...
    The selected operation process could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.FabricInvocationException: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}...
    y it shows this message ...
    wat should i do wen i m trying to invoke the another bpel process..
    kindly help me...
    regards,
    valarmathi

    Have a look at this,
    http://yatanveersingh.blogspot.com/2011/05/calling-one-bpel-process-from-another.html
    -Yatan

  • Problems with BPEL API calling a BPEL workflow

    Hallo,
    i have copied my text from the Application-Server forum to this forum becouse here it is a better place for my problem.
    I have a problem with the BPEL API. I try to invoke a BPEL workflow with the BPEL API. Up to the Point where i call the BPEL workflow with the command "deliveryService.post(processName, action, nm);".
    When this command is processed i following error:
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
    It looks like i am missing a jar file, but in my Development tool an at the compilation i get no errors or warnings. Only when command above is called.
    The initialization of the deliveryService works fine.
    The only point i can image an error is at the definition of the jndi for the remote connection to BPEL. There i have following entry's:
    jndiProviderUrl = "http:ormi://server:port:instance/orabpel";
    jndiFactory = "oracle.j2ee.rmi.RMIInitialContextFactory";
    jndiUsername = "xxx";
    jndiPassword = "yyy";
    I get folowing errror message:
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
    at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
    at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
    Please can someone tell me what i am doing wrong?
    BS
    PS: i used following tutorial to create my code for calling BPEL:
    http://www.oracle.com/technology/products/ias/bpel/pdf/orabpel-Tutorial7-InvokingBPELProcesses.pdf

    got some steps more ... but now i havent any clue. Out of this message i think my ProviderURL is wrong. but i try this both and got always the same error message.
    jndiProviderUrl = "opnm:ormi://amy:6003/orabpel"
    jndiProviderUrl = "opnm:ormi://amy:6003:oc4j_soa/orabpel"
    java.lang.Exception: Erstellen von "ejb/collaxa/system/DeliveryBean"-Bean nicht erfolgreich. Es wurde folgende Exception gemeldet: "javax.naming.NamingException: Invalid provider URL
         at com.evermind.server.rmi.RMILocation.createRMILocation(RMILocation.java:80)
         at com.evermind.server.rmi.RMILocation.createRMILocation(RMILocation.java:57)
         at com.evermind.server.rmi.RMIClient.getLocations(RMIClient.java:661)
         at com.evermind.server.rmi.RMIClient.getDomain(RMIClient.java:640)
         at com.evermind.server.rmi.RMIClient.getContext(RMIClient.java:534)
         at com.evermind.server.rmi.RMIInitialContext.get(RMIInitialContext.java:44)
         at oracle.j2ee.rmi.RMIInitialContextFactory.getInitialContext(RMIInitialContextFactory.java:45)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:277)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
    Please can someone help me?
    What is wrong wis my ProviderURL?
    BS

  • Invoke Bpel Processes via API or Web Service Proxy Clients

    Hi all,
    I was wondering if any of the felow community members have found information regarding best practices in invoking bpel processes from a user interface other than ADF Faces?
    Currently I'm using Web Service Proxy Clients to invoke my bpel processes, but I was wondering if it would be better to use the BPEL API?
    Considerations I have regarding these 2 different approaches are mostly tight integration when using the BPEL API, because this means I have to port the BPEL (Oracle Code) inside my UI-application which isn't the case when using Web Service Proxy Clients.
    What is the best way to instantiate bpel processes from a user interface, is that by using web service proxy clients or by using the bpel i
    nvocation API?
    Kind regards,
    Nathalie

    Hi Marc,
    These were my considerations as well, but I was looking for some kind of benchmarking regarding these 2 approaches. What's best practices when hooking up bpel inside UI Applications regarding performance, future-proofness (SOA Grid, SOA Composites, ...) etc.
    I think I need to discuss this with the product team to make sure I'm taking the wright decisions.
    Kind regards,
    Nathalie

  • How to invoke BPEL process from JAVA API

    Hi Guys
    Any idea if you can tell me how to invoke BPEL process from JAVA API ?
    What to do in BPEL process manager to achieve that?
    Regards
    Deepak

    See http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/invoke.htm#sthref1373 and the JavaDocs http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28986/toc.htm.

  • Invoking BPEL Task Apis - Recommended approach

    Hi all,
    I am trying to invoke BPEL Task webservice APIs and am referring to this link . I have a few queries in this regard.
    1. Workflow Service Clients - Best approach - It appears that there are many approaches to get a workflow service client and am confused which to proceed with.
    i. wf_client_config.xml & use getWorkflowServiceClient to get the client
    ii. Using a JAXB Object
    iii. Using a Map
    2. If I am to invoke the webservice, what are the setups required at my client end to invoke the webservice?
    Thanks,
    Srini

    I added the jar files and I don;t get the exception anymore. I am able to login in as weblogic and the application works fine. When I login in as anyother user I get this error. Where is this pc.properties?
    Warning: Could not locate file pc.properties in classpath
    ORABPEL-30501
    Error in authenticating user.
    Error in authenticating and creating a workflow context for user jazn.com/pat.
    Verify that the user credentials and identity service configurations are correct.
    Thanks
    Saru

  • Invoking BPEL Process problem from Tomcat

    Hi, I got a problrm to invoke BPEL process through JSP.
    I think it's caused from BPEL Library.
    Where can i find com.evermind.server.rmi.RMIInitialContextFactory ?
    the error messages are below.
    javax.naming.NoInitialContextException: Cannot instantiate class: com.evermind.server.rmi.RMIInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.evermind.server.rmi.RMIInitialContextFactory]
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.init(InitialContext.java:219)
         at javax.naming.InitialContext.<init>(InitialContext.java:195)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:277)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
         at org.apache.jsp.invokeBPEL_jsp._jspService(invokeBPEL_jsp.java:80)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Caused by: java.lang.ClassNotFoundException: com.evermind.server.rmi.RMIInitialContextFactory
    Thanx.
    jean.

    Hi Rajesh,
    Please refer \bpel\samples\tutorials\102.InvokingProcesses\jsp.
    BPEL Tutorial 7: Invoking BPEL Processes through SOAP and Java : Reference: 2004/06/14/orabpel/d5/1.0
    Hope this helps!
    Regards
    Anirudh Pucha

  • BPEL API issue while updating configuration

    Hi ,
    I want to update the configuration of the bpel process dynamically using the bpel api. (Oracle BPEL 10.1.3.3)
    Here is my code.
    ====================================
    Locator locator = new Locator("default", "test", _properties );
    com.oracle.bpel.client.IBPELProcessHandle handle = locator.lookupProcess("TestProcess");
    ProcessDescriptor processDescriptor = handle.getDescriptor();
    ConfigurationsDescriptor configurationsDescriptor = processDescriptor.getConfigurations();
    configurationsDescriptor.setPropertyValue("transaction","false"); // set or add
    handle.updateDescriptor(processDescriptor);
    ===========================================================
    But I am getting the following exception:
    11/04/07 17:57:44 java.lang.NullPointerException
    11/04/07 17:57:44 at testchangedescriptors.TestDescription.Test(TestDescription.java:55)
    11/04/07 17:57:44 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    11/04/07 17:57:44 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    11/04/07 17:57:44 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    11/04/07 17:57:44 at java.lang.reflect.Method.invoke(Method.java:592)
    11/04/07 17:57:44 at oracle.j2ee.ws.server.ImplInvocationHandler.invoke(ImplInvocationHandler.java:126)
    11/04/07 17:57:44 at $Proxy16.Test(Unknown Source)
    11/04/07 17:57:44 at testchangedescriptors.runtime.MyWebService1SoapHttp_Tie.invoke_Test(MyWebService1SoapHttp_Tie.java:59)
    11/04/07 17:57:44 at testchangedescriptors.runtime.MyWebService1SoapHttp_Tie.processingHook(MyWebService1SoapHttp_Tie.java:154)
    11/04/07 17:57:44 at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
    11/04/07 17:57:44 at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
    11/04/07 17:57:44 at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
    11/04/07 17:57:44 at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
    11/04/07 17:57:44 at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
    11/04/07 17:57:44 at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
    11/04/07 17:57:44 at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
    11/04/07 17:57:44 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    11/04/07 17:57:44 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    11/04/07 17:57:44 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    11/04/07 17:57:44 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    11/04/07 17:57:44 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    11/04/07 17:57:44 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    11/04/07 17:57:44 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    11/04/07 17:57:44 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    11/04/07 17:57:44 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    11/04/07 17:57:44 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    11/04/07 17:57:44 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    11/04/07 17:57:44 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    11/04/07 17:57:44 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    ============================================================================================
    Please someone help me.

    Hi All,
    We have also successfully solve the problem for creating User and Organization because of Constraint violation in below tables in OIM 11g
    1) OSH table and Constraint name PK_OSH
    2) SCH table and Constraint name PK_SCH
    3) OIO table and Constraint name PK_OIO
    4) ORC table and Constraint name PK_ORC
    5) OBI table and Constraint name PK_OBI
    6) USR table and Constraint name PK_USR
    Run the below SQL commands to solve the error using these table name and constraint names
    Select OSH_SEQ.nextval from dual; (this will show the next value of the sequence for OSH_KEY)
    Now we have to increment the OSH_KEY value by some number which is greater than the value in OSH_KEY stored in database.
    Alter sequence OSH_SEQ increment by 50000; (in our case last no was 253 and in database it was 50251)
    and again
    Alter sequence OSH_SEQ increment by 1;
    Repeat these commands for all six tables.
    Regards

Maybe you are looking for

  • Runtime Error for WD ABAP Application in Portal

    Hello Everyone, I developed a WD ABAP Application and then created an iview in portal for this WD ABAP application and then assigned this iview to a role. Now, when I click on this WD ABAP iview it is working fine for the first time. If I click on th

  • Roll method doesn't work properly

    Hi there, I ran into a problem with the roll method of GregorianCalendar class. Suppose the date is April 6, 00:00:00 2002, the following code will go throught the time changes: GregorianCalendar cal = new GregorianCalender(); for (int i = 0; i < 24;

  • Shared Libraries and personal security

    Have there been any security issues with Shared Libraries?

  • How to detect the sign of a number?

    I have output which gives either negative number or positive number. My problems is how to detect the sign of the number and output boolean value? For example if input number is negative like -23.11 I want to output false and if the number is positiv

  • Looking for Oracle Doc on RAC...

    Hi, I am looking for an Oracle doc (Metalink or whatever), that will give me Oracle's recommendations on how to best configure a 4 Node RAC Env on RHLE4. We are running mainly a data warehouse shop here and we are trying to best configure our Network