all, Is there any document stating the method of creating the JMS application under WAS4.0. I am not having any clue reg the ways of creating the topic ! is there any tool to develop that ? thanx in advance kaycee
To use JMS with WebSphere 4.0 you must purchase or download an evaluation copy of IBM MQ Series 5.2. A JMS provider is not included in the WebSphere download -- MQ Series is the only supported HJMS provider. Then download the MA88 support pack (MQ Series JMS support) and use the JMS Admin tool there to create topics... Kyle
kyle, i have IBM MQ series installed in my machine. i came to know that message driven beans are not suppored in WAS 4.0. i am looking for some information through which i can configure my websphere to contact the message queues. i used jmsadmin. but i got an error like "jndi initialisation failed. check your jndi settigs". i am not sure where i should check these setigs. can u please help me in this regard. thanx and regards kaycee
Hello, I am using WAS 4.0 AE on one machine (with the MA88 classes installed) and MQSeries 5.2 (w/ the MA88 classes) on another machine. I configured & tested JMSAdmin on the WAS machine and it works fine; I have also defined the appropriate JMS resources in the WAS AdminConsole...are there **any** other steps I would have to do in order for the WAS machine to communicate properly to the MQSeries machine? Thanks in advance. Danny firstname.lastname@example.org
Hi, I am using Websphere 4.0 Single Server Edition and I am installed the WAS4.0 and MqSeries in the same system. I don't know how to configure it for mqseries in WAS4.0 admin console. I gave the server classpath as <MQSeries root>/lib;+ jar files; In the JMS Destination : Name as Q1; JNDI Name : jms/Q1 ; External JNDI Name : jms/Q1. I am not sure about the external jndi name. Similarly for Connection Factory configuration. Please let me know the configuration details. It's work fine with WAS3.5
Joined: Nov 07, 2001
Hello, I am using Websphere 4.0 Single Server Edition and I am installed the WAS4.0 and MqSeries in the same system(Window NT). I don't know how to configure it for mqseries in WAS4.0 admin console. I already worked with was3.5/MQSeries and configured it successfully.
In Websphere--> Resources-->JMS Providers-->IBM MQSeries -->JMS Destinations 1. Name : Q1 2. JNDI Name : jms/Q1 3. Destination Type : Queue 4. External JNDI Name: jms/Q1 In Websphere--> Resources-->JMS Providers-->IBM MQSeries -->JMS Connection Factory 1. Name : QM1 2. JNDI Name : jms/QM1 3. Connection Type : Queue 4. External JNDI Name: jms/Q1
I am not sure about the external jndi name. Similarly for Connection Factory configuration. if i run the following servlet it gives the following error message: Inside the try loop Initial Context Factory: javax.naming.InitialContext@7be837eb Inside the setConnection Method Naming Exception is occured: javax.naming.NameNotFoundException: Name comp/env/jms not found in context "java:". In the servlet doGET method i am sending a message to the MQSeries QueueManager -QM1 ; Queue - Q1.
Hi Malli , Can you send me how you solved that error. When i try to run JMSAdmin -t -cfg JMSAdmin.config I am getting the following message. Starting MQSeries classes for Java(tm) Message Service Administration JNDI initialisation failed, please check your JNDI settings and service
I have set the following INITIAL_CONTEXT_FACTORY=com.ibm.websphere.naming.WsnInitialContextFactory PROVIDER_URL=iiop://localhost:900
My JMSAdmin.bat file is C:/WebSphere/AppServer/java/jre/bin/java -DMQJMS_LOG_DIR="%MQ_JAVA_INSTALL_PATH%"\log -DMQJMS_TRACE_DIR="%MQ_JAVA_INSTALL_PATH%"\trace -DMQJMS_INSTALL_PATH="%MQ_JAVA_INSTALL_PATH%" com.ibm.mq.jms.admin.JMSAdmin %1 %2 %3 %4 %5 I am trying to configure in WAS4.0 Single server -Gobi.
I had this problem as well, first off you need to use the CNInitialContextFactory instead of the WsnInitialContextFactory(Bug!). Also visit this site http://www7b.boulder.ibm.com/wsdd/library/techtip/0111_cox.html and create .bat or .sh to set up your environmental variables( instructions on how to do this are at the site ). You might need to include some more librarys than the ones listed as part of there .bat file. Just run JMSAdmin and see what its missing and add them to the .bat. Now I'm on to the next step of creating a sender but I'm getting a javax.jms.InvalidDestination: MQ2008: cannot open Queue. So if anyone has ideas on this it would be appreciated.