Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Error when trying the example on page 58... 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 "Error when trying the example on page 58..." Watch "Error when trying the example on page 58..." New topic
Author

Error when trying the example on page 58...

Christian Lerner
Greenhorn

Joined: Oct 10, 2004
Posts: 1
Hi!

I get an horrible error when trying the example on page 58 (of the book Head First EJB).
I follow the steps without problem, but when I tried to execute the client (AdviceClient) the server responded the following error:

C:\Projectos\cert_j2ee\advice>java -classpath .;C:\j2sdkee1.3.1\lib\j2ee.jar;AdviceAppClient.jar AdviceClient
java.rmi.RemoteException: CORBA BAD_OPERATION 0 No; nested exception is:
org.omg.CORBA.BAD_OPERATION: vmcid: 0x0 minor code: 0 completed: No
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:137)
at javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
at headfirst._Advice_Stub.getAdvice(Unknown Source)
at AdviceClient.go(AdviceClient.java:19)
at AdviceClient.main(AdviceClient.java:9)
Caused by: org.omg.CORBA.BAD_OPERATION: vmcid: 0x0 minor code: 0 completed:
No
...

I really don't understand why.

Thanks in advance

Christian
Nileesha Bojjawar
Ranch Hand

Joined: Oct 10, 2003
Posts: 85
Hi,
Please refere to this link, it might help
Corba Bad Exception: Explaination by Kathy

Good Luck


Nileesha<br />SCJP 1.4, SCBCD, SCWCD.
 
 
subject: Error when trying the example on page 58...