File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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(
at org.omg.CORBA.portable.ObjectImpl._invoke(
at headfirst._Advice_Stub.getAdvice(Unknown Source)
at AdviceClient.go(
at AdviceClient.main(

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.

I agree. Here's the link:
subject: Help on Chapter1 HFEJB
It's not a secret anymore!