DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34892>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34892

           Summary: CATALINA_BASE should have common/lib/ and server/lib/
           Product: Tomcat 5
           Version: 5.5.9
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


I am using a shared TomCat 5.5 installation, so my CATALINA_HOME and
CATALINA_BASE are different. However, the standard TomCat installation is not
really usable in this way, because only "shared" folder is relative to
CATALINA_BASE, but folders "common" and "server" are relative to CATALINA_HOME. 

That makes impossible to use JDBC drivers, which must be placed in common/lib/,
and user realm implementations, which must be placed in server/lib, specific to
each TomCat instance.

It took me a long time to find out that this can be changed by editing
$CATALINA_BASE/conf/catalina.properties and changing for example line
common.loader=${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar,${catalina.base}/common/lib/*.jar
by adding 
${catalina.base}/common/lib/*.jar,${catalina.base}/common/classes,
to that line before the other directories.

So here is the diff:
32c32
<
common.loader=${catalina.base}/common/lib/*.jar,${catalina.base}/common/classes,${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar
---
>
common.loader=${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar
45c45
<
server.loader=${catalina.base}/server/classes,${catalina.base}/server/lib/*.jar,${catalina.home}/server/classes,${catalina.home}/server/lib/*.jar
---
> server.loader=${catalina.home}/server/classes,${catalina.home}/server/lib/*.jar

That makes the CATALINA_BASE really usable. When the change is made, the
RUNNING.txt should mention it.

Martin

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to