Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Unable to look JMS resources

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)
 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic