JMSAdapter for MQSeries 6.0 (JMSException)

Hi,
I'm used JMSAdapter for connect to queue MQSeries 6.0.
And i get error : javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'localhost:QMTEST'
MQSeries and BPEL PM place on my localhost. I write oc4j-ra.xml from tutorial:
     <connector-factory location="eis/Jms/JmsAdapter" connector-name="Jms Adapter">
          <config-property name="connectionFactoryLocation" value="com.ibm.mq.jms.MQQueueConnectionFactory"/>
          <config-property name="factoryProperties" value="QueueManager=QMTEST;HostName=localhost;Channel='G.TO.D';TransportType=1;"/>
          <config-property name="acknowledgeMode" value="AUTO_ACKNOWLEDGE"/>
          <config-property name="isTopic" value="false"/>
          <config-property name="isTransacted" value="true"/>
          <config-property name="username" value="MUSR_MQADMIN"/>
          <config-property name="password" value="welcome"/>
     </connector-factory>
Has anybody experience with the IBM MQ Series adapter ?
Evgeniy

We have the following problem connecting Oracle BPEL process to IBM MQ.
Should we re-configure MQ/BPEL process/Oracle BPEL engine configuration?
Any help is greatly appreciated
Environment
Versions:
Oracle BPEL 10.1.2
IBM MQ - v 6.0 trial version installed locally on Windows machine
Oracle BPEL and MQ are on the same machine
We followed tutorial on Oracle BPEL web site:
Tutorial 9 : MQSeries Queue integration through the Oracle AS Adapter for JMS
http://www.oracle.com/technology/products/integration/adapters/pdf/adapter-Tutorial9-MQSeries-QueuetoQueue.pdf
MQ configuration
Created MQ Manager using wizard supplying default values
Created two queues
Problem
When deploying BPEL process the following error occurs:
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'tanorw-medveal:MS_BPEL_Queue_Mgr'
Also this problem is seen when process is deployed and BPEL engine starts.
Here is extract from 0ra4j0ra.xml:
     <connector-factory location="eis/mqseries/Queue" connector-name="Jms Adapter">
          <config-property name="connectionFactoryLocation" value="com.ibm.mq.jms.MQQueueConnectionFactory"/>
          <config-property name="factoryProperties" value="QueueManager=MS_BPEL_Queue_Mgr;TransportType=1;HostName=localhost;Port=1414;Channel=sc1"/>
          <config-property name="acknowledgeMode" value="AUTO_ACKNOWLEDGE"/>
          <config-property name="isTopic" value="false"/>
          <config-property name="isTransacted" value="true"/>
          <config-property name="username" value="mqtest"/>
          <config-property name="password" value="password"/>
I created MQ Server Connection Channel manually on MQ. TCP Port for that channel 1414

Similar Messages

  • JMSAdapter for MQSeries - Configuration

    Hi guys - quick question (and I'm following the OracleAS Adapters 10.1.3.1.0 manual here). I'm not overly familar with MQ, so some of this may be obvious...
    Exactly which (of the many in the installation tree) oc4j-ra.xml and application.xml files do I need to edit to incorporate the <connector-factory> and MQ jar location recommendations described in the manual for configuring for IBM WebSphere JMS?
    Also can someone tell me the relationship of the QueueManager=QM_test setting in the sample Factory Properties step to the rest of the configuration - i.e what is QM_test ?
    Thanks
    Dennis

    Hi,
    I am trying to configure the JMSAdapter for MQSeries.
    I have added the mq.jar and mqjms.jar to the application.xml. But still I keep getting the error that
    Unable to instantiate connection factory. JMS adapter was unable to look up the connection factor com.ibm.mq.jms.MQQueueConnectionFactory neither through JNDI nor instantiate it as a Java class
    Please examine the log file to determine the problem.
    [Caused by: com.ibm.mq.jms.MQQueueConnectionFactory not found]
    Did u run into this issue and if yes how did u resolve it. Will appreciate your help.
    Regards,
    PB

  • JMS adapter for MQSeries: Changing from MQ5.3 to 6.X libraries

    Hi,
    Can someone point in the direction of documentation as to how I would migrate/update a BPEL 10.1.3.5.0 environment using JMS adapters for MQSeries 5.3 to use new libraries for MQSeries 6.x.
    In a test env I have located the following, but I am not sure now to proceed.
    [bpel@omv2rrm2 5.3]$ pwd
    /opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/oc4j_soa/shared-lib/oracle.mqseries/5.3
    [bpel@omv2rrm2 5.3]$
    [bpel@omv2rrm2 5.3]$ ls -l
    total 2124
    -rwx------ 1 bpel dba 352652 Apr 17 2008 com.ibm.mq-5.3.jar
    -rwx------ 1 bpel dba 1798896 Apr 17 2008 com.ibm.mqjms-5.3.jar
    [bpel@omv2rrm2 5.3]$
    ...and...
    [bpel@omv2rrm2 config]$ pwd
    /opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/oc4j_soa/config
    [bpel@omv2rrm2 config]$ cat server.xml
    <?xml version="1.0"?>
    <application-server xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/application-server-10_1.xsd" localhostIsAdmin="true"
    application-directory="../applications"
    check-for-updates="adminClientOnly"
    deployment-directory="../application-deployments"
    connector-directory="../connectors"
    schema-major-version="10" schema-minor-version="0" >
    <shared-library name="global.libraries" version="1.0" library-compatible="true">
    <code-source path="../applib"/>
    <import-shared-library name="oracle.ws.jaxrpc"/>
    </shared-library>
    <shared-library name="oracle.mqseries" version="5.3">
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/oc4j_soa/shared-lib/oracle.mqseries/5.3/com.ibm.mqjms-5.3.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/oc4j_soa/shared-lib/oracle.mqseries/5.3/com.ibm.mq-5.3.jar"/>
    <import-shared-library name="oracle.ws.jaxrpc"/>
    </shared-library>

    Just upgrade your SOA to 10.1.3.5.0 and then point to the newer MQ jars in those 2 files.

  • Reg: Is it possible in weblogic 5.1 or 6 to get Transaction suport for MQseries & Oracle

              Hi
              I would like to know whether weblogic 5.1 or 6 provides support in a single transaction,
              transaction support for both oracle and MQseires, if so where can i find suitable
              documentation on this topic
              with regards
              Priya
              

    The answer is definitely yes, starting in WLS 6.0, with
              some two reasonable limitations.
              There are limitations are the following:
              1. It must be on the server side. The registration of the XAResource
              can't happen in a client. It must happen in a startup class
              or EJB or servlet, etc. You can start it from a client (invoke
              an EJB or servlet) but the resource work must be
              on the server side.
              2. MQSeries can't be included if it is being used to drive a
              Message Driven Bean. Because the message is passed
              from MQ Series to WLS outside of a transaction, after
              which WLS will start a transaction (if so configured) and
              pass it to the MDB, the MQ Series message is not part
              of the transaction. The JavaSoft specs don't handle this case.
              For WLS JMS, this works because we have defined such
              an interface and implemented it. At least one other vendor
              understands the importance of having this feature and is
              interested in implementing it (it's not IBM).
              So to do what you want, it is necessary to:
              1. Use the XAResource version of the JDBC driver for Oracle.
              WLS is smart enough to look at the driver and see if it
              implements the XAResource interface and automatically
              register it as a resource. This has been documented
              in this newsgroup already or see
              http://e-docs/wls/docs60/adminguide/jdbc.html#1075694.
              2. Register the XAResource interface for MQSeries programmatically
              in the application. The code to do this has been posted
              at the BEA developer site for a few months in an article
              entitled "Using JTA Transactions to envelope WLS JMS and
              IBM MQSeries" (could I be more explicit), located at
              http://developer.bea.com/docs/jmsjta.jsp. It references
              another document that has more code, describing how to
              plug in a "foreign" (non-WLS) JMS provider, of which MQSeries
              is one, in a non-transaction manner (you need to do that
              first and then just add the resource registration) - see
              http://developer.bea.com/docs/jmsproviders.jsp.
              All of the necessary code is included in the documents (including
              how to download and install the Java libraries for MQSeries).
              Several people have told me that they have been able to
              use this as a starting place for their applications.
              You might also want to look at the JMS FAQ at
              http://developer.bea.com/docs/jmsfaq.jsp.
              In 6.1, support is added for importing foreign transactions.
              That means that in 6.0, WLS can drive a transaction with
              WLS JMS, Oracle, and MQ series, with WLS being the
              driving force. In WLS 6.1, a non-WLS transaction manager can
              drive a transaction that includes (transactionally infects)
              WLS resources (like WLS JMS).
              There are no white papers that I know of in this area and I haven't
              tested it myself (the goal is to have someone try out
              having WebSphere drive a transaction with WLS resources, soon).
              "Priya" <[email protected]> wrote in message news:[email protected]...
              >
              > Hi
              >
              > I would like to know whether weblogic 5.1 or 6 provides support in a single transaction,
              > transaction support for both oracle and MQseires, if so where can i find suitable
              > documentation on this topic
              >
              > with regards
              > Priya
              

  • Bridge Adaptor for MQSeries

              I'm trying to utilize a message driven bean to get messages off queues in MQSeries.
              I read the documentation to setup a messaging bridge and it seems fairly straightforward,
              but I'm having trouble finding a bridge adaptor for MQSeries. The IBM sight is like
              trying to walk through a maze. Any pointers to a bridge adaptor or help would be
              grealy appreciated.
              

    The bridge does exist in 6.1SP1 and 6.1SP2, but it is not officially
              supported until 6.1SP3. To use the bridge in 6.1SP1, you have to
              download the adapters from:
              ftp://edownload:[email protected]/pub/downloads/MessagingBridge61.zip
              Dongbo
              "Chuck Kiefriter" <[email protected]> wrote in message
              news:[email protected]...
              >
              > If I am using 6.1 SP3, can I not use the messaging bridge piece to talk to
              MQSeries?
              > We are using 6.1 SP1. If so, I guess I may have to get the 6.1 SP3
              installed.
              >
              > "Zach" <[email protected]> wrote:
              > >BEA provides a messaging bridge as part of 6.1 SP3 (though there were
              some
              > >packaing problems there), and in 7.0. It supports MQSeries out of the
              > >box. You configure it using the console. There is a white paper in
              this
              > >newsgroup on doing this (search for "Using Foreign JMS Providers"). The
              > >short of it is that you need JMS for MQSeries. We do not currently
              provide
              > >a native MQSeries adapter.
              > >
              > >_sjz.
              > >
              > >"Chuck Kiefriter" <[email protected]> wrote in message
              > >news:[email protected]...
              > >>
              > >> I'm trying to utilize a message driven bean to get messages off queues
              > >in
              > >MQSeries.
              > >> I read the documentation to setup a messaging bridge and it seems
              fairly
              > >straightforward,
              > >> but I'm having trouble finding a bridge adaptor for MQSeries. The IBM
              > >sight is like
              > >> trying to walk through a maze. Any pointers to a bridge adaptor or
              help
              > >would be
              > >> grealy appreciated.
              > >
              > >
              >
              

  • ** MQSeries WLS6-sp2  JMSException

              Hello all,
              I was successul in conencting MQSeries 2.5 with WebLogic 6.1-sp2
              following sample (wlsmqsereis.zip) using WLS as JNDI server.
              This was on same host, but when I moved MQSeries on different
              machine and then ran a client that sends messages to queue on
              MQS, I got the JMS Exception below.
              my question is, is it possible to have MQSeries and Weblogic
              on separate hosts and still wlsmqseries.zip would work?
              Any help is greatly appreciated.. thanks all.
              ------- Exception -----------------------------------
              javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for
              'localhost:QM_pc234221123'           
              at
              com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:546)
              at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:1137)           
              at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:799)           
              at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:255)           
              at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:78)           
              at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:142)
              at com.bwe.TextMessageSenderClient.<init>(TextMessageSenderClient.java:43)
              at com.bwe.TextMessageSenderClient.main(TextMessageSenderClient.java:102)
              javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'localhost:QM_pc234221123'
              at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:546)
              at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:1137)           
              at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:799)           
              at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:255)           
              at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:78)           
              at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:142)
              at com.bwe.TextMessageSenderClient.<init>(TextMessageSenderClient.java:43)
              at com.bwe.TextMessageSenderClient.main(TextMessageSenderClient.java:102)
              Exception in thread "main"
              

    Hi this is mahesh iam also getting same error
              when run standalone jms application with websphere 5.1 inorder to post mesg on to Q.
              javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '192.168.9.16:WAS_MAHESHP_server1'
              at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:556)
              at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:1736)
              at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1129)
              at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:170)
              at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:80)
              at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:145)
              at org.mule.samples.hello.QueueMessageSender.sendMessage(QueueMessageSender.java:40)
              at org.mule.samples.hello.QueueMessageSender.main(QueueMessageSender.java:129)
              plz do reply me
              paddy

  • When & Why to Use WL Adapter for MQSeries as compared to MDB?

              We have a need to both send and receive message via MQSeries in asynch mode.
              Initial assessment was to receive messages via MDB and send messages by use a
              pool of Sessions to the MQ Mgr connection.
              Given this why should one use WL Adapter for MQ?
              Thanks
              Tariq.
              

    I assume you are referring to the "WLI" adapter? Perhaps try posting
              your question to the "weblogic.integration.developer" or
              "weblogic.integration.interest" newsgroup.
              If you are referring to the "Messaging Bridge", which comes with
              WebLogic server, then the advantage is that MQ need not be up for the
              senders to continue sending. Senders can send messages to a WebLogic
              queue, which the bridge can in turn forward to an MQ queue. The
              disadvantage is that the extra bridge hop may slow down your app.
              Tom, BEA
              P.S. You are likely by now aware that WL 8.1 (just released in beta),
              can automatically pool foreign (or WebLogic) sessions for you.
              Additionallly, it provides help in that you can configure wrappers for
              foreign JMS objects. See "Accessing JMS Foreign Providers" and
              "Accessing JMS via Servlets and EJBs" listed under new features:
              http://e-docs.bea.com/wls/docs81/notes/new.html#1125379
              Tariq Bhatti wrote:
              > We have a need to both send and receive message via MQSeries in asynch mode.
              > Initial assessment was to receive messages via MDB and send messages by use a
              > pool of Sessions to the MQ Mgr connection.
              >
              > Given this why should one use WL Adapter for MQ?
              >
              > Thanks
              > Tariq.
              >
              

  • Java client for MQSeries

    Hi ,
    I am new to MQSeries . We have a requirement to develop java wrapper_ to consume /produce message to MQSeries queueies .
    I googled out for document but no luck i couldnt get proper document . Please help me on this appreciate your help.
    Thanks & Regards ,
    Siva K Divi

    my 2 cents: http://www.javamonamour.org/2011/06/java-client-for-websphere-mq.html
    there used to be a great IBM Red Book with EVERYTHING about MQ v6.... sort of BIBLE of MQ....

  • Starting event for MQSeries control

    I am new to Integration. I'm testing a simple MQSeries control. I just want the control listen to a q, get the message and put the message on another q.
    What is the starting event for this type of process? Do I have to use a message broker?
    thanks.

    You can use the control only from an already running process. I you need to start a new process, whenever a message arrives in a MQ queue, then use the event generator, which communicates via Message broker events.
    -Kai

  • Strange JMSException: Message catalog not found

    I have built a module that offers a method to send JMS messages. I am using MQSeries as MOM product.
    My send-method uses a QueueConnection created during Instantiation of the class, but creates all other JMS-related objects (like QueueSession, QueueSender, Queue etc.) when called, since these classes are not thread safe according to the IBM docs. I close these resources after usage as recommended.
    Now I did some automated testing, i.e. I am sending large amounts auf messages over the queues.
    It works perfectly normal at first, but after 103 (usually) or 104 (rarely) sent messages I get a strange exception from a call to my QueueConnection object (outboundConn):
    The code:
    try {
         outboundSession = outboundConn.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    } catch (JMSException e) {
         System.out.println("StubConnecion.sendMessage(Message requestMessage, String requestQueueName, boolean synchronous): creating queue connection for sending: "+e);
         Exception lEx = e.getLinkedException();
         System.out.println("Linked exception: "+lEx);
         System.exit(1);
    The exception reads:
    StubConnecion.sendMessage(Message requestMessage, String requestQueueName, boolean synchronous): creating queue connection for sending: javax.jms.JMSException: MQJMS2005: Fehler beim Erstellen von MQQueueManager f�r 'rtulmx0111:QM_server'
    Linked exception: com.ibm.mq.MQException: Message catalog not found
    The first line is just my output, the second line is more interesting. It gives a JMS error code with a message. The message is german (as is my version of MQSeries), it translates to: "Error creating MQQueueManager for 'localhost:QM_server'
    The JMS Exception encapsulates an IBM-specific MQException.
    The reason 2009 means:
    "Connection to the queue manager has been lost. This can occur because the queue manager has ended. If the call is an MQGET call with the MQGMO_WAIT option, the wait has been canceled. All connection and object handles are now invalid."
    Well, my queue manager has not ended and the listener process one has to start for MQSeries is still running.
    Does anybody have an idea what could cause this strange behaviour?

    Yes, I DO close the resources after usage. :-)
    But I solved, or better worked around the problem.
    It only occured when I used MQJMS_TP_CLIENT_MQ_TCPIP as transport type. After correcting the problem that leads to the "unable to load message catalog - mqji" error message whenever one starts a JMS app (it is caused when the mqji properties-files are not in the PATH environment variable), I was able to use MQJMS_TP_BINDINGS_MQ as transport type. That one works great.
    Has anyone ever found a place where the differences between the transport types are explained?

  • Registering for a Topic with own stream & queue in Pub/Sub

    Hi *.
    I'm working with MQSeries 5.3 on WinXP.
    I don't know, how to register a subscriber to a topic with the JMS-classes. I found a sample from IBM, but it uses the native (MQ)classes and it does not work, when I try to register an own queue or stream. Everything works fine with system-queues/streams, but I shouldn't work with the defaults in my application.
    Does anybody know, where I can find a sample to register a subscriber to a topic, which is based on JMS ?
    Thank you very much in advance.
    Jo

    Yes, the script is provided by IBM when you install the java for mqseries for websphere MQ. It is under MQ_JAVA_INSTALL_PATH/bin directory called MQJMS_PSQ.mqsc.
    I am copying the contents of the file if you want:
    * IBM Websphere MQ Support for Java Message Service */ */
    * Sample MQSC source defining JMS Publish/Subscribe queues. */
    * Installation Verification Test - Setup script */
    * Licensed Materials - Property of IBM */
    * 5648-C60 5724-B4 5655-F10 */
    * (c) Copyright IBM Corp. 1999. All Rights Reserved. */
    * US Government Users Restricted Rights - Use, duplication or */
    * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.*/
    * JMS Publish/Subscribe Administration Queue */
    ** Create a local queue
    DEFINE QLOCAL('SYSTEM.JMS.ADMIN.QUEUE') REPLACE +
    DESCR('Websphere MQ - JMS Classes - admin queue') +
    * Persistent messages OK
    DEFPSIST(YES) +
    * Non-Shareable
    NOSHARE
    * JMS Publish/Subscribe Subscriber Status Queue */
    ** Create a local queue
    DEFINE QLOCAL('SYSTEM.JMS.PS.STATUS.QUEUE') REPLACE +
    DESCR('Websphere MQ - JMS Classes - PS status queue') +
    * Persistent messages OK
    DEFPSIST(YES) +
    * Shareable
    SHARE DEFSOPT(SHARED)
    * JMS Publish/Subscribe Report Queue */
    ** Create a local queue
    DEFINE QLOCAL('SYSTEM.JMS.REPORT.QUEUE') REPLACE +
    DESCR('Websphere MQ - JMS Classes - Report queue') +
    * Persistent messages OK
    DEFPSIST(YES) +
    * Shareable
    SHARE DEFSOPT(SHARED)
    * JMS Publish/Subscribe Subscribers Model Queue */
    * Create model queue used by subscribers to create a permanent */
    * queue for subsciptions */
    * General reply queue */
    DEFINE QMODEL('SYSTEM.JMS.MODEL.QUEUE') REPLACE +
    DESCR('Websphere MQ - JMS Classes - Model queue') +
    * Queue Definition Type
    DEFTYPE(PERMDYN) +
    * Shareable
    SHARE DEFSOPT(SHARED)
    * JMS Publish/Subscribe Default Non-Durable Shared Queue */
    * Create local queue used as the default shared queue by */
    * non-durable subscribers */
    ** Create a local queue
    DEFINE QLOCAL('SYSTEM.JMS.ND.SUBSCRIBER.QUEUE') REPLACE +
    DESCR('Websphere MQ - JMS Classes - PS ND shared queue') +
    * Persistent messages OK
    DEFPSIST(YES) +
    * Shareable
    SHARE DEFSOPT(SHARED) +
    * Maximum queue depth
    MAXDEPTH(100000)
    * JMS Publish/Subscribe Default Non-Durable Shared Queue for */
    * ConnectionConsumer functionality */
    * Create local queue used as the default shared queue by */
    * non-durable connection consumers */
    ** Create a local queue
    DEFINE QLOCAL('SYSTEM.JMS.ND.CC.SUBSCRIBER.QUEUE') REPLACE +
    DESCR('Websphere MQ - JMS Classes - PS ND CC shared q') +
    * Persistent messages OK
    DEFPSIST(YES) +
    * Shareable
    SHARE DEFSOPT(SHARED) +
    * Maximum queue depth
    MAXDEPTH(100000)
    * JMS Publish/Subscribe Default Durable Shared Queue */
    * Create local queue used as the default shared queue by durable */
    * subscribers */
    ** Create a local queue
    DEFINE QLOCAL('SYSTEM.JMS.D.SUBSCRIBER.QUEUE') REPLACE +
    DESCR('Websphere MQ - JMS Classes - PS D shared queue') +
    * Persistent messages OK
    DEFPSIST(YES) +
    * Shareable
    SHARE DEFSOPT(SHARED) +
    * Maximum queue depth
    MAXDEPTH(100000)
    * JMS Publish/Subscribe Default Durable Shared Queue for */
    * ConnectionConsumer functionality */
    * Create local queue used as the default shared queue by durable */
    * connection consumers */
    ** Create a local queue
    DEFINE QLOCAL('SYSTEM.JMS.D.CC.SUBSCRIBER.QUEUE') REPLACE +
    DESCR('Websphere MQ - JMS Classes - PS D CC shared q') +
    * Persistent messages OK
    DEFPSIST(YES) +
    * Shareable
    SHARE DEFSOPT(SHARED) +
    * Maximum queue depth
    MAXDEPTH(100000)

  • Mqseries adapter on platform domain

    I've got a problem with BEA WebLogic Adapter for MQSeries, release 7.0. I'm using
    Platform Domain and when I try to test the adapter I get this kind of errors:
    ERROR [MQService] WMQService: {4.2} NoClassDef exception processing agent XDMQEmitAgent:
    com/ibm/mq/MQException
    or
    ERROR [manager] Can't create MQEvent MQ protocol: java.lang.NoClassDefFoundError:
    com/ibm/mq/MQException. Possibly missing jar files.
    So it seems that when I start the Platform server, even if the classpath is correctly
    set, MQSeries files (e.g. com.ibm.mq.jar) are not loaded.. Also I couldn't find
    specific information on how to add MQSeries adapter into this environment. In
    the installation guide they only mention how to set up classpaths in wli domain
    for adapter library into a file called "SetWliDomainData.cmd". But because I have
    Platform Domain, I do not have that file at all and I've modified "startWeblogic.cmd"
    file.
    I really appreciate any help with this!
    Regards, Anna

    Given the lack of responses, I take the answer to be, "No, the MQSeries adapter can't read RFH2 headers." It also appears not to have the ability to use a selector like the JMS adapter. I will go back to using the JMS adapter to read from MQSeries queues, although it's changed enough since 10.1.2 that it's almost like using a different adapter as well.

  • New to JMS and JBOSS , what value to set for following

    hello friends ,
    I have following things for MQSeries , can u please tell me what would be the corresponding values for jboss.
    JMS.QueueConnectionFactoryImpl.classname = For IBM MQ its com.ibm.mq.jms.MQQueueConnectionFactory
    What would be the classname for jboss ?
    JMS.QueueImpl.classname =     For IBM MQ its com.ibm.mq.jms.MQQueue
    what for Jboss
    similarly i am writing for all the MQStuff , could u please let me know for jboss
    JMS.QueueImpl.method.setTargetClient =      java.lang.Integer {com.ibm.mq.jms.JMSC.MQJMS_CLIENT_NONJMS_MQ}
    JMS.QueueConnectionFactoryImpl.method.setTransportType =      java.lang.Integer {com.ibm.mq.jms.JMSC.MQJMS_TP_CLIENT_MQ_TCPIP}
    JMS.QueueConnectionFactoryImpl.method.setChannel =      java.lang.String {JAVA.CHANNEL}
    Kindly do help if you know
    thanks

    Thanks for the reply to my questions.
    I have another that can be hopefully answered in regards to the client side ping.
    1. With the client side ping, if the clients computers network cable is disconnected and then reconnected will the ping properly re-establish its connection or is it up to the client application to do this process?
    2. Will the client side ping resolve the issue with half-open connections that 3.5 had?
    2. When creating the persistent queue objects on the server are there any special settings to set to properly configure the queues. When working with 3.5 I previously had the following:
    cmdtype=add
    obj.type=qf
    obj.lookupName=QueueConnectionFactory
    obj.attrs.imqBrokerHostName=localhost
    obj.attrs.imqBrokerHostPort=7676
    objstore.attrs.java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
    objstore.attrs.java.naming.provider.url=file:///C:/Temp
    Thanks in advance for any sugestions

  • JMS MQSeries Communication.

    I am new to JMS and struggling to understand how JMS communicates with MQSeries. I have MQSeries running on Sun Solaris and trying to write a JMS client on Win-2000. I have Suns's J2EE application server 8.0 running on the Win-2000 box. Here are my questions:
    1. Do I need an LDAP server for this?
    2. If answer to the first question is yes: Is LDAP server part of Sun's J2EE Application Server 8.0 or I need to have it seperate?
    3. Does anyone know of a free LDAP server available for download?
    4. How are LDAP server and the application server work together to locate and post message on MQSeries queue?
    5. Do I need to have a special setup on the MQ Server side to support JMS?
    Any help will be appreciated. I am desperate to find these answers.
    - Pankaj

    Hi Sharma,
    1. With SUN AS you can use File Store instead of LDAP to store objects (the same is probably true for MQSeries).
    This sample frorm SUN Message Queue SP1 show how to use the file store:
    D:\Program Files\Sun\MessageQueue3\demo\helloworld\helloworldmessagejndi.java
    2. I think it is a separate product: Sun Java System Directory Server Enterprise Edition
    3. http://www.openldap.org/
    4. I think the LDAP server is only used as an Object Store for Connection Factories and Destinations, and the messages are stored by the JMS provider in the application server.
    It is used by JNDI to lookup those objects.
    Check if MQSeries also supports JMS 1.1 as SUN AS 8 does.
    Regards,
    Magnus Strand

  • JMSAdapter performace issue

    Hi,
    I've read an old thread, Re: JMS Adapter performance
    The author states to be able to let 700 process per minute start using JMSAdapter.
    I've developed a process which listen to a queue and than invoke some services.
    But if i put more then 50 messages together in the queue, BPEL server crash with the message too many transactions....
    any idea of the problem (and maybe the solution...)
    thank you all
    Lisa

    Hi Lisa,
    I need to do a few things with sensors that involve jmsQueue. I´m very new to the jms technology. I need to do a pooling from a jms queue.
    I configure a jmsAdapter for consume Message but I'm unable to configure the Adapter for pooling. When I deploy de flow into BPEL middle tier it always ask me input parameteres.
    Eveen the exammple provided 123.JmsAdapter reads imputs parameters´.
    Can you help me?
    Thanks
    Goncalo Ribeiro

Maybe you are looking for

  • Pie chart label

    I have a pie chart and the region is limited in width. Some of the labels are a little long (even if they are abreviations) so that when they are at the center left or right of the pie chart, the labels are not enterily displayed. I was wondering if

  • Error when trying to enable cube  MV query rewrite

    Hi I'm facing a problem when trying enable query rewrite on the cube materilized view, see below Invalid Metadata Objects: Invalid Object "ACCOUNTING.APP_CUBE": "XOQ-01957: The cube has REWRITE MVs and also contains either a ragged or skip-level hier

  • ME51N Header text enhancement

    HI all.. i have a requirement  like in ME51n purchase requisition in the header texts header note is there and also there is one more custom field add to that.. what ever the text we are entering into that custome field is not storing so.. where can

  • Substract from selection - doesn't substract

    In two cases I have discovered a bug in substracting from selection: 1. (some photos are rejected or picked) - select all - select by flag - substract from selection - picked - delete - oops, ALL photos have been deleted 2. the same for Exporting - A

  • Adding Period Indicator to New Year after creating draft documents in New Y

    Hi, I want to restart the the numbering from 1 in the New Year and so want to attach a new Period Indicator to the New Year. But i am unable to Add Period Indicator to New Year. It was created with Default Period Indicator and is not allowing any cha