Marina
did you mean ?
java -Djava.endorsed.dirs=<gf-install>/glassfishv3/glassfish/modules/
endorsed -cp <gf-install>/glassfishv3/glassfish/lib/embedded/glassfish-
embedded-static-shell.jar:your-ejb-module your.main.Main
note lib/embedded rather than modules for the glassfish-embedded-
static-shell.jar
Jerome
On Aug 31, 2009, at 4:55 PM, Marina Vatkina wrote:
> Using the latest ws, you can execute EJB Embeddable container API
> (including JPA) if accessed via
>
> java -Djava.endorsed.dirs=<gf-install>/glassfishv3/glassfish/modules/
> endorsed -cp <gf-install>/glassfishv3/glassfish/modules/glassfish-
> embedded-static-shell.jar:your-ejb-module your.main.Main
>
> These are the current limitations:
> - tables are not dropped on undeploy;
> - monitoring stack traces (that do not affect execution) are seen if
> another container is created in the same VM (after closing the
> previous one);
> - not yet supported features:
> - specifying user-defined classloader
> - specifying appName to be used for all deployed EJB modules
> - looking up EJBs via java:app or java:module
> - looking up EJBs from one EJB module in another EJB module
>
> Regards,
> -marina
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>