This content has been marked as final.
Show 1 reply
-
1. Re: how to debug why an ejb is not getting deployed in jboss
nlmarco Mar 26, 2005 5:08 PM (in response to copperman)Do you have an "application.xml" in the directory "accountlocate.ear/META-INF"? If not, create one and register your jars there. The jars in the deploy-directory are only automatically deployed if they aren't wrapped within an ear. As soon as you use an ear, you need an application.xml. Hope, I could help!
Here is the DTD: http://java.sun.com/dtd/application_1_3.dtd
A simple example of this file could look like this:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd"> <application> <display-name>My Application</display-name> <module> <ejb>MyEJB.jar</ejb> </module> <module> <connector>MyResourceAdapter.rar</connector> </module> <module> <web> <web-uri>MyWebClient.war</web-uri> <context-root>/My/Application</context-root> </web> </module> </application>