Hello,

How can I start an ejb container programmatically.  I want to start the
container and then do some initialization.  I tried calling
ApplicationServer.main(args) and then do the initialization.  However,
when during initialization, I try to access JNDI via new
InitialContext() I get an error "Not in an application scope - start
Orion with the -userThreads switch if using user-created threads".  I
pass Java -DuserThreads on the command line.

Please help.

Thanks,
Vidur




Reply via email to