Debug Oracle InterConnect AQ Adapter

Hi All,
I am using Oracle InterConnect 4.1 for integration of two applications.
Any one of you know how to check/debug that the DTD that was imported through
iStudio matches the AQ XML payload enqueued on the published queue.

Sadeepa,
Not sure if I understand your question.
If you have a publishing system, and two or more subscribing systems to that mesage, then without using Content Based Routing, each of the target (subscribing) systems would get that message?
In your message you could have a tag called <TARGET_SYSTEM>, and you can dynamically put the target adapter name in that field when you create the message.
Then when you publish the message, use CBR routing rules to route the message to only one (or more than one if you like) target system.
Is the "multiconsumer queue" the OAI Hub queue, or a queue on a target system?
Yan

Similar Messages

  • ORA-06550: Error in Oracle InterConnect DB Adapter

    Hi,
    We are facing a problem while inserting a row into
    Oracle database using Oracle InterConnect DB Adapter.
    All the required configuration information like AppViews,CommonViews,Events,Application etc have been
    created and configured in iStudio.
    At runtime, OracleDB Adapter bridge (subscription) gets
    the message from the interconnect hub and throws the
    following error, while trying to insert the details into
    table.
    Error: db_bridge_writer_1 could not write the message to
    the database because of an application error (java.sql.SQLException: ORA-06550: line 1, column 7:
    PLS-00201: identifier 'EMPLOYEE_OBJ.SUB_NEWEMPLOYEE_OAI_V1' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ) in the application stored procedure. Please check your stored procedure. (Em
    ployee_Obj.NewEmployee:OAI/V1,OAI/V1,false,0
    EMPNO: 1000.0
    FULLNAME: aaaaaaaaa
    MANAGERNAME: sss
    DIVISIONNO: 19.0
    ) was not written to the database.
    java.sql.SQLException: ORA-06550: line 1, column 7:
    PLS-00201: identifier 'EMPLOYEE_OBJ.SUB_NEWEMPLOYEE_OAI_V1' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189).........
    Following is the stored procedure that was defined in the
    iStudio at the design time.
    PROCEDURE sub_NewEmployee_OAI_V1(
    EMPNO IN NUMBER,
    FULLNAME IN LONG,
    MANAGERNAME IN LONG,
    DIVISIONNO IN NUMBER
    AS
    dummy NUMBER;
    -- fill declarations here
    BEGIN
    -- fill code here
    dummy:= 0;
    'insert into employee values(EMPNO, FULLNAME,MANAGERNAME, DIVISIONNO)';
    END sub_NewEmployee_OAI_V1;
    What could be the reason for this error? Are we missing
    something in the configuration?
    Appreciate any pointers in solving this issue.
    Thanks in advance,
    Regards,
    Murali.

    Murali,
    Where have you installed the Package EMPLOYEE_OBJ in your database?
    It sounds like you've missed this vital step.
    In iStudio...File > Export PL/SQL. Expand your subscribing Application (e.g. APPS) ... APPS > Subscribed Events, and highlight "Subscribe(EMPLOYEE_OBJ.NEWEMPLOYEE)". Press the "Browse" button, and select where you want to save the file. (e.g. d:\iStudio_Packages\XXOAI). The "XXOAI" prefix is added to the start of the created file.
    A *.sql file will be created in the directory you specified (e.g. d:\iStudio_Packages\XXOAI_APPS_EMPLOYEE_OBJ.sql).
    (Note: Ignore the empty "XXOAI_APPS_EMPLOYEE_OBJTypes.sql" file as you haven't created any new ones (i.e. NUMBER and LONG are standard))
    Login to SQL*Plus now, as the same user specified in your DB Adapter.ini file (Hint: In adapter.ini, look for the entry "db_bridge_schema1_writer_username=[Your DB User]", e.g."db_bridge_schema1_writer_username=APPS.)
    Execute the iStudio generated XXOAI_APPS_EMPLOYEE_OBJ.sql file.
    You will now have the Package EMPLOYEE_OBJ created, together with a procedure SUB_NEWEMPLOYEE_OAI_V1.
    You will notice that the DB Adapter (unless you've stopped it and cleared down any persistence files), will automatically find this new Package and Procedure, and will have updated your 'Employee' table. :-)
    Hope this helps
    Ian

  • Exception in running Oracle InterConnect Customised Adapter (i.e,FileBrige)

    Dear all,
    Again I am facing a problem in Cutomised adapter(FileBridge) which is provided in the cookbook of oracle interconnect 9.0.4(10g).
    when i run the adapter i got these exceptions:
    oracle.jms.AQjmsException: JMS-130: JMS queue cannot be multi-conumer enabled
    at oracle.jms.AQjmsError.throwEx(AQjmsError.java:267)
    at oracle.jms.AQjmsSession.getQueue(AQjmsSession.java:4510)
    at oracle.oai.agent.common.jms.Receiver.<init>(Receiver.java:71)
    at oracle.oai.agent.common.jms.JMSManager.subscribeQueue(JMSManager.java
    :754)
    at oracle.oai.agent.common.jms.JMSManager.resubscribe(JMSManager.java:69
    1)
    can ne body help me in this regards,
    Best Regards,

    This error might be caused by the fact that the hub database is built using a character set which is neither US7ASCII, nor WE8DEC, nor WE8ISO8859P1, nor UTF8.
    If this is true, then in your adapter start script and all the other relevant components, you will have to include the library $ORACLE_HOME/jdbc/lib/nls_charset12.zip or $ORACLE_HOME/jdbc/lib/nls_charset11.zip, as appropriate, in your CLASSPATH.
    If you have access to Metalink, you can check out Note 178994.1 for more details.
    Regards,
    Shub Lahiri
    Product Manager
    OracleAS Integration

  • Oracle 9iAS -Oracle InterConnect  - FTP Adapter

    Hi there,
    Has any one worked with OracleInterConnect 4.1, FTP Adapter (Actional). ??
    I have problems in Publishing using the FTP adapter to the Hub. I am getting the following error,
    Thu Apr 18 13:08:59 GMT 2002: Initializing connection to the Repository...
    Thu Apr 18 13:09:01 GMT 2002: Connected to the Repository.
    Thu Apr 18 13:09:02 GMT 2002: E-JNI0004: A Java exception occurred:
    oracle.oai.agent.common.AgentRuntimeException: There is no OAI message for the Object that you are trying to send which satisfies all of the event map conditions.
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at oracle.oai.agent.adapter.sdk.AgentRuntimeException.<init>(AgentRuntimeException.java:63)
    at oracle.oai.agent.common.AgentRuntimeException.<init>(AgentRuntimeException.java:595)
    at oracle.oai.agent.client.AgentImpl.createMessageObject(AgentImpl.java:157)
    at com.actional.oai.Agent.Publish(Agent.java:204)
    Thu Apr 18 13:09:02 GMT 2002: Unknown exception
    Call to newEmployee@OAI://Employee
    Thu Apr 18 13:09:02 GMT 2002: Unknown exception
    Call to newEmployee@FTP://Employee
    Call to newEmployee@OAI://Employee

    Hi,
    We had the same problem. It was solved in our case when we specified the following:
    In your published (and also published) event you have to specify an 'Object Name' (in the second screen of the edit-window). This has to match with the name of the business object that belongs to this event.
    I found this very strange because to me it seemed that you allready specified this in the screen before.
    But anyway, this action helped us in overcoming the same error you got.
    (There is no OAI message for the Object that you are trying to send which satisfies all of the event map conditions. )
    Hope this helps,
    Mark

  • Interconnect DB adapter Error when connecting to DB Using Oracle Wallet

    Hi all,
    I have installed multiple DB adapters on a unix m/c and when i am starting the DB adapter( name ex: B) i am getting the following error.
    when i Hash (#)the passwd in adapter.ini without using oracle wallet my DB adapter gets connected if the same is removed i am getting the following Error.
    "java.sql.SQLException: invalid arguments in call"
    Oracle Wallet password have been set correctly and works fine with one of the DB adapter( name ex: A) and the same setting of A has been used in B.
    Would be glad if someone could help to give solution to track oracle wallet and database connectivity.
    Oailog.txt
    ~~~~~~~~~~
    Initializing the Bridge oracle.oai.agent.adapter.database.DBBridge..
    Initializing connection to the Repository...
    Connected to the Repository.
    B could not connect to the database
    regards
    yenyes

    The issue was solved.The workaround involved synchronising the security folders the one below the /interconnect and one below /adapters.

  • InterConnect - FTP adapter:Message queue empty

    Hi,
    I have installed oracle InterConnect 9.0.4.
    The send point and receive end point are configured as separate folders
    ota.send.endpoint=ftp://hcsdlx01/interexample/sender/
    ota.receive.endpoint=ftp://hcsdlx01/interexample/receiver
    We have placed an xml file at the sender location.
    And trying to retrieve at reciever end point
    But we are getting a message saying message queue empty in the oailog.txt
    can anyone shed the possible sources of error.
    Regards
    Venkat

    Finally succeeded in spotting error.
    The FTP adapter.ini file was not configured properly
    The point is that The send point and receive points should be as per the file system.
    In our case the endpoint as we see in browser say:
    ftp://example/endpoint
    but in the file in Unix server was
    <dir1>/<dir2>/endpoint
    In the adapter.ini we changed to endpoint = <dir1>/<dir2>/endpoint.
    It started working properly,
    Thank u marcus

  • Using workflow with Oracle InterConnect

    Has anybody had any experience using Oracle WorkFlow with Oracle InterConnect? I have created events deployed by iStudio to Oracle Workflow but when I try to send the message, the activity/function that I create (both PL/SQL or External Java) using Oracle Workflow Builder never get executed. Am I missing something? Are there any procedure I need to run with iStudio and Oracle Workflow?
    Any help will be greatly appreciated.
    Thanks,
    Edward

    Hi Edward,
    When you say that the function never gets executed, do you mean that nothing in the workflow is running, or just this step?
    Is the system status set correctly? Have the event definitions been deployed from iStudio to BES? Have you completed the post installation steps for InterConnect for workflow development?
    Is it just the workflow component that you are having problems with? Since the workflow adapter is essentially a customized AQ adapter, this should run fine out of the box.
    HTH,
    Matt
    Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
    http://www.workflowfaq.com
    http://forum.workflowfaq.com

  • Oracle Interconnect in 11g?

    Hello guys,
    I have few questions on Oracle Interconnect.
    1. Is Interconnect part of Oracle 11g SOA Suite?
    2. How Oracle Interconnect is different from Oracle BPEL/ESB?
    3. How easy (Design,development effort) is it to migrate from Oracle Interconnect to Oracle BPEL/ESB, if required?
    Can someone please provide more information on Oracle Interconnect?
    Thanks in advance,
    Phani

    Interconnect is really old stuff, used to be part of Oracle AS 9i .
    I haven't done any migration, but for SOA 10g there was an Interconnect-adapter that you possibly could use if it's still available.
    You will need to talk to someone at Oracle about this.
    Otherwise you need to rewrite all integrations...

  • FINEST debug logs for ftp adapter

    Hi All,
    How do I turn on the FINEST debug level for ftp adapter in SOA application.
    Thanks

    Not sure you can do it just for file but
    login to EM and navigate to SOA -> soa_infra
    right-click on soa_infra and select logs -> log configuration
    expand oracle.soa
    you will see
    oracle.soa.adapter
    set this to the level you desire
    cheers
    James

  • Does Interconnect FTP Adapter support SFTP/SSH?

    Does Interconnect FTP Adapter support SFTP/SSH?
    Thanks!
    -mb

    No it doesn't!
    Actually, FTP adapter in BPEL support secure FTP (FTPS, FTP over SSL), but only on Solaris platform if believe documentation.
    You can try to connect BPEL FTP adapter to InterConnect using new JCA adapter (in IC 10.1.2.0.2), but I'm not sure wether BPEL FTP adapter is JCA-compatable or not (since it is not in Oracle AS adapters package but inside BPEL)...

  • Can read or write possible from MQ Cluster using Oracle Interconnect

    Hi,
    Can we read or write from MQ Cluster using Oracle Interconnect? If we can then how can we do it?
    Regards,
    Koushik

    Sorry guys if I am missing something here but would you not be better just using the available Oracle ESB AQ Adapter?
    I've been able to pick messages up from an AQ Queue and on to both Oracle and another vendors JMS queues and vica-versa
    Cheers
    A.

  • Interconnect MQSeries adapter exception MQJMS2013: invalid security authentication

    Hi,
    I get the MQJMS2013: invalid security authentication supplied for
    MQQueueManager in my MQ Series adapter for Oracle interconnect. Is there more
    specific information about this error. Maybe in an IBM user manual.
    Has anybody experience with the IBM MQ Series adapter for Oracle interconnect 9.0.2
    Thanx

    That's an MQ JMS exception, so the MQ JMS documentation would be the best place to find out what it means.
              If I recall correctly, when you're using the MQ JMS API in "bindings" mode -- which is what you're probably doing if your queue manager is on the same machine as WLS -- then MQ does not allow you to supply a username and password. It uses your Unix user ID to authenticate itself to the queue manager in this case.

  • Interconnect JCA Adapter Problem

    Im getting the following error when i use the jca adapter.
    the DBAdapter.jar is in the library path in adapter.ini.
    It seems strange as it throws bpel errors. do i need to install bpel?
    <MSG_TEXT>There was a problem in starting the bridge.</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[ORABPEL-12517
    AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.
    The Resource Adapter was unable to activate the endpoint :{} due to the following reason: ORABPEL-12529
    ManagedConnectionFactory problem.
    Could not instantiate ManagedConnectionFactory oracle.tip.adapter.db.DBManagedConnectionFactory due to: oracle.tip.adapter.db.DBManagedConnectionFactory
    Please make sure the corresponding JCA Resource Adapter has been deployed.
    Please correct the reported issue and redeploy the BPEL process.
    at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:522)
    at oracle.oai.agent.adapter.service.ServiceBridge.start(ServiceBridge.java:237)
    at oracle.oai.agent.proxy.AgentProxy.go(AgentProxy.java:672)
    at oracle.oai.agent.proxy.AgentProxy.start(AgentProxy.java:706)
    at oracle.oai.agent.proxy.AgentProxy.><init>(AgentProxy.java:415)
    at oracle.oai.agent.service.AgentService.run(AgentService.java:43)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: ORABPEL-12529
    ManagedConnectionFactory problem.
    Could not instantiate ManagedConnectionFactory oracle.tip.adapter.db.DBManagedConnectionFactory due to: oracle.tip.adapter.db.DBManagedConnectionFactory
    Please make sure the corresponding JCA Resource Adapter has been deployed.
    at oracle.tip.adapter.fw.wsdl.WSDLUtils.setupManagedConnectionFactory(WSDLUtils.java:426)
    at oracle.tip.adapter.fw.jca.AdapterLocator.findResourceAdapter(AdapterLocator.java:182)
    at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:321)
    ... 6 more
    Caused by: java.lang.ClassNotFoundException: oracle.tip.adapter.db.DBManagedConnectionFactory
    at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at oracle.tip.adapter.fw.wsdl.WSDLUtils.setupManagedConnectionFactory(WSDLUtils.java:419)
    ... 8 more
    ]]></SUPPL_DETAIL>

    Edit opmn.xml and add toplink.jar and DBAdapter.jar in the environment section.
    Example:
    <ias-component id="InterConnect" status="enabled">
    <environment>
    <variable id="CLASSPATH" value="$ORACLE_HOME/integration/interconnect/lib/DBAdapter.jar" append="true"/>
    <variable id="CLASSPATH" value="$ORACLE_HOME/integration/interconnect/lib/toplink.jar" append="true"/>
    </environment>

  • Query on Oracle Interconnect

    Hi,
    In Oracle interconnect we have created three publish events based on different XSD Structure and against these XSD we have created the subscribe event which will put data in AQ for datatype similar to the XSD.
    When we passed three different types of XML from MQ to Oracle interconnect it is not passing these information to the corresponding AQ tables which maps with the XSD. All the xml's are mapped in to same AQ table. We are using the same adapter for all different types of XSD structure. We have checked the XSD and XML validation and cross validation in XML SPY. XML's are valid only with the corresponding XSD.
    Can you provide any solution on this.
    Regards,
    Koushik

    I didn't undestand how could you map different XMLs (diff XSD) into a single AQ table. You should provide different payload for different messages if I'm not mistaken... So you should have different AQ for each XSD.

  • How to install Oracle AS JMS Adapter on Websphere (or any J2EE server)

    Hi,
    We have a requirement in which the client wants to connect to the OC4J JMS running in SOA Suite (Oracle Application Server 10.1.3.4).
    They are using Websphere. We are exploring ways by which they can connect from Websphere application to Oracle AS OC4J JMS.
    One option is - deploy the Oracle AS JMS adapter in Websphere and then use it to connect to the OC4J JMS.
    Please let us know if this is the right approach. Also, if so, kindly point to the documentation regarding how to install the JMS adapter on 3rd party J2EE servers such as websphere.
    Rgds,
    Amit

    While searching the knowledge base I found the following note, which seems to suggest that Oracle Adapters are not deployble on other J2EE application servers:
    Support For Jca Adapter In Other Application Servers Like Jboss [ID 1114738.1]
    ==============================================
    From the statements in documentation it may be implied that jca adapter should be deployable on any application server that is compliant with j2ee/jca. Please note that this cannot be implied at this time and jca adapter cannot be deployed on other application servers than OAS in BRM 731 due to some technical constraints. So currently we can support only OAS and not JBoss or another application server , in BRM 731. The documentation will be updated accordingly to reflect this.

Maybe you are looking for