When I deploy my ear file using the application.xml below two instances of the Oracle2JBoss.jar and two instances of Oracle2JBossStartup.war are reported in the Administration Console of JBoss. If I deploy the jar and war separately only single instances are reported. I'd like this behavior when deploying the ear. What am I missing?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems,
Inc.//DTD J2EE Application 1.2//EN"
"http://java.sun.com/j2ee/dtds/application_1_2.dtd">
<display-name>
JMS Relayer
</display-name>
Oracle2JBoss.jar
</module>
<module>
<web>
<web-uri>Oracle2JBossStartup.war</web-uri>
<context-root>Oracle2JBossStartup</context-root>
</web>
</module>
</application>
Oh JBoss 4.0.1