This chapter is from the book
Troubleshooting
Initial Context
Q: Why do I get an error when I create the initial context?
A: You might need to specify an initial context factory property. You may also need to specify a PROVIDER_URL or other properties. Consult the documentation for your JNDI implementation to see what properties it requires.
General Errors
Q: Why can't I store my object in the naming service?
A: Some services only allow certain types of objects. The RMI Registry only accepts RMI object and the CORBA Naming service only accepts CORBA objects. Other services might require that your object is serializable.
< Back
Page 5 of 5