tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfcl...@gmail.com>
Subject Re: tomcat native documentation
Date Thu, 14 Feb 2008 08:45:48 GMT
Costin Manolache wrote:
> Yes, JVM is not so good because it changes, I agree /usr/local/lib ( and the
> JVM dir ) are only good for people with root access.
> 
> What about having 2 options:
> - 'system' installation - /usr/local/lib
> - 'local' - TOMCAT_HOME/lib/native ( or TOMCAT_HOME/lib/`arch` if same
> install is shared on multiple machine types )
> 
> We can include both in catalina.sh ( is /usr/lib, /usr/local/lib enabled by
> default for finding .so ?),

/usr/lib yes, /usr/local/lib not (at least not in all OS).

  so user can save one step and
> we can have more consistent instructions. Also a binary package that install
> on top of TOMCAT_HOME would be easier.

So you would add the LD_LIBRARY_PATH to the TOMCAT_HOME/lib/native ( or 
better TOMCAT_HOME/lib/`arch`) in the catalina.sh (PATH for the .bat).

> 
> The fewer steps and variations - the easier will it be to build and support.
> 
> 
> 
> Costin
> 
> On 2/12/08, Henri Gomez <henri.gomez@gmail.com> wrote:
>>> In this case, should it be installed in the directory of the JVM
>>> installation? I think MINA uses it too.
>> JVM directory may be problematic for those of us who switch between
>> JVM, ie IBM or Sun.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>
>>
> 


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


Mime
View raw message