Have you enabled authentication in the JMS configuration? Check "connection validation" in the connection factory configuration (under Resources) in Glassfish admin console.
See also the admin guide (search for book 819-4467) for how to set up accounts (default user-level account is guest/guest).
HTH
[Message sent by forum member 'sennen' (sennen)]
http://forums.java.net/jive/thread.jspa?messageID=243465