[ resending this message because of:  <The following mail of yours could 
not be forwarded as per recipient's settings due to looping in mail 
delivery.> ]

Hi jboss users,

I'm getting an exception deploying a EAR in JBoss 2.4.3/2.4.4 which 
works fine in WLS 6.1. The exception is:

[AutoDeployer] Auto deploy of 
file:/Applications/JBoss-2.4.3/deploy/myEar.ear
[J2EE Deployer Default] Deploy J2EE application: 
file:/Applications/JBoss-2.4.3/deploy/myEar.ear
[J2eeDeployer] Create application myEar.ear
[J2eeDeployer] inflate and install WEB module myWar.war
[J2eeDeployer] module myWar.war not found in myEar.ear
[AutoDeployer] Deployment 
failed:file:/Applications/JBoss-2.4.3/deploy/myEar.ear
[AutoDeployer] org.jboss.deployment.J2eeDeploymentException: module 
myWar.war not found in myEar.ear

If I remove the WAR, jboss can't find the two EJBs either.

The application.xml stored in /META-INF/application.xml of the EAR looks 
like:

<?xml version="1.0"?>
<!DOCTYPE application
                PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN'
                'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
<application>
        <display-name>myEAR</display-name>
        <module>
                <web>
                        <web-uri>myWar.war</web-uri>
                        <context-root>/myContext</context-root>
                </web>
        </module>
        <module>
                <ejb>mySessionBeanOne.jar</ejb>
        </module>
        <module>
                <ejb>mySessionBeanTwo.jar</ejb>
        </module>
</application>

Thanks in advance for any hints what the problem could be!
(I looked at the EAR sample distributed with JBoss 2.4.4 but couldn't 
see any difference)

--david


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to