Connecting j2ee JMS to Tibco

I am trying to get my first JMS project working using the Sun reference version of j2ee connection to Tibco EMS. I figured out how to get two Windows machines running j2ee to talk to each other, but talking to Tibco on a UNIX box isn't working. I'm new to j2ee and JMS, so I really don't know where to go from here. I realize I haven't given much information here, but I don't know what is needed to diagnose this. Can anyone give me guidance on what I should do next?
Thanks very much.

Hi Eric,
Check this:
http://help.sap.com/saphelp_nw04/helpdata/en/35/42e13d82fcfb34e10000000a114084/frameset.htm
Best regards, Maksim Rashhcynski.

Similar Messages

  • Initiate fails in BPEL Console for BPEL process connecting to JMS Adapter

    We have a BPEL process picking up data from JMS Queue of TIBCO EMS server. When we try to run this process from BPEL Console Initiate tab, we get following error dump :
    Oracle BPEL Process Manager Full Cycle
    An unexpected error has occurred while executing your request. This is most likely related to a defect in the Oracle BPEL Process Manager product. We apologize you can post the error to the OTN forum and we will get back to you as soon as possible.
    Attachments:
    Build Information:
    Oracle BPEL Server version 10.1.3.1.0
    Build: 0
    Build time: Mon May 15 06:39:46 PDT 2006
    Build type: release
    Source tag: PCBPEL_SOABETA_GENERIC_060515.0600
    Exception Message:
    [javax.servlet.ServletException]
    The system encounters errors while running as the authenticated identity.
    Exception Trace:
    javax.servlet.ServletException: The system encounters errors while running as the authenticated identity.
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:416)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:622)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:161)
         at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:50)
         at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:98)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:103)
         at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:395)
         at displayProcess.jspService(_displayProcess.java:857)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:590)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:514)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:392)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:406)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:622)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:260)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:194)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:199)
         at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:131)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:392)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:406)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:869)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:449)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:233)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:847)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Also the BPEL process containing JMS adapter is not able to pick up data from JMS queue.
    The same adapter was used in ESB service as well, which is working fine. There are no issues in ESB JMS Adapter connecting to JMS Queue of TIBCO EMS server.
    Your help is appriciated.

    Try the BPEL / SOA forum, you'll get more help there.
    -steve-

  • Connect J2ee UME to WAS ABAP and WAS ABAP to LDAP and Role sharing

    Hi,
    We have a requirement of using the same roles in ABAP and Portal, and also that Both can authenticate to LDAP server.
    the first Question is, can we use the roles in R/3 connecting the Portal UME to the WAS ABAP for authentication?
    the second Question is, if we connect J2EE UME to the WAS ABAP and the WAS ABAP to the LDAP then the Portal will be geting the user authentication from LDAP as well?
    Thanx in Advanced!!
    Gerardo J
    Message was edited by: Gerardo Jiménez

    Gerardo,
    Kindly check blog
    Portal UME data store and various options (Opinions needed!)
    There are also presentations on that topic on sdn.
    James

  • Dispatcher Running; Server Not connected - J2ee Pos installation problems

    Hi,
    Got problem with starting J2EE Engine.
    The message in the browser:
    Dispatcher Running; Server Not connected - J2ee Pos installation problems
    Chked up in the log files:
    RFCEngine Server startup stopped.
    com.sap.mw.jco.JCo$Exception(129)-JCO_Error_Server_startup
    version of rfc driver is invalid.
    Any help
    Thnx
    Meesum

    Hi Rohin,
    Is it true that jdk must be > 1.4.
    Because I came across many places where it is explicitly stated that WAS 620 supports only jdk 1.3. pls let me know
    Thnx anyway
    meesum

  • How does BPEL connect to JMS??

    Hi All,
    I have a BPEL process which basically logs a message into a JMS Q..This process runs forever and when ever a new message is to be logged we return the same instance instead of a new instace..
    Now a couple of questions I have on this is -
    How does the connection to JMS work,is it like there is 1 conncetion for the entire BPEL process which is used every time I wanna add a new message,or is it like a new connection is created and destroyed with every invioke to the JMS..
    I need to make sure a instance of this process already exist so that I can return the same,is there any way my parent process can chek if there is an instance of the child process and if yes it will call that instance ,if No then it will create a new instance..
    Is there any way I can initiate a BPEL process through ant?
    It would be grt if any 1 can throw some light on these.. thnx..
    Regards,
    Akshatha

    Each JMS queue/topic has a single persistent image. Any reference to that queue through the relevant connection factory returns the reference to the same instance.
    There may be many different queues, but each is uniquely identified by its jndi name.
    Name each of your JMS queues differently for each separate endpoint you wish to consume messages from.
    You could use ant to initiate a process by invoking the web-service sending a soap message to the url for the processes web-service. I use soap-ui or the BPEL Console to manually do the initiation, and to determine what makes up the soap packet that is forwarded to the web service. I am not aware of any task that does this for you so you would have to construct a http type target yourself.

  • Unable to Connect to JMS Queue in Websphere from WLS 10.3,3

    Hi Everyone,
    I'm trying to connect to JMS Queue in WebSphere 7.1 from WLS 10.3.3, I'm trying to using Foreign server connection to connect to the Websphere JMS Queue. Its normal Queue not MQ Queue. I have configured the Foreign server but i know for the fact that some weblogic jar files are need on the WLS home. Does anyone let me know what is needed so that i can place them on the WLS home and restart the server.
    Also i would like to consume and produce messages to the websphere queue.
    Thanks for the help..
    Regards
    Sabir

    Hi Everyone
    Has anyone tried connecting to the websphere jms queue from WLS 10.3.3
    Let me know if that can be done
    regards
    Sabir

  • JMS Connection Factory jms/QueueConnectionFactory could not be found

    Hi,
    Previously, i tried to extend weblogic domain "oim_domain" that only configured for OIM, and integrate the OIM with OAM 11g.
    The integration was failed, because all users cannot login to OAM login page (using Active Directory authentication), so i rolled back all configuration by copying MW_HOME i've backed-up before extend the weblogic domain.
    When i start the OIM after rolled back, i've found an error message as follow :
    <May 16, 2013 11:38:15 AM WIT> <Error> <oracle.iam.platform.async> <IAM-0050009> <Async Service initialization failed because JMS Connection Factory jms/Queu
    eConnectionFactory could not be found. Please check that a JMS Connection Factory with JNDI Name jms/QueueConnectionFactory is present in the Application Ser
    ver.>
    <May 16, 2013 11:38:15 AM WIT> <Error> <oracle.iam.platform.async> <IAM-0050010> <Error Trace Follows
    javax.naming.NamingException: String index out of range: -1
    at weblogic.jndi.Environment.getContext(Environment.java:308)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    and this error message :
    <May 16, 2013 11:38:15 AM WIT> <Warning> <oracle.iam.platform.utils> <IAM-0070016> <An error occurred while initializing service : oracle.iam.platform.async.
    AsyncService>
    <May 16, 2013 11:38:15 AM WIT> <Warning> <oracle.iam.platform.utils> <IAM-0070016> <An error occurred while initializing service : {0}
    javax.naming.NamingException: String index out of range: -1
    at weblogic.jndi.Environment.getContext(Environment.java:308)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    Please help.
    Best Regards,
    Heri

    I have the same error!!! Do you manage to solve it?

  • Connection issue XI to TIBCO

    Hi Experts,
    XI is not able to connect to the IBCO server and all the channels are in errorr status with the error " Channel error occurred: detailed error description: com.sap.aii.adapter.jms.api.cpnnector.ConnectorException: Error looking up destination:<JNDI Lookup Name> for profile:connectionProfile of channel :<channel name> node:333000 having object id :........... javax.naming.NamingNotFoundException: Name not found::<JNDI Lookup Name>  at com.sap.aii.adapter.jms.core.connector.jndiConnectorimpl.createDestination(JndiConnectionimpl.java:168.).........
    As part of the troublshooting channel stop/start are done, XI J2EE engine is also restarted, TIBCO server is also restarted still we are facing the error.
    Can anybody help us to resolve the issue
    Thanks in Advance.

    Hi Naveen
    Adapter in Visual Admin is already restarted and all the services related to JMS is restarted. channel status but still i am facing the same issue.
    Can any body suggest to rectify the issue.
    Thanks in Advance.
    Bhaskar

  • MDB cannot connect to JMS destination using Foreign Server

    Hi everyone,
    I have configured foreign jms server in weblogic but when MDB tries to connect to specific queue, it gets the following exception:
    I would really appreciate if anyone could help me.
    <Sep 28, 2012 5:23:34 PM CEST> <Warning> <EJB> <BEA-010096> <The Message-Driven EJB: SmsReceiver is unable to connect to the JMS destination or bind to JCA resource adapter: xcg2/smsInQueue. Connection failed after 2 attempts. The MDB will attempt to reconnect/rebind every 10 seconds. This log message will repeat every 600 seconds until the condition clears.>
    <Sep 28, 2012 5:23:34 PM CEST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: SmsReceiver is unable to connect to the JMS destination: xcg2/smsInQueue. The Error was:
    [EJB:011010]The JMS destination with the JNDI name: jmsxcg.out could not be found. Please ensure that the JNDI name in the weblogic-ejb-jar.xml or corresponding annotation is correct, and the JMS destination has been deployed.
    javax.naming.InvalidNameException: jmsxcg.out: [LDAP: error code 34 - Invalid DN]; remaining name 'jmsxcg.out' NestedException Message is :jmsxcg.out: [LDAP: error code 34 - Invalid DN]>
    MDB annotation looks like this:
    @MessageDriven(name="SmsReceiver", mappedName="xcg2/smsInQueue",
    activationConfig = {
    @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue")
    @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
    public class SmsReceiverBean implements MessageListener
    weblogic-ejb-jar.xml excerpt:
         <weblogic-enterprise-bean>
              <ejb-name>SmsReceiver</ejb-name>
              <message-driven-descriptor>
                   <pool>
                        <max-beans-in-free-pool>10</max-beans-in-free-pool>
                        <initial-beans-in-free-pool>5</initial-beans-in-free-pool>
                   </pool>
                   <connection-factory-jndi-name>echoQueueConnectionFactory</connection-factory-jndi-name>
              </message-driven-descriptor>
              <transaction-descriptor>
                   <trans-timeout-seconds>600</trans-timeout-seconds>
              </transaction-descriptor>
    <dispatch-policy>MdbSmsWorkManager</dispatch-policy>
         </weblogic-enterprise-bean>
    and the configuration of foreign-server:
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-jms xmlns="http://www.bea.com/ns/weblogic/weblogic-jms">
    <foreign-server name="serverr">
    <sub-deployment-name>Subdeployment</sub-deployment-name>
    <foreign-destination name="sms queue>
    <local-jndi-name>xcg2/smsInQueue</local-jndi-name>
    <remote-jndi-name>jmsxcg.out</remote-jndi-name>
    </foreign-destination>
    <foreign-connection-factory name="Connection Factory">
    <local-jndi-name>echoQueueConnectionFactory</local-jndi-name>
    <remote-jndi-name>QueueConnectionFactory</remote-jndi-name>
    </foreign-connection-factory>
    <initial-context-factory>com.tibco.tibjms.naming.TibjmsInitialContextFactory</initial-context-factory>
    <connection-url>tibjmsnaming://xx.xx.xx.xx:7222</connection-url>
    </foreign-server>
    </weblogic-jms>
    PS. I'm able to connect to the weblogic jndi, get connectionFactory echoQueueConnectionFactory, then lookup queue and grab messages so that's i suspect there is something wrong with configuration

    Hmm - I'm not sure what's going on. Two thoughts --
    Thought 1 - According to my (admittedly minimal) research, Tibco is complaining about a syntax error in the lookup name. Perhaps the problem has something to do with your use of a "." in the queue name "jmsxcg.out": WL or Tibco JNDI might be interpreting the "." as a subcontext or some-such. Perhaps try renaming the queue to "jmsxcg_out" throughout (in Tibco and in your Foreign JMS reference).
    Thought 2 - It probably won't make a difference, but you might want try specifying the source destination via the "destinationJndiName" config property instead of via "mappedName".
    @MessageDriven(
      name = "MyMDB",
      activationConfig = {
        @ActivationConfigProperty(propertyName  = "destinationType",
                                  propertyValue = "javax.jms.Queue"),
        @ActivationConfigProperty(propertyName  = "destinationJndiName",
                                  propertyValue = "MyQueue") // Ext. JNDI Name
    )HTH,
    Tom

  • PI unable to connect via JMS adapter to Weblogic

    Hello All,
       We have implemented JMS adapter on PI 7.11 for the first time in our landscape which connects to Weblogic server. When i test my scenario i get this Error on JMS Communication Channel. Could some one help me out .. where things are going wrong?
    Am using Transport protocol as : Access JMS Provider with JNDI
    CASE 1 :
    284272 A channel error occurred. The detailed error (if any) : com.sap.aii.adapter.jms.api.connector.ConnectorException: Error creating initial context with
    environment: {java.naming.provider.url=t3s://usdatlpc64m----
    java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory}for profile: ConnectionProfile of channel: JMS_RCV_IA_WorkOrderStatuson node: 28427250 having object id: 035dd91446303f17bf0e7ad9a4dbd564: RuntimeException: Exception occurred while reading the license file.<br> at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createInitialContext(JndiConnectorImpl.java:65)<br> ...
    CASE2:
    A channel error occurred. The detailed error (if any) : com.sap.aii.adapter.jms.api.connector.ConnectorException: Error creating initial context with environment: {java.naming.provider.url=----
    java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory}for profile: ConnectionProfile of channel: JMS_RCV_IA_WorkOrderStatuson node: 28427251 having object id: 035dd91446303f17bf0e7ad9a4dbd564: javax.naming.NamingException: String index out of range: -1<br> at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createInitialContext(JndiConnectorImpl.java:65)<br> ...

    Hi ,
    Were you able to resolve the issue?
    We are facing similar issue when trying to integrate (SOAP over JMS) with WebSphere 7.x server to read JMS messages. We are using SAP PI 7.1 version and after providing the JNDI connection factory as "com.ibm.websphere.naming.WsnInitialContextFactory".....the error returned is :
    ======
    Channel error occurred. Detailed error (if any) : com.sap.aii.adapter.jms.api.connector.ConnectorException: Error creating initial context with environment: {java.naming.provider.url=iiop://10.60.5.115:2809, java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory, java.naming.security.principal=admin, java.naming.security.credentials=admin}for profile: ConnectionProfile of channel: JMSSender_MESon node: 8649950 having object id: a8c808c859f33b40a41d0ced2088fb18: javax.naming.NoInitialContextException: Cannot instantiate class: com.ibm.websphere.naming.WsnInitialContextFactory<br> at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createInitialContext(JndiConnectorImpl.java:65)<br> ...
    =====
    Thanks in Advance
    -Naveen

  • Messages are not being dequed by a different connection in JMS

    Scenario
    There are 2 queues - Q_A and Q_B and There are 2 applications - App_1 and App_2
    I am using point 2 point and java JMS
    This is what I want to accomplish
    App_1 queues messages to Q_A
    App_2 dequeues messages from Q_A
    App_2 queues messages to Q_B
    App_1 dequeues messages from Q_B
    But the problem I am having is that neither application can see the messages that have been queued by the other.
    So even though I see the messages in the database in Q_A,
    When I use QueueBrowser from App_B on Q_A to view the messages ... it is empty
    But if I use QueueBrowser from App_A on the same queue Q_ A I can see the messages.
    The same is true the other way round.
    The queueconnection is being created usng the same db user in both apps, and the queues are owned by the same user.
    please help me.
    user489532

    Dear DAMORGAN,
    Thank you for your reply and I apologise for the insufficient information. I am providing the details now. I am aware that JMS is supposed to handle my situation. And I am ableto queue and dequeue messages without problems from the same app. Its only when I am using different apps that I am having a problem. I am pasting relevant pieces of code,Please let me know if more info is needed. Thank for your help.
    Oracle 10g
    Weblogic 10
    DDL to create Queue
    BEGIN
    DBMS_AQADM.CREATE_QUEUE_TABLE (
    QUEUE_TABLE => 'AQ_A_QUEUE'
    ,QUEUE_PAYLOAD_TYPE => 'SYS.AQ$_JMS_OBJECT_MESSAGE'
    ,COMPATIBLE => '8.1.3'
    ,MULTIPLE_CONSUMERS => FALSE
    DBMS_AQADM.CREATE_QUEUE(QUEUE_NAME => 'A_QUEUE',
              QUEUE_TABLE => 'AQ_A_QUEUE',
              MAX_RETRIES => 10,
              RETRY_DELAY => 60);
    DBMS_AQADM.START_QUEUE(QUEUE_NAME => 'A_QUEUE');          
    END;
    Application A sends messages to A_QUEUE like this
    //This is how I get a connection
    QueueConnectionFactory queueConnectionFactory = AQjmsFactory.getQueueConnectionFactory(getDatabaseServer(), getDatabaseSid(), getDatabasePort(), "thin");
    QueueConnection qc = queueConnectionFactory.createQueueConnection(getDatabaseUser(), getDatabaseUserPassword());
    qc.start();
    //This is how I get the Queue          
    QueueSession q_sess = qc.createQueueSession(true, Session.AUTO_ACKNOWLEDGE);
    Queue aQueue= ((AQjmsSession)q_sess).getQueue(getDatabaseUser(), "A_QUEUE");
    TestMsgObject jmsObj = new TestMsgObject();
    //populate Test object          
    QueueSender qs = q_sess.createSender(aQueue )
    ObjectMessage msg = q_sess.createObjectMessage(jmsObj);
    msg.setStringProperty("MESSAGESOURCE", "APP_A");
    qs.send(msg);
    qs.close();
    q_sess.commit();
    //Application B has a message listener like this - TestListener
    public void initialize() throws JMSException, NamingException {
         QueueConnectionFactory queueConnectionFactory = AQjmsFactory.getQueueConnectionFactory(getDatabaseServer(), getDatabaseSid(), getDatabasePort(), "thin");
         qc = queueConnectionFactory.createQueueConnection(getDatabaseUser(), getDatabaseUserPassword());
         q_session = qc.createQueueSession(true, Session.AUTO_ACKNOWLEDGE);
         aQueue = ((AQjmsSession)q_session).getQueue(getDatabaseUser(), "A_QUEUE");
         qr = q_session.createReceiver(aQueue);
         qr.setMessageListener(this);
         qc.start();
    public void onMessage(Message message) {
         try {
              System.out.println("Received Message XFS=" + message.getJMSMessageID());
              //more processing
         }catch(Exception e) {
              e.printStackTrace();
    The message listener is created and initialized from the init() method of a servlet that is loaded on startup.
    The onMessage of the TestListener is never called.
    I can see the messages in the database.
    Also when I call the following code snippet from Application A - the messages are retrieved, but the same code called from application B does not give any messages.
    browser = q_sess.createBrowser(MyUtil.getQueue(q_sess));
    for (Enumeration messages = browser.getEnumeration(); messages.hasMoreElements() ;){
    obj_message = (ObjectMessage)messages.nextElement();
    System.out.println(obj_message.getJMSMessageID());
    I can bounce the app server and still app B does not see the messages.
    However if app B publishes messages to the queue itself, it can see those, without any problem.
    As mentioned before the database user is the same for both the apps and owns the queue, and deques and enque are both enabled.

  • Weblogic app server: MDB is unable connect to JMS Queue!

    29-Jun-2006 16:22:23 o'clock SGT> <Warning> <EJB> <BEA-010096> <The Message-Driven EJB: YCCEventsMDB is unable to connect to the JMS destination: jms/citos/ycds/RecvYCCEvents_Q. Connection failed after 7 attempts. The MDB will attempt to reconnect every 10 seconds. This log message will repeat every 600 seconds until the condition clears.>
    <29-Jun-2006 16:22:23 o'clock SGT> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: YCCEventsMDB is unable to connect to the JMS destination: jms/citos/ycds/RecvYCCEvents_Q. The Error was:
    [EJB:011009]Unable to create a JNDI InitialContext to lookup the JMS destination.
    javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: ycds_app_svr]
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:41)
         at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:618)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:306)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:239)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
         at

    Any update on this. I am getting the same error.

  • Release the connection in JMS Adapter

    Hi,
    I’m sending the message to JMS queue (queue is running in weblogic server) using JMS Adapter in BPEL. My question is how to release the weblogic connection once the message produced to queue. It is happen automatically or we have to release the connection explicitly. If it explicit handle means how to do it?
    It would very helpful for me if you send any reference doc or url about this.
    Thanks in Advance.
    Thanks
    Chandramohan

    The JMS adapater of SOA will handle this for you. You do not have to do anything with closing connections.
    Marc

  • J2EE Engine auto restart when connect J2ee Engine Visual Adminnistrator

    Hi expert
    I'm config BI and EP for SAP NetWare 7.0(2004)
    After aply patch JSPM successful then J2ee often restart when I login Engine Visual Administrator
    I check logfile
    Nov 5, 2008 10:52:15 AM [1225857135537]:Error   : Thread[Thread-13,5,main]      com.sap.engine.services.rmi_p4:    com.sap.engine.services.rmi_p4.Parser newRequest MSG:The possible problem is that there is no correctly working server node available. Check your working servers
    trace file
    /usr/sap/BWQ/DVEBMGS02/j2ee/cluster/dispatcher/log/ defaultTrace.0.trc
    #1.#001A64C962F2001800000006000061DE00045AC54F59B3DC#1225703393178#com.sap.engine.services.jmx.MBeanServerInvoker##com.sap.engine.services.jmx.MBeanServerInvoker#######OrderedChannel for http service##0#0#Warning#1#/System/Server#Java###JMX connector exception occurred while processing external JMX request [ JMX request (java) v1.0 len: 315 |  src: cluster target-node: 28888700 req: invoke params-number: 4 params-bytes: 0 | :name=com.sap.portal.prt.bridge.service.mbeans.PRTMBeanRuntime,j2eeType=PRTBridge_JMX_SECTION,SAP_J2EEClusterNode=28888700,SAP_J2EECluster="" null null null ]
    [EXCEPTION]
    #1#com.sap.engine.services.jmx.exception.JmxConnectorException: Unable to de-serialize request parameters, message [ JMX request (java) v1.0 len: 315 |  src: cluster target-node: 28888700 req: invoke params-number: 4 params-bytes: 0 | :name=com.sap.portal.prt.bridge.service.mbeans.PRTMBeanRuntime,j2eeType=PRTBridge_JMX_SECTION,SAP_J2EEClusterNode=28888700,SAP_J2EECluster="" null null null ]
            at com.sap.engine.services.jmx.RequestMessage.readParams(RequestMessage.java:537)
            at com.sap.engine.services.jmx.RequestMessage.getParams(RequestMessage.java:586)
            at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:90)
            at com.sap.engine.services.jmx.JmxServiceConnectorServer.receiveWait(JmxServiceConnectorServer.java:172)
    com.sap.engine.core.service630.context.cluster.message.MessageListenerWrapper.process(MessageListenerWrapper.java:81)
            at com.sap.engine.core.cluster.impl6.ms.MSListenerThread.run(MSListenerThread.java:47)
            at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
            at com.sap.engine.core.thread.impl6.SingleThread.execute(SingleThread.java:80)
            at com.sap.engine.core.thread.impl6.SingleThread.run(SingleThread.java:150)
    Caused by: javax.management.InstanceNotFoundException: MBean with name com.sap.default:name=com.sap.portal.prt.bridge.service.mbeans.PRTMBeanRuntime,j2eeType=PRTBridge_JMX_SECTION,SAP_J2EEClusterNode=28888700,SAP_J2EECluster=BWQ not found in repository
            at com.sap.pj.jmx.server.MBeanServerImpl.getClassLoaderFor(MBeanServerImpl.java:1408)
            at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.getClassLoaderFor(MBeanServerWrapperInterceptor.java:455)
            at com.sap.engine.services.jmx.CompletionInterceptor.getClassLoaderFor(CompletionInterceptor.java:576)
    [root@sapvs08 log]# pwd
    /usr/sap/BWQ/DVEBMGS02/j2ee/cluster/server0/log
    [root@sapvs08 log]#cat defaultTrace.12.trc 
    #1.#001A64C962F200720000042A0000586E00045AC496B6EC66#1225700295502#com.sap.engine.services.monitor.mbeans.Monitor#sap.com/irj#com.sap.engine.services.monitor.mbeans.Monitor#J2EE_GUEST#0##n/a##04c6a190a97f11dd99cf001a64c962f2#SAPEngine_Application_Thread[impl:3]_24##0#0#Error##Plain###Caller J2EE_GUEST not authorized, user J2EE_GUEST is not available from user management, reason: com.sap.security.api.NoSuchUserException:Connect to SAP gateway failed
    Connect_PM  TYPE=A ASHOST=localhost SYSNR=02 GWHOST=localhost GWSERV=sapgw02 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       partner '127.0.0.1:sapgw02' not reached
    TIME        Mon Nov  3 15:18:15 2008
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -10
    MODULE      nixxi.cpp
    LINE        2823
    DETAIL      NiPConnect2
    SYSTEM CALL connect
    ERRNO       111
    ERRNO TEXT  Connection refused
    COUNTER     254
    #1.#001A64C962F200720000042B0000586E00045AC496B6F426#1225700295504#System.err#sap.com/irj#System.err#J2EE_GUEST#0##n/a##04c6a190a97f11dd99cf001a64c962f2#SAPEngine_Application_Thread[impl:3]_24##0#0#Error##Plain###com.sap.engine.services.jmx.exception.JmxSecurityException: Caller J2EE_GUEST not authorized, user J2EE_GUEST is not available from user management, reason: com.sap.security.api.NoSuchUserException:Connect to SAP gateway failed
    Connect_PM  TYPE=A ASHOST=localhost SYSNR=02 GWHOST=localhost GWSERV=sapgw02 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       partner '127.0.0.1:sapgw02' not reached
    TIME        Mon Nov  3 15:18:15 2008
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -10
    MODULE      nixxi.cpp
    LINE        2823
    DETAIL      NiPConnect2
    SYSTEM CALL connect
    ERRNO       111
    ERRNO TEXT  Connection refused
    COUNTER     254
            at com.sap.engine.services.jmx.auth.UmeAuthorization.checkMBeanPermission(UmeAuthorization.java:63
    Please help me soon
    Quang Le

    Check this link and see if it helps,
    http://help.sap.com/saphelp_nw04/helpdata/en/92/fa369fb68e004598f246494665a49e/frameset.htm
    Sameer

  • Error while connecting to JMS queue of weblogic

    Hi
    I have a bpel process which connects to weblogic queues and puts a message.
    These days am getting the following error randomly
    WSIF JCA Execute of operation 'Produce_Message' failed due to: ERRJMS_TRX_BEGIN.
    CCI Local Transaction BEGIN failed due to: ERRJMS_GET_TRANSACTED_FAIL.
    nested exception is:
         ORABPEL-12100
    ERRJMS_TRX_BEGIN.
    CCI Local Transaction BEGIN failed due to: ERRJMS_GET_TRANSACTED_FAIL.
    Session.getTransaction() failed
    Please examine the log file to determine the problem.
    If i resubmit after some time this error goes away.
    Can any one give me some idea on what the root cause of the problem is
    Thanks
    Vamsi

    Hi
    Thanks for the reply. I have checked out and we are using weblogic.jms.ConnectionFactory. And XA transaction feature is disabled at the weblogic end.
    But still the error persists.
    The following entries are in the oc4j-ra.xml file
         <connector-factory location="eis/wljms/Queue" connector-name="Jms Adapter">
              <config-property name="connectionFactoryLocation" value="Sample.QueueConnectionFactory"/>
              <config-property name="factoryProperties" value="java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://<IP address>:7001"/>
              <config-property name="acknowledgeMode" value="CLIENT_ACKNOWLEDGE"/>
              <config-property name="isTopic" value="false"/>
              <config-property name="isTransacted" value="true"/>
              <config-property name="username" value=""/>
              <config-property name="password" value=""/>
              <connection-pooling use="none">
              </connection-pooling>
              <security-config use="none">
              </security-config>
         </connector-factory>
    Any further suggestions pls
    Thanks
    Vamsi

Maybe you are looking for

  • Dropped Frames/Processor

    Hey, I just installed FinalCut Studio 2 on my Macbook and whenever I try to capture footage (hd dvc 720p60) I get dropped frames. I am also unable to open projects of the same format. I have set the sequence and capture settings according to the foot

  • How are chapter markers implemented within QT?

    Imagine a folder on a USB stick full of files – some may be stills, some videos. I want to be able to play them in sequence at the press of a button, just like an old-fashioned slide show. Keynote seems to be a possibility, but before I buy Keynote I

  • Oracle-instantclient-basic-10.1.0.2-1.i386.rpm Not Found

    I get this Sorry, this page was not found. (ErrorDocument 500 ) [Back to Previous Page] This web site is an ever-changing collection of information on Oracle products and technology, and we've either removed or relocated the document you requested. P

  • Grouping songs in this order

    is it possible at all to group songs in order of artist, then by year each album was released? instead of artist, then albums in alphabetical order? for example, instead of: Van Halen -- 1984 -- 1984 Van Halen -- Van Halen -- 1978 The White Stripes -

  • Sales Order date validation against Contract Date

    Dear All, We are creating Contracts with validity period from date to enddate. With reference to contract, the sales orders date should be validated. However the present scenario is  validating with warning message. How it will be converted to error