Hi!
I've tried to get this ejb-demo (path orion/demo/ejb/product) running,
unfortunately without success. After following the instruction "Installing
the EJB examples" and starting the client I got this:
Exception in thread "main" java.lang.SecurityException: Invalid
username/password for ejbsamples (admin)
at com.evermind.server.rmi.bb.gg(JAX)
at com.evermind.server.rmi.bb.gg(JAX)
at com.evermind.server.rmi.bb.f_(JAX)
at com.evermind.server.rmi.RMIServer.f_(JAX)
at com.evermind.server.rmi.RMIContext.lookup(JAX)
at com.evermind.server.Application.ap7(JAX)
at
com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(JAX)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
at javax.naming.InitialContext.init(InitialContext.java:222)
at javax.naming.InitialContext.<init>(InitialContext.java:178)
at ProductClient.main(ProductClient.java:29)
Then I changed the initial context creation to this (giving username and
password):
final Properties properties = new Properties();
properties.setProperty(Context.SECURITY_PRINCIPAL, "admin");
properties.setProperty(Context.SECURITY_CREDENTIALS, "admin");
Context context = new InitialContext(properties);
As result I got this:
Communication error: Error reading application-client descriptor: Error
looking up EJBHome: Disconnected: Unknown command: 7
Now I'm a little confused and would apreciate any help...
Thanx in regards
Marcus Lankenau