geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bohn (JIRA)" <>
Subject [jira] Commented: (GERONIMO-4434) Folder classpath cannot be added in geronimo
Date Mon, 01 Dec 2008 13:44:44 GMT


Joe Bohn commented on GERONIMO-4434:

Are you familiar with with the Geronimo sharedlib support?  We don't publicize this much because
it is not considered a best practice as it makes the application less portable in that an
application cannot simply be exported as a plugin and installed in another server and work
correctly if it is using the shared library.

One would normally copy their jar files to GERONIMO_HOME/var/shared/lib and include the shared
library component as a dependency in their geronimo specific deployment plan:


However, it sounds like you had some concern with having to include the jars in a specific
location for the server.  You can optionally include other directories of jars or classes
in the configuration of the sharedlib in GERONIMO_HOME/var/config/config.xml.  The default
directories are as follows:
    <module name="org.apache.geronimo.configs/sharedlib/2.0.3-SNAPSHOT/car">
        <gbean name="SharedLib">
            <attribute name="classesDirs">var/shared/classes</attribute>
            <attribute name="libDirs">var/shared/lib</attribute>

You can add these entries under the sharedlib module entry that should already be present
in your config.xml and extend or replace the directories listed.  

> Folder classpath cannot be added in geronimo
> --------------------------------------------
>                 Key: GERONIMO-4434
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.1.3
>            Reporter: ganesh
>            Priority: Blocker
> Websphere Application Server has a concept of shared library which can point to external
folder (containing configuraition files)....How to achieve the same functionality in geronimo.....Do
we need to copy all the files to geronimo shared repository ? If yes, this doesnt work if
we have different web application with same configuration file with different parameter values...

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message