This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Exception when running AdviceClient tutorial in Head First EJB book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Exception when running AdviceClient tutorial in Head First EJB book" Watch "Exception when running AdviceClient tutorial in Head First EJB book" New topic
Author

Exception when running AdviceClient tutorial in Head First EJB book

Galder Zamarre�o
Greenhorn

Joined: Apr 16, 2004
Posts: 12
I have done the Advice Bean tutorial and have no problem deploying the AdviceApp bean (it has been verified and it was successfull). However, when i run the Advice Client i get the following exception:
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.getSystemException(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(GenericPOAClientSC.java:132)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:454)
at headfirst._Advice_Stub.getAdvice(Unknown Source)
at AdviceClient.go(AdviceClient.java:17)
at AdviceClient.main(AdviceClient.java:24)
I am a bit confused, because i don't understand what it the problem and why this exception is kicking and what exactly it means.
Thanks for your help


SCJP 1.4<br />SCBCD 1.3<br /> <br /><a href="http://essentialselection.blogspot.com/" target="_blank" rel="nofollow">http://essentialselection.blogspot.com/</a>
Galder Zamarre�o
Greenhorn

Joined: Apr 16, 2004
Posts: 12
Found the bug that is related to this error and fixed it!!! Anyone looking for more infor can find it in:
http://www.coderanch.com/t/312836/EJB-JEE/java/Head-First-EJB-st-tut
Thanks for the answer Kathy!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Exception when running AdviceClient tutorial in Head First EJB book
 
Similar Threads
Head First EJB: 1st tut error
Advisor error
Head First EJB Question!
Head First EJB
java.rmi.RemoteException: on 1st example