Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

Thatha Desigan

Greenhorn
+ Follow
since Jun 03, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Thatha Desigan

Hi friends,
Has any one here have an idea on migrating a java application from NetDynamics to Websphere.
Is there a migration tool available for doing the migration?
Could someone provide me an idea?
Thanks in advance,
desigan
17 years ago
Dear all,
I am working with JMS MQ and Websphere. I have followed the documents for setting the JMS environment, which are available at the url:
http://www7b.boulder.ibm.com/wsdd/library/techtip/0111_cox.html
and
http://www7b.boulder.ibm.com/wsdd/library/techtip/0112_cox.html.
I used the administrative console to create a conectionfactory and queue. I provided the name for the connectionfactory as myQCF and used the following code in a jsp to get a JNDI lookup.
The code is as below:
InitialContext ctx =new InitialContext();
QueueConnectionFactory qcf = (QueueConnectionFactory)ctx.lookup("jms/myQCF");
The second line throws an exception stating that
Servlet Error: jms/myQCF: javax.naming.NameNotFoundException: jms/myQCF
at com.ibm.ejs.ns.jndi.CNContextImpl.doLookup(CNContextImpl.java:1435)
at com.ibm.ejs.ns.jndi.CNContextImpl.lookup(CNContextImpl.java:1115)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at delete_jsp_9._jspService(delete_jsp_9.java:96)
I have also used myQCF for lookup instead of jms/myQCF, but getting the same exception.
I have used dumpnamespace.bat to check for the JNDI, but this connectionfactory entry for myQCF is not available when this bat is run. That means the jndi is not binded to the websphere. Am i right?
Can anyone help me out in this.
regards,
desigan
desigan21@yahoo.com
18 years ago