wood burning stoves
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 REST with Spring (video course) 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

Help on Chapter1 HFEJB

makesh bala

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
at com.sun.corba.ee.internal.iiop.ClientResponseImpl.getSystemException(
at com.sun.corba.ee.internal.POA.GenericPOAClientSC.invoke(GenericPOACli
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)

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

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

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

It is sorta covered in the JavaRanch Style Guide.
subject: Help on Chapter1 HFEJB
jQuery in Action, 3rd edition