I have the following:
– Enterprise Application Project: “MyApp”
– EJB Project: “MyAppEJB”
– Web Project: “MyAppWEB”
I can deploy everything to JBoss 3.2.3, and all test cases work without issue.
My Problem:
In MyEclipse 3.9.210, I can individually deploy the Web Project, EJB Project or
EAR project, however, if the WEB project is deployed, MyEclipse will NOT allow me
to deploy the EAR project. Why!? I have removed all references to the WEB
project from the EAR project. The deploy tool complains with the error:
“Context-root ‘/MyAppWEB’ already in use by project MyAppWEB deployed on server JBoss 3.”
Is there an artifact file somewhere that needs to be deleted for the MyEclipse
to allow the deploy?
I want to be able to deploy my EAR and WAR separately. I should not need to
package the WAR in the EAR.
Is there a work-around for this for MyEclipse?
Regards,
Rob.