-
1. Re: EAR deployment problem
jaikiran May 4, 2010 5:51 AM (in response to hehe64310)The .war file contains a META-INF/MANIFEST.MF with a Class-Path attribute:
Class-Path: EJB3Test.jar
We have some known issues with Class-Path attributes in MANIFEST.MF. Remove that entry from the MANIFEST.MF
-
2. Re: EAR deployment problem
wolfgangknauf May 4, 2010 6:37 AM (in response to hehe64310)Hi,
you have a JavaEE5 app I assume? I ask because your "EJB3Test.jar" contains a web.xml AND Entity beans. But the feature of bundling EJBs in a WAR file is a feature of JavaEE6.
So, either split EJB3Test.jar to an EJB jar and a WAR file, or (if you didn't intend to build a web module) clean it up: remove the "web.xml" folder, and your application.xml points to a web module.
Best regards
Wolfgang
-
3. Re: EAR deployment problem
jaikiran May 4, 2010 6:39 AM (in response to wolfgangknauf)Wolfgang Knauf wrote:
Ah, that's a good point! I did not notice that the .jar was containing web.xml and .war related contents.
-
4. Re: EAR deployment problem
hehe64310 May 4, 2010 8:13 AM (in response to wolfgangknauf)Thank you very much for pointing me at this. It was a stupid mistake: I have simple overlooked the WEB-INF folder containing the web.xml.
Now that I have removed that folder everything works as expected.
Thank you!