Hi there again ....
I have a question setting system properties under Orion.
I have the following lines of code in my client app:
System.setProperty("java.naming.factory.initial",
"com.evermind.server.rmi.RMIInitialContextFactory");
System.setProperty("java.naming.provider.url", "ormi://localhost/store");
System.setProperty("java.naming.security.principal", "user");
System.setProperty("java.naming.security.credentials", "456");
.. which throws a security exception saying that I don't have the correct
username/password.
But when I put the settings in a jndi.properties file, they all work
correctly. Is there any way to put the settings in the code?
Thanks