users@glassfish.java.net

Re: Glassfish won't deploy

From: <forums_at_java.net>
Date: Tue, 09 Nov 2010 08:57:47 -0800

application.xml:
  <display-name>MyApp</display-name>
- <module>
- <web>
  <web-uri>MyApp.war</web-uri>
  <context-root>/MyApp</context-root>
  </web>
  </module>
- <module>
  <ejb>MyApp-ejb.jar</ejb>
  </module>
  </application>

Yes, I forgot to add the -ejb part to the .jar title. MyApp-ejb.jar contains
ejb beans with annotations. It has @Stateless beans.


--
[Message sent by forum member 'heyya99']
View Post: http://forums.java.net/node/711106