Netweaver JMS issues

I have a stand alone enterprise java application (not an EJB) that currently runs on several servers (one application per server).  This application allows us to do parellel processing for performance reasons.  Another important distinction is that we use a JMS Point-to-Point model with multiple consumers receiving messages off a single queue.  The application is basically a JMS asynchronous message consumer, meaning it implements the javax.jms.MessageListener interface so it has the onMessage method. 
Currently I have been using JBoss 4.0 as our JMS Provider.  I have had no issues for awhile now with multiple consumers receiving messages off a single queue.  Recently, I have been asked to move to use Netweaver's JMS provider.  I was successful in changing the configurations and sending and receiving messages using the Netweaver JMS provider.  However, it appears that I cannot get multiple consumers to receive messages off a single queue.  I can successfully launch off several of our applications on several servers all listening to the single queue and I can also put multiple messages into that single queue.  However, it appears that only one message consumer can receive a message off the single queue at one time (all the other message consumers seem to wait until the one message is done processing).
Again, I changed the configurations back to JBoss and everything worked fine (I also did it for OpenJMS and it worked as well).  My quess is that I either did not setup something correctly or I need to make some kind of administative or jms setting.  Any help would be greatly appreciated.
Just a side note.  If I poll for messages on the single queue instead of using the onMessage() method with multiple message consumers I am able to run parellel processes.

We are talking P2P with load balancing and scaling for throughput. Moving this to a pub/sub is a bad performance move as typically pub/sub is more time and resource intensive than P2P.
Just make sure that in your JNDI definition your queue has been marked as shareable. As the JMS spec goes it does not help if the provider side of the queue has the queue marked as not shared. As well if the app reading from the queue through the listener has it opened in exclusive mode all the others are waiting.
This means some investigation may be needed.
A) JNDI verify JMSDestination is defined as shareable
b) programming wise verify that putting the listener to the queue does not make the mode opened as exclusive.
Typically you would have implemented an MDB. You need to check the number of instances that you have defined for the MDB. As well you may define the same destination with multiple JNDI names and thus set different MDBs on the same queue (but same MDB class).
There is a world of solutions out there. Pick the one that works for you
Enjoy
Message was edited by: F.J. Brandelik
SAP's implementation of JMS persistence is through a Database. Make sure locking happens at the record level and not at the page level.

Similar Messages

  • Using XI with native netweaver JMS provider

    I have configured an XI interface to use the provided netweaver JMS service provider.
    The interface takes and IDoc and posts it to the JMS queue, however, when the target application goes to retrieve the message off of the queue, it is in the format of a binary message.
    My question is how do I control the format of the message? (I need to set the MessageType field in the JMS header to type TextMessage).
    Do I do this in the Integration Builder, communication channel page?
    I notice that this page has check boxs for "Set Additional JMS parameters or Replace Default Settings" and "Use Adapter-Specific message Attributes" is this where I would add the property?
    Any info would be appreciated!

    Hi,
    This Blog from Michal will help you in setting the Adapter specific Message attributes - this speaks about File based scenario but it will help you to get a hang of how to set the Adapter specific Message attributes
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    After reading the blog go through this :
    http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm
    and on this page:
    http://help.sap.com/saphelp_nw04/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/content.htm
    Hope this helps,
    Karthik

  • Accessing BW in netweaver 2004s issue

    Accessing BW in netweaver 2004s issue
    Hi
    I logged into Sap (sneak preview installed locally) via client 001 ( in order to work on BW) & user= SAP*
    When I try to create a new class with transaction se24
    I get the following message "No changes for user SAP* allowed"
    Can anyone help me on this issue ?
    How can extend right to that user in order not to be blocked.
    Thanks in adance
    Kadiga

    Hi Kadiga,
    You can post in the SAP NetWeaver2004s Ramp-Up forum of BI. Here is the link:
    /community [original link is broken]
    Bye
    Dinesh

  • SAP Netweaver Installation Issue on Windows 7

    Hi,
    I was trying to install Netweaver 7.3 (Java) in my windows 7 and when I was in step 30 of 33 (Java components deployment)
    I got the following error
    Error message is 'undefinednull:ram-PC:50004 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.10.0.10 and port: 50004. Check if the host and port specified are correct and AS Java is up and running.. SOLUTION: Check 'undefined' and '' for more information.).
    I have successfully created loopback adapter and able to ping the IP address of the adapter . But when SAP server is trying to connect to this adapter using port 50004 and Its getting the error message . I don't know how to assign the port number to this loop back adapter.
    I tried to use telnet but it failed . (telnet ram-PC 50004 )
    loopback adapter IP : 10.10.0.10
    Host name : ram-PC
    As I am new to SAP , Please let me know is there any file where I need to define host and port ? Do I need to update service.msc file from  windows\system32\drivers\etc\ ? If so, what would be the service name and port ?
    Steps taken to resolve this issue :
    updated windows host file with IP and host name (10.10.0.10 ram-PC)
    updated windows service file with host and port (ram-PC 50004) - This step might be wrong (Do I need to use hostname or service name ?)
    uninstalled Antivirus
    Turned off windows firewall
    Added loopback adapter IP address to Windows firewall inbound rules .
    None of the above steps resolved the error . Please help me on the above issue.any help would be appreciated .
    Thanks
    Ram

    Here is the detailed error message
    null:ram-PC:50004 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.10.0.10 and port: 50004. Check if the host and port specified are correct and AS Java is up and running.
         at com.sap.engine.services.dc.api.session.impl.SessionImpl.handleConnectionIssue(SessionImpl.java:381)
         at com.sap.engine.services.dc.api.session.impl.SessionImpl.parseNamingException(SessionImpl.java:337)
         at com.sap.engine.services.dc.api.session.impl.SessionImpl.getContext(SessionImpl.java:230)
         at com.sap.engine.services.dc.api.session.impl.SessionImpl.<init>(SessionImpl.java:150)
         at com.sap.engine.services.dc.api.session.impl.SessionFactoryImpl.newSession(SessionFactoryImpl.java:27)
         at com.sap.engine.services.dc.api.impl.ClientFactoryImpl.createClient(ClientFactoryImpl.java:117)
         at com.sap.engine.services.dc.api.cmd.AbstractCommand.execute(AbstractCommand.java:180)
         at com.sap.engine.services.dc.api.cmd.Runner.execute(Runner.java:37)
         at com.sap.engine.services.dc.api.cmd.Runner.main(Runner.java:61)
    Caused by: javax.naming.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: Cannot establish connection with any of the available instances:
    null:ram-PC:50004 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.10.0.10 and port: 50004]
         at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:381)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at com.sap.engine.services.dc.api.session.impl.SessionImpl.getContext(SessionImpl.java:215)
         ... 6 more
    Caused by: com.sap.engine.interfaces.cross.DestinationException: Cannot establish connection with any of the available instances:
    null:ram-PC:50004 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.10.0.10 and port: 50004
         at com.sap.engine.interfaces.cross.Destination.getNextAvailableBroker(Destination.java:64)
         at com.sap.engine.interfaces.cross.Destination.getRemoteBroker(Destination.java:39)
         at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:297)
         ... 11 more
    [ Error ]
    [ Error ] Cannot connect[ ConnectionException ].Reason: [ERROR CODE DPL.DCAPI.1144] Could not establish connection to AS Java on [ram-PC:50004]. Cannot establish connection with any of the available instances:
    null:ram-PC:50004 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.10.0.10 and port: 50004. Check if the host and port specified are correct and AS Java is up and running.
    ERROR[ BEGIN ]
    Cannot connect[ ConnectionException ].Reason: [ERROR CODE DPL.DCAPI.1144] Could not establish connection to AS Java on [ram-PC:50004]. Cannot establish connection with any of the available instances:
    null:ram-PC:50004 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.10.0.10 and port: 50004. Check if the host and port specified are correct and AS Java is up and running.
    ERROR[ END ]
    108
    Cannot connect[ ConnectionException ].Reason: [ERROR CODE DPL.DCAPI.1144] Could not establish connection to AS Java on [ram-PC:50004]. Cannot establish connection with any of the available instances:
    null:ram-PC:50004 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.10.0.10 and port: 50004. Check if the host and port specified are correct and AS Java is up and running.
    [ Info ] Destroy command:[getParams]
    ERROR      2012-02-29 13:27:56.797
               CJSlibModule::writeError_impl()
    CJS-30181  At least one prerequisite for deployment is not met. DIAGNOSIS: Execution of Deploy Controller Runner tool '"C:\Program Files\sapinst_instdir\NW73\INSTALL\SERVER\sapjvm\sapjvm_6\bin\java.exe" -classpath "C:/Program Files/sapinst_instdir/NW73/INSTALL/SERVER/install/lib;C:/usr/sap/RAM/SYS/global/security/lib/tools/iaik_jce.jar;C:/usr/sap/RAM/SYS/global/security/lib/tools/iaik_jsse.jar;C:/usr/sap/RAM/SYS/global/security/lib/tools/iaik_smime.jar;C:/usr/sap/RAM/SYS/global/security/lib/tools/iaik_ssl.jar;C:/usr/sap/RAM/SYS/global/security/lib/tools/w3c_http.jar;C:/usr/sap/RAM/J00/j2ee/j2eeclient/sap.comtcexceptionimpl.jar;C:/usr/sap/RAM/J00/j2ee/j2eeclient/sap.comtcjeclientlibimpl.jar;C:/usr/sap/RAM/J00/j2ee/j2eeclient/sap.comtcloggingjavaimpl.jar;C:/Program Files/sapinst_instdir/NW73/INSTALL/SERVER/install/lib/tcje~cl_deploy.jar" -Xmx256m -Ddc.api.verbose=false com.sap.engine.services.dc.api.cmd.Runner getParams -o "C:/Program Files/sapinst_instdir/NW73/INSTALL/SERVER/DCRetrievedVars.props" --host ram-PC --port 50004' aborts with return code 108. Error message is <b>'undefinednull:ram-PC:50004 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.10.0.10 and port: 50004. Check if the host and port specified are correct and AS Java is up and running..</b> SOLUTION: Check 'undefined' and '' for more information.
    ERROR      2012-02-29 13:27:56.844 [sixxcstepexecute.cpp:937]
    FCO-00011  The step deploySoftwareComponents with step key |NW_Java_OneHost|ind|ind|ind|ind|0|0|SAP_Software_Features_Enablement|ind|ind|ind|ind|usage_enable|0|NW_DeployOptionalSoftware|ind|ind|ind|ind|deploy|0|deploySoftwareComponents was executed with status ERROR ( Last error reported by the step: At least one prerequisite for deployment is not met. DIAGNOSIS: Execution of Deploy Controller Runner tool '"C:\Program Files\sapinst_instdir\NW73\INSTALL\SERVER\sapjvm\sapjvm_6\bin\java.exe" -classpath "C:/Program Files/sapinst_instdir/NW73/INSTALL/SERVER/install/lib;C:/usr/sap/RAM/SYS/global/security/lib/tools/iaik_jce.jar;C:/usr/sap/RAM/SYS/global/security/lib/tools/iaik_jsse.jar;C:/usr/sap/RAM/SYS/global/security/lib/tools/iaik_smime.jar;C:/usr/sap/RAM/SYS/global/security/lib/tools/iaik_ssl.jar;C:/usr/sap/RAM/SYS/global/security/lib/tools/w3c_http.jar;C:/usr/sap/RAM/J00/j2ee/j2eeclient/sap.comtcexceptionimpl.jar;C:/usr/sap/RAM/J00/j2ee/j2eeclient/sap.comtcjeclientlibimpl.jar;C:/usr/sap/RAM/J00/j2ee/j2eeclient/sap.comtcloggingjavaimpl.jar;C:/Program Files/sapinst_instdir/NW73/INSTALL/SERVER/install/lib/tcje~cl_deploy.jar" -Xmx256m -Ddc.api.verbose=false com.sap.engine.services.dc.api.cmd.Runner getParams -o "C:/Program Files/sapinst_instdir/NW73/INSTALL/SERVER/DCRetrievedVars.props" --host ram-PC --port 50004' aborts with return code 108. Error message is <b>'undefinednull:ram-PC:50004 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.10.0.10 and port: 50004. Check if the host and port specified are correct and AS Java is up and running..</b> SOLUTION: Check 'undefined' and '' for more information.).
    INFO       2012-02-29 13:27:57.702 [synxcpath.cpp:814]
               CSyPath::createFile() lib=syslib module=syslib
    Creating file C:\Program Files\sapinst_instdir\NW73\INSTALL\SERVER\__instana_tmp.xml.
    Edited by: ramkumarsm on Feb 29, 2012 7:37 PM

  • JMS issues when migration from weblogic 9.2 to 10.3.5

    We are facing some issues when migration from weblogic 9.2 to 10.3.5
    In  weblogic 9.2 :_
    BMP Entity EJBs used in our project are read-only in nature using entity cache, below is the configuration details
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>
    Company
    </ejb-name>
    <entity-descriptor>
    <pool>
    <max-beans-in-free-pool>300</max-beans-in-free-pool>
    <initial-beans-in-free-pool>150</initial-beans-in-free-pool>
    </pool>
    <entity-cache>
    <max-beans-in-cache>3500</max-beans-in-cache>
    <idle-timeout-seconds>100000</idle-timeout-seconds>
    <read-timeout-seconds>0</read-timeout-seconds>
    <concurrency-strategy>ReadOnly</concurrency-strategy>
    </entity-cache>
    Entity beans will get refreshed using the JMS messges. with in the MDB descriptor files(weblogic-ejb-jar.xml) we are using the provider URL directly and XA enabled connection factory is set to false.
    migration to Weblogic 10.3.5_
    With the same configurations MDB are not not getting deployed in weblogic 10 with some exception, so we removed the provider URL from weblogic-ejb-jar.xml and changed the JMS configuration to use foreign JMS and XA enable connection factory is set to true. Now when ever the JMS message is triggered Entity bean is not getting refreshed with the updated values. i.e values are stale.
    Can some one look into this and provide your inputs to resolve this issue.

    I think the Entity bean refresh problem appears to be unrelated to MDBs. The MDB is only responsible for getting the message to your application (which in turn interacts with Entity beans). You might want to try posting your question to an EJB newsgroup.
    Tom

  • Soap over JMS issue

    Hi,
    I have following issue..
    Following is the architecture:-
    System1----->MQ--->OSB----->System2
    Now SYSTEM1 is a java client, and OSB have a SOAP proxy service...
    Now i m not able to figure out how to make this senario work???
    How can a Java Client post a Soap Msg on MQ???

    Hey thanks for the Reply..but i think i ur not getting my problem...
    I have OSB proxy say "CardProxy" and i had a java client that invoke tht Proxy...and it works...
    The Problem is :-
    now There is a MQ(or it can be JMS) between Java client and OSB proxy.
    What i am thinking is If i post a complete soap Envelope on Queue..i will have a "JMS proxy" that will read it from Queue and give it to "CardProxy"...
    The main Issue is How do i form this "soap envelope"...I m trying using axis but not able to do it.
    ???Hope u get my Issue...
    Regards,
    Rohan

  • JMS Issues!

    h1. {color:#000000}Hi Guys, {color}
    We are having issues when using multiple JMS queues and Message DrivenBeans. Its Glassfish application server, version 2. The way it currently works is we create some objects add add them to the first JMS queue. The queue destination is a message driven bean when receives the message acknoladges it and then creates several new objects and adds them to another queue when is received by another message driven bean. This means that objects recevied on the first quest generally create 10 - 20 new objects (the first object is normally a URI to a web resource of some kind). The receiver then will create 10 -20 new objects that are downloaded from a server. Each of these objects are then added to a separate queue.
    All the functionality of sending messages is all contained in the code below:
    private QueueConnectionFactory pconnectionFactory = null;
    private Queue pqueue = null;
    private QueueConnection queueConnection = null;
    private QueueSession queueSession = null;
    private QueueSender queueSender = null;
    private Queue replyTo = null;
    private boolean isQueueOpen = false;
        *  Sends a JMS object message, if exception occurs, a new connection is started.
         public void sendJMSMessage(Serializable object)     {
              log.trace("JMSProvider:Sending JMS object message");
              try
                   trySendJMSMessage(object);
              } catch(JMSException jmsException) {
                   log.trace("JMSException caught when sending message... attempting to reopen connection");
                   log.trace(jmsException);
                   closeJms();
                   openOnce();
                   sendJMSMessage(object);
         private void trySendJMSMessage(Serializable object) throws JMSException {
              ObjectMessage objMsg = queueSession.createObjectMessage(object);
              objMsg.setJMSExpiration(0);
             if (replyTo != null)
                  objMsg.setJMSReplyTo(replyTo);     
             queueSender.send(objMsg);
         private void openJms() throws JMSException {
              isQueueOpen = true;
              log.trace("JMSProvider: Opening JMS connection");
             queueConnection = pconnectionFactory.createQueueConnection();
            queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
            queueSender = queueSession.createSender(pqueue);
            replyTo = null;
         private void closeJms() {
             isQueueOpen = false;
              log.trace("JMSProvider: Closing JMS connection");
            if (queueConnection != null) {
                try {
                    queueConnection.close();
                } catch (JMSException e) {
                     log.trace("JmsProvider: JMSExcetion caught when closeing JMS Connection");
                queueConnection = null;
         }Iv not used jms before. The first problem that I notice is if I try to send an object message and then imediatly close the connection, when the server is handling large loads of data. I receive messages in the log stating that the connection pool on the server has reached its limit. The JMS connections are P2P and not topic based. There is a single producer and a single consumer, however its on a cluseterd server, meaning multiple threads. Knowning this, we trying not to close queue connections when sending messages and try and use the same queue to send all message to the desired destination using one queue. The problem is that a no point to we know howmany objects we are going to be processing so we do not know at what point to close the connections.
    As we cannot close the connections, it is left up to the garbage collected to destroy the connections, this also produces warnings in the log file stating that a connection has been destoyed on an active connection.
    The last problem that I we have is that occassionaly I receive an XAException. The exception is listed below in the next post:
    [#|2009-12-23T14:39:53.762+0100|SEVERE|sun-appserver2.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=58;_ThreadName=p: thread-pool-1; w: 50;_RequestID=d953eff9-afe6-4f65-bf08-7ae8328c421a;|endTransaction (XA) on JMSService:jmsdirect failed for connectionId:1621055879205632000 and flags=67108864 due to unkown JMSService server error.|#]
    [#|2009-12-23T14:39:53.762+0100|WARNING|sun-appserver2.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=58;_ThreadName=p: thread-pool-1; w: 50;_RequestID=d953eff9-afe6-4f65-bf08-7ae8328c421a;|MQJMSRA_MC2001: destroy:Previously destroyed-mcId=221|#]
    [#|2009-12-23T14:39:53.762+0100|SEVERE|sun-appserver2.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=58;_ThreadName=p: thread-pool-1; w: 50;_RequestID=d953eff9-afe6-4f65-bf08-7ae8328c421a;|rollbackTransaction (XA) on JMSService:jmsdirect failed for connectionId:1621055879205632000:transactionId=1621055879249863681 due to unkown JMSService server error.|#]
    [#|2009-12-23T14:39:53.762+0100|SEVERE|sun-appserver2.1|javax.enterprise.system.core.transaction|_ThreadID=58;_ThreadName=p: thread-pool-1; w: 50;org.omg.CORBA.INTERNAL:   vmcid: 0x0  minor code: 0 completed: Maybe;rollback;_RequestID=d953eff9-afe6-4f65-bf08-7ae8328c421a;|JTS5031: Exception [org.omg.CORBA.INTERNAL:   vmcid: 0x0  minor code: 0 completed: Maybe] on Resource [rollback] operation.|#]
    [#|2009-12-23T14:39:53.762+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=66;_ThreadName=p: thread-pool-1; w: 82;|- getQueuedUpdateById() called, 1 updates in queue
    [#|2009-12-23T14:39:53.762+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=66;_ThreadName=p: thread-pool-1; w: 82;|- All resources handled of Update 1261575585540 - 5 sources
    |#]
    [#|2009-12-23T14:39:53.762+0100|SEVERE|sun-appserver2.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=83;_ThreadName=p: thread-pool-1; w: 65;_RequestID=43da22b0-7829-4dff-9483-95d536d7f38a;|startTransaction (XA) on JMSService:jmsdirect failed for connectionId:1621055879205636098 due to unkown JMSService server error.|#]
    [#|2009-12-23T14:39:53.762+0100|WARNING|sun-appserver2.1|javax.enterprise.system.core.transaction|_ThreadID=83;_ThreadName=p: thread-pool-1; w: 65;_RequestID=43da22b0-7829-4dff-9483-95d536d7f38a;|JTS5041: The resource manager is doing work outside a global transaction
    javax.transaction.xa.XAException
         at com.sun.messaging.jms.ra.DirectXAResource.start(DirectXAResource.java:680)
         at com.sun.jts.jta.TransactionState.startAssociation(TransactionState.java:305)
         at com.sun.jts.jta.TransactionImpl.enlistResource(TransactionImpl.java:205)
         at com.sun.enterprise.distributedtx.J2EETransaction.enlistRes
    .messaging.jms.ra.OnMessageRunner.run(OnMessageRunner.java:245)
         at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:76)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
    Caused by: com.sun.messaging.jmq.jmsservice.JMSServiceException: startTransaction: connection ID not found: 1621055879205636098
         at com.sun.messaging.jmq.jmsserver.service.imq.IMQDirectService.checkConnectionId(IMQDirectService.java:2464)
         at com.sun.messaging.jmq.jmsserver.service.imq.IMQDirectService.startTransaction(IMQDirectService.java:1514)
         at com.sun.messaging.jms.ra.DirectXAResource.start(DirectXAResource.java:646)
    I would be eternally greatfull for any ideas?
    Thanks Dan

    This isn't much information to go on. Some thoughts:
    Is your consumer app throwing exceptions or otherwise somehow failing to acknowledge/commit its received messages?
    Are there any messages in the server logs?
    Have you tried looking at your thread dumps?
    I recommend starting your investigation by examining the message count statistics for each destination and each subscriber.
    Also, in case you haven't done so already, I highly recommend configuring a quota on each JMS server.
    Tom

  • Urgent JMS issue with SSL-enabled cluster

    Hello, dear All!
    We have deployed a SAP WebAS SP13 SSL-enabled cluster (2 servers) and face the following strange behaviour:
    When both servers are running our queue-based message driven beans (MDB EJBs) never get any messages.
    However, JMS topic subscriber threads (not implemented as MDBs) work fine on both servers and receive JMS broadcasts. As well web-initiated JMS queue browsing works fine.
    Then if only one (central) server is up, queue-based MDBs work fine and start receiving messages...
    If you know or guess what might be an issue it would be greatly appreciated!
    Thank you and best regards,
    -Yuri

    Hi!
    Yes, I solved this problem. You have to set your certificate to the LDAP server and get SSL enabled. You should also add same certificate to your jdk's cacerts file. That should help. :)
    Janne

  • JavaWord article comparing J2EE vendor's clustering ( When will the JMS issue be addressed? )

    A must read.
              http://www.javaworld.com/javaworld/jw-02-2001/jw-0223-extremescale.html
              Quote:
              "Overall BEA WebLogic Server 6.0 has the most robust and well
              thought-out clustering implementation. HP Bluestone Total-e-Server
              2.7.1, Sybase Enterprise Application Server 3.6, and SilverStream
              Application Server 3.7 would be the next choices, in that order."
              The article however did highlight some weaknesses in WebLogic Server
              6.0, namely JMS Topics and Queues. Read for more info.
              However, if you compare the "single point of failure" of all the vendors
              mentioned, only WebLogic has a single point of failure, those being with
              JMS and administration.
              Will the issue regarding JMS be addressed? and when?
              John
              

    A lot of the JMS limitations were brought up during 6.0 beta. Supposedly
              there are plans to address these particular concerns in an upcoming version
              (not 6.0).
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com
              +1.617.623.5782
              WebLogic Consulting Available
              "Jesus M. Salvo Jr." <[email protected]> wrote in message
              news:[email protected]..
              > A must read.
              >
              > http://www.javaworld.com/javaworld/jw-02-2001/jw-0223-extremescale.html
              >
              > Quote:
              >
              > "Overall BEA WebLogic Server 6.0 has the most robust and well
              > thought-out clustering implementation. HP Bluestone Total-e-Server
              > 2.7.1, Sybase Enterprise Application Server 3.6, and SilverStream
              > Application Server 3.7 would be the next choices, in that order."
              >
              > The article however did highlight some weaknesses in WebLogic Server
              > 6.0, namely JMS Topics and Queues. Read for more info.
              >
              > However, if you compare the "single point of failure" of all the vendors
              > mentioned, only WebLogic has a single point of failure, those being with
              > JMS and administration.
              >
              > Will the issue regarding JMS be addressed? and when?
              >
              >
              > John
              >
              

  • JMS Issue

    Hi,
    I recently set up the JMS in weblogic 9.2(Clustered environment(2 Servers)). I Configured the JMS Server in Server1 and created the JMS queues targetted to both servers.
    1. Server2 is using the JMS Sever which is configured in server1 by using the jndi look up to publish the OBA queue.
    2. Once the server is started, Using Server2 I am able to publish the messages.
    3. Over the period may be after 2 days from the server start, I am getting the below error
    "[JMSClientExceptions:055079]Must provide destination to send to error. "
    I am not sure what is happening and how the jndi name was not resolved which initially worked .
    javax.naming.NameNotFoundException: Unable to resolve 'jms.prodJMS
    Please help me to resolve this issue, Thanks in advance

    The answer is likely simply that the messages are accumulating in durable subscriptions that your MDBs have created, or that you are using a distributed topic. Messages are cached in their durable subscriptions until the associated MDB restarts and consumes them.
    If you are using a non-distributed topic, and don't want messages to accumulate for inactive subscribers, then don't use durable subscriptions.
    If you are using a distributed topic, messages will accumulate on the members that are active even if there are no durable subscriptions, as these messages are waiting to be forwarded to the inactive members as soon as the inactive members are restarted. If you don't want such messages to accumulate, then consider setting expiration times for the messages. Expiration times can be set programmatically by the publisher via the standard JMS API, or can be set via configuration on the destination.
    Tom

  • JMS Issues over NAT IP in weblogc 10.3

    Dear Tom B,
    We have an issue in connecting to the JMS TOPIC's over NAT IP. Pls note the application has Applets/Swing and hence use Thin Client jars for communicating it with weblogic server. We are getting the following exception when we try to look up using the Natted IP.
    Exception at MessagingServiceFactory :::weblogic.jms.common.JMSException: [JMSClientExceptions:055054]Error finding dispatcher: weblogic.messaging.dispatcher.DispatcherException: Could not register a DisconnectListener for [IOR:0000000000000042524d493a7765626c6f6769632e6d6573736167696e672e646973706174636865722e44697370617463686572496d706c3a30303030303030303030303030303030000000000000010000000000000208000102000000000d3137322e31362e31372e313000001f6a000000f800424541080103000000000b74726561737572792d3100000000000000000042524d493a7765626c6f6769632e6d6573736167696e672e646973706174636865722e44697370617463686572496d706c3a303030303030303030303030303030300000000000000432363800000000024245412a0000001000000000000000007667e38aea8d58524245410b00000068000000000000006000005d7765626c6f6769632e6d6573736167696e672e646973706174636865722e4469737061746368657252656d6f74653a7765626c6f6769632e6d6573736167696e672e646973706174636865722e446973706174636865724f6e6557617900000005000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000003b0000000000000033687474703a2f2f3137322e31362e31372e31303a383034322f6265615f776c735f696e7465726e616c2f636c61737365732f00000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c540000000000000000000000000000000000] for treasury-1
    weblogic.jms.common.JMSException: [JMSClientExceptions:055054]Error finding dispatcher: weblogic.messaging.dispatcher.DispatcherException: Could not register a DisconnectListener for [IOR:0000000000000042524d493a7765626c6f6769632e6d6573736167696e672e646973706174636865722e44697370617463686572496d706c3a30303030303030303030303030303030000000000000010000000000000208000102000000000d3137322e31362e31372e313000001f6a000000f800424541080103000000000b74726561737572792d3100000000000000000042524d493a7765626c6f6769632e6d6573736167696e672e646973706174636865722e44697370617463686572496d706c3a303030303030303030303030303030300000000000000432363800000000024245412a0000001000000000000000007667e38aea8d58524245410b00000068000000000000006000005d7765626c6f6769632e6d6573736167696e672e646973706174636865722e4469737061746368657252656d6f74653a7765626c6f6769632e6d6573736167696e672e646973706174636865722e446973706174636865724f6e6557617900000005000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000003b0000000000000033687474703a2f2f3137322e31362e31372e31303a383034322f6265615f776c735f696e7465726e616c2f636c61737365732f00000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c540000000000000000000000000000000000] for treasury-1
      at weblogic.jms.client.JMSConnectionFactory.setupJMSConnection(JMSConnectionFactory.java:266)
      at weblogic.jms.client.JMSConnectionFactory.createConnectionInternal(JMSConnectionFactory.java:285)
      at weblogic.jms.client.JMSConnectionFactory.createTopicConnection(JMSConnectionFactory.java:184)
    I read your other thread Weblogic JMS port usage! where you have said a special -D property might be required, but I could not get the exact property for us to try it out.
    Request your advise.
    Regards
    Suresh.

    Hi ,
    Would you be able to explain what are you trying to do , what is failing along with tha stack trace please?
    Presumably, you have got JMS modules -> JMS Topic created and all assigned/targetted to the Managed server instances?  Are you having trouble connecting/subscribing to that topic from your client code? if so, where does your client code execute from .. I mean is that on the same host as weblogic server ?
    from the host that has your client code - try ping / nslookup /tracert to weblogic host and see if thats resolved in the first place.
    HTH
    Sri

  • NETWEAVER PORTAL ISSUE

    Dear All,
    We have installed the new EHP4 with bi very recently.I have created a query and tried to execute it but the portal is showing an error.
    Are there any pre-requistes to be done before launching a portal first time?
    Can any one provide the details please.
    Regards,
    Santhosh.

    Hello All,
    This is the error i am getting while trying to execute a query in the portal
    To avoid this exception see the steps below. To help SAP better investigate this issue, you will need to provide the diagnostic information from these steps.
    1. Most likely, the issue you are experiencing has already been corrected. Please make sure that the most recent patch level is deployed on your system according to notes 1033246 and 1011241. Starting with SAP NetWeaver 7.0 Support Package Stack 16 patch level 30, BI Java is delivered according to the synchronized delivery process described in the note 1164789.
    2. Please ensure that NetWeaver Business Intelligence Diagnostics & Support Desktop Tool  does not report any issues on your server according to note 937697. You can start it by clicking here (administrator permissions are required).
    3. When opening any customer message on this issue, please attach:
    Support Desktop Tool support info ZIP  file according to note 937697,
    Required information for reproduction  according to note 948490.
    Have any one faced the problem like this before?what is the solution?
    Regards,
    Santhosh

  • SOA OSB and JMS issues

    Hi guys,
    We are trying to achieve synchronous communication using JMS. The client in Weblogic Domain 1 creates a JMS Message , and sets the JMSReplyTo attribute as queue ‘Reply’ where it waits on for a reply. It waits for a message having correlation id = to the messageid of the message it sent on the ‘reply’ queue. An OSB proxy service picks the message and puts it on a queue on Weblogic Domain 2. A MDB listening to this queue on domain 2, picks the message and creates a reply message with the correlation id of reply as message id of incoming message. At this point when we inspect the JMSReplyTo header value of the request message, it appears as null. Is the JMSReplyTo attribute not retained across Weblogic domains? Or is the proxy service not copying it over.
    Our basic aim is to get the request message from a queue on one domain to another domain, and get the reply back on the right queue that the client is pinning on.
    Is using OSB not the right approach or we are not configuring it right? Will using Weblogic SAF capability help us?

    You have to configure a transport header action with "pass all headers through pipeline" option to make this work.
    Configuring Transport Headers in Message Flows
    The transport header action is a communication type action, and it is available in pipeline stages and error handler stages.
    Configuring Global Pass Through and Header-Specific Copy Options for Transport Headers
    The following options are available when you configure a transport headers action:
    > * The Pass all Headers through Pipeline option specifies that at run time, the transport headers action passes all headers through from the inbound message to >the outbound message or vice versa. Every header in the source set of headers is copied to the target header set, overwriting any existing values in the target >header set.

  • Undeployment hangs. JMS issue??

    Hi All,
    I'm facing an issue that undeployment through WLST hangs. The application module is removed from the console, But still it is not coming out of WLST. I could see that the thread is waiting on the task to complete, but it never comes out. Below is the thread message.
    "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" TIMED_WAITING
    java.lang.Thread.sleep(Native Method)
    weblogic.management.provider.internal.ActivateTaskImpl.waitForCompletion(ActivateTaskImpl.java:437)
    weblogic.management.provider.internal.ActivateTaskImpl.waitForTaskCompletion(ActivateTaskImpl.java:377)
    weblogic.management.provider.internal.EditAccessImpl.activateChangesAndWaitForCompletion(EditAccessImpl.java:878)
    weblogic.management.mbeanservers.edit.internal.ConfigurationManagerMBeanImpl.activate(ConfigurationManagerMBeanImpl.java:332)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:437)
    com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
    com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
    weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
    weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
    weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:268)
    weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
    weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
    weblogic.management.mbeanservers.edit.internal.RecordingInterceptor.invoke(RecordingInterceptor.java:199)
    weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
    weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
    weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65)
    weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
    weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
    weblogic.management.mbeanservers.edit.internal.EditLockInterceptor.invoke(EditLockInterceptor.java:112)
    weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
    weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
    weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:443)
    weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:314)
    weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663)
    weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661)
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654)
    javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
    javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
    javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
    javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
    javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
    javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
    weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    "weblogic.time.TimeEventGenerator" waiting for lock weblogic.time.common.internal.TimeTable@1c4816f6 TIMED_WAITING
    java.lang.Object.wait(Native Method)
    weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:286)
    weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:117)
    java.lang.Thread.run(Thread.java:619)
    "weblogic.timers.TimerThread" waiting for lock weblogic.timers.internal.TimerThread@1c544f84 TIMED_WAITING
    java.lang.Object.wait(Native Method)
    weblogic.timers.internal.TimerThread$Thread.run(TimerThread.java:267)
    Can anyone Help on this?

    I'm sorry I'm resurrecting an ancient thread, but I think I've got the same issue.
    Using WL 10.3.6 on JDK_1.7.0_40.
    Any deployment operation on my webapp (be it "undeploy", "deploy") does the job, but then hangs and never exists (regardless whether it's invoked via weblogic.Deployer, or WLST console).

  • Foreign JMS Issue

    I have two Weblogic 8.1 domains configured. One has a local JMS server with some Queues that are receiving messages and the other one has an MDB deployed that is supposed to pull messages from one of the queues. Im trying to use a foreign JMS Server. I set it up (I dont know how to test if the configuration is correct) But when I try to deploy my MDB it tells me that it couldn't find the destination. Has anybody encountered this problem before? Help will be appreciated.
              Thanks,
              Jonatan

    I've already made sure that the two domains trust each other. If I look at the JNDI tree it seems that the Foreign Destination and Factory are correctly added. It just keeps complaining about Not finding the connection. Anyone seen this before?

Maybe you are looking for

  • How do you delete duplicate photos in the photo section of your iPad?

    How do you delete duplicate photos in the photo section of your iPad?  My iPad has duplicated n tripled my photos n want let me delete them.  I can delete photos from any other section but not in photos, this is taken up all my memory. Help!!

  • 3 libraries/devices, one apple id, sync help?

    My iPod touch was connected to an itunes library on a desktop computer which crashed several years ago, my iPhone's library was synced with my dell laptop's itunes which also crashed, but when I replaced the hard drive I my new iTunes was just some o

  • Default case not working in a switch statement

    I get a run-time error when i input other flavor than the three listed in the code. Any comments and suggestions are welcomed. import java.util.Scanner; public class EnumSwitchDemo      enum Flavor {VANILLA, CHOCOLATE, STRAWBERRY};      public static

  • Using Google Play Developer License RSA code with Air for Android App?

    What is the procedure for using Google Play Developer's provided license code (Base64-encoded RSA public key to include in your binary) for an Air for Android app in Flash? I see the need to load a p12 file and have gone through the process of creati

  • PS 7.0 won't open

    I just loaded Photoshop 7.0 on my MacBook Pro from a disc, put in serial no., and it said it successfully loaded.   When I try to open it, it says, "An unexpected and unrecoverable problem has occurred because of a program error.  Photoshop will now