[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EJB not deployed in EAR file with libraries

jaikiran do-not-reply at jboss.com
Wed Nov 12 01:52:05 EST 2008


<?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.s
  | un.com/dtd/application_1_3.dtd'>
  | <application>
  |   <display-name>myApp</display-name>
  |   <description>Application description</description>
  |   <module>
  |     <ejb>myEjb.jar</ejb>
  |   </module>
  |   <library-directory>lib</library-directory>
  | </application>	

Point#1 - The library-directory is not meant to be in the application.xml. Instead it should be in the jboss-app.xml:

<jboss-app>
  |   <library-directory>lib</library-directory>
  | </jboss-app>

Fix the application.xml to remove that element and create a jboss-app.xml file with the above contents in the EAR/META-INF folder.

Next, what do the util*.jar contain? And finally, do you see any exceptions in the logs? If yes, then please post the same. Please also post the logs, from the point where your application starts getting deployed.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188657#4188657

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188657



More information about the jboss-user mailing list