File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes java.rmi.RemoteException running AdviceClient Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "java.rmi.RemoteException running AdviceClient" Watch "java.rmi.RemoteException running AdviceClient" New topic
Author

java.rmi.RemoteException running AdviceClient

Lara McCarver
Ranch Hand

Joined: Dec 09, 2003
Posts: 118
I am trying to run the AdviceClient from Headfirst EJB. The EJB compiled fine and the deployment worked (saw "Application AdviceApp deployed" in the J2EE window). The Advice client also compiled, but when I run it, I get a java.rmi.RemoteException. Does anyone know what this means? The full exception is:
C:\java\projects\advice>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:24)
at AdviceClient.main(AdviceClient.java:11)
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:296)
at java.lang.Class.newInstance(Class.java:249)
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
Lara McCarver
Ranch Hand

Joined: Dec 09, 2003
Posts: 118
More details: I am running J2EE for java 1.3.1 on Windows 2000 client.
Vishwa Kumba
Ranch Hand

Joined: Aug 27, 2003
Posts: 1064
There are a few posts relating to this problem. Looks like this is a bug in the Sun's RI implementation. Please the EJB Certification forum.
Lara McCarver
Ranch Hand

Joined: Dec 09, 2003
Posts: 118
Thank you so much. The solution described in the EJB certifaction section worked perfectly
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.rmi.RemoteException running AdviceClient
 
Similar Threads
Error Running AdviceClient from HFE
Getting exception trying to run AdviceClient.java
Error while running AdviceClient
AdviceGuy Exception
Head First EJB