It's not a secret anymore!*
The moose likes EJB and other Java EE Technologies and the fly likes AccessControlException Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "AccessControlException Problem" Watch "AccessControlException Problem" New topic
Author

AccessControlException Problem

Vinod Kumar
Greenhorn

Joined: Jan 22, 2002
Posts: 10
Hello,
I am new to EJBs and created my first EJB called HelloBean and deployed it using deploytool to the J2EE Reference Implementation app server. Now after running the client, it asks me to login. By default, guest and guest123 are uid and pwd for this server, and I checked the auth.properties file and it was guest and guest123. But after I entered it, it's giving me an AccessControlException.
Does anyone know how to fix this problem?
Thanks,
Joseph.
----------
runclient -client HelloApp.ear -name HelloClient
Initiating login ...
Application threw an exception:java.security.AccessControlException: access denied: (java.util.PropertyPermission * read,write)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: AccessControlException Problem