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

EJB Problem in WebSphere 3.5.4

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Friends,
I'm facing one problem while instantiating an EJB object.
I have an object which implements javax.ejb.SessionBean interface. In this particular object, i put empty method definitions for javax.ejb.EJBObject interface. I know it is not a good practice of implementing methods of javax.ejb.EJBObject. But I had to do this in order to instantiate that object using new in some cases.
I'm using WebSphere 3.5.4
Now when I try to instantiate that object, it throws exception
com.inet.utility.ExceptionError: java.rmi.NoSuchObjectException: CORBA INV_OBJREF 0 No; nested exception is: org.omg.CORBA.INV_OBJREF: com.inet.core.SessionManagerBean not exported or is a JRMP stub minor code: 0 completed: No

Here SessionManagerBean is an object which implements javax.ejb.SessionBean interface and contains method definitions for javax.ejb.EJBObject interface.
The same code was working fine in WebSphere 3.5.2 After applying fix pack 4, this problem started.
Cant we use "new" for objects which implements SessionBean interface? Does container treat that call as a data access bean?
Could you please help me out?

Thanks & Regards
Nilesh
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"nrbhattad",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp .
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in again with a new name which meets the requirements.
Thanks.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic