Thank you. This helped a lot. So EJB and Web clients are working properly. But there is a question: how to solve it in case of stand-alone client (console application)? There is no ejb-jar / web.xml there.
Is there anyway to solve it? Could we anyhow put this property (<res-auth>Application</res-auth>) to the connection pool configuration on glassfish server?
[Message sent by forum member 'hazurek' (hazurek)]
http://forums.java.net/jive/thread.jspa?messageID=213162