I’m new to MyEclipse and J2EE. Just came back from a Sun course and am now trying to see how MyEclipse can work for me. But I’ve encountered some problems.
I’m running the Sun App Server 8.1 Q2 which I’ve added to the MyEclipse configuration using a correct JDK.
In MyEclipse I’ve created a new Enterprise project with an EJB. In this EJB I have one bean class with a pojo helper class. I’ve created one business method and used XDoclet to create interfaces and descriptors. I start the app server from Eclipse which starts without problem. Then I (re)deploy the enterprise project and at this point I get the following error:
Fatal Error from EJB Compiler — Invalid jndi name [] found in application [TestApplication]; module [TestApplicationEJB.jar]; ejb [Test]; aborting deployment. Please populate the jndi element and try again.
I have done no additional setup on the app server.
Any idea what is causing this error? My first guess was that I needed to set-up a JNDI reference to the bean but I have no idea what set-up I would have to use as I do not know the JNDI name to use and any other of the parameters…