On Sun, 2003-07-06 at 12:40, jonathan wong wrote:
>  The web.xml 
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> 
> <!DOCTYPE web-app
>     PUBLIC "-//Sun Microsystems, Inc.//DTD Web
> Application 2.2//EN"
> "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
> 
> <web-app>
>   <display-name>Welcome to EJB</display-name>
>   <ejb-ref>
>   <ejb-ref-name>HelloWorld</ejb-ref-name>
>   <ejb-ref-type>Session</ejb-ref-type>
>   <home>com.sample.HelloWorldHome</home>
>   <remote>com.samlpe.HelloWorld</remote>
>   </ejb-ref>
> 
> </web-app>
> 
>  And the jboss-web.xml
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <jboss-web>
>       <context-root>/ejb</context-root>
> </jboss-web>
> 

You need to specify the jndi-name 
of the ejb-ref in jboss-web.xml
You had this in your previous post?

This NullPointerException was replaced with a more
informative error message in 3.2.2RC1

-- 
xxxxxxxxxxxxxxxxxxxxxxxx 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
xxxxxxxxxxxxxxxxxxxxxxxx 



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to