tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Diulgerov" <ndiulge...@imx.fr>
Subject TCNative installation failed
Date Tue, 19 Jan 2010 14:59:04 GMT
Hello there,

I'm trying to do this setup:

1.       OS debian 5.03 (AMD_64)

2.       Tomcat 5.5.28 (downloaded from the official site)

3.       Sun Java jdk-6u16-linux-x64

 

I followed this instruction (http://tomcat.apache.org/native-doc/),
installed all the required packages for the compilation of TCNative
(1.1.19),

                

./configure --with-apr=/usr/bin/apr-1-config
--with-java-home=/appsrv/jdk1.6.0_16/ --with-ssl=yes
--prefix=$CATALINA_HOME

make

make install

 

The configuration, compilation and installation went OK.

Now in my $CATALINA_HOME/lib folder I have

drwxr-xr-x  3 niki niki    4096 2010-01-19 09:05 .

drwxr-xr-x 13 niki niki    4096 2010-01-19 08:43 ..

-rw-r--r--  1 niki niki 1574152 2010-01-19 09:05 libtcnative-1.a

-rwxr-xr-x  1 niki niki     911 2010-01-19 09:05 libtcnative-1.la

lrwxrwxrwx  1 niki niki      23 2010-01-19 09:05 libtcnative-1.so ->
libtcnative-1.so.0.1.19

lrwxrwxrwx  1 niki niki      23 2010-01-19 09:05 libtcnative-1.so.0 ->
libtcnative-1.so.0.1.19

-rwxr-xr-x  1 niki niki  889278 2010-01-19 09:05 libtcnative-1.so.0.1.19

drwxr-xr-x  2 niki niki    4096 2010-01-19 09:05 pkgconfig

 

According the instructions, I created setenv.sh which contains:

 

JAVA_OPTS="-server -Xms128m -Xmx256m -XX:PermSize=128m
-XX:MaxPermSize=128m"

#CATALINA_OPTS=""

JAVA_HOME=/appsrv/jdk1.6.0_16

JRE_HOME=/appsrv/jdk1.6.0_16/jre

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CATALINA_HOME/lib

export LD_LIBRARY_PATH

 

Till now everything seems OK,

But when I start tomcat, it seems tcnative library cannot be found (so
not loaded).

Here is my catalina.out:

Jan 19, 2010 9:54:13 AM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent

INFO: The Apache Tomcat Native library which allows optimal performance
in production environments was not found on the java.library.path:
/appsrv/jdk1.6.0_16/jre/lib/amd64/server:/appsrv/jdk1.6.0_16/jre/lib/amd
64:/appsrv/jdk1.6.0_16/jre/../lib/amd64::/appsrv/tomcat/lib:/usr/java/pa
ckages/lib/amd64:/lib:/usr/lib

Jan 19, 2010 9:54:13 AM org.apache.coyote.http11.Http11AprProtocol init

INFO: Initializing Coyote HTTP/1.1 on http-8080

Jan 19, 2010 9:54:13 AM org.apache.coyote.ajp.AjpAprProtocol init

INFO: Initializing Coyote AJP/1.3 on ajp-8009

Jan 19, 2010 9:54:13 AM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 1046 ms

Jan 19, 2010 9:54:13 AM org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

Jan 19, 2010 9:54:13 AM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/5.5.28

Jan 19, 2010 9:54:13 AM org.apache.catalina.core.StandardHost start

INFO: XML validation disabled

Jan 19, 2010 9:54:15 AM org.apache.coyote.http11.Http11AprProtocol start

INFO: Starting Coyote HTTP/1.1 on http-8080

Jan 19, 2010 9:54:15 AM org.apache.coyote.ajp.AjpAprProtocol start

INFO: Starting Coyote AJP/1.3 on ajp-8009

Jan 19, 2010 9:54:15 AM org.apache.catalina.storeconfig.StoreLoader load

INFO: Find registry server-registry.xml at classpath resource

Jan 19, 2010 9:54:15 AM org.apache.catalina.startup.Catalina start

INFO: Server startup in 1461 ms

 

 

Any help would be appretiated.

 

Greetings.

 

 

 

 

 

 

 

 

 


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