tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5858] New: - Add tomcat dir to java.library.path
Date Tue, 15 Jan 2002 11:21:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5858>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5858

Add tomcat dir to java.library.path

           Summary: Add tomcat dir to java.library.path
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: hans.schlenker@first.fraunhofer.de


Hi!
There is currently no way to store native libraries within Tomcat such that Java
can load them. If I copy some native libraries from outside (using the Manager
tool), they have to go into a directory already known to the OS loader. This is
very inconvenient for several reasons (e.g. dlls that are only used by a webapp
have to be installed elsewhere; I may not have the rights to copy files into
some system path).
I suggest to add some standard Tomcat directory (e.g. $CATALINA_HOME/bin or
$CATALINA_HOME/lib) to java.library.path or alternatively to %PATH% or
$LD_LIBRARY_PATH, respectively. This must be done from outside Java (e.g. by
calling 'java -Djava.library.path=...') because it can't be set by an
application such that the VM loader respects this.
(Currently, I copy the files into the directory where Tomcat is started under
Windows, or patch Tomcat to include '.' in LD_LIBRARY_PATH under UNIX,
respectively.)

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message