[jboss-jira] [JBoss JIRA] Resolved: (JBAS-6158) Reduce the distribution size by sharing the libraries between the all and default configs

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Tue Nov 4 05:58:32 EST 2008


     [ https://jira.jboss.org/jira/browse/JBAS-6158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dimitris Andreadis resolved JBAS-6158.
--------------------------------------

    Resolution: Done


The new JBOSS_HOME/server/lib directory pointed to at by the jboss.shared.lib.url property currently contains the libraries shared by the default and all configurations.

So server/default/lib is now empty and server/all/lib contains only:

avalon-framework.jar
hibernate-jbosscache2.jar
jacorb.jar
jbosscache-core.jar
jbosscache-pojo.jar
jgroups.jar

The new directory is added to the classpath in conf/jboss-service.xml:

   <classpath codebase="${jboss.server.lib.url}" archives="*"/>
   <classpath codebase="${jboss.shared.lib.url}" archives="*"/>

The minimal config remains unchanged. 

> Reduce the distribution size by sharing the libraries between the all and default configs
> -----------------------------------------------------------------------------------------
>
>                 Key: JBAS-6158
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6158
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Other
>            Reporter: Dimitris Andreadis
>            Assignee: Dimitris Andreadis
>            Priority: Critical
>             Fix For: JBossAS-5.0.0.GA
>
>
> The lib directories of the 'all' and 'default' configuration currently differ only in 6 libraries:
> avalon-framework.jar
> hibernate-jbosscache2.jar
> jacorb.jar
> jbosscache-core.jar
> jbosscache-pojo.jar
> jgroups.jar
> We can avoid the 17.7mb shared lib overhead by having a single copy of those libraries in a shared location, e.g.
> JBOSS_HOME/server/lib
> We would need a new jboss.shared.lib.url system property defaulting to ${jboss.server.base.url}/lib

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list