Oracle AQ to JMS Queue which is on Oracle Application server

Hi,
I am using Oracle Streams AQ Oracle database 10g
and i have a JMS Queue on oracle Application server.
how i can Propagate message from Oracle AQ (AQ$_JMS_TEXT_MESSAGE)Queue to JMS Queue. ?
Thanks,
Satnani

Hi Justin,
Thanks for Reply, but in my case my JMS queue is on Oracle Application Server.
and i want to propagate message from AQ to JMS queue.
and none of the document is available to describe how to send message from oracle database AQ to JMS queue which is on application server.
please help
Thanks,
Satnani

Similar Messages

  • BPEL not able to read JMS Queue defined on a remote Application Server

    We are trying to access a JMS queue (defined on an Oracle AS different from the SOA Suite AS) through BPEL and read the payload. When I am trying to read the JMS queue, somehow it is trying to get the queue information from my local application server and not going to the remote one.
    I have done the following setups on my local SOA Suite Enterprise manager for the queue connection factory. The adapter name is "eis/jms/XXXQueueAdapter"
    connectionFactoryLocation: jms/ESBSubscriberQueue
    factoryProperties:
    java.naming.factory.initial=oracle.j2ee.rmi.RMIInitialContextFactory;java.naming.provider.url=opmn.ormi://hostname:port; java.naming.security.principal=oc4jadmin;java.naming.security.credentials=Password
    Where "hostname:port" is for the remote Application Server.
    On the BPEL side, I have created a connection for the Remote server in the Enterprise Manager. Then I have created a partnerlink using this connection. The OEMS is "File/Memory". The Destination Name is the Queue name on the Remote AS which I can browse. The JNDI name is "eis/jms/XXXQueueAdapter" (Which is the name of the connection I created on my local). Somehow when the BPEL process is run, it is trying to look for the JMS Queue on my local server.
    I have also used the Third Party option instead of Oracle AS with the same configuration and it does not work either.
    Any help would be really appreciated.
    Asif Hussain

    Got a solution.

  • Accessing JMS Queue located in stand alone managed server on same domain

    Our use-case is as follows.
    In our weblogic domain we have SOA_Cluster and a stand alone managed server. All the custom JMS resources belong to a JMS server that is targeted to stand alone JMS server. We are trying to access JMS Queues/Topics located in the stand alone managed server from JMS adapter (part of SOA Cluster).
    I am wondering what should be our adapter configuration in this scenario. In going through JMS adapter use-cases (below is the link), there is a mention of how to access resources located in Remote weblogic Domain. I am wondering if the same applies to us OR if there is better way to access JMS resources for our use case.
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10231/adptr_jms.htm#CJAHAFGF
    Appreciate your feedback.

    Accessing JMS Queue/Topic located in different Managed server on same domai
    Regards,
    Anuj

  • Accessing JMS Queue/Topic located in different Managed server on same domai

    Our use-case is as follows.
    In our weblogic domain we have SOA_Cluster and a stand alone managed server. All the custom JMS resources belong to a JMS server that is targeted to stand alone JMS server. We are trying to access JMS Queues/Topics located in the stand alone managed server from JMS adapter (part of SOA Cluster).
    I am wondering what should be our adapter configuration in this scenario. In going through JMS adapter use-cases (below is the link), there is a mention of how to access resources located in Remote weblogic Domain. I am wondering if the same applies to us OR if there is better way to access JMS resources for our use case.
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10231/adptr_jms.htm#CJAHAFGF
    Appreciate your feedback.

    Yes, the same applies for your case but no need to enable trust. Rest of the things will remain same.
    Better you post weblogic related questions in Weblogic forum.
    Regards,
    Anuj

  • Which version of Websphere Application Server for BOE XI 3.1 SP3?

    Hi,
    We are planning to migrate from BOE XI R2 to BOE XI 3.1 SP3 and we have to decide which application server would be the best choice. In a document "SAP BusinessObjects Enterprise XI 3.1 SP3 for Windows u2013 Supported Platforms" WebSphere Application Server 6.1.0.7 is mentioned as one of supported application servers. What about versions following 6.1.0.7, are they also supported?
    Thanks,
    Marcin

    Hi,
    The version 5.7 RHEL should support the BOE Xi 3.1 Sp3.
    The patch need to be above RHBA-2007:0619-3
    For more details check the link for Supported platform Guide : [BOE Xi sp3 Supported Platform Guide|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/3070682e-2a49-2d10-248b-c7428bcfb7f3]
    Regards,
    Rameez

  • How to coonect to a JMS queue which is in a remote machine

    I have made one simple CEP application which have following components:
    1.JMS input adapter
    2.input channel
    3.processor
    4.Output channel
    5.local publisher
    Code for Adapter configuration:
    <?xml version="1.0" encoding="UTF-8"?>
    <wlevs:config xmlns:wlevs="http://www.bea.com/ns/wlevs/config/application"
    xmlns:jdbc="http://www.oracle.com/ns/ocep/config/jdbc">
         <http-pub-sub-adapter>
    <name>remotePublisher</name>
    <server-url>http://172.18.21.103:9002/pubsub</server-url>
    <channel>/channel1</channel>
    <event-type>MarketEvent</event-type>
    <user>wlevs</user>
    <password>wlevs</password>
    </http-pub-sub-adapter>
    <http-pub-sub-adapter>
    <name>localPublisher</name>
    <server-context-path>/pubsub</server-context-path>
    <channel>/channel2</channel>
    </http-pub-sub-adapter>
         <jms-adapter>
              <name>Inputadapter</name>
              <event-type>MarketEvent</event-type>
         *     <jndi-provider-url>t3://localhost:7001</jndi-provider-url>*
              <connection-jndi-name>jms/ConnFact</connection-jndi-name>
         <destination-jndi-name>eis.Queue-source</destination-jndi-name>
              <user>weblogic</user>
              <password>welcome1</password>
              </jms-adapter>
    </wlevs:config>
    If I want to read JMS messgaes from a queue situated at remote machine.What changes I need to make to my JMS adapter config file?

    I have changed the <jndi-provider-url> entry to http://172.18.21.94:7001.Where 172.18.21.94 is the location of the remote server.But it is giving error like:
    Anupam Dhank: <Error> <Deployment> <BEA-2045010> <The application context "pub-sub" could not be started: org.springframework.beans.FatalBeanException: Error in context lifecycle initialization; nested exception is java.lang.Exception: Error initializing JMS connection: javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'HTTP']
    javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'HTTP']
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:34)
    Edited by: 856272 on May 23, 2011 3:52 AM

  • Oracle BPM and JMS Queue: How to associate data from Map Messages to Process Data Objects?

    Good Day!
    I'm currently working on a project wherein it tries to get data from a JMSqueue Map Message being populated by CEP.
    After CEP pushes some data in the JMSqueue. I have BPM configured with a JMS adapter to look up whether there are any messages to be processed upon.
    Inside BPM, I want to know how can I correlate the data from the Map Message to my Process Data Object.
    For example, If I have a Map Object wherein it has 3 attributes:
    FirstName:String
    LastName:String
    Age:int
    What is the expression I need to use inside Oracle BPM Data Association screen in order to map the data from the Map Messages into my process data objects?
    Thanks!
    Regards,
    Jeff

    Any ideas? Thanks!

  • NoClassDefFoundError while accessing JMS Queue from JDev 10.1.3.3

    Hi,
    I'm trying to get a handle of a JMS queue, which resides on Oracle App Server 10.1.3.4, from a Java Program which I'm trying to run from JDeveloper 10.1.3.3.
    I'm trying to make an RMI connection to the App server from JDeveloper by passing following information to the intialContext:
    env.put("java.naming.factory.initial",
    "oracle.j2ee.rmi.RMIInitialContextFactory");
    env.put(Context.PROVIDER_URL,
    "ormi://wafedabpelqa10.corp.weyer.pri:12402");
    env.put("java.naming.security.principal","oc4jadmin");
    env.put("java.naming.security.credentials","welcome1");
    Where the above information is related to our App Server.
    I'm successfully able to establish an RMI connection from JDev to Oracle App Server and can lookup datasources created on the App server using their
    JNDI names. However if I try to look up a JMS Queue from the App server using its JNDI name, I get an error as:
    java.lang.NoClassDefFoundError: oracle/tip/adapter/api/OracleConnectionFactory
    I have also tried to use the value "com.evermind.server.rmi.RMIInitialContextFactory" for "java.naming.factory.initial",
    however I still get the same error.

    Hi,
    this should work and you need to download the rmi library http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html
    thanks
    # String queueName = "jms/MyJMSQueue";
    # String queueConnectionFactoryName = "jms/MyJMSQCF";
    # Context ctx;
    # try { 
    # Properties parm = new Properties();
    # parm.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
    # parm.setProperty("java.naming.provider.url","ormi://localhost:23791/");
    # parm.setProperty("java.naming.security.principal","oc4jadmin");
    # parm.setProperty("java.naming.security.credentials","welcome");
    # ctx = new InitialContext(parm);
    # QueueConnectionFactory connectionFactory =
    # (QueueConnectionFactory)ctx.lookup(queueConnectionFactoryName);
    # connection = connectionFactory.createQueueConnection();
    # connection.start();
    # session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    # queue = (Queue)ctx.lookup(queueName);
    # sender = session.createSender(queue);
    # receiver = session.createReceiver(queue);
    # } catch (JMSException je) { 
    # throw new RuntimeException("Fout opgetreden bij het starten ",
    # je);
    # } catch (Throwable t) { 
    # throw new RuntimeException("Fout opgetreden bij het starten ",
    # t);
    # }

  • HowTo:Publish Msg to JMS queue deployed in a Weblogic Cluster from a client

    Hello All-
    I am new to Weblogic and need help from this forum. Forgive me for my ignorance. I am learning.
    Below is a brief about the context and the issues that we are facing:
    Background
    =======
    1. We have Oracle Service Bus (OSB) installed on top of Oracle Weblogic Server (ver 10.3). In OSB we have developed a proxy service that listens to a JMS queue for an incoming message
    2. The Weblogic environment is a cluster having 2 managed servers listening to different ports and it is front-ended by a Apache Load Balancer.
    3. Our requirement is to post an XML message from a Java client to the JMS queue which will then initiate the proxy service deployed. We are using t3 protocol to post the message from the client to the JMS queue
    Issue
    ====
    1. To post an XML message from the client, how do we give the address of the JMS queue in the clustered environment to enable failover/loadbalancing if one managed server goes down. I understand from your earlier posts in this forum that directly hitting the JMS queue on a particular managed server will not enable failover/loadbalancing in case one of them goes down
    2. Do we need to modify any config file in the Apache Proxy Plugin?
    3. Do we need to provide the address of the Apache proxy in the client to send the message?
    Kindly clarify and let me know me know if you need any additional information.
    Greatly appreciate your help!!!
    Regards,
    Dibya

    Hi Dibya,
    Please refer to : http://weblogic-wonders.com/weblogic/2010/05/13/apache-proxy-as-static-content-repository/#comment-1379
    Thanks
    Jay SenSharma

  • J2EE client mapping in WL6 - continued : jms queues and topics

    How can one use "generic" (i.e. "java:comp/env/jms/myQueue") names in client
    code for jms queues and topics,
    since neither application-client.xml nor WL's myjarname.runtime.xml
    have elements for them ?
    I mean, jms managed objects are not env-entries (application-client.dtd
    specifies that only primitive wrapper types can be valid env-entry-value)
    nor resources (which I understand are all connection factories, for jdbc,
    jms or mail ...).
    In my ejb-jar.xml I use the resource-env-ref element :
    <resource-env-ref>
    <resource-env-ref-name>jms/CreationErrorQueue</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
    </resource-env-ref>
    which can be mapped in weblogic-ejb-jar.xml
    <resource-env-description>
    <res-env-ref-name>jms/CreationErrorQueue</res-env-ref-name>
    <jndi-name>jms.aregon.CreationErrorQueue</jndi-name>
    </resource-env-description>
    but I don't know how to map the jndi of such objects in a client
    application.
    Edo

    Hi Sachin --
    In the 10.1.3.1 release, a set of new commands have been added to admin_client.jar to support the command line creation of JMS resources:
    -addJMSConnectionFactory -domain <domain> -jndiLocation <jndiLocation> [options]
    -removeJMSConnectionFactory -jndiLocation <jndiLocation>
    -getJMSConnectionFactories
    -addDestination -domain <domain> -name <name> -jndiLocation <jndiLocation> [options]
    -removeDestination -name <name> [options]
    -getDestinations
    You can read about it in the doc:
    http://download-west.oracle.com/docs/cd/B31017_01/web.1013/b28950/adminclient.htm#CHDDFJJA
    cheers
    -steve-

  • Help needed on JMS queues

    I am using Soa Suite 10.1.35 and trying to make a ESB integration work.
    The requirement is I have to de-queue some data from a JMS queue and invoke a Oracle Pl/SQL Api(DB adapter) using the data in an ESB project.
    I want it part of a single transaction, i.e. if the call to oracle API(db adapter ) fails( say db is down or api is invalid), i want the queue de-queue transaction to be rolled back as well.
    I have made the routing service as synchronous. I have marked istransacted ="true" connection factory in oc4j-ra.xml file and auto_commit =>false for the Queue table, queue creation.
    Still if the DB transaction fails the queue is not rolled back.
    Any help or pointers will be greatly appreciated.
    Please let me know if you require any information.
    Regards,
    Punit

    I tried compling servlet, but it is raising error
    that coul not find package javax.servletWhat I did not mention... you need to add those JARs in the Classpath explicitly. You will find them in %TOMCAT_HOME%\common\lib. You atleast need to add servlet-api.jar to your Classpath. :)

  • Message posted from BPEL not found in oc4j JMS queue

    Hi,
    I am facing a weird problem when I try to post a message in oc4j JMS from a BPEL process.
    There is no exception(Not even in the logs) and the BPEL process gets completed. But the message is missing(Could not find it while monitoring the queue).
    I am using SOA suite 10.1.3.5 and the oc4j JMS queue which comes with the installation.
    Can someone help me please.
    Saptarishi
    Edited by: saptarishi on May 25, 2010 3:51 PM

    Got a solution.

  • Single MDB on a clustered JMS queues(2)

    I have 2 JMS servers in a cluster and each server has a JMS queue, which forms the distributed destination. Now I need a MDB to listen on both these queues. Is it possible?
    Thanks
    -Ankur

    Yes - thats the usual purpose of distributed queues, to allow consumers to consume from the distributed queue (wherever its hosted).
    Though distributed destinations are JMS provider specific so do check your providers documentation on using distributed queues. In some providers, like ActiveMQ, distributed queues look and act just like regular queues so they just work from inside a JMS client or MDB.
    James
    http://logicblaze.com/

  • Authentication problem w MDB on WL8.1 and JMS Queue on WL6.1

              Hi,
              I'm having problems with a MessageDrivenBean that is deployed on a Weblogic 8.1
              server. It listens to a JMS Queue on a Weblogic 6.1 server.
              I'm getting the following error message upon deployment:
              [java.lang.SecurityException: Authentication for user system denied in realm wl_realm
              I've made sure that both servers are installed with the user "system" and a password
              of "password".
              This worked fine for two WL6.1 servers.
              Here's my ejb-jar.xml:
              <!DOCTYPE ejb-jar PUBLIC
              '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN'
              'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
              <ejb-jar>
                  <enterprise-beans>
                      <message-driven>
                          <ejb-name>WebResponseJMSBean</ejb-name>
                          <ejb-class>com.ditech.webresponse.jms.WebResponseJMSBean</ejb-class>
                          <transaction-type>Container</transaction-type>
                          <message-driven-destination>
                              <destination-type>javax.jms.Queue</destination-type>
                          </message-driven-destination>
                      </message-driven>
                  </enterprise-beans>
                  <assembly-descriptor>
                      <container-transaction>
                          <description>Transaction attributes for 'WebResponseJMSBean' methods</description>
                          <method>
                              <ejb-name>WebResponseJMSBean</ejb-name>
                              <method-name>*</method-name>
                          </method>
                          <trans-attribute>NotSupported</trans-attribute>
                      </container-transaction>
                  </assembly-descriptor>
              </ejb-jar>
              Here's my weblogic-ejb-jar.xml:
              <?xml version="1.0"?>
              <!DOCTYPE weblogic-ejb-jar PUBLIC
              '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN'
              'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
              <weblogic-ejb-jar>
                  <weblogic-enterprise-bean>
                      <ejb-name>WebResponseJMSBean</ejb-name>
                      <message-driven-descriptor>
                          <destination-jndi-name>com.ditech.jms.CowResponseQueue</destination-jndi-name>
                          <provider-url>t3://localhost:7003</provider-url>
                          <connection-factory-jndi-name>com.ptp.jms.AppOnlineConnectionFactory</connection-factory-jndi-name>
                      </message-driven-descriptor>
                      <jndi-name>ejb/WebResponseJMSBean</jndi-name>
                  </weblogic-enterprise-bean>
              </weblogic-ejb-jar>
              Can anyone give me any suggestions?
              Thanks in advance,
              -Ben
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

              We are facing a similar issue, between MDB's and JMS Queues on 2 separated WebLogic
              8.1 domains. What I will test next week are:
              1. In the domain where my MDB's are deployed, configure Foreign JMS Servers/Connection
              Factories/Queues, for which passwords can be specified (not possible in weblogic-ejb-jar.xml)
              2. If No.1 does not work, I will add CredentialGenerated="false" in <SecurityConfiguration>
              in config.xml in both domains
              3. If No. 2 still does not work, I will specify run-as principal and security-role
              in my MDB DD files, and specify CredentialMapping via the WebLogic admin console.
              Maybe you can try the same?
              Eric Ma
              "B Liu" <[email protected]> wrote:
              >
              >Hi,
              >
              >I'm having problems with a MessageDrivenBean that is deployed on a Weblogic
              >8.1
              >server. It listens to a JMS Queue on a Weblogic 6.1 server.
              >
              >I'm getting the following error message upon deployment:
              >
              >[java.lang.SecurityException: Authentication for user system denied in
              >realm wl_realm
              >
              >I've made sure that both servers are installed with the user "system"
              >and a password
              >of "password".
              >
              >This worked fine for two WL6.1 servers.
              >
              >Here's my ejb-jar.xml:
              >
              ><!DOCTYPE ejb-jar PUBLIC
              >
              >'-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN'
              >
              >'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
              >
              >
              ><ejb-jar>
              >
              >    <enterprise-beans>
              >
              >        <message-driven>
              >
              >            <ejb-name>WebResponseJMSBean</ejb-name>
              >            <ejb-class>com.ditech.webresponse.jms.WebResponseJMSBean</ejb-class>
              >            <transaction-type>Container</transaction-type>
              >            <message-driven-destination>
              >                <destination-type>javax.jms.Queue</destination-type>
              >            </message-driven-destination>
              >
              >        </message-driven>
              >
              >    </enterprise-beans>
              >
              >    <assembly-descriptor>
              >
              >        <container-transaction>
              >
              >            <description>Transaction attributes for 'WebResponseJMSBean'
              >methods</description>
              >            <method>
              >                <ejb-name>WebResponseJMSBean</ejb-name>
              >                <method-name>*</method-name>
              >            </method>
              >            <trans-attribute>NotSupported</trans-attribute>
              >
              >        </container-transaction>
              >
              >    </assembly-descriptor>
              >
              ></ejb-jar>
              >
              >Here's my weblogic-ejb-jar.xml:
              >
              ><?xml version="1.0"?>
              >
              >
              >
              ><!DOCTYPE weblogic-ejb-jar PUBLIC
              >
              >'-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN'
              >
              >'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
              >
              >
              ><weblogic-ejb-jar>
              >
              >    <weblogic-enterprise-bean>
              >
              >        <ejb-name>WebResponseJMSBean</ejb-name>
              >
              >        <message-driven-descriptor>
              >
              >            <destination-jndi-name>com.ditech.jms.CowResponseQueue</destination-jndi-name>
              >            <provider-url>t3://localhost:7003</provider-url>
              >            <connection-factory-jndi-name>com.ptp.jms.AppOnlineConnectionFactory</connection-factory-jndi-name>
              >        </message-driven-descriptor>
              >
              >        <jndi-name>ejb/WebResponseJMSBean</jndi-name>
              >
              >    </weblogic-enterprise-bean>
              >
              ></weblogic-ejb-jar>
              >
              >
              >Can anyone give me any suggestions?
              >
              >Thanks in advance,
              >-Ben
              >
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

  • How can  SAP XI JMS Queue communicate with external JMS Queue

    Dear All ,
    we are Implementing SAP XI . Sender business system is splitting a file into small files and keeping them into JMS queues we want SAP XI JMS queue should communicate directly with the sender JMS queue (which is an external JMS queue) without any Adapter ,programming efforts and Middleware.
    Can you please tell me is it possible?

    I dont think it is possible directly without adapter

Maybe you are looking for