On Sun, 2003-07-06 at 10:02, jonathan wong wrote: > I place ejb-jar.xml , jboss-web.xml and web.xml under > WEB-INF . The content is as follow : >
ejb-jar.xml belongs in the META-INF of ejb deployment's jar. > And 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>come.samlpe.HelloWorld</remote> Is that a typo? > Incompletely deployed packages: > [EMAIL PROTECTED] { > url=file:/C:/jboss-3.2.1_tc/serv > er/default/deploy/helloworld.war } > deployer: > [EMAIL PROTECTED] > status: Deployment FAILED reason: Error during > deploy; - nested throwable: (ja > va.lang.NullPointerException) > state: FAILED > watch: > file:/C:/jboss-3.2.1_tc/server/default/deploy/helloworld.war > lastDeployed: 1057480274640 > lastModified: 1057480274562 > mbeans: > ]MBeans waiting for classes: > <none> > MBeans waiting for other MBeans: > <none> > > Therefore , what should I do ? Thank you ! If you look further back in the log you will see the full stacktrace for the NullPointerException, can you post that? -- 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
