[
https://jira.jboss.org/jira/browse/JBIDE-6184?page=com.atlassian.jira.plu...
]
Libor Zoubek commented on JBIDE-6184:
-------------------------------------
I finally reproduced this issue. There is quite long list of steps to reproduce it.
1. create EAR with application.xml - EAR is in error state, cause it does not contain any
war - OK
2. create web project A and add it to EAR - OK
3. Create web project B add add it to EAR - OK
4. deploy that EAR to EAP-5.0.GA - eap recognizes both projects - OK
5. undeploy EAR - OK
6. delete project A from workspace (and filesystem) - OK
7. deploy that EAR to EAP-5.0.GA - eap recognizes only project B - OK
8. Create web project A add add it to EAR - here we go
It seems the problem could be somewhere server adapter. it must have cached some EAR state
before project A was deleted. After project A is once again created, EAR state is not
updated and only new version of application.xml (which contains added project A) is copied
to server.
Error while adding re-deployments on EAP-5
------------------------------------------
Key: JBIDE-6184
URL:
https://jira.jboss.org/jira/browse/JBIDE-6184
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.1.0.GA
Reporter: Libor Zoubek
Assignee: Rob Stryker
Priority: Minor
Attachments: server.log
Steps to reproduce:
1. create EAR (with application.xml)
2. create web project 1 and add it to EAR
3. deploy EAR on EAP-5.0.GA (4.3 is not affected by this issue)
4. Create web project 2 add add it to EAR
You should get same exception as attached in server.log
Adapter is then in bad state, clicking on Full Republish on EAR in server view does not
even help to get project 2 deployed. The only way is to remove and add EAR to server
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira