users@glassfish.java.net

Re: How do logon or set principle/roles/groups when using Embedded API

From: <glassfish_at_javadesktop.org>
Date: Wed, 10 Mar 2010 06:11:22 PST

Are you setting installRoot on the EmbeddedFileSystem, while using the glassfish-embedded-web jar? If so, this stack trace is expected. Can you try the instructions at

http://blogs.sun.com/nithya/entry/running_a_secure_application_using

?

If you are using the embedded EJB APIs, one of the issues you might run into is that embedded EJB works with a temp directory, that currently does not have a keyfile pointed to, by the default domain.xml. That would need to be resolved.
[Message sent by forum member 'sirajg' (Siraj.Ghaffar_at_Sun.Com)]

http://forums.java.net/jive/thread.jspa?messageID=391037