Guys,

I feel you're seeing thing way too complicated.

Chris:

> IIRC, Tomcat loads tcnative without a version number in it's name even
> when it prefers a version that is of a certain level.

I don't believe you're right, since when I upgraded Tomcat5.5 having
an old version of tcnative installed, Tomcat 6 refused to start
requiring a more recent version of tcnative.

André:

As I wrote on top, you can tell Catalina where to look for libtcnative.

The LD_LIBRARY_PATH should do the trick, but I wouldn't set it
system.wide since this variable is also requested from other
processes. A change here might have impacts.

Therefore, just pass it as a Java-property to Catalina and let
Catalina know where to look for it:

Just adapt the CATALINA_OPTS in Tomcat's startup-script:

CATALINA_OPTS=$CATALINA_OPTS -Djava.library.path=[path to where
libtcnative is located]

Doing so, you can run as many different versions of Tomcat referring
to different version of libtcnative.

Cheers!

Gregor
-- 
just because you're paranoid, don't mean they're not after you...
gpgp-fp: 3DB13F197F8A0360814885D1F1F1E2EFAD509AFD
skype:rc46fi
gplus.to/gregor
twitter.com/#/2smart4u

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to