I am not sure which version of jboss you are using. Currently, we use JBoss-3.2.3 and we
have a similar case where there are jar files in our ear file and the way we configure it
is as follows:
- Create a application.xml file containing the following:
<?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 Struts Example</display-name>
|
| <module>
| <java>first.jar</java> <!-- Assuming that first.jar is *directly*
under the ear -->
| </module>
|
| <module>
| <java>second.jar</java>
| </module>
|
| </application>
- Place this application.xml file in the META-INF directory of yourApp.ear
This works for us without any issues. See if this approach suits you.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957634#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...