Hi,
Not sure If I need to post my question in
EJB section or
Servlet section as I'm actually trying to lookup a Stateless Session bean
Please find my servlet code
and my code for ServiceLocator
Output on console
16:35:38,203 INFO [STDOUT] New Code
16:35:38,265 INFO [STDOUT] Object is :ejb/GreetingHome
16:35:38,265 INFO [STDOUT] Greeting Home is :ejb/GreetingHome
16:35:38,265 INFO [STDOUT] GH is:null
16:35:38,265 ERROR [Engine] StandardWrapperValve[Controller]: Servlet.service() for servlet Controller threw exception
java.io.IOException: Could not create Home
Now my question is why did GH has become null suddently when it is displayed just a step above in the doGet() method.
Please help me in identifying the problem.