-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
appname.ear.xml contains duplicate targetArchive #397
Comments
Related to Line 61 in e1d1577
|
It seems Line 62 in e1d1577
ref.getArchiveName() may need to be checked when returning the result. |
The org.eclipse.wst.common.component file in the .settings for the ear has:
But the Module objects don't appear to have this information. In fact the exact same Module is just passed in twice on the publishModules call. The ids are the same: |
Opened a bugzilla bug against 'org.eclipse.wst.common.component' |
Problem: If maven-ear-plugin builds an EAR which contains two web modules derived from a single web module project and we deploy the EAR to Liberty through WDT, only one of the web modules is started.
only test-war-1 becomes available.
[ERROR ] CWWKZ0117E: Application test-ear failed to locate module test-war-2.war of type web
[AUDIT ] CWWKT0016I: Web application available (default_host): http://localhost:9080/test-war-1/
[AUDIT ] CWWKZ0001I: Application test-ear started in 0.121 seconds.
appname.ear.xml contains duplicate targetArchive. <-- this is the issue.
[AUDIT ] CWWKT0016I: Web application available (default_host): http://localhost:9080/test-war-1/
[AUDIT ] CWWKT0016I: Web application available (default_host): http://localhost:9080/test-war-2/
[AUDIT ] CWWKT0016I: Web application available (default_host): http://localhost:9080/test-war-1/
[AUDIT ] CWWKT0016I: Web application available (default_host): http://localhost:9080/test-war-2/
So the problem is happening only when we deploy the application through WDT.
The text was updated successfully, but these errors were encountered: