Troubleshooting

Initial Context

Q1:Why do I get an error when I create the initial context?
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

Q1:Why can't I store my object in the naming service?
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.

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.