Suggested JMS configuration

Hello, experts.
We recently started using JMS rather extensively and had bumped into a strange problem with our J2EE app running on SAP WebAS. After a while all JMS queue processing stops and we see JMS buffer overflow exception in the logs:
com.sap.jms.protocol.BufferOverflowException: BufferOverflow
     at com.sap.jms.protocol.message.MessageRequest.setJMSRedelivered(MessageRequest.java:733)
     at com.sap.jms.server.destinationcontainer.messagequeue.impl.ptp.QueueConsumerViewImpl.peek(QueueConsumerViewImpl.java:138)
     at com.sap.jms.server.destinationcontainer.agent.QueueAgent.processConsumer(QueueAgent.java:119)
     at com.sap.jms.server.destinationcontainer.agent.QueueAgent.run(QueueAgent.java:92)
     at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
     at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:74)
     at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:140)
However, messages delivered to the topic subscribers seem to continue to work fine. Only queues stop working.
Should I tune up some JMS Provider parameter to fix this problem?
Here is the code snippet on how we take messages off the queue:
if(qreceiver==null)
  qreceiver = qsess.createReceiver(q,receiveString);
message=(BytesMessage) qreceiver.receiveNoWait();
if(message!=null) {
message.acknowledge();
final Serializable obj=processMessage(message);

Follow the below procedure for creating a connection factory/queue/topic
Visual Administrator->Services->JMS Provider
Then  create a connection factory and queue .
Get back in case of some issues.
Regards.

Similar Messages

  • JMS configuration in visual administrator

    HI All,
    I have deployed an ear file to J2EE stack of NW2004, that ear file consists of JMS topics, queues and destinations.
    Any extra configuration need to be done in Visual Admin related to JMS.
    I just deployed application without doing any JMS configuration in VA.
    Please let me know the detailed procedure for this.
    Regards,
    Anil.

    Follow the below procedure for creating a connection factory/queue/topic
    Visual Administrator->Services->JMS Provider
    Then  create a connection factory and queue .
    Get back in case of some issues.
    Regards.

  • How to creat an Weblogic JMS configuration with authentication

    I have to configure a weblogic jms topic in such a way when a remote sender send a message it has to connect using some authentication. Like when creating the initial context or the connectionFactory. But nowhere I got the steps for configuring it that way. Can you please let me know what is the out-of-the-box steps for achieving it. I am using all out-of the-box tools(no foreign jndi provider).

    Simple answer, you are in the WRONG forum, this is the Application Express (APEX) support forum..
    Thank you,
    Tony Miller
    Webster, TX

  • JMS Configuration in PI 7.1 in NWA

    Hi,
    I am doing a JMS to File Scenario in PI 7.1.
    Can someone explain what steps needs to be done to configure JMS Sender Adapter and steps to be done to deploy Driver files in NWA.
    Thanks in advance,
    Neena

    Hi,
    >First you need to get the Jar file ,if you are retrieving messages from IBM MQ,you need below jar files.if your MQ version is MQSeries 53x.xxx, you must enter the following JAR files in com.sap.aii.adapter.lib.sda:
        com.ibm.mq.jar, com.ibm.mqbind.jar,com.ibm.mqjms.jar,connector.jar.
           the same way if you are using SONIC MQ,get the jar files and deploy it.refer the below link,it will help you how to deploy the jms drivers in PI7.1
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/33/e6fb40f17af66fe10000000a1550b0/frameset.htm
    >after succesful deploying drivers you need to create sender comunication channel
      Select the trnsport protocl and message protocol,and give the queqe manager name and queue name .
    its simple settinf refer below link
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/f4/2d6189f0e27a4894ad517961762db7/content.htm
    Regards,
    Raj

  • JMS configuration problem log file

    Hello,
    My purpose is to send xml data from MQSeries to BW using XI. MQSereies is installed in XI server. For thah I am trying to configure JMS adpter for MQSeries in XI. I have successfully deployed the necessary external drivers using SDM. I have configured the sender channel with the following parameters.
    Adapter type: JMS
    Transport Protocol :WEBsphereMQ(non-JMS)
    Message protocol :JMS1.x
    Queue connection factory java class:com.ibm.mq.jms.MQQueueConnectionFactory
    Queue Java Class: com.ibm.mq.jms.MQQueue
    IP address: IP address of XI system.
    Port: 1414
    Queue manager name : MQ-manager-name_XI-system-name
    Channel Name : reciever-channel-name_XI-system-name
    JMS queue: postcard
    Charecter set ID:
    Transport/networkprotocol: TCP/IP
    JMS-Compliant : WebsphereMQ(non-JMS)
    But when I check it in adapter monitor JMS is shown as red.
    <b>In default trace file I am getting the following error</b>
    javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'SYSTEMNAME:QUEUEMANAGERNAME_SYSTEMNAME'
                at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:546)
                at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:1450)
                at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:960)
                at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:159)
                at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:215)
                at com.sap.aii.af.service.jms.WorkerJMSReceiver.init(WorkerJMSReceiver.java:283)
                at com.sap.aii.af.service.jms.WorkerHandlerImpl.run(WorkerHandlerImpl.java:325)
                at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                at java.security.AccessController.doPrivileged(Native Method)
                at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
                at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    <b>I also get the following warning</b>
    Warning   : Catching java.lang.NullPointerException
                at com.sap.aii.af.service.jms.WorkerJMSReceiver.start(WorkerJMSReceiver.java:584)
                at com.sap.aii.af.service.jms.WorkerHandlerImpl.run(WorkerHandlerImpl.java:335)
                at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                at java.security.AccessController.doPrivileged(Native Method)
                at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
                at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Can any one tell what could be the problem.
    Regards,
    Amith

    Try the following :
    1. Check if by any chance more than 1 Queue manager listeners have port number as 1414. Make sure all run on unique ports.
    2. Instead of IP addreess in the adapter config., try using hostname.
    3. Also check the website www.mqseries.net for this error

  • Simple JMS Configuration on OC4J Developers Preview

    What is the minumum required to configure the default OC4J JMS.
    I have a client deployed with the server that tries to get a Topic Connection Factory ....
    InitialContext ctx = new InitialContext();
    tConFactory = (TopicConnectionFactory)ctx.lookup("java:comp/env/jms/TopicConnectionFactory");
    tCon = tConFactory.createTopicConnection();
    tSession = tCon.createTopicSession(false,Session.AUTO_ACKNOWLEDGE);
    but the lookup fails with:
    javax.naming.NameNotFoundException: jms/TopicConnectionFactory not found in DriveStartup
    In jms.xml I have the following:
    <jms-server port="9127">
    <topic-connection-factory location="jms/TopicConnectionFactory" port="9127" password="2143768880" username="admin" />
         <!-- path to the log-file where JMS-events/errors are stored -->
         <log>
              <file path="../log/jms.log" />
         </log>
    </jms-server>
    What else do i have to do ?
    Cheers paul

    Hi Paul,
    I had similiar problems like the one you describe.
    I got the JMS example (CoffeeMaker) running, but had problems with my own application ( Object not bound).
    In my case, I got it running now when I only use the absolute necessary (oc4j.jar, junit.jar in my case) in my classpath
    (of course the application client xml's must contain your lookup names, but I did not !!! have to setup
    my queue in jms.xml (wonder why).
    You might try this (oc4j.jar references the required libs for jms,jndi,etc. internally)
    [Comment to "absolute necessary": of course I have a CLASSPATH which contains only the necessary libs.
    But since we are working on a framework which does not only want to connect to OC4J JMS (or EJB), I have
    a CLASSPATH containing other libs. I have to find the correct order, I guess.]
    But still my question to this forum: how is it possible that a queue is started "implicitly" (that means it is
    not configured in jms.xml). Is this desired or mandatory (Sun J2EE reference implementation does the same).
    Or am I missing something ?
    Regards,
    Armin

  • IDOC TO JMS CONFIGURATION

    Hello ,
               can any help me "HOW TO CONFIGURE THE IDOC TO JMS "
    plz send the screen shots for idoc to file
    thanking u

    in case of IDOCs involved you need to consider the following;
    Sent/Receive IDOC:
    you need to do the following:
    In XI
    SM59 - R3 connection pointing to R3
    IDX1 - define the port with the above dest.
    In R3
    SM59 - R3 connection pointing to XI
    WE21 - define the port with the above dest.
    WE20 - Partner profile type outbound/Inbound
    IDOC -> File
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    At the JMS end, ref:
    https://websmp205.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202
    There are many how to guides on JMS here.
    Go through Following Weblog’s its very helpful in implementing you IDOC to JMS scenario.
    /people/william.li/blog/2006/11/13/how-to-use-saps-webas-j2ees-jms-queue-in-exchange-infrastructure
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5059f110-0d01-0010-7c8b-fdc983be70c0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process

  • JMS Configuration

    Hi All,
    I have configured the scenario to communicate with external JMS system.I have created the party and business service for the external JMS system. I used this business service and its communication channel for the configuration. I have not defined anything in SLD related to JMS system. Is it the right approach?
    Thanks in Advance,
    Kartikeya

    Hi Kartikeya,
    What you have done is right....
    if required you can refer to the below blogs
    http://help.sap.com/saphelp_nw04/helpdata/en/f4/b028723570466c8182628dfe479a15/frameset.htm
    How to Correlate JMS                              
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5059f110-0d01-0010-7c8b-fdc983be70c0                              
    JMS Sender Adapter handling too short lines                              
    The specified item was not found.                              
    An approach to handle total record counts in IDOC to JMS scenarios                              
    An approach to handle total record counts in IDOC to JMS scenarios                              
    how to install and configure external drivers for JDBC and JMS adapters                                             
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f                                             
    Thanks,
    Madhu

  • Receiver JMS Configuration

    Hi Friends,
    I am configuring the receiver JMS adapter-
    1.In the JMS Settings section there is a option called "JMS ReplyTo Queue Name". I am not sure about the significance of it.
    2.Also let me know whether it is mandatory to fill?
    I have seen few blogs but nothing discussed on this point.
    Regards,
    Suresh.

    Suresh,
    Its not mandatory and its the queue where responses will be send. Please check the settings here:
    http://help.sap.com/saphelp_nw04/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/content.htm
    Its worth looking at this blog for some help on JMS:
    /people/william.li/blog/2006/11/13/how-to-use-saps-webas-j2ees-jms-queue-in-exchange-infrastructure
    Regards,
    ---Satish

  • JMS Configuration in weblogic 10.0

    Hi All.
    I am unable to cofigure jms in weblogic 10.0
    in first i have created JMS server
    after this i am unable configure the queue (i mean where to configure)
    there is one module is JMS Modules
    in this i have created queue
    but while executing i got connection factory lookup
    but i did not get the queue llookup why?
    pleasse help me as soon as possible
    thanks in advance
    krishna

    Hi,
    I think this would be helpful for you.
    http://edocs.bea.com/wls/docs81/ConsoleHelp/jms_config.html#1105204
    thanks,

  • JMS configure in  Two JVM - (Urgent)

    Hi,
    Application is running in resin server. For my requirement server should publish message and morethan one client(standalone application) should consume that message (non durable). How should i configure for topic connection.

    Sounds like you want basic JMS message consumer functionality.
    http://docs.oracle.com/javaee/1.4/tutorial/doc/JMS4.html#wp79145

  • Setting up re-delivery attempts in Foreign JMS Configuration !!!

    Hi All
    Could anyone please let know if it's possible to set number of re-delivery attempts for a JMS message in case of foreign JMS server configuration.
    I am using weblogic 8.1 SP6. If it is possible, the please let me know how to set it up.
    Thanks in advance.

    Redelivery limits in WebLogic are implemented within WebLogic JMS - not in the MDB container.
    If the foreign destination happens to be WebLogic JMS, then you can set a redelivery limit by configuring it on the MDB's source destination.
    If the foreign destination is not WebLogic JMS, then I can think of three options:
    -- Check with the foreign vendor to see if they have a redelivery limit feature.
    -- Consider changing the producer application to set expiration times on the messages (whether this is a useful approach for you depends on your application).
    -- Custom code your MDB application to take a different action once it detects a high redelivery count, or perhaps even code a separate application that only dequeues messages that have a high delivery count. Some JMS vendors (such as WebLogic JMS 9.0 and later), include a "JMSXDeliveryCount" property in each message that simplifies such coding.
    Hope this helps!
    Tom Barnes
    WebLogic JMS Developer Team

  • Running weblogic examples and Jms configuration

    I am new to JMS. I configured the JMS server using the weblogic console page and i created JMS server under Services. I am having only one server. I am starting the console using http://localhost:7001/
              Now i want to run the examples of weblogic (QueueSend.java and QueueReceive.java).
              What are the changes i have to do in the given java files and how to run the examples.
              Please give the steps to configure JMS server and run the example and what are the parameters i have to pass to these file?
              Thank you

    Hello,
              I am having problem with WL. I use version 8.1 with multiple server.
              The Admin server works fine, but when I try to start other servers, I am getting the following errors.
              Aug 23, 2005 2:48:16 PM EDT> <Error> <NodeManager@*.*:5555> <SocketInputHandler: Command read failed 'Read channel closed.' on socket /127.0.0.1>
              <Aug 23, 2005 2:48:16 PM EDT> <Error> <NodeManager@*.*:5555> <Failed to write to socket Read channel closed., to /127.0.0.1>
              <Aug 23, 2005 2:48:16 PM EDT> <Error> <NodeManager@*.*:5555> <Failed to write to socket Write Channel Closed, possible SSL handshaking or trust failure, to /127.0.0.1>
              <Aug 23, 2005 2:48:20 PM EDT> <Info> <NodeManager@*.*:5555> <Starting Server devDomain::buyerserver1 ...>
              <Aug 23, 2005 2:48:21 PM EDT> <Info> <NodeManager@*.*:5555> <Server devDomain::buyerserver1 started, process id = 4,068>
              <Aug 23, 2005 2:49:33 PM EDT> <Info> <NodeManager@*.*:5555> <__COMMAND_DONE__>
              Can someone please help?
              Thank you.

  • JMS configuration for clustring

              Hi,
              I have a JMS.ear, having jms.war, jms-ejb.jar.
              I need to deploy it for clustered environment.
              So how to set the targets? what changes needs to be made in the config.xml to incorporate
              this.
              I am using PUB/SUB type of JMS model.
              Any pointers ??
              - tia
              Regards
              Sam
              

    As for the configuration by the Production Admins, our infrastructure guys use weblogic templates (and god know whatever custom scripts). Therefore they use the same weblogic template in Dev, QA and Production. Configure once and deploy multiple times.
              Don't know the exact nature of you applications..who is sending the msg to the topic and who is receiving (your own application or another application). But we have a simple JMS queue on a cluster of 4 servers and MDBs deployed on all 4. Therefore the MDBs listen to the Queue on their own server. It's pretty HA and never had an issue for it. Our prod monitoring group watch the logs and if there is a problem on a specific server, they just restart it and it picks off where it left off.
              Later...
              - Wayne

  • JMS Configuration Help Needed for Publish Subscribe Messaging

    Hi,
    I am new to JMS and need help to configure JMS from the sun admin console. As of now i have configured the topic and the connection factory from the JMS Resources under the Resources tab(here too i just specified the topic name and guest and password and jndi and similarly the connection factory name but have not specified any port or anything else), but i guess something is missing as i can publish but cannot subscribe nor can i view the messages on the topic..I think some sort of configuration is also need on the Java Message Service header under the Configuration tab.I have searched for this on the net but have not been able to find any sort of detailed help.If someone could give a detailed picture as too how to go about this configuration with an example it would be of great help.
    Vaishali Shah

    Sai,
    Seen this:
    http://tinyurl.com/pbshe
    Good Luck,
    Avi.

Maybe you are looking for

  • Pavilion zd7000 starts in battery mode only; runs on AC only when connected to printer by USB port

    My Pavilion zd 7379ea will only start up in battery mode. AC adapter appears OK with a firm green LED, so external power supply may not be the issue here? When I'm starting up (with what's left on the battery), both the charging LED and the AC LED ar

  • Changed reconciliation account in vendor master - Report FAGLF101

    Hi When a Recon account is changed in the Vendor Master, a report has to be run to post the adjustment entries using T-Code FAGLF101. The query is that, the report posts the adjustment entries through an adjustment account but at the same time also r

  • Aperture RAW K-3

    Apple has just release DCR 5.04, which finally includes support for the Pentax K-3. HOWEVER, at least with PEF RAW files from that camera, Aperture reports "Unknown lens" for all lenses. I have noticed before it does the same for JPEGs from this came

  • Need more space in Oracle

    Morning Gurus, There is a new system that we want to install as pilot on our test server preoblem is we only have 800M of available space whereas we need atleast 3G. What can I delete in Oracle in order to get more space will it be the datafiles? ple

  • Need assistance with VPN with WRV200

    What I have is a at&t (used to be SBC) DSL modem configured in bridge mode connecting to my WRV200.  Everything seems to be working properly except when I try to VPN from home W2K workstation.  My WRV200 drops my network at my office.  I've been work