There may be a clue to this question in the following error message that is 
generated when trying the 
com.evermind.server.ApplicationInitialContextFactory from an application 
client:

"javax.naming.NamingException: 
com.evermind.server.ApplicationInitialContextFactory should only be used 
inside Orion server environments. For client 
com.evermind.server.ApplicationClientInitialContextFactory or 
com.evermind.server.rmi.RMIInitialContextFactory should be used"

I suggest you try the ApplicationInitialContextFactory instead of the 
ApplicationClientInitialContextFactory in your situation.


Somewhat related, I have been trying to get an application client working. 
I have succeeded in connecting to the orion rmi server, looking up an ejb, 
and retrieving data. I would like to authenticate against the 
EJBUserManager that is configured for our web applications. However, it 
appears that the rmi authentication defaults to XMLUserManager - i.e., I 
can only authenticate for users defined in the principals.xml file. This 
could be related to the orion Bugzilla #374. Can anyone provide some 
insight into the RMI authentication? Thanks.

Regards,

Earl

At 18:04 3/29/2001 -0800, you wrote:
>Could someone help me with this problem.  When trying to create a new
>InitialContext with factory
>com.evermind.server.ApplicationClientInitialContextFactory from inside of
>OrionServer always throws a NullPointerException, with message "domain was
>null".  The same code works fine from external client.
>
>Has anyone fixed this problem?  Has anyone seen this problem?  Is anyone
>trying to deploy JSP and EJB parts on different Orion servers, or are all
>people comfortable running their models in front of the firewalls?
>
>Any help would be appreciated....
>
>Thanks for your help.
>-AP_

Earl Marwil
SCIENTECH, Inc.
1690 International Way
Idaho Falls, ID 83402
208.525.3717


Reply via email to