-
1. Re: Publish failed using Ant publisher unable to assemble module duplicate entry: META-INF/
wdfink Jul 4, 2011 8:32 AM (in response to nkjunior)Any other information?
Have you checked the EAR/WAR file? What do you change right before?
-
2. Re: Publish failed using Ant publisher unable to assemble module duplicate entry: META-INF/
peterj Jul 4, 2011 2:20 PM (in response to nkjunior)Have you looked in your ear/war file to see if there are two meta-inf directories, possibly with different captialization?
It would help if you posted the relevant target within your ant script, and also posted the full ant output. Also, are you doning this in Eclipse?
Since the problem is with your app and/or your ant script, and not with JBoss AS itself, we cannot help you if you do not provide us with enough information.
-
3. Re: Publish failed using Ant publisher unable to assemble module duplicate entry: META-INF/
nkjunior Jul 4, 2011 4:22 PM (in response to nkjunior)HI, Peter and Wolf and to everyone.
Here is a complete description of my EAR. It has three files for configuration:
1- MANIFEST.MF
MANIFEST.INF Content :
Manifest-Version: 1.0
Class-Path:
2- Jboss-app.xml
Jboss-app.xml Content :
<?xml version="1.0" encoding="UTF-8"?>
<jboss-app>
<module>
<service>Genezis-LoginModule.sar</service>
</module>
</jboss-app>
3- application.xml
- Application.xml Content :
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" id="Application_ID" version="5">
<display-name>E-BuisnessPortal</display-name>
<module>
<ejb>Genezis-BuisnessLogic.jar</ejb>
</module>
<module>
<ejb>Genezis-DAO.jar</ejb>
</module>
<module>
<web>
<web-uri>Genezis-Presentation.war</web-uri>
<context-root>Genezis</context-root>
</web>
</module>
<module>
<ejb>Genezis-Scanner.jar</ejb>
</module>
<module>
<java>juel-2.2.1.jar</java>
</module>
<module>
<ejb>E-Stock-Manager-DAO.jar</ejb>
</module>
<module>
<ejb>E-Stock-Manager-BuisnessLogic.jar</ejb>
</module>
<module>
<web>
<web-uri>E-Stock-Manager-Presentation.war</web-uri>
<context-root>E-StockManager</context-root>
</web>
</module>
<module>
<ejb>SmsServiceComponentEventManager.jar</ejb>
</module>
<module>
<ejb>EBP-IDGenerator.jar</ejb>
</module>
</application>
Hope it will be helpful. Thanks for your concern
-
4. Re: Publish failed using Ant publisher unable to assemble module duplicate entry: META-INF/
wolfgangknauf Jul 5, 2011 4:17 AM (in response to nkjunior)Hi,
how do you publish to JBoss? Do you e.g. Eclipse or do you have a custom ant job? Basically, your app seems to be OK.
Best regards
Wolfgang
[EDIT] Oops, I didn't see that Peter asked the same question before ;-)
-
5. Re: Publish failed using Ant publisher unable to assemble module duplicate entry: META-INF/
peterj Jul 6, 2011 11:31 AM (in response to nkjunior)I will repeat myself:
>>It would help if you posted the relevant target within your ant script, and also posted the full ant output. Also, are you doing this in Eclipse?
-
6. Re: Publish failed using Ant publisher unable to assemble module duplicate entry: META-INF/
nkjunior Aug 1, 2011 6:06 AM (in response to nkjunior)Infact, the problem was a problem of data. When we renewed data, the problem was solved by itself. Thank you!!!