wood burning stoves 2.0*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Error while running Advice EJB from HF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Error while running Advice EJB from HF" Watch "Error while running Advice EJB from HF" New topic

Error while running Advice EJB from HF


Joined: Mar 12, 2004
Posts: 6
I am getting the folloing error when I am running my client. Successfully deployed and don't know how to fix this. Any help???
C:\release\bcd\HFEJBCODE\advice>java AdviceClient
java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemExceptio
at javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
at headfirst._AdviceHome_Stub.create(Unknown Source)
at AdviceClient.go(AdviceClient.java:26)
at AdviceClient.main(AdviceClient.java:14)
Caused by: org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed:
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.sun.corba.ee.internal.iiop.messages.ReplyMessage_1_2.getSystemExc
at com.sun.corba.ee.internal.iiop.ClientResponseImpl.getSystemException(
at com.sun.corba.ee.internal.POA.GenericPOAClientSC.invoke(GenericPOACli
at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
... 3 more
Lu Battist
Ranch Hand

Joined: Feb 17, 2003
Posts: 104
This has been asked before, but basically the problem is a bug in Sun's reference implemenation of J2EE. To get around this problem, you can't have the method and interface name be roughly the same. (change getAdvice to getMessage in the right places and it will work)
Goto the publishers website for all the details: HeadFirst EJB Notes
I agree. Here's the link: http://aspose.com/file-tools
subject: Error while running Advice EJB from HF
Similar Threads
Problem Running the AdviceClient
Help required for executing EJB
getting java.rmi.AccessException: CORBA NO_PERMISSION