Reputation:
I am working on a java project which use jboss to run every time i export a ear file of my project to the jboss deploy a copy of the ear is getting created in my project file location when i start the server the joss get's pointed to both the ear in the jboss and the ear in the project file location and i get this error
Caused by: javax.management.InstanceAlreadyExistsException: jboss.j2ee:service=EARDeployment,url='(EAR Name).ear' already registered.
It is working fine when i delete the ear in the project file but every time i export and deploy i need to delete the file that creating in project file
Can some one tell me why a copy is creating and how can i stop it from getting created
Upvotes: 1
Views: 33