Hello All, I deployed the ejb through RI and when i tried to access the bean through the client, it gave me following error. I already set the classpath for client jar given by RI. Exception in thread "main" java.rmi.AccessException: CORBA NO_PERMISSION 0 No; n ested exception is: org.omg.CORBA.NO_PERMISSION: minor code: 0 completed: No org.omg.CORBA.NO_PERMISSION: minor code: 0 completed: No at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Unknown Source) at com.sun.corba.ee.internal.iiop.messages.ReplyMessage_1_2.getSystemExc eption(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(GenericPOACli entSC.java:136) at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source) at prashu.negu._AdviceHome_Stub.create(Unknown Source) at AdviceClient.main(AdviceClient.java:12) Hope somebody will help me. thanks Prashant
Hi Prashant, I faced the same problem and here is the solution. Change the method name getAdvice() to sayAdvice() in the remote interface, and the bean class. In the client call the method sayAdvice() instead of getAdvice(). By the way, did u clear scjp 1.2 or 1.4 ? what books/sites did u use ? Bye Jughead
I had the same problem, and your fix worked, Jughead. Now, my question is why? What's up with the getAdvice() method, and why does sayAdvice() work? And I'm assuming not everyone had this problem, so why us?