-
1. Re: Deployable Modules ?
alesj Oct 24, 2011 7:42 PM (in response to rkite01)You mean modules in modules/ dir?
They are not hot deployable, but you can add new any time - as they are only looked on-demand.
Otoh, each app is a deployable module -- see previous posts for the actual module name.
-
2. Re: Deployable Modules ?
rkite01 Oct 24, 2011 7:46 PM (in response to alesj)Can a module be included in a jar and dropped in the deployments directory? Thus hot deployed.
-
3. Re: Deployable Modules ?
alesj Oct 24, 2011 7:52 PM (in response to rkite01)A jar in deployment/ *is* a module. Just dunno how much you can control resource visibility.
-
4. Re: Deployable Modules ?
rkite01 Oct 24, 2011 7:59 PM (in response to alesj)I am having a hard time getting 2 ears to see some of my common code libraries/jars. I really do not want to make them a static modules since they are being modified a lot. In JBoss 4.2.3 this was not a problem. The common jars were loaded in I guess a common classloader from my main ear file. Other ears automatically had visiblity to the common code libraries deployed in the initial ear.
-
5. Re: Deployable Modules ?
kabirkhan Oct 25, 2011 7:49 AM (in response to rkite01)You can add a Dependencies entry to the including ear's manifest.mf as mentioned in https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7.
Or if you want more control you can add a jboss-deployment-structure.xml
-
6. Re: Deployable Modules ?
rkite01 Oct 25, 2011 5:13 PM (in response to kabirkhan)I can successfully reference the top level jar in my ear buy using deployment.myear.ear.topjar.jar in Manifest.MF of war. I still do not know how to reference the jars in the ear/lib directory from the external war. Is there something that needs to be configured to expose them or maybe I am using the wrong path to the lib? I tried several paths but none worked.