tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Mase'" <michele.m...@gmail.com>
Subject Re: tomcat native problem 64bit linux os
Date Sat, 02 Jan 2010 16:12:46 GMT
Solved in the following way:
cd $CATALINA_HOME/lib64 (or anywhere you have put the tomcat native library)
ln -s libtcnative.so libtcnative-1.so
start tomcat and the message "missing apr ..." changed into
"...
Jan 2, 2010 4:50:40 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.18.
Jan 2, 2010 4:50:40 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
..."
When using 64bit ...
Is something wrong/missing in the installer or in the command line that
claimed the configure?
./configure --enable-layout=RedHat64 --with-apr=$(which apr-1-config)
--with-java-home=$JAVA_HOME --with-ssl=yes --prefix=$CATALINA_HOME

PS:sorry 4 my double mail (i've some troubles with my internet connection)
Michele

On Sat, Jan 2, 2010 at 4:07 PM, Michele Mase' <michele.mase@gmail.com>wrote:

> Nice hint!
> I'm out of office now and I'll verify on monday;
> Maybe, the names are incorrect; maybe a symbolic link will be sufficient to
> solve the missing files ...
> I'll try it.
> But The question remains: is something wrong/missing in the installer or in
> the command line that claimed the configure?
> Best regards
> Michele
>
>
> On Sat, Jan 2, 2010 at 1:23 AM, Konstantin Kolinko <knst.kolinko@gmail.com
> > wrote:
>
>> 2010/1/1 Michele Mase' <michele.mase@gmail.com>:
>> > Anyone????
>> >
>> > On Tue, Dec 22, 2009 at 10:02 AM, Michele Mase' <michele.mase@gmail.com
>> >wrote:
>> >
>> >> (...)
>> >> The tomcat native libraries now are put under $CATALINA_HOME/lib64
>> >> ll lib64
>> >> total 2448
>> >> -rw-r--r-- 1 tomcat tomcat 1577256 Dec 18 11:11 libtcnative.a
>> >> -rwxr-xr-x 1 tomcat tomcat     865 Dec 18 11:11 libtcnative.la
>> >> lrwxrwxrwx 1 tomcat tomcat      21 Dec 18 11:11 libtcnative.so ->
>> >> libtcnative.so.0.1.18
>> >> lrwxrwxrwx 1 tomcat tomcat      21 Dec 18 11:11 libtcnative.so.0 ->
>> >> libtcnative.so.0.1.18
>> >> -rwxr-xr-x 1 tomcat tomcat  884518 Dec 18 11:11 libtcnative.so.0.1.18
>> >>
>>
>> I do not see "-1" in the library file names.
>>
>> From Java source of o.a.tomcat.jni.Library:
>>
>>    /* Default library names */
>>    private static String [] NAMES = {"tcnative-1", "libtcnative-1"};
>>
>>
>> also make sure that the libraries are compiled as 64-bit, if you are
>> using 64-bit JVM. Maybe the 'file' command will show such info, though
>> I do not really know.
>>
>> Best regards,
>> Konstantin Kolinko
>>
>> ---------------------------------------------------------------------
>> 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