Thanks.  I tried passing -userThreads in the args array and still get the same
error:
Not in an application scope - start Orion with the -userThreads switch if using
user-created threads.  I'm calling
com.evermind.server.ApplicationServer.main(args) -- is this the correct
approach?

Thanks,
Vidur


Dave Smith wrote:

> -userThreads should not be used with the -D option (it is not a definition)
> but should be added to the args array before calling the main method.
>
> Dave Smith
> Senior Team Leader
> Aristocrat Technologies Australia Pty Ltd
>
> mailto:[EMAIL PROTECTED]
>
> -----Original Message-----
> From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, 23 July 2000 13:00
> To: Orion-Interest
> Subject: How to programatically start orion ejb container
>
> 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

--
Vidur Dhanda
active.solutions
tel: 617/566-1252
fax: 617/566-4155
[EMAIL PROTECTED]
www.active-solutions-inc.com



Reply via email to