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