File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Unable to look JMS resources Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Unable to look JMS resources" Watch "Unable to look JMS resources" New topic
Author

Unable to look JMS resources

Graham Thorpe
Ranch Hand

Joined: Mar 25, 2002
Posts: 265
Hi

Can any body how to configure JMS relates stuff through WebSphere5.0 admin.

I am getting following exception at logs ...




Unable to lookup JMS resources, JNDI lookup exception: UserTopic

[7/20/05 16:46:48:716 GMT+05:30] 46f2c045 MDBListenerIm W WMSG0019E: Unable to start MDB Listener IntegratorBean, JMSDestination UserTopic : javax.naming.NameNotFoundException: UserTopic
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1503)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1457)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1167)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:132)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
at com.ibm.ejs.jms.listener.MDBListenerImpl.createResources(MDBListenerImpl.java:199)
at com.ibm.ejs.jms.listener.MDBListenerImpl.internalStart(MDBListenerImpl.java:474)
at com.ibm.ejs.jms.listener.MDBListenerImpl.restart(MDBListenerImpl.java:446)
at com.ibm.ejs.jms.listener.MDBListenerImpl.alarm(MDBListenerImpl.java:718)
at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:80)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
vishwa venkat
Ranch Hand

Joined: Nov 22, 2003
Posts: 185
Not sure which part of your application throwing the exception.. You can follow this link -

http://www-128.ibm.com/developerworks/websphere/techjournal/0211_barcia/barcia.html
Graham Thorpe
Ranch Hand

Joined: Mar 25, 2002
Posts: 265
I enclosed two xml files along with this msg


<ejb-jar id="ejb-jar_ID">
<small-icon>images/green-cube.gif</small-icon>
<enterprise-beans>
<message-driven id="MessageDriven_1121073987271">
<ejb-name>BankUserIntegratorBean</ejb-name>
<ejb-class>IntegratorBean</ejb-class>
<transaction-type>Container</transaction-type>
<message-driven-destination id="MessageDrivenDestination_1121074079912">
<destination-type>javax.jms.Topic</destination-type>
</message-driven-destination>
</message-driven>
</enterprise-beans>
<assembly-descriptor id="AssemblyDescriptor_1121074079912">
</assembly-descriptor>
</ejb-jar>


**************
<weblogic-ejb-jar>

<weblogic-enterprise-bean>
<ejb-name>IntegratorBean</ejb-name>
<message-driven-descriptor>
<pool>
<max-beans-in-free-pool>50</max-beans-in-free-pool>
<initial-beans-in-free-pool>10</initial-beans-in-free-pool>
</pool>

<destination-jndi-name>UserTopic</destination-jndi-name>
</message-driven-descriptor>
<jndi-name>IntegratorBean</jndi-name>
</weblogic-enterprise-bean>

</weblogic-ejb-jar>


So faar i did

Application Servers > server1 > Message Listener Service >
Listener Ports --->

Name :IntegratorBean
Connection factory JNDI name :IntegratorBean
Destination JNDI name :IntegratorBean


But i dont know how to proceed next step ...

Can u pls guide me how to configure settings for WebSphere5.0
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Unable to look JMS resources