Can we package ear for jboss 6 ? What will be application.xml uri ??
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee /application_5.xsd">
<display-name>my-ear</display-name>
<module>
<ejb>my-ejb</ejb>
</module>
I have tried changing version for version=6 but it is saying file not found.
Caused by: java.io.FileNotFoundException: http://www.jboss.org/j2ee/dtd/jboss-app_6_0.dtd
Does any one have face such problem with jboss 6 while deploying ear ????
I have solved it using maven ear plugin and removing manually created application.xml.
Here is my ear pom it might be helpful for other