I've just started working with ejbs and am using SUN's Application Deployment Tool V1.3 and SUN's J2EE Server. I'm trying to test a simple stateful session bean, which deployed without error, but when I attempt to connect to the bean I get an RMI AccessException. I have changed all pertinant security policy files to grant universal access but still keep getting the exception. Also I am running Windows 2000 Pro. Here is the stack trace: java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested 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.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:136) at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source) at usingj2ee.hello._HelloWorldSessionHome_Stub.create(Unknown Source) at usingj2ee.hello.TestHello.main(TestHello.java:26) Can anyone help?
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher