File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

java.rmi.RemoteException: on 1st example

Christiaan Pansegrouw

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


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 javax.rmi.CORBA.Util.mapSystemException(
at headfirst._Advice_Stub.getAdvice(Unknown Source)
at client.AdviceClient.go(
at client.AdviceClient.main(
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(
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
at java.lang.reflect.Constructor.newInstance(
at java.lang.Class.newInstance0(
at java.lang.Class.newInstance(
at org.omg.CORBA.portable.ObjectImpl._invoke(
at headfirst._Advice_Stub.getAdvice(Unknown Source)
... 2 more

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

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

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.
I agree. Here's the link:
subject: java.rmi.RemoteException: on 1st example
It's not a secret anymore!