wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes Problem with running the Head First EJB Example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Problem with running the Head First EJB Example" Watch "Problem with running the Head First EJB Example" New topic

Problem with running the Head First EJB Example

Martin Edu

Joined: Feb 25, 2004
Posts: 2
Please, help with this problem.
I just bougth the K&B book and have been attempting to
run the first example, chap 1. Everything seem to compile,
and deploy, but I just can't run it.
I am sure this has been posted before. Can someone point
me in the right direction.
My stack trace is listed below:
C:\Martin\Java\projects\advice>java -cp %CLASSPATH%;AdviceAppClient.jar AdviceClient
java -cp %CLASSPATH%;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(Util.java:65)
at headfirst._Advice_Stub.getAdvice(Unknown Source)
at AdviceClient.go(AdviceClient.java:23)
at AdviceClient.main(AdviceClient.java:10)
Caused by: org.omg.CORBA.BAD_OPERATION: vmcid: 0x0 minor code: 0 completed: No
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:306)
at java.lang.Class.newInstance(Class.java:259)
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:457)
at headfirst._Advice_Stub.getAdvice(Unknown Source)
... 2 more
Vishwa Kumba
Ranch Hand

Joined: Aug 27, 2003
Posts: 1064
If you try searching for this exception in the SCBCD forum, you will find a number of posts discussing this......
For now, http://www.coderanch.com/t/158262/java-EJB-SCBCD/certification/CORBA-bad-operation-error-RI
It is sorta covered in the JavaRanch Style Guide.
subject: Problem with running the Head First EJB Example
Similar Threads
Problem running HF Chap 1 example
Error Running AdviceClient from HFE
HF EJB. AdviceBean example. BAD_OPERATION exception
java.rmi.RemoteException running AdviceClient
Head First EJB