File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes AccessException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "AccessException" Watch "AccessException" New topic
Author

AccessException

Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AccessException