Check the other .jar and .ear files in deploy for the same BarHomeRemote entry. Clear out everything if possible and deploy this ear only.
 
Try removing everything in the  $JBOSS_DEPLOY/../tmp/deploy/server/default/deploy/   directory first.
----- Original Message -----
Sent: Monday, February 03, 2003 10:16 AM
Subject: [JBoss-user] Problems deploying an EAR on JBoss 3.2

Hi!
 
Deploying the single ejb-jar works... But when I pack them into an ear archive I receive the following message:
 
javax.management.InstanceAlreadyExistsException: jboss.management.local:EJBModule=Foo-ejb.jar,J2EEApplication= ,J2EEServer=example.ear,j2eeT
ype=StatelessSessionBean,name=BarHomeRemote already registered.
 
I deleted everything from the deploy folder and tried again - without success....
 
 
The application.xml:

<?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>ExampleEAR</display-name>

<description>blub</description>

<module>

<ejb>Foo-ejb.jar</ejb>

</module>

<module>

<ejb>Bar-ejb.jar</ejb>

</module>

</application>

 

Thanks!

    Christian

Reply via email to