user25165614
user25165614

Reputation:

how to stop ear from creating in project file?

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

Answers (0)

Related Questions