<quote>
since you have the security manager enabled,
</quote>
That was the problem - I didn't have the security manager enabled!!! :(
I've just found out that Glassfish starts with the security manager disabled by default, so I added the -Djava.security.manager option to the JVM, and now it works!
Thanks for the help!
[Message sent by forum member 'fbratu' (fbratu)]
http://forums.java.net/jive/thread.jspa?messageID=275934