Can't get client app to work
I think it might be that sun-j2ee-ri.xml is specifying the jndi name, ejb-ref name binding, whereas orion is not parsing that file. I think you have to do it in orion-ejb-jar.xml to do the things equivalent to sun-j2ee-ri.xml does. You can find the orion-ejb-jar.xml in orion\application-deployments\your-app-name\your-ejb-jar-name\ . Copy it to your codebase and change it. Xiaowen
Re: admin -restart does not work correctly
On Thu, 27 Sep 2001, Michael Simons wrote: On my Linux box (kernel 2.4) the command $ java -jar /opt/orion/admin.jar ormi://localhost/ admin adminpassword -restart doesn't work. The following messages are written to the console where orion server is running: Error starting RMI-Server: IO Error: Address already in use Error starting HTTP-Server: Address already in use A shutdown after issuing the restart command doesn't work either. Any hints what I'm missing would be highly appreciated. michael Take a look at orionsupport.com about shutdown orion server. You need to use -force to do the shutdown. As for the restart, it's not documented there. So just stop, then start. The address already in use error msg is because the shutdown is not clean, the port is still in use. XW
Help!!Subject.getSubject(AccessControlContext) returns null
Hi: I've been trying to send the authenticated app client's Subject to a RMI Activatable server in another JVM. In the app client, I run the follwing: AccessControlContext ac = AccessController.getContext(); Subject sbj = Subject.getSubject(ac); However, sbj turns out to be null. Is it because ac is NOT the Subject that's authenticated at the beginning of the app client run? Thanks XW