• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

JMS and Websphere

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I get a strange Exception when looking up a QueueConnectionFactory from an EJB in Websphere.
I have added the factory to Websphere namespace using the administration console (web).
Also put it in the deployment descriptor.
What have I done wrong???
W NMSV0605E: A Reference object looked up from the context "domainRoots/UnspecifiedDomainName/legacyRoot" with the name "MyQueueConnectionFactory" was sent to the JNDI Naming Manager and an exception resulted.
Reference data follows:
Reference Factory Class Name: progress.message.jclient.AdministeredObjectFactory
Reference Factory Class Location URLs: <null>
Reference Class Name: progress.message.jclient.QueueConnectionFactory
Type: brokerURL
Content: localhost
Type: connectID
Content: ""
Type: defaultUserName
Content:
Type: defaultPassword
Content:
Type: clientID
Content: ""
Type: versionID
Content: 3.5.1
Type: randomizeBrokers
Content: false
Type: loadBalancing
Content: false
Exception data follows:
java.lang.ExceptionInInitializerError: java.lang.ClassCastException: progress.message.zclient.prBundle
at progress.message.zclient.prAccessor.getResource(Unknown Source)
at progress.message.zclient.prAccessor.getString(Unknown Source)
at progress.message.zclient.SessionConfig.<clinit>(Unknown Source)
at progress.message.jclient.BrokerName.BX_(Unknown Source)
at progress.message.jclient.BrokerName.<init>(Unknown Source)
at progress.message.jclient.QueueConnectionFactory.<init>(Unknown Source)
at progress.message.jclient.AdministeredObjectFactory.vJ_(Unknown Source)
at progress.message.jclient.AdministeredObjectFactory.getObjectInstance(Unknown Source)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:782)
at com.ibm.ejs.ns.jndi.CNContextImpl.processResolveResults(CNContextImpl.java:1599)
at com.ibm.ejs.ns.jndi.CNContextImpl.doLookup(CNContextImpl.java:1475)
at com.ibm.ejs.ns.jndi.CNContextImpl.lookup(CNContextImpl.java:1129)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:128)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstance(IndirectJndiLookupObjectFactory.java:193)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
at com.ibm.ws.naming.urlbase.UrlContextHelper.isReference(UrlContextHelper.java:119)
at com.ibm.ws.naming.urlbase.UrlContextHelper.processBoundObjectForLookup(UrlContextHelper.java:248)
at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1185)
at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1162)
at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1214)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstance(IndirectJndiLookupObjectFactory.java:193)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
at com.ibm.ws.naming.urlbase.UrlContextHelper.isReference(UrlContextHelper.java:119)
at com.ibm.ws.naming.urlbase.UrlContextHelper.processBoundObjectForLookup(UrlContextHelper.java:240)
at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1185)
at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1162)
at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1214)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
at dk.bdata.basis.server.MessageSenderServerSide.createConnection(MessageSenderServerSide.java:73)
at dk.bdata.basis.server.MessageSenderServerSide.sendTextMessage(MessageSenderServerSide.java:109)
at dk.bdata.henvendelse.server.HenvendelseServerSide.findByID(HenvendelseServerSide.java:894)
at dk.bdata.henvendelse.server.HenvendelseSession.findByID(HenvendelseSession.java:103)
at dk.bdata.henvendelse.server.EJSRemoteStatelessHenvendelseSessionRemote.findByID(EJSRemoteStatelessHenvendelseSessionRemote.java:79)
at dk.bdata.henvendelse.server._EJSRemoteStatelessHenvendelseSessionRemote_Tie._invoke(_EJSRemoteStatelessHenvendelseSessionRemote_Tie.java:151)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:515)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:2377)
at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:186)
at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:104)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:137)
 
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it a message bean?
EJB 2.0 is not supported in WebSphere (not until Websphere 5.0)
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Assuming you are using MQSeries as the JMS provider have you got the JMS jars (mq.jar, mqjms.jar, providerutil.jar) on the nodes classpath?
 
You're not going crazy. You're going sane in a crazy word. Find comfort in this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic