users@glassfish.java.net

EJB 3.1 in Ganymede

From: <glassfish_at_javadesktop.org>
Date: Tue, 19 Aug 2008 21:58:39 PDT

I just deployed a simple EJB 3.1 class in Glassfish v3 tp2 using Eclipse 3.4. The injection is not happening.

What could be the reason ? There is NPE when i access the injected bean in a servlet. The DD is

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">


Thanks,
Mohan
[Message sent by forum member 'mohanr' (mohanr)]

http://forums.java.net/jive/thread.jspa?messageID=294275