tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcelo Dias <maru...@gmail.com>
Subject Re: Tomcat+OpenEJB deploying ear files
Date Mon, 18 May 2009 00:09:00 GMT
*If I declare the attribute "catalogo", of the "Client" servlet class, like
this:
*
*@EJB
 private CatalogoRemote catalogo;*

*Instead of:*

*@EJB(name="Catalogo")
 private CatalogoRemote catalogo;

**The servlet prints, on my browser:*

*Welcome to Client
java.lang.NullPointerException*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message