Cocoon web.xml has
its in WAR file.
I wanted to reference JAR file from EAR module in this web.xml.
What should be relative path ?
EAR file has WAR and JAR file.
What you try to achieve? In general the web-app should have access to the ejb-jar if the deployment and configuration is correct.
You should have a look to the documentation.
Which version do you use AS7 or WildFly?
I am using wildfly 8.2.0
Most of the part of Web application is accessing EJB JAR file without any issue except Cocoon's XSP generated JAVA classes.
We are using Cocoon framework which use xsp. xsp transformed to JAVA class during runtime. These XSP java classes are not able to access classes from EJB module.
Cocoon's web.xml has <param-name>extra-classpath</param-name> (which is inside WAR file), I am trying to set relative path for EJB jar module in web.xml
EAR has WAR and EJB Jar components.