Error during running the Client program


EJB programming & troubleshooting: Error during running the Client program

  1. Error during running the Client program (2 messages)

    Hi friends,
     When I am running the Client program for an example of Entity Bean(Container-Managed), I get the following error as shown below:

    Caught an unexpected exception!
    javax.naming.NameNotFoundException: MyConverter not found

    The example is from J2EE documentation(Converter example).
    Please help me in this regard.

    Thanx in advance.

  2. The Application server that I am using is J2EE Server, and the database is SQL Server.

  3. Hi Shibin,

    You are getting this error because of these reasons...

    1. your classpath is not set correctly
    2. the persistent name server is not running or the name of your bean in the Lookup is not correct..could be the wrong case.

    Let me know if either of these fixes it or if you need more help.