aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes java.rmi.RemoteException: on 1st example 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 "java.rmi.RemoteException: on 1st example" Watch "java.rmi.RemoteException: on 1st example" New topic
Author

java.rmi.RemoteException: on 1st example

Christiaan Pansegrouw
Greenhorn

Joined: Dec 14, 2004
Posts: 9
Hi All

I am having a problem running the client for the Advice bean (1st example) in the Headfirst book. The ejb deploys fine without any errors , and I used the deploy tool (like it is descibed in the book) to deploy and create the AdviceAppClient.jar.

Hoever , when I run the test client , I get the following exception. I have re-done the example step for step 3 times already , and I am still getting the same error.
(I am using j2sdk1.4.2 , j2ee1.3.1 , on the R1 app server)

Thanks in advance

Christiaan

My Exception :



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 client.AdviceClient.go(AdviceClient.java:43)
at client.AdviceClient.main(AdviceClient.java:26)
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:308)
at java.lang.Class.newInstance(Class.java:261)
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
Dogra
Greenhorn

Joined: May 24, 2004
Posts: 7
Generate your code again and try again.
Even i got the same problem when initially!!!


Sanjeev Dogra<br /> <br />SCJP, SCWCD, SCBCD<br />IBM WSAD Certified<br />SCEA(in progress)
Dilip Gamage
Ranch Hand

Joined: Sep 09, 2004
Posts: 148
Please Check this Discussion and you can find there some links That had real answer for your problem.

I'm fedup this telling again and again.

Pls CHECK this discussion you could find the answer
http://www.coderanch.com/t/160191/java-EJB-SCBCD/certification/package-javax-ejb-does-not


Cheers<br />Dilip <br />SCJP 1.4 ,SCBCD 1.3
Christiaan Pansegrouw
Greenhorn

Joined: Dec 14, 2004
Posts: 9
Thanks for the tip and the link , sorry about asking , but I only found the search link on the page now. If you really hate answering the same question again and again , maybe it should be considered making the search link more visable.

Anyway , thanks for the help.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.rmi.RemoteException: on 1st example