Error while using element api

Hi,
while using pay_element_types_api.create_element_type api,system is giving me following error:
ORA-20001: PAY_6137_ELEMENT_DUP_NAME:
ORA-06512: at "APPS.PAY_ELEMENT_TYPES_API", line 686
ORA-06512: at line 100
Please help.
Regards
Akash

before calling the api, run a query on the pay_element_types_f table and see if an element with the same name already exists.
Edited by: Giuseppe Bonavita on 17-Dec-2012 09:30

Similar Messages

  • What is Invalid header signature error while using POI API

    Hello all,
    i'm using poi api for extracting the text part from word file while uploading using the POI api. it shows the error
    "Invalid header signature; read 3255307777713450285, expected -2226271756974174256"
    Can anyone help me solve the problem.
    Here's my code:
    <%@ page language="java" import="org.apache.poi.hwpf.extractor.*,java.io.*" %>
    <%-- String fil = request.getParameter("fil"); --%>
    <% ServletInputStream st = request.getInputStream();
    DataInputStream dis = new DataInputStream(st);
    WordExtractor woe = new WordExtractor(dis);%>
    <%String s = woe.getText();
    %>
    thanks a lot...

    Did you find any solution to that??? I am also stuck at such a place...

  • Error while using ego_item_user_attrs_cp_pub API

    Hello All,
    We are using ego_item_user_attrs_cp_pub API to insert UDA's in ego_mtl_sy_items_ext_b table.
    The API will pick the record from ego_itm_usr_attr_intrfc table and the following is the script used.
    DECLARE
    x_message_list Error_Handler.Error_Tbl_Type;
    x_errbuf VARCHAR2(100);
    x_return_status VARCHAR2(100);
    p_debug_level NUMBER:=0;
    p_purge_successful_lines VARCHAR2(100):=FND_API.G_FALSE;
    p_initialize_error_handler VARCHAR2(100):=FND_API.G_FALSE;
    p_validate_only VARCHAR2(100):=FND_API.G_FALSE;
    p_ignore_security_for_validate VARCHAR2(100):=FND_API.G_FALSE;
    p_data_set_id NUMBER;
    BEGIN
    p_data_set_id:=1055513;
    ego_item_user_attrs_cp_pub.process_item_user_attrs_data
    ERRBUF =>x_errbuf
    ,RETCODE =>x_return_status
    ,p_data_set_id =>p_data_set_id
    ,p_debug_level =>p_debug_level
    ,p_purge_successful_lines =>p_purge_successful_lines
    ,p_initialize_error_handler =>p_initialize_error_handler
    ,p_validate_only =>p_validate_only
    ,p_ignore_security_for_validate =>p_ignore_security_for_validate
    commit;
    IF (x_return_status = FND_API.G_RET_STS_SUCCESS) THEN
    DBMS_OUTPUT.PUT_LINE('x_return_status = ' || x_return_status);
    ELSE
    DBMS_OUTPUT.PUT_LINE('Error Messages :');
    Error_Handler.GET_MESSAGE_LIST(x_message_list=>x_message_list);
    FOR i IN 1..x_message_list.COUNT LOOP
    DBMS_OUTPUT.PUT_LINE(x_message_list(i).message_text);
    END LOOP;
    END IF;
    END;
    When we run the script return status is 0 but the process status for the corresponding record in interface table is 3 which means error.The error message are not getting displayed in mtl_interface_errors table too.Could any one please throw some light on this.
    Thanks in advance.
    Regards,
    Sumi.
    Edited by: user11165279 on Aug 11, 2009 9:54 PM
    Edited by: user11165279 on Aug 11, 2009 11:15 PM

    Then there must be an exception handler (hider would be more appropriate) which does not propagate the exception.
    Not knowing your environment, my guess would be inside: ego_item_user_attrs_cp_pub.process_item_user_attrs_data

  • Error while using motorola api

    Hi,
    I'm using the MOTOROLA's API to develop a MIDlet for an A835 phone. I used the location API (package com.motorola.location) to access the device's incorporated GPS. The emulator doesn't create problems, but when I try to dowload the MIDlet on the device via wap, the dowload proceeds until an "Application not authorized" error occurs.
    The jad content is the following:
    MIDlet-Jar-Size: 6254
    MIDlet-Jar-URL: http://www.verona.miz.it/sites/navigator.jar
    MIDlet-Name: NavMIDlet
    MIDlet-Vendor: Mizar Mediaservice
    MIDlet-Version: 0.0.1
    MIDlet-Permissions: javax.microedition.io.Connector.http,javax.microedition.io.Connector.socket
    Anyone could help me?
    Thanks.

    Hi Monica,
    I am developing J2ME application for GPS. I have the following query:
    Can we develop GPS enabled application for motorolla handsets using Only J2ME kit or we must need Motorola kit. Actualy i wanna make the application independent of mobile brands so it will work across all the devices supporting GPS.
    If you can send a code snipet (Example) how to get GPS coordinates, it will be great
    Also any reference links and sites will help a lot.
    Please reply at your earliest ..
    Thanks in advance
    Hamid
    [email protected]

  • CAN error while using Channel API

    Hi
    Please find attached error message and code. I am sending message "BS_200" to the CAN channel 0. I get reference of the message from the dbc file called A.dbc. Please let me know  why does it show such an error message.
    Thanks and Regards
    Anoop
    Attachments:
    CAN error.JPG ‏20 KB
    test_2_Chnl api.vi ‏24 KB

    Hello,
    The maximum number of tasks you can have is 128, and the maximum number of messages is 272-number of tasks.  It's weird that you are getting that error though, since you are only using one message in your VI.  If you create a message in Measurement and Automation Explorer (MAX) and try to use that in your program, do you still get the error? If you import the dbc file into MAX (Right-click on CAN Channels, and select "Import Import from CANdb file") and use the message from MAX in your program instead of from the the file, do you still get the errror? Do you get the error if you try to use a different message, or does it only occur with the "BS_200" message?
    Please let me know what the results are, and I'll see if I can figure out what's going on here. Also, if it's possible for you to send me the dbc file you have (if it's not top secret),  I could try to reproduce the error. Hope this helps! Thanks!
    Regards,
    Ebele O.
    National Instruments

  • Error while using OAM API

    I have created Domain , authentication, authorization policies in OAM.I would like to allow access to the users through API (those users lready present in the OID)
    ObAccessManager am=new ObAccessManager()
    am.setAdmin("orcladmin","welcome1");
    When executing am.set admin line following error is throwing
    Invalid Access Management message: code. Message: To be parsed:
         at com.oblix.accessmgr.ObAMSerializedObject.deserializeInt(ObAMSerializedObject.java:285)
         at com.oblix.accessmgr.ObAMException.<init>(ObAMException.java:403)
         at com.oblix.accessmgr.ObAccessManager.sendRequest(ObAccessManager.java:163)
         at com.oblix.accessmgr.ObAccessManager.setAdmin(ObAccessManager.java:195)
         at com.orderentry.util.AccessManager1.main(AccessManager1.java:59)

    Host Identifier: null
    com.oblix.access.ObAccessException: The AccessGate is unable to contact any Access Servers.
         at com.oblix.access.ObConfig.jni_initialize(Native Method)
         at com.oblix.access.ObConfig.initialize(ObConfig.java:115)
         at com.orderentry.util.AccessManager1.main(AccessManager1.java:42)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)
    after
    sdk: AccessServerSDK_Ver_10.1.4
    Exception in thread "main" com.oblix.access.ObAccessException: SDK is not initialized
         at com.oblix.accessmgr.ObAccessManager.jni_AccessManagementRequest(Native Method)
         at com.oblix.accessmgr.ObAccessManager.sendRequest(ObAccessManager.java:160)
         at com.oblix.accessmgr.ObAccessManager.setAdmin(ObAccessManager.java:195)
         at com.orderentry.util.AccessManager1.main(AccessManager1.java:60)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)
    Error 10061, localhost:6021Error 10061, localhost:6021Error 10061, localhost:6021Error 10061, localhost:6021
    Process finished with exit code 1

  • Getting error while using CAN api's. Says channel not found in MAX.

    Hi,
    I am using NI-CAN series2, can card. The same is not connected to my system. Hence i have used the virtual channel 256. Here i am reading the DBC file and providing an option to the user to select a set of messages to transmitt\receive. But i am getting an error saying
    "Error -1074388479 occurred at CAN Get Channel Data Type.vi
    Possible reason(s):
    NI-CAN:  (Hex 0xBFF62201) Channel not found in MAX or the CAN database file.  Solutions: Check for proper spelling using MAX; For Get/Set Property, ensure that the channel name exists in the task."
    Please help.
    Regards,
    Yogesh

    Hi Marshall,
    Thanx for the reply and spending time for the same. I tried the example which u had mentioned. This example is working with 256 virtual channel. But my code is no executing and giving he same problem even after loading the DBC file into max(Same loaded im my code). Always load the dbc file in max and then only i should run the code, is it so? But this can not happen, since the user may not hav max. I hav attached the code. Pls verify it, and give me the feedback.
    Waiting for the reply,
    Yogesh
    GET
    Larsen & Toubro
    India
    Attachments:
    CanMsgFrame.vi ‏68 KB

  • "Content not allowed in Prolog" XML error while using RemoteSession API

    Hi,
    I am trying to create a view by using a RemoteSession object CREATED on the RPC URL of Sun Identity Manager. Here is the code I am trying out.
    try
    URL url = new URL ("http","localhost",8080,"/idm/servlet/rpcrouter2");
    System.out.println (url.toString());
    RemoteSession _remoteSession = new RemoteSession   
    (url,Constants.CONFIGURATOR, new EncryptedData
    ("configurator"));
    System.out.println ("Remote session is "+_remoteSession);
    GenericObject view = _remoteSession.createView ("Role",null);
    System.out.println ("View is "+view);
    catch (MalformedURLException male){
         male.printStackTrace ();
    catch (WavesetException wes){
         wes.printStackTrace ();
    catch (Exception e){
         e.printStackTrace ();
    When this line is called,
    GenericObject view = _remoteSession.createView ("Role",null);
    The code throws the following exception.
    [java] http://localhost:8080/idm/servlet/rpcrouter2
    [java] Remote session is com.waveset.session.RemoteSession@1cbda0a
    [java] com.waveset.util.XmlParseException: XML Error: 1:1: Content is not a
    llowed in prolog.
    [java] at com.waveset.util.XmlParser.wrapException(XmlParser.java:886)
    [java] at com.waveset.util.XmlParser.parseString(XmlParser.java:519)
    [java] at com.waveset.util.XmlUtil.parseString(XmlUtil.java:440)
    [java] at com.waveset.session.RemoteSession.getResultObject(RemoteSessi
    on.java:1028)
    [java] at com.waveset.session.RemoteSession.rpc(RemoteSession.java:995)
    [java] at com.waveset.session.RemoteSession.callx(RemoteSession.java:92
    3)
    [java] at com.waveset.session.RemoteSession.call(RemoteSession.java:907
    [java] at com.waveset.session.RemoteSession.call(RemoteSession.java:893
    [java] at com.waveset.session.RemoteSession.call(RemoteSession.java:880
    [java] at com.waveset.session.RemoteSession.call(RemoteSession.java:869
    [java] at com.waveset.session.RemoteSession.createView(RemoteSession.ja
    va:753)
    [java] at com.sun.idm.idmx.myspefiles.MyRemoteApiUsage.createAndProvisi
    onUser3(MyRemoteApiUsage.java:496)
    [java] at com.sun.idm.idmx.myspefiles.MyRemoteApiUsage.demoBasicProvisi
    oning(MyRemoteApiUsage.java:475)
    [java] at com.sun.idm.idmx.myspefiles.MyRemoteApiUsage.runDemo(MyRemote
    ApiUsage.java:656)
    [java] at com.sun.idm.idmx.myspefiles.MyRemoteApiUsage.main(MyRemoteApi
    Usage.java:670)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    Is this a known issue in the SDK ? If I construct my own XML and populate a GenericObject, _remoteSession.checkinView (view) does not have any problem in checking in the view. The exception is thrown irrespective of the view id I use , i.e. IDMXUser, User, Role etc.
    Thanks,
    Srinivas

    Hi Srini,
    Have you solved this problem. If yes then can you help me with the solution?
    Thanks!

  • Data Warehouse:java.lang.NoClassDefFound Error while using OWB API for Java

    I was writing code to use the OWB APIs for Java:
    I have imported the folowing files:
    oracle.owb.connection.RepositoryManager;
    oracle.owb.connection.OWBConnection;
    oracle.owb.connection.ConnectionFailureException;
    when jvm tries to get instance of Repositary Manger by the following code
    reposManager = RepositoryManager.getInstance();
    I get the following exception:
    Exception in thread main
    java.lang.NoClassDefFoundError: com/objectspace/jgl/HashMap
    I have checked my OWB and Java environment but I cant locate com/objectspace/jgl.jar file. Can some one tell me were this jar is located in so i can import it.

    Either use some criteria you develop related to one of the keys on the table or use some sort of record limiting method.
    Note the method of limiting will vary related to the database you are using. You will have to look at the documentation.
    For example I am told this will work in MySQL to get 200 records starting at record 100.
    SELECT * FROM myTable ORDER BY whatever ASC LIMIT 100,200
    Because you are running out of memroy I assume the table is large,
    I am not sure what the impact of the above will have on performance because if in the above if the order by is not based on an index at the server level all the records will be selected and sorted before the records are limited.
    I would make sure you have an appropriate index.
    If you use the advanced search over the user forums using "resultset paging" and possibility the database you are using you should be able to get some ideas.
    I hope this makes sense to you.
    rykk

  • Java.lang.NoClassDefFound Error while using OWB API for Java

    I was writing code to use the OWB APIs for Java:
    I have imported the folowing files:
    oracle.owb.connection.RepositoryManager;
    oracle.owb.connection.OWBConnection;
    oracle.owb.connection.ConnectionFailureException;
    when jvm tries to get instance of Repositary Manger by the following code
    reposManager = RepositoryManager.getInstance();
    I get the following exception:
    Exception in thread main
    java.lang.NoClassDefFoundError: com/objectspace/jgl/HashMap
    I have checked my OWB and Java environment but I cant locate com/objectspace/jgl.jar file. Can some one tell me were this jar is located in so i can import it.

    Do you have JAVA_HOME set in your environment?
    What's the result of
    env
    Make sure DBCA is calling the java under $ORACLE_HOME not from other installation.

  • Error while using '*'in the NTE (EDI 850) Segment where '*' is also used as Data Element

    Hi All,
    I am facing below mentioned error while using '*'in the NTE (EDI 850) Segment where '*' is also used as Data Element
    Error: 1 (Field level error)
      SegmentID: NTE
      Position in TS: 70
      Data Element ID: NTE02
      Position in Segment: 2
      Data Value:
      3: Too many data elements
    For Eg: NTE*GEN*My Text *goes here
    Here, NTE02 should be My Text *goes here. So, how can I use "*" here without changing anything in the EDI message?
    Can it be done?
    Thanks.

    Sorry, no.
    X12 does not support an escape character so whatever is used for delimiters become reserved characters.
    If you want to allow '*' in the data, you will have to chooser a different Element delimiter.  The receiver should read the from this from the ISA Segment so it's supposed to be dynamic but that's not always the case in practice.

  • Getting error while using HTTP connector and calling POST action to a Web API which is deployed as website on Azure

    I have create Logic App under Azure App Services, I am getting
    error while using HTTP connector and calling POST action to a Web API which is deployed as website on Azure.
    Following are the screen shots:
    Login App Connector Diagram:
    hema

    Marking as answered since no response on request for more information - assuming that you found what was wrong in the inputs. Let us know if you're still having trouble.
    http://twitter.com/joshtwist

  • Getting error while using as_access_pub.Create_SalesTeam API

    Hi,
    I am getting this error while executing this API in a procedure which is triggered from a business event.
    "User id 0 is invalid. The user cannot be identified in Resource Manager."
    The error does not occur when I execute the procedure stand-alone from a PL/SQL client. What could be the reason ? Any help would be appreciated.
    Thanks
    Ramya

    Hi,
    thanks for the response. I tried doing that FND_APPS.Initialize... explicitly by passing user_id,resp_id and resp_app_id, still its giving the same error.
    Also note that the API works fine from our development instance (without fnd_apps.initialize), whereas it does not work from our testing instance (with or without fnd_apps.initialize)
    Thanks
    Ramya

  • OSB: Cannot acquire data source error while using JCA DBAdapter in OSB

    Hi All,
    I've entered 'Cannot acquire data source' error while using JCA DBAdapter in OSB.
    Error infor are as follows:
    The invocation resulted in an error: Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapter1/RetrievePersonService [ RetrievePersonService_ptt::RetrievePersonServiceSelect(RetrievePersonServiceSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'RetrievePersonServiceSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/soademoDatabase].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.soademoDatabase'. Resolved 'jdbc'; remaining name 'soademoDatabase'.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    JNDI Name for the Database pool: eis/DB/soademoDatabase
    JNDI Name for the Data source: jdbc/soademoDatabase
    I created a basic DBAdapter in JDeveloper, got the xsd file, wsdl file, .jca file and the topLink mapping file imported them into OSB project.
    Then I used the .jca file to generate a business service, and tested, then the error occurs as described above.
    Login info in RetrievePersonService-or-mappings.xml
    <login xsi:type="database-login">
    <platform-class>org.eclipse.persistence.platform.database.oracle.Oracle9Platform</platform-class>
    <user-name></user-name>
    <connection-url></connection-url>
    </login>
    jca file content are as follows:
    <adapter-config name="RetrievePersonService" adapter="Database Adapter" wsdlLocation="RetrievePersonService.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/soademoDatabase" UIConnectionName="Connection1" adapterRef=""/>
    <endpoint-interaction portType="RetrievePersonService_ptt" operation="RetrievePersonServiceSelect">
    <interaction-spec className="oracle.tip.adapter.db.DBReadInteractionSpec">
    <property name="DescriptorName" value="RetrievePersonService.PersonT"/>
    <property name="QueryName" value="RetrievePersonServiceSelect"/>
    <property name="MappingsMetaDataURL" value="RetrievePersonService-or-mappings.xml"/>
    <property name="ReturnSingleResultSet" value="false"/>
    <property name="GetActiveUnitOfWork" value="false"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    RetrievePersonService_db.wsdl are as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <WL5G3N0:definitions name="RetrievePersonService-concrete" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/">
    <WL5G3N0:import location="RetrievePersonService.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService"/>
    <WL5G3N0:binding name="RetrievePersonService_ptt-binding" type="WL5G3N1:RetrievePersonService_ptt">
    <WL5G3N2:binding style="document" transport="http://www.bea.com/transport/2007/05/jca"/>
    <WL5G3N0:operation name="RetrievePersonServiceSelect">
    <WL5G3N2:operation soapAction="RetrievePersonServiceSelect"/>
    <WL5G3N0:input>
    <WL5G3N2:body use="literal"/>
    </WL5G3N0:input>
    <WL5G3N0:output>
    <WL5G3N2:body use="literal"/>
    </WL5G3N0:output>
    </WL5G3N0:operation>
    </WL5G3N0:binding>
    <WL5G3N0:service name="RetrievePersonService_ptt-bindingQSService">
    <WL5G3N0:port binding="WL5G3N1:RetrievePersonService_ptt-binding" name="RetrievePersonService_ptt-bindingQSPort">
    <WL5G3N2:address location="jca://eis/DB/soademoDatabase"/>
    </WL5G3N0:port>
    </WL5G3N0:service>
    </WL5G3N0:definitions>
    Any suggestion is appricated .
    Thanks in advance!
    Edited by: user11262117 on Jan 26, 2011 5:28 PM

    Hi Anuj,
    Thanks for your reply!
    I found that the data source is registered on server soa_server1 as follows:
    Binding Name: jdbc.soademoDatabase
    Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
    Hash Code: 80328036
    toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/291])/291
    Binding Name: jdbc.SOADataSource
    Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
    Hash Code: 92966755
    toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/285])/285
    I don't know how to determine which server the DBAdapter is targetted to.
    But I found the following information:
    Under Deoloyment->DBAdapter->Monitoring->Outbound Connection Pools
    Outbound Connection Pool Server State Current Connections Created Connections
    eis/DB/SOADemo AdminServer Running 1 1
    eis/DB/SOADemo soa_server1 Running 1 1
    eis/DB/soademoDatabase AdminServer Running 1 1
    eis/DB/soademoDatabase soa_server1 Running 1 1
    The DbAdapter is related to the following files:
    C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ connectors\ DbAdapter. rar
    C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ DBPlan\ Plan. xml
    I unzipped DbAdapter.rar, opened weblogic-ra.xml and found that there's only one data source is registered:
    <?xml version="1.0"?>
    <weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90">
    <enable-global-access-to-classes>true</enable-global-access-to-classes>
    <outbound-resource-adapter>
    <default-connection-properties>
    <pool-params>
    <initial-capacity>1</initial-capacity>
    <max-capacity>1000</max-capacity>
    </pool-params>
    <properties>
    <property>
    <name>usesNativeSequencing</name>
    <value>true</value>
    </property>
    <property>
    <name>sequencePreallocationSize</name>
    <value>50</value>
    </property>
    <property>
    <name>defaultNChar</name>
    <value>false</value>
    </property>
    <property>
    <name>usesBatchWriting</name>
    <value>true</value>
    </property>
    <property>
    <name>usesSkipLocking</name>
    <value>true</value>
    </property>
    </properties>
              </default-connection-properties>
    <connection-definition-group>
    <connection-factory-interface>javax.resource.cci.ConnectionFactory</connection-factory-interface>
    <connection-instance>
    <jndi-name>eis/DB/SOADemo</jndi-name>
              <connection-properties>
                   <properties>
                   <property>
                   <name>xADataSourceName</name>
                   <value>jdbc/SOADataSource</value>
                   </property>
                   <property>
                   <name>dataSourceName</name>
                   <value></value>
                   </property>
                   <property>
                   <name>platformClassName</name>
                   <value>org.eclipse.persistence.platform.database.Oracle10Platform</value>
                   </property>
                   </properties>
              </connection-properties>
    </connection-instance>
    </connection-definition-group>
    </outbound-resource-adapter>
    </weblogic-connector>
    Then I decided to use eis/DB/SOADemo for testing.
    For JDeveloper project, after I deployed to weblogic server, it works fine.
    But for OSB project referencing wsdl, jca and mapping file from JDeveloper project, still got the same error as follows:
    BEA-380001: Invoke JCA outbound service failed with application error, exception:
    com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapterTest/DBReader [ DBReader_ptt::DBReaderSelect(DBReaderSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'DBReaderSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/SOADataSource].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/SOADataSource].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
    You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake.
    It almost drive me crazy!!:-(
    What's the purpose of 'weblogic-ra.xml' under the folder of 'C:\Oracle\Middleware\home_11gR1\Oracle_OSB1\lib\external\adapters\META-INF'?
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  • Error while using DB Adapter in BPEL process

    Hi All,
    I am getting error while using DB Adapter in BPEL process
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:157) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1259) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:985) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:729) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 69 more Caused by: javax.xml.ws.soap.SOAPFaultException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:955) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:750) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:234) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:105) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 72 more
    I have created jndi from console which I have mentioned in DBAdapter and I have provided details of JNDI to DbAdapter in deployment.
    I am not able to solve this.
    Can you please let me know solution for this or provide me link for tutorial of DBAdapter for stored procdure call?

    did u deploy your dbadapter through console to the plan mentioned for deployment?

Maybe you are looking for

  • Converting VHS to DVD

    Hello, I've got quite a few old VHS's that as far as I know have not been made available on dvd/ I would rather not buy them again and as it's my right as the owner to make a personal backup copy (please correct me if I'm wrong on this). Anyway, I've

  • First Motion Project

    I'm about to start on my first motion project, which is going to be a three minute segment set to music with some video and images, which I'm going to add as a chapter to a DVD. My question is, can I create the whole three minute as one motion projec

  • Don't fear the penguin...

    Ok, so I had intended to dump Vista in favor of XP for performance reasons. Turns out that Vista doesn't suck too badly after a ram upgrade, though I'm still not a huge fan. I had also tried an Ubuntu live cd and was impressed that it almost worked.

  • Bluetooth Headset won't stay connected under 10.6

    My PS3 headset use to stay connected under leopard but something in snow leopard doesnt like it. If I can get it connected it'll stay connected for a min. And i cant get the input meter to pickup any audio from the device. However on my iPhone and PS

  • Define Payroll

    While defining Payroll, I have selected period type as Year. However I want to change this to calendar month. Have tried changing the same. Its gets changed to calendar month for that moment and also gets saved. But when I query the payroll again it