What this amounted to was that my jdbcRealm worked fine until I made a connected to a JMS topic or queue after which the jdbcRealm refused access to my EJB's.
If you would like further information after reading the referenced thread I will be happy to supply it.
Paul
[Message sent by forum member 'pg_glassfish' (pg_glassfish)]