• 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
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Help with NoSuchObjectException

 
Ranch Hand
Posts: 271
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys

I'm getting the following error message when I try to start WSAD test server...

A NamingException is being thrown from a javax.naming.Context implementation. Details follow:
Context implementation: com.ibm.ws.naming.jbatch.WsnBatchModeCNContextImpl
Context method: rebind
Context name: domainRoots/UnspecifiedDomainName/legacyRoot
Target name: ejb/net/msl/cbptr1/session/service/helper/ServiceHelperHome
Other data: Object to bind: net.msl.cbptr1.session.service.helper.EJSRemoteStatelessServiceHelperHome_9d59b71e@c9b1758(BeanId(__homeOfHomes#__homeOfHomes#__homeOfHomes, Exact_EAR#Exact_Service_Helper.jar#ServiceHelper))
Exception stack trace: javax.naming.NamingException: Error during batch objectPreChecks. Root exception is java.rmi.NoSuchObjectException: object not exported
at com.ibm.rmi.javax.rmi.PortableRemoteObject.toStub(PortableRemoteObject.java:143)
at javax.rmi.PortableRemoteObject.toStub(PortableRemoteObject.java:105)
at com.ibm.ws.naming.util.Helpers.processRemoteObjectForBinding(Helpers.java:534)
at com.ibm.ws.naming.jbatch.WsnBatchModeCNContextImpl.objectPreChecks(WsnBatchModeCNContextImpl.java:986)
at com.ibm.ws.naming.jbatch.WsnBatchModeCNContextImpl.doRebind(WsnBatchModeCNContextImpl.java:295)
at com.ibm.ejs.ns.jndi.CNContextImpl.rebind(CNContextImpl.java:583)
at com.ibm.ws.runtime.EJBEngine.rebindHome(EJBEngine.java:682)
at com.ibm.ws.runtime.EJBEngine.addEjbModule(EJBEngine.java:451)
at com.ibm.ws.runtime.Server.startModule(Server.java:607)
at com.ibm.ws.runtime.StandardServer.initializeModules(StandardServer.java:321)
at com.ibm.ws.runtime.StandardServer.initializeRuntime0(StandardServer.java:349)
at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:884)
at com.ibm.ws.runtime.StandardServer.main(StandardServer.java:519)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV4$1.run(ServerRunnerV4.java:56)




ServiceHelper is a session bean in the project.

Any ideas ?

jeff mutonho
 
jeff mutonho
Ranch Hand
Posts: 271
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorted.The problem was an outdated home interface.I updated my jar with the newer one and the bean was loaded.


jeff mutonho
 
My name is Inigo Montoya, you killed my father, prepare to read a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic