-
1. Re: Wildfly creates separate folders for each jar file within EAR/WAR
jaikiran Feb 10, 2016 10:52 PM (in response to jboss234)It's all internal implementation details of the server. What's the reason that you are checking that (temporary) folder path for jars and why do you expect it to be in a specific way?
-
2. Re: Wildfly creates separate folders for each jar file within EAR/WAR
jboss234 Feb 12, 2016 5:21 PM (in response to jaikiran)I am using Cocoon page publishing framework. Some how its not able to recognize classes inside utility.jar. This utility.jar is part of EAR file.
Here is EAR structure
EAR
|
|--- WAR
|--- EJB Jar
|--- Utility.jar
Utility.jar has common classes which are shared between WAR and EJB jar.
To make it work for Cocoon I would like to specify relative path for Utility.jar in web.xml for Cocoon.
If folder structure remain same during deployment then I can give relative path.
Thanks,
-
3. Re: Wildfly creates separate folders for each jar file within EAR/WAR
jaikiran Feb 13, 2016 4:40 AM (in response to jboss234)Create a lib folder in the .ear and put the utility.jar within that .ear/lib folder. It will be available to both the war and the EJB jar.
-
4. Re: Wildfly creates separate folders for each jar file within EAR/WAR
abhinav.gupta01 Feb 17, 2016 4:23 AM (in response to jboss234)You can also create a custom module for such jars , and use it everywhere.