I'm creating my first EJB application (on the J2EE out-of-the-box server), using the examples from the book Mastering Enterprise JavaBeans, which by the way is a very good book, and I'm up to running the client, locally to the server. I have the session bean deployed and the server running and when I run the runclient script, it asks for a username and password. I have read somewhere that this should be "guest","guest123", but this doesn't work (it throws:
Application threw an exception:java.security.AccessControlException: access denied (java.util.PropertyPermission * read,write).)
Also, I've checked that the deployment settings for the security of the EJB support the client's choice of authentication. I have even tried adding a new user and restarting the server, but no luck. Any advice? Am I missing something?

Help much appreciated!!