[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: location of utility jars (application specific) shared b
do-not-reply at jboss.com
Fri Sep 21 18:01:39 EDT 2007
What's the problem using an EAR? You can have an exploded EAR application, and put the WARs inside when theyre ready. You will only have to add them to the application.xml and jboss-app.xml file.
To tell JBoss where the shared libs are, use the library-directory tag of jboss-app.xml. In the DTD of jboss-app_ 4_2.dtd in the docs/dtd lib of JBoss you can see that this is what you're looking for:
anonymous wrote :
| <!-- An .ear file may contain a directory that contains libraries packaged in JAR files.
| The library-directory element of the .ear files deployment descriptor contains the name
| of this directory. If a library-directory element is not specified,
| the directory named lib is used.
| An empty library-directory element may be used to specify that there is no library directory.
| All files in this directory (but not subdirectories) with a .jar extension must be made available
| to all components packaged in the EAR file, including application clients.
| Used in: jboss-app
| <!ELEMENT library-directory (#PCDATA)>
This element is 4.2 specific.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087441#4087441
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087441
More information about the jboss-user