tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lunita <hoshi.uts...@gmail.com>
Subject Re: Tomcat 7 :: Tomcat-Native
Date Thu, 29 Sep 2011 16:02:32 GMT
Hi Chris,

The steps I followed to compile are, configure, make and make install. I see
the libtcnative and its liks at $CATALINA_HOME/lib/.

/opt/apr-1.4.2/lib/
apr.exp            libapr-1.a         libapr-1.la        libapr-1.so
 libapr-1.so.0      libapr-1.so.0.4.2  pkgconfig/

I added the /opt/apr-1.4.2/ path to java.library.path, but not response.



Greetings,


2011/9/29 Christopher Schultz <chris@christopherschultz.net>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Lunita,
>
> On 9/29/2011 11:12 AM, Lunita wrote:
> > I'm trying to set up APR SSL, and at catalina.out is:
> >
> > INFO: An older version 1.1.20 of the APR based Apache Tomcat Native
> > library is installed, while Tomcat recommends a minimum version of
> > 1.1.22 Sep 29, 2011 5:07:40 PM
> > org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR
> > based Apache Tomcat Native library 1.1.20.
> >
> > So, I compiled 1.1.22, from several ways:
>
> Good. Did you get a binary out of either of these processes? Generally
> speaking, you'll have to run "make" at some point in order to do the
> compile, and then you'll have to copy the binary somewhere that makes
> sense. I generally put the binary into CATALINA_HOME/bin and then set
> "-Djava.library.path=$CATALINA_HOME/bin".
>
> > And JAVA_OPTS at catalina:
> >
> > export JAVA_HOME=/usr/java/jdk1.6.0_23 export
> > CATALINA_HOME=/opt/apache-tomcat-7.0.21 export JAVA_OPTS="-Xms256m
> > -Xmx912m -XX:PermSize=500m -XX:MaxPermSize=1024m
> >
> -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
> >
> >
> -
>
> -Djava.library.path=/usr/java/jdk1.6.0_23/jre/lib/i386/client:/usr/java/jdk1.6.0_23/jre/lib/i386:/usr/java/jdk1.6.0_23/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib:/opt/apache-tomcat-7.0.21/lib"
>
> So where is your libapr-1.1.11.so file located?
>
> > No way to load tomcat-native 1.1.22...
>
> Sure there is a way to load it.
>
> - -chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk6EkyMACgkQ9CaO5/Lv0PD+pACbByjdPdCQ/F8g1gnrD7DD36jM
> gHUAn0UHzOiLUOiZHB45pZrPx4/c4B/s
> =nSSr
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message