This content has been marked as final.
Show 2 replies
-
1. Re: Jboss EAP 6.3 ear fails but war works.
jaysensharma Oct 9, 2015 12:02 AM (in response to sandeepkumar08)Can you check if by any chance are you placing any "yyyy.war/WEB-INF/jboss-deployment-structure.xml" inside your WAR?
In case of EAR that file is expected to be placed inside the xxxx.ear/META-INF else it is ignored.
-
2. Re: Jboss EAP 6.3 ear fails but war works.
sandeepkumar08 Oct 9, 2015 9:29 AM (in response to jaysensharma)I did try that, but same result. Is there a way to give dependencies from WAR to EAR in deployment structure?
This is how it looks when moved to EAR
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure>
<sub-deployment name="yyyyyyy.war">
<dependencies>
<module name="com.oracle.ojdbc6-EJ" services="export" />
</dependencies>
</sub-deployment>
</jboss-deployment-structure>
But error is coming when it starts deploying the war inside the ear and looking for spring ContextLoaderListener.