-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gregor,

On 12/15/11 8:34 AM, Gregor S. wrote:
> And as mentioned in the thread here, you'll have to change your 
> LD-LIBRARY_PATH, so that it contains tcnative.
> 
> In my environment here, I just adapted the CTALINA_OPTS inside the 
> startup-script:
> 
> CATALINA_OPTS="$JPDA_OPTS -XX:MaxPermSize=384m -Xmx2048m -Xms2048m 
> -Djava.library.path=/usr/lib"

- -1

I think that's a bad idea because then you have built your libtcnative
(which can be considered Tomcat-version-specific, or at least
Tomcat-version-sensitive) for the whole system to use and that
essentially locks you into that version regardless of Tomcat version
being run at the time. You end up in the situation where André is:
libtcnative is being found when he doesn't want it to be found. You
can't really remove /usr/lib from the LD_LIBRARY_PATH or nothing
works. Your only recourse it to disable the APR Listener.

> And /usr/lib is where you put libtcnative after using libtool as 
> recommended in the BUILDING.TXT:

Fortunately, neither current trunk nor current release (1.1.22) does
not recommend installing libtcnative in /usr/lib.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7qE5cACgkQ9CaO5/Lv0PBXaACfaUNSIB5po0TpdyVV4N/NXdvH
zzcAnR0G0XzKtFQTtmf+L0agMWEH52zX
=BISx
-----END PGP SIGNATURE-----

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

Reply via email to