Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception when running AdviceClient tutorial in Head First EJB book

 
Galder Zamarre´┐Żo
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Galder Zamarre´┐Żo
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic