Checking JMS Queue Status

Hi,
It possible to check the current status of my Queue in WLS 8.1???
I've been tryin to use the QueueBrowse example but its not working.
Thanks in Advance.
Erick Akamine

Hi,
You can heck using weblogic.Admin command.
Ex:
-- For geting all the JMS queues runtime data.
java $WLS_ADMIN_SSL weblogic.Admin -url $server_url -userconfigfile $ADMIN_CONFIG -userkeyfile $ADMIN_KEY GET -type JMSDestinationRuntime

Similar Messages

  • How to Check JMS Queue in BPEL

    Hi All,
    we have a case where SOA shows message is successfully sent to TIBCO, But it is not available in TIBCO queues.
    We have the property file used by BPEL for different instances and the JMS queue mentioned are different for different instances.
    So how to check to which TIBCO queue SOA sent message through BPEL.
    Rgds,

    Based on the JNDI look up used, you can determine the instance. Iam not sure this is the right way but you can try this.
    Thanks,
    Vijay

  • In Bound queue status in SMQ2

    Hi All,
    i've created a customer in CRM and saved it.
    i've filled all the mandatory fields and it should replicate to ECC.
    i've checked in SMW01, BUPA_MAIN BDoc is in intermediate state ,then i went to SMQ2 in CRM to check the queue status it is in READY status then upon unlocking the queue and refreshing it moved to RUNNING status and cleared from the inbound queue.....then upon refreshing the SMW01 ,BDoc BUPA_MAIN moved from intermediate state to send to receiver status and customer replicated to ECC.
    My query is whenever i create any CUSTOMER/LEAD the queue in SMQ2 should go to RUNNING status and get processed automatically, every time i'm clearing the queue in SMQ2 and refreshing the SMW01 to reliacate the customer to ECC.
    Please suggest me if any configuration change i've to do for the automatic queue clearence.
    i've cleared all the queues in SMQ2 , there are no queues in wait/failed Status.
    Thanks,
    Syam

    Hi Rohit Sharma,
    Thanks for the help it solved my query.
    I have one more query ,
    Now the customer replicated to ECC without manual clearence of the queue.
    even though the customer replicated to ECC i have the BDoc state of the BUPA_MAIN BDoc type as 'Sent to receivers (not all have confirmed)' with yellow light.
    BDoc state should change to 'Confirmed (fully processed)' upon successful replication to ECC like BUS_TRANS_MSG for Lead.
    Please suggest on any configuration change has to be done for the above query.
    Thanks
    Syam

  • Checking message in the JMS queue

    Hi there,
    Is there a way to check the message is in the JMS queue? I tried to use the QueueBrowser. However, it always return me an enumeration = null
    when I run the following "QueueBrowser.getEnumeration()". I am using JRun 3.0 application server.
    And by the way, how would to know whether the message has been consumed by the receiver in a point to point model? We could still managed to send out messages even when the receiver client is not started. I understand that the receiver client would be able to receive those messages once they are started as the messages are in the queue. However, what if the queue is destroyed (some catastrophic event happen to the JMS provider) before the receiver client is started?

    I have no problem using the QueueBrowser:
          QueueConnection qc;
          qc = qcf.createQueueConnection();
          QueueSession session;
          session = qc.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
          QueueBrowser browser = session.createBrowser(queue);
          Enumeration enum = browser.getEnumeration();The used JMS provider must support a persistence mode. When the server is restarted and there were messages in the queue, they are restored.
    When receiving messages you can use autoacknowledge mode without transaction which means when receive() is called, the message is deleted from the queue. In transacted mode in addition to receive() you have to call commit() on the session in order to delete the message in the queue.
    When using clientacknowledge you have to call message.acknowlegde() after receive().

  • How to check the jms Queue is persistance or not in jboss application serve

    hi,
    i am using jboss as application server for jms and database is postgres.For an message store i am using the "*database store*".while starting the jms adding queue it is adding the messages to the jms queue after starting the jms receiver the datas are received sucessfully....afte some 10 to 13 hours i am getting java.lang.OutOfMemoryError in jms..so i checked the postgres table space.Table space is increased gradually...I think that the after receiver received that message the messages are not deleted in the database.how to debugg the the secnario in jboss as wel as in database.....how to chaeck the queue is in persistance or not persistance...
    regards.
    naresh govindaswamy.

    Send a request to the server somehow, so that the server is aware of this. AJAX may be very useful in this if you want to do this asynchronously.
    its very urgently This is irrelevant information. That's your problem. We don't care less or more. Some users here will even refuse to help you if you're putting pressure.

  • JMS Queue Not bound

    Configured JMS communication to connect to external JMS Queue.
    When i see the status in Adapter monitor, it shows an error "Receiver channel details:<queuename> not bound".
    Would like to know , where is the problem this error is related to?
    Thnx
    Sunil

    Hi,
    First of all check all your configuration steps in the directory. i.e Receiver Determination/Interface Determination/Receiver Agreement etc
    Are you getting any error in the SXMB_MONI ?
    ALso check the RWB->Message Monitoring ->Message Display tool and check the status
    If there is no error in the above, if the error is only in the Adapter monitor, then check the Adapter configuration .
    Regards,
    moorthy

  • Tasks stuck in 'In Queue' status

    Hi,
    Recently we upgraded from OIM 8.5.3 to OIM 9.1. We have a Websphere Clustered environment.
    Whenever an Approver or SA approved a pending task or sets response to the Open Tasks, the task's status becomes In Queue and remains as that only. It doesn't go off from the Items To Review (for AAs) and Open Tasks (for SAs) tables.
    All the JMS queues are set properly and so also the JMS Cluster. There is no error/exception in the logs.
    Any idea why its behaving like this? Any suggestions/solutions?
    Thanking you,
    Kulesh...

    JMS related problems can be really hard to resolve. I assume that you have raised an SR with Oracle?
    The JMS tables are mirrored into database tables named after the name of your Websphere hosts. You might learn something by checking the content of these tables.
    The whole JMS system was rebuilt in 9.1 with the addition of multiple JMS queues. There might be some kind of issue with some part of the JMS system not upgrading properly.
    Are you still using Microsoft SQL server?
    Best regards
    /Martin

  • Reading Opaque data from jms queue  and decoded  in java embedding

    Hi ,
    Objective:Fetch text message from queue and print it from java embedding in BPEL
    I am fetching text message from a jms queue using JMS adapter in BPEL.Then converting the opaque data(Base64 binary)to string using java embedding.My build got successful but I am getting runtime error at the time of deployment.
    I have added fabric-runtime.jar file into SCA-INF\lib folder as well as project library directory.
    <extensionActivity>
    <bpelx:exec name="Java_Embedding1" version="1.5" language="java">
    <bpelx:exec import="java.io.*"/>
    <bpelx:exec import="oracle.soa.common.util.Base64Decoder"/>
    <![CDATA[//Write your java code below e.g.        
         System.out.println("Hello, World");       
    //   String input = ((Element)getVariableData("Receive1_Consume_Message_InputVariable")).getTextContent();              
      // String inputName = (String)getVariableData("input");     
      String input = (String)getVariableData("Receive1_Consume_Message_InputVariable");            
    //Receive1_Consume_Message_InputVariable.opaque          
          System.out.println("input:"+input);          
          addAuditTrailEntry(input);           
          Base64Decoder Decoder = new Base64Decoder();             
         try {            
          String decoded = Base64Decoder.decode(input);            
          setVariableData("Variable_opaque_decoded",decoded);            
          addAuditTrailEntry(decoded);           
    catch(UnsupportedEncodingException uee)
    uee.printStackTrace();
    }]]>
    </bpelx:exec>
    </extensionActivity>
    Error:
    Error deploying archive sca_JMSToDBInsert_rev1.0.jar to partition "default" on server AdminServer [http://localhost:7001]
    HTTP error code returned [500]
    Error message from server:
    There was an error deploying the composite on AdminServer: Error occurred during deployment of component: BPELProcess1 to service engine: implementation.bpel, for composite: JMSToDBInsert: ORABPEL-05250
    Error deploying BPEL suitcase.
    error while attempting to deploy the BPEL component file "C:\Oracle\Middleware\user_projects\domains\soa_domain\servers\AdminServer\dc\soa_0fb06e23-bac3-4753-aae9-0fc4b54b4dd1"; the exception reported is: java.lang.RuntimeException: failed to compile execlets of BPELProcess1
    This error contained an exception thrown by the underlying deployment module.
    Verify the exception trace in the log (with logging level set to debug mode).
    Check server log for more details.
    Error deploying archive sca_JMSToDBInsert_rev1.0.jar to partition "default" on server AdminServer [http://localhost:7001]
    #### Deployment incomplete. ####
    Error deploying archive file:/C:/SOA Suite/SOA_POC/Client2JMSapps/Client2JMSapps/JMSToDBInsert/deploy/sca_JMSToDBInsert_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Could you guys please help me regarding this?
    Thanks & Regards,
    Souvik
    Edited by: Souvik Pal on Apr 16, 2012 9:40 PM

    You probably want to try the SOA Suite forum for OSB questions.
    SOA Suite
    There is an excellent book also:
    http://jeffdavies.org/
    The documentation goes over the fundamentals, but the book will be better for step by step examples.

  • How to keep a back up of messages from the JMS queues?

    Hi,
    I need to keep a back up of messages which are coming in the JMS queue before they get consumed. This is for recovery purpose.
    I checked file store option but it doesnt have any time stamp on messages so dont know how to trace back messges if needed from file store.
    Please let me know if you guys have any idea to handle this.
    Thanks in advance
    Bips

    No. Not with Time Machine at least.
    If you tell Time Machine to backup the external then you will have it.
    Or you can manually copy it to another disk for storage outside of Time Capsule/TimeMachine.
    Allan

  • Messages stucked in moni with queue status as "RUNNING"

    Hi All,
      Few of messages stucked in moni with queue status as "RUNNING" from the past 6 to 7 hours. all the stucked messages running on same dialog instance app server 03 (ucobpi03_PIP_03). i checked PIP appserver its working fine.
    Can any one please expalin me how to clean the queues..is there any effect of other queues ?
    Thanks,
    Siva.

    Hi,
    it can be due to multiple reasons....
    check the interface logic built ...it can be either due to this or can be of large volume of data...
    Also check the queues have been registered or not...
    HTH
    Rajesh

  • OC4J 9.0.4: Problem receiving message from JMS queue

    I've created an application which puts XML files in a JMS queue and try to get it out again. The enqueing (sending) is no problem, but when I dequeue from the same queue I receive nothing and if I don't specify a wait time the programs hangs.
    If I create a QueueBrowser I can see there are messages in the queue.
    Can someone tell me what I do wrong?
    Here is the code of my dequeue action:
    public String dequeue(int qName) throws RbsSysException
            final String method = "dequeue(int qName)";
            _log.debug(method);
            QueueConnection queueConnection = null;
            try
                queueConnection = _queueConnectionFactory.createQueueConnection();
                QueueSession queueSession = queueConnection.createQueueSession(false,
                        Session.AUTO_ACKNOWLEDGE);
                QueueReceiver queueRcv = queueSession.createReceiver(getQueue(qName));
                _log.debug("queue = "+ queueRcv.getQueue().getQueueName());
                // Due to bug 3376983 in OC4J We cannot use TextMessage if it exceeds
                // 64 kb. Therefore use ObjectMessage.
                Message msg = queueRcv.receiveNoWait();
                _log.debug("msg = " + msg);
                ObjectMessage objMsg = (ObjectMessage)msg;
                //ObjectMessage objMsg = (ObjectMessage) queueRcv.receiveNoWait();
                _log.debug("objMsg = " + objMsg);
                if (objMsg != null)
                    return (String) objMsg.getObject();
                else
                    return null;
            catch (JMSException je)
                throw new RbsSysException(je);
            finally
                if (queueConnection != null)
                    try
                        queueConnection.close();
                    catch (Exception any)
                        _log.error("Error while closing QueueConnection: ", any);
        }

    Did you implement javax.jms.MessageListener and the method onMessage(Message)?
    If you use onMessage() as wel as receive (or receiveNoWait() or receive(long)), the onMessage() can be called, while the main thread is blocking on a synchronous receive, so make sure you use only one of the two methods: onMessage() or receive.
    Receive() blocks your thread until a message is published. So your program 'hangs' by design. Usually this is used when your program is waiting for a particular message. Otherwise use onMessage().
    ReceiveNoWait() checks if something is in the queue at that very moment, so if nothing is there (yet), the main thread continues.
    Hope this helps,
    Lonneke

  • JMS Queue connection

    Hi Experts ,
    I have a sticky problem while posting the data from JMS to File System ,
    in CC monitoring i got success message that   adapter is successfully connected to JMS queue but no data is available while checking 'sxmb_moni'
    Note :in this requirement we are doing content conversion in JMS Sender  adapter
    we r not able to get the data into XI even we connected to JMS with all the proper connections of the JMS queue
    the mesage we got in the CC:Sucessfully connected to destination 'jms/queue/SendEscFeedweblogic_DXG'
    help me how to get the data into XI  for Suitable reward
    Thanks
    Shoukath

    hi shoukath,
    Can you check in message monitoring, to check out audit logs and we come to what is the error exactly.
    or even you can check the logs at
    http://<Hostname>:<portnumber>/MessagingSystem/monitor/monitor.jsp
    regards
    Ramesh P

  • Defining/Creating a JMS Queue in XI

    Scenario: Third party system would post messages in XI Jms queue, the messages would ultimately be sent to SAP.
    Need to create this JMS queue in XI which receives Jms messages from third party.
    Steps done:
    1) Defined Sender Communication Channel 'CC_JMS'
    JNDILookup name:jmsfactory/default/QueueConnectionFactory
    JMSQueue:jmsqueues/default/JMS_queue
    initialcontextfactory:com.sap.engine.services.jndi.InitialContextFactoryImpl
    JNDIServerAddress:<<serverIP>>:50004
    2)Defined sender ID for the outbound interface in SXMSIF
    3) Added job(I've given the name, is it right?) in SXMb_Adm and Defined message filter for that job. activated.
    4)configured message filter for the above sender ID. Queue name XBT1
    5)when checked in adapter monitor for JMS_queue.Shows the following error message
      CC_JMS : Sender channel. Details: Object not found in lookup of JMS_Queue.
    Questions:
    1)Is that the right approach i am following
    2)How do i assign CC_JMS  to JMS_queue
    3)How do i know if JMS_queue is up and running
    thnx
    sunil

    Hi Sunil,
    Please take a look at these..
    http://help.sap.com/saphelp_erp2005/helpdata/en/bc/996b908db7485fabbacb9930714d7e/frameset.htm -- Queue sender and reciever
    http://help.sap.com/saphelp_erp2005/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/90/57849e5e3e45d784afc4e3bfa8136f/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/c1/739c4186c2a409e10000000a155106/frameset.htm
    Hope they help!
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • Message Driven Bean reading multiple times from a jms queue

    Hi,
    I am facing a strange problem with my message driven bean. Its configured to read message from a jms queue. But sometimes it read the same message multiple times from the jms queue.
    We are using weblogic server 8.1 sp5.
    Please find below our descriptor files
    ejb-jar.xml  
    <ejb-jar>  
      <display-name>ClarifyCRM_Process_Manager_13.1</display-name>  
      <enterprise-beans>  
        <session>  
          <display-name>ProcessManager</display-name>  
          <ejb-name>ProcessManager</ejb-name>  
          <home>com.clarify.procmgr.ejb.ProcessManagerHome</home>  
          <remote>com.clarify.procmgr.ejb.ProcessManagerRemote</remote>  
          <ejb-class>com.clarify.procmgr.ejb.ProcessManagerEJB</ejb-class>  
          <session-type>Stateless</session-type>  
          <transaction-type>Container</transaction-type>  
        </session>  
        <message-driven>  
          <display-name>ProcessManagerListener</display-name>  
          <ejb-name>ProcessManagerListener</ejb-name>  
          <ejb-class>com.clarify.procmgr.ejb.ProcessManagerMDB</ejb-class>  
          <transaction-type>Bean</transaction-type>  
          <acknowledge-mode>Auto-acknowledge</acknowledge-mode>  
          <message-driven-destination>  
            <destination-type>javax.jms.Queue</destination-type>  
          </message-driven-destination>  
        </message-driven>  
      </enterprise-beans>  
      <assembly-descriptor>  
        <container-transaction>  
          <method>  
            <ejb-name>ProcessManager</ejb-name>  
            <method-name>*</method-name>  
          </method>  
          <trans-attribute>Required</trans-attribute>  
        </container-transaction>  
      </assembly-descriptor>  
    </ejb-jar>  
    weblogic-ejb-jar.xml  
    <weblogic-ejb-jar>  
      <weblogic-enterprise-bean>  
        <ejb-name>ProcessManager</ejb-name>  
        <stateless-session-descriptor>  
          <pool>  
            <max-beans-in-free-pool>100</max-beans-in-free-pool>  
            <initial-beans-in-free-pool>10</initial-beans-in-free-pool>  
          </pool>  
        </stateless-session-descriptor>  
        <enable-call-by-reference>False</enable-call-by-reference>  
        <jndi-name>ProcessManagerHome</jndi-name>  
        <dispatch-policy>PMExecuteQueue</dispatch-policy>  
        <remote-client-timeout>0</remote-client-timeout>  
      </weblogic-enterprise-bean>  
      <weblogic-enterprise-bean>  
        <ejb-name>ProcessManagerListener</ejb-name>  
        <message-driven-descriptor>  
          <pool>  
            <max-beans-in-free-pool>100</max-beans-in-free-pool>  
            <initial-beans-in-free-pool>10</initial-beans-in-free-pool>  
          </pool>  
          <destination-jndi-name>clarify.procmgr.jms.queue.Execution</destination-jndi-name>  
          <connection-factory-jndi-name>clarify.procmgr.jms.factories.ExecConnection</connection-factory-jndi-name>  
        </message-driven-descriptor>  
        <enable-call-by-reference>True</enable-call-by-reference>  
        <dispatch-policy>PMListenerExecuteQueue</dispatch-policy>  
        <remote-client-timeout>0</remote-client-timeout>  
      </weblogic-enterprise-bean>  
    </weblogic-ejb-jar>   The MDB is sometimes reading multiple times from clarify.procmgr.jms.queue.Execution
    Also i would like to add here that the connection factory we are using clarify.procmgr.jms.factories.ExecConnection is having the following properties
    ServerAffinity Enabled=true
    XA connection factory enabled=false.
    Please help me out here!!

    Maybe, your MDB "sometimes" throws an Exception in onMessage.
    Check if this happens when you set <max-beans-in-free-pool>1</max-beans-in-free-pool>.

  • ** Message being processed - Queue status green colour

    Hi Friends,
    Many messages in our SXMB_MONI  shows green color in the queue id column. It shows 'Message being processed'. All messages are in queue, still they are not delivered. Processing takes more hours. These messages are not EOIO queue. While we check this thru SMQ1 and SMQ2 it shows 'Running'. So, what could be the problem ...?
    Kindly help friends, to solve this issue. (Points rewarded for helpful answer)
    Kind Regards,
    Jeg P.

    HI,
    QUEUE STATUS RUNNING BASICALLY MEANS THT
    The first LUW of this queue is currently being processed. If a queue in this status hangs for more than 30 minutes, this may mean that the work process responsible for processing this LUW has been terminated. In this case you can activate this queue again. Note that activating a queue in status RUNNING may cause a LUW to be executed several times if this LUW is still being processed in the target system at that time. We therefore recommend a waiting time of at least 30 minutes before you reactivate the queue.
    HOPE THIS WILL SOLVE THE PROBLEM
    PLZ REWARDS POINTS
    VIKAS

Maybe you are looking for

  • Problem in creating a callable object of type Business Logic

    Hi SDN, I am trying to create a callable object of type Business Logic in CE. When I give all information and click Next, I get this error message. Error while loading configuration dialog: Failed to create delegate for component com.sap.caf.eu.gp.ui

  • Time machine cannot complete backups - please help

    I hope somebody can help me - my Time Machine has been unable to complete backups for about six weeks or so. Having read some useful information on the support forums yesterday, I verified both my internal HD and my external disk. The external disk a

  • Iplanet to Oracle 10g AS

    Hi Folks, I am trying to upgrade an application in iPlanet 6.0 to Oracle 10g Application server. can anyone provide some pointers or past experiences on the same. esp regarding version incompatibilities of various technologies and the regarding any t

  • I can't update any of my Adobe Products. I am using Photoshop CS5 extended version

    The problem is when I open up Photoshop CS5 and go to Help > Updates. It then opens up the Adobe Application Manager. It lists Bridge CS5, Extension Manager CS5, Photoshop CS5 and Camera Raw available for updating. However when I click update, it dow

  • Deleting in Mail Issue

    Hi All, Out of nowhere I am receiving the following message in my mail.... "635254.emlx" couldn't be copied to "Messages" because an item with the same name already exists. I tried deleting a bunch of old sent mail and now I am getting this message w