-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Anibal,

On 7/22/17 11:30 AM, Anibal Alvarez Alvarez wrote:
> Hi. When I run a .jsp file, in the console I can read <<INFORMACIÓN
> [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent
> La biblioteca nativa de Apache Tomcat basada en ARP que permite un 
> rendimiento óptimo en entornos de desarrollo no ha sido hallada en 
> java.library.path: 
> /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib>>
> 
> How can I set this path *"/usr/share/apr/lib"* into the
> *java.library.path*?
> 
> I've tried to add it up at eclipse.ini like: ... -vm 
> -Djava.library.path="${workspace_loc:project}/lib;${env_var:PATH};/usr
/local/apr/lib"
>
> 
...
> but I'm still getting the message above.
> 
> I've read *this solution* at the attached file, but I don't want
> to configure the build-path each time and every proyect.

Your attachment was stripped from the list.

> Is there any solution for all proyects permanently?

If you build the tcnative library and put it into the right place
(like ${workspace_loc:project}... whatever that turns out to be) it
should work.

For a development environment, I wouldn't bother with APR unless you
really need your dev environment to exactly mirror your production
environment AND you are using tcnative in production as well.

These days, using NIO is probably better unless you need to use
OpenSSL for crypto. You didn't mention your version, but Tomcat 8.5.x
and later can use NIO+OpenSSL, so the APR connector is becoming less
and less relevant.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJZc3GxAAoJEBzwKT+lPKRYg9wP/jsY1aeQZMi6oMKZ7nrK1S2q
0aQCT/aORK3H7KMdn51SSfEyapKcr2L1CNcrXc+ln4IxklZlFoJaXSmSu0P2IZ5t
td3SLdZE/2tH9u7cZHX9pLY5zN6hf0i7oSo72N6kKTP+hsgoBPSblUF9npWS7odU
P5CxoYaRczONIpluQheJzVdCRu1tzx5hDpXBx8dvCTuAsJyayCg2ssBFghBGsPqx
7zV9+0ZLXIOGtVpEPFQoLNO/F39TXGqEVsbmd0NuU3n8IGX/zSw+UoZSH08wlkpN
0yv8AsBd6uGxBorMI1xyLzqm9bzmSJ5eI0Ckr2g8Bb3iue9e9SK0WjMsM5uphYfC
AWYcniyZv02LuQYlbG71a4HatjK2KUCtSG6cHS1A0v5C+5/RuKBUceh5E2MXmvpp
PMV4Gjb2TcLtNNW1JomZ/KtwMWl+AWzd6fi4SDLll5XYOveWloqh5cl1mhUSLvto
KTS2D67REmpM0tZv8eK8VgtaoN8lrwHvMamG9bKw7kxs5mBBy/F/MDfBjU6u1Ac1
oeETD2VWubNSdn4dooUgKEkKDXsISjMr+9LgG7JmaRTldo72j4xOaVQ4JKUovIv/
oh16zzKvb/Eot48ImKrkf79XXl8HwA3P6+a03EKrHC/hPNT1r4QZek6i1Yccf8dg
gj9p7lamqTVghvPC6LWo
=+y/K
-----END PGP SIGNATURE-----

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

  • apr library Anibal Alvarez Alvarez
    • Re: apr library Christopher Schultz

Reply via email to