Hi, I'm going through the "hello world" -- I mean "advisor" -- program in chapter one to verify I have the complete toolset.
Everything is cool until I try to run the client. I get a javax.naming.NoInitialContextException. I expected this since it's being run directly and I didn't see anything setting up the JNDI environment.
Did I miss something, or is it an oversight in the book. I'm used to setting up the JNDI information in a web container, but this is the first time I've had to set up an EJB container.
Thanks. I needed port 1050 instead of port 3700 -- you would expect those properties to be easily found in documentation! I get a "no connection" message on port 3700.
I can now get past the lookup and 'narrow'.
But when I try to call home.create() I get "java.rmi.AccessException: CORBA NO_PERMISSION 0 No" and "vmcid: 0x0 minor code: 0 completed: no" messages. It also happens when I try running the app as root.