aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Help on Chapter1 HFEJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Help on Chapter1 HFEJB" Watch "Help on Chapter1 HFEJB" New topic
Author

Help on Chapter1 HFEJB

makesh bala
Greenhorn

Joined: Sep 05, 2004
Posts: 8
Hi all,
I am much new to EJB. I was trying to deploy and test a bean as specified in chapter 1 of HFEJB. I had the application deployed just as specified in the book but when i tried to run the client, I ended up getting a "java.rmi.remoteException" Did anyone ever get it when trying? Am i missing something obvious? I redid the thing but in vain.
Since I am very new to the whole concept of EJB, I dont, at this point, understand much about this exception too. Any help on this would greatly be appreciated.
Here's what I get:

java.rmi.RemoteException: CORBA BAD_OPERATION 0 No; nested exception is:
org.omg.CORBA.BAD_OPERATION: minor code: 0 completed: No
org.omg.CORBA.BAD_OPERATION: minor code: 0 completed: No
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:232)
at com.sun.corba.ee.internal.iiop.messages.ReplyMessage_1_2.getSystemExc
eption(ReplyMessage_1_2.java:93)
at com.sun.corba.ee.internal.iiop.ClientResponseImpl.getSystemException(
ClientResponseImpl.java:108)
at com.sun.corba.ee.internal.POA.GenericPOAClientSC.invoke(GenericPOACli
entSC.java:132)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:454)
at headfirst._Advice_Stub.getAdvice(Unknown Source)
at AdviceClient.go(AdviceClient.java:23)
at AdviceClient.main(AdviceClient.java:11)



Thanks,
Makesh
Keerthi P
Ranch Hand

Joined: Aug 19, 2003
Posts: 203
Refer to the book's errata


Cheers.<br />Keerthi<br />(SCJP, SCWCD, SCBCD)
makesh bala
Greenhorn

Joined: Sep 05, 2004
Posts: 8
Thanks keerthi. I got it running.
Thanks,
makesh
christiano magalhaes
Greenhorn

Joined: Apr 10, 2005
Posts: 1
Thank you Keerthi.
I had the same problem.

Christiano
(SCJP, SCWCD)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help on Chapter1 HFEJB