How to create JMS Queues and Topics - OAS 10.1.3?

Hi,
Is there a way to create JMS Queues and Topics via the command line for OAS 10.1.3, say through admin-client.jar ?
I have read the "Managing Adminitered Objects" chapter from the "Oracle Containers for J2EE Resource Adapter" book and could not find the information I am looking for.
Thanks.
-Sachin

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-

Similar Messages

  • 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-

  • How to create JMS queues using Scripts

    Hi All,
    I want to create JMS queue in weblogic server 8.1 by running scripts .
    Can anybody provide me the scripts and how to run the scripts ...
    i have the WLshell scripts to create the JMS queues and JNDI , but i dont know how to run the scripts .
    Please help me on the same.
    Thanks,
    Kartheek

    Hi Brad ,
    Thanks for your reply.
    I went through the above link but I am gettint a error when I am executing the WLST script.
    Please look into the problem.
    wls:/offline> execfile
    <java function execfile at 1584086>
    wls:/offline> execfile ('c:/bea/configJMSSystemResource.py')
    Traceback (innermost last):
    File "<console>", line 1, in ?
    IOError: File not found - c:\bea\configJMSSystemResource.py (The system cannot f
    ind the file specified)
    wls:/offline> execfile ('c:/bea/configJMSSystemResource.py')
    Traceback (innermost last):
    File "<console>", line 1, in ?
    IOError: File not found - c:\bea\configJMSSystemResource.py (The system cannot f
    ind the file specified)
    wls:/offline> execfile('c:/bea/configJMSSystemResource.py')
    Traceback (innermost last):
    File "<console>", line 1, in ?
    IOError: File not found - c:\bea\configJMSSystemResource.py (The system cannot f
    ind the file specified)
    Thanks,
    Kartheek.

  • Get jms queue and topic names from JNDI

    Hello all,
    How do I get all possible queue and Topic names from JNDI (in my app) so I can store them in a HashMap?
    Thanks

    I'm guessing you know where in the JNDI you put your queue and topic names. Then you can do:
    context.listBindings("myJNDIContext");
    and go through the NamingEnumeration that this returns.

  • How to create JMS Queue in soa 11g?do we need to create jmsuser user in db

    Hi All,
    We r using SOA 11.1.1.3 version do we get jmsuser user while installing itself. we r unable to see this user. Can anyone suggest how to create a JMS queue in soa 11g.
    Thanks,
    RR

    Hi,
    Oracle SOA runs over weblogic application server 10.3.3
    If you want to create a JMS queue, then you have to create it on weblogic server. For creating a JMS queue, first of all create a JMS server on weblogic admin console (by default http://localhost:7001/console) (Services --> Messaging --> JMS Servers) and target it to a server/cluster as desired. Now create a JMS module (Services --> Messaging --> JMS Modules) and target it to same server/cluster.
    Now create a sub-deployment in JMS Module (Services --> Messaging --> JMS Modules --> Your JMS Module --> Subdeployments tab) and select the JMS server you created initially as a target of this subdeployment.
    Now create a connection factory in that JMS module and in advanced targetting select the subdeployment you created. Now create a JMS queue in the same JMS module and in subdeployment select the subdeployment you created.
    If you want to access this queue from an application then JMS URL should be like -
    jms://hostname:port/connFactoryJNDIName/QueueJNDIName
    Regards,
    Anuj

  • How to create SR Queue and Custom User Role for technician only see which SR assigned Him/Her and Resolve

    Hi 
    I have created workitem SR advance and Criteria with ID [Assigned To ME] and created user role in Advance operators.
    But in technician Console showing which SR he/she created not service desk assigned to him/her.
    Please suggest...
    Regards
    Sheetla Maurya

    I have find out Solution .......Create Queue with Service Request Advance and we not need to create any criteria option, After that create custom User role on Advance
    operators with View "Assigned To ME"
    Regards
    Sheetla Maurya

  • Create jms queue xml data server

    Hi,
    What's the difference between jms queue and jms queue xml data servers and how to create jms queue xml data server.
    Thanks.

    Hello,
    JMS messages can principally be processed by Oracle Data Integrator in two formats:
    - JMS Messages: containers for rows of data, handled through JMS Queue/JMS Topic Technologies. With JMS Queue/JMS Topic technologies, each JMS destination is defined similarly to a flat file datastore. Each message in the destination is a record in the datastore.
    - XML Messages: containers for XML files, handled through JMS XML Queue/JMS XML Topic Technologies. With JMS XML Queue/JMS XML Topic technologies, each messages payload contains a complete XML data structure. This structure is mapped into a relational schema (XML Schema) which appears as a model. This use the Oracle DI Driver for XML (see the driver documentation in Oracle DI documentation).
    Find below a step by step creation process for such a destination:
    1. Data Server
    To create a JMS XML Queue data server, you declare a simple JNDI connection. The only JMS XML specific information is added to the URL. This information defines the XML file format.
    The JNDI URL should be : <JMS_RESOURCE>?d=<DTD_FILE>&f=<XML_FILE>&s=<SCHEMA>&JMS_DESTINATION=<JMS_DESTINATION_NAME>
    - JMS_RESOURCE: JNDI resource corresponding to your JMS queue that will contain the XML payload. You would specify this URL if you were managing normal JMS messages.
    - DTD_FILE: path to a DTD file that describes the XML structure. Mandatory if the parameter XML_FILE is omitted.
    - XML_FILE: path to the XML file with a structure similar to the expected XML messages. Mandatory if the DTD_FILE parameter is omitted.
    - SCHEMA: schema name that will contain the XML structure. This value must match the one set for the physical schema attached to this data server. This parameter is mandatory.
    - JMS_DESTINATION_NAME: name of the JMS queue or topic. This parameter is mandatory.
    2. Schema
    Creation is straightforward: In the Schema (Schema) and Schema (Work Schema), enter the name of the <SCHEMA> defined in the data server JNDI URL.
    3. Model
    Use standard reverse-engineering. As the Oracle DI Driver for XML is used the XML structure will be reversed as a relational structure.
    Regards,
    - FX

  • How to manage jms queue?

    How to manage jms queue. I want to do operation on messages on jms queue like deleting the messages and hold the message for some time . Please provide the sample code for that.

    Thanks a lot Tom for the reply, I have read about the descriptor setting 'max-beans-in-free-pool' and I searched this concept at the Administration Console without success.
    I suppose other way is create a “Session Pools” under the JMSServer, and then create a “Consumer” and define the setting “Messages Maximum”. One of the disadvantages is that “Session Pools” don’t support JTA, from the documentation:
    +Session pools enable an application to process messages concurrently. Session pools are now used rarely, as they are not a required part of the J2EE specification, do not support JTA user transactions, and are largely superseded by message-driven beans (MDBs), which are a required part of the J2EE specification.+
    I continue reading the MDB chapter of the performance and tuning guide in the documentation, thanks for any contribution to the topic.
    Lucas.

  • Recovering connections to queues and topics if a provided become unavailabl

    Hello! I've got a service that creates a thread to a given JMS queue or topic. When the service is started, it is verified that the queue or topic is reachable. However, over the course of time, the JMS provider could be restarted bringing it offline temporarily. When it goes offline and later comes back on line, the thread that was previously connected is not aware that the provider is back on line and does not pick up any messages in the given topic. Does anyone know what the proper way to handle this is in JMS land? I've been looking into durable subscribers, but I'm unsure if this will do for me what I want. I'm trying to avoid have to constantly poll for the queue/topic status or force the user to restart the service periodically. Thanks in advance!

    hi.
    depending on your JMS provider - you may use the Connection's method setExceptionListener().
    keep in mind, however, that not all providers are fail-safe in the case of a provider's shutdown-startup sequence or network failures. you might want to experiment a little with the provider you installed and see what happens in various situations.
    Nimo.

  • How to configure JMS queue on OC4J server. Development in JDeveloper 10G

    Hi there,
    I have to configure a JMS for an Asynchronous process in my Application which will be running in Oracle 10G Application Server. Development Environment is Oracle JDeveloper 10G.
    I am facing a problem on how to configure JMS queue.
    Steps Followed are:
    in the <JDevloperHome>/j2ee/home/config
    1. Made the new queue and connection factory's JMS entry in jms.xml.
    2. Specifed the queue in oc4j-connectors.xml.
    3. played around with application.xml
    and tried all combinations, but the message producer always failed to lookup the queue.
    Need help on the steps to follow so that the producer can post the message in the queue.
    Also please help how to configure the MDB to listen to the queue.
    Thanx and Regards
    Subham

    If you were dealing with Oracle 10g app server as opposed to standalone, I might be better able to help you.
    One thing though, when you are configuring your MDB in the orion-ejb-jar.xml file, do not forget to specify attribute listener-threads, otherwise no matter how many beans you have in your MDB pool, only one bean will be listening to the queue. Many listener-threads equal to max number of beans in pool.

  • How to create the Queues

    Please find the below scenarios
    1) R/3(A system ) -
    >Client PI--->Server PI---->File1
    2) R/3(B system) -
    >Client PI--->Server PI---->File2
    In the above scenario the data transfer between through HTTS soap communications. While receiving the data at Server PI end, we have used the QOS=EOIO and we have used the Queue XBQI_22. This Queue has been used for the First scenario.
    Here my doubt is, shall i use the same Queue for the 2nd scenario also? If I can, who will create the Queues( means Queues will be created by PI Developer or Basis Person).
    If possible plz provide me the steps, how to create the Queues.
    Thanks in advance,
    Regards,
    AVR

    Hi AV,
    Go thru following blogs....it will help you to play around with queues...
    XI Asynchronous Message Processing: Understanding XI Queues -Part I
    /people/sap.india5/blog/2006/01/03/xi-asynchronous-message-processing-understanding-xi-queues-part-i
    How To Prioritize XI Messages on the Integration server
    IN this u will come to know how to priortize message using the Queus.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/59e837d3-0201-0010-c096-dc1869733413
    Also have a look on the following link...
    queue registration
    With Regards,
    Pinangshuk.

  • How to create a queue using CVP with ICM script(Comprehensive mode)

    Hello Guys,
    I would like to know how can I configure a queue in a comprehensive mode using micro-app at CVP + ICM environment. I work with UCCE at least 2 years, so I know how to create a queue using UCCX and/or IPIVR (I do a queue application using UCCX Editor and at ICM I use the Run external Script component), but at CVP I don't know how to create a application at Call Studio and how to call this application at ICM Script Editor to run this queue if there aren't agents available.
    Can someone help me to understand how can I do that?
    I attached the ICM Script using micro-app. This script runs ok, I call to a Route pattern and CVP route request ICM, so ICM run the script, but if there are no agents available the call drops, so I would like to know how can I create a queue to hold the call and to come back to a available agent.
    Regards,
    Eric Zapparoli
    Unified Communications
    Wittel

    Out of the check mark in the queue to skill group node you go to another run external script node, then you loop into that over and over again until the call is answered.
    david

  • Creating JMS Queues/Buffers for WLI Deployments

    I am reading the WLI/Weblogic docs and I read that you can create a JMS application module and deploy it in an ear file with a wli process application.
    I want to add the queues/buffers required by a WLI Process Application to a JMS application module, then add the module to a wli process application ear file, so I can just deploy the ear to a production server and the queues/buffers will automatically be created when the WLI application is deployed.
    Will this work? If this will work, do I need to target the queues in the application module to a JMS Server? Anything else I need to do?
    Any help is greatly appreciated! Having to create new queues and buffers every time I deploy a WLI app to a new server is not fun.
    Thanks in advance!...
    John

    Hi John,
    Application modules work, but aren't recommended except for very advanced use cases. System modules are generally the best bet. This is advice is included in the Best Practices link I supplied in your last thread on this newsgroup, and also in the highly recommended new book "Professional Oracle WebLogic Server".
    For targeting advice, also see the "Best Practices" link -- the advice applies to all types of JMS config modules (application, stand-alone, or system).
    Tom

  • Sending message to a JMS queue and making DB update through a single container managed transaction

    Can we use container managed transactions to send message to JMS queue and make DB updates in a sigle transaction. If yes then do we need 2pC license. I am using weblogic 6.0 SP2 and my database driver do not supports XA

    If your JMS provider is XA compliant, you can.
    If you are using WebLogic 6.0 JMS, it supports 2PC.
    The JDBC resource that does not support XA can participate in the global transaction
    creating a TXDataSource and setting "enable two-phase commit"=true in the Configuration
    panel.
    About the JMSConnectionFactory, on the console, in WebLogic 6.0, in the "Transaction"
    tab folder, set "User Transactions Enabled"=true.
    In your code, use non-transacted sessions.
    For 2pc protocol, you need a license or you'll get an exception.
    Sergi
    Manoj Bansal <[email protected]> wrote:
    Can we use container managed transactions to send message to JMS queue and
    make DB updates in a sigle transaction. If yes then do we need 2pC license.
    I am using weblogic 6.0 SP2 and my database driver do not supports XA

  • How to create a partner and header record using CRM_ORDER_MAINTAIN?

    Hi any one knows how to create a partner and header record using the function module CRM_ORDER_MAINTAIN??
    I tried to  create a record, but i only managed to create a header record and the partner record is not reflected in the transaction.  Why is that so? is there any indicator that i need to include?
    Thanks..
    Jen

    Hi Jen!
    I use this FM and it works perfectly.
    Use this to create a partner:
      gs_partner-ref_handle    = '0000000001'.
      gs_partner-ref_kind      = 'A'.
      gs_partner-ref_partner_handle = '0001'.
      gs_partner-partner_fct   = '00000001'.
      gs_partner-partner_no    = NO_PARTNER. "number of the partner, bu_partner
      gs_partner-display_type  = 'BP'.
      gs_partner-no_type       = 'BP'.
      gs_partner-kind_of_entry = 'C'.
    *  ls_partner_l-ref_handle    = '1'.
      gs_partner-ref_guid      = '00000000000000000000000000000000'.
      APPEND gs_partner  TO gT_partner .
      ls_input_field-ref_kind  = 'A'.
      ls_input_field-logical_key   = '0001'.
      ls_input_field-objectname  = 'PARTNER'.
      ls_input_field-ref_handle  = '0000000001'.
      ls_input_field_names-fieldname = 'DISPLAY_TYPE'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'KIND_OF_ENTRY'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'NO_TYPE'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'PARTNER_FCT'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'PARTNER_NO'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      INSERT ls_input_field  INTO TABLE  gt_input_fields.
      clear ls_input_field-field_names[].
      CALL FUNCTION 'CRM_ORDER_MAINTAIN'
      EXPORTING
    *    it_schedlin_i   = gt_schedlin_i_com
        it_partner      = gt_partner
    *    it_sales        = gt_sales
    *      it_orgman       = gt_orgman
    *      it_appointment  = gt_appointment
    *      it_ordprp_i     = gt_ordprp_i
    *   it_product_i    = gt_product_i
    *      it_activity_i   = gt_activity_i
    *      it_pridoc       = gt_pridoc_com
      CHANGING
        ct_orderadm_h   = gt_orderadm_h
    *   ct_orderadm_i   = gt_orderadm_i
        ct_input_fields = gt_input_fields.
    *      ct_doc_flow     = gt_doc_flow
    *      cv_log_handle   = gv_log_handle.
    Hope it helps u,
    Regards,
    Mon.

Maybe you are looking for