Hello Marcus, I'm still with problems with Tomcat5.5.20-2. I have the
following installation.

Debian 4.0 ethc for AMD64
adduser 3.102
apache2-utils 2.2.3-4
apache2.2-common 2.2.3-4
ecj-bootstrap 3.2.1-3
sun-java5-jre 1.5.0-10-3
sun-java5-bin 1.5.0-10-3
libtomcat5.5-java 5.5.20-2
java-gcj-compat-dev 1.0.65-10
jsvc 1.0.1-3

From the suggested package I haven't installed yet the following:
libapache-mod-jk
libapache2-mod-jk
tomcat5.5-admin
tomcat5.5-webapps

Once I had all the required packages I installed tomcat5.5 stable but it
doesn't start, because in the log file you can see that the tomcat native
library is not in the path:

The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/lib/amd64/server:/usr/lib/jvm/java=
-
1.5.0-sun-1.5.0.10/jre/lib/amd64:/usr/lib/jvm/java-1.5.0-sun-1.5.0.10
/jre/../lib/amd64

I discovered that the library must be installed with the following
instructions:

Download the tomcat native library (the version 1.1.4 because someone say
that this is the right)


http://www.apache.org/dist/tomcat/tomcat-connectors/native/tomcat-native-1.=
1.4.tar.gz
tar xvf tomcat-native-1.1.4.tar.gz
mkdir /usr/lib/jvm/java-1.5.0-sun/include
ln -s /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include/jni_md.h
/usr/lib/jvm/java-1.5.0-sun/include/jni_md.h
This is because the tomcat-native need this link in the configure
cd tomcat-native-1.1.4/jni/native
./configure --with-apr=3D/usr/bin/apr-config
--with-java-home=3D/usr/lib/jvm/java-1.5.0-sun
make
make install

In this point someone says that tomcat start with the actualization of the
LD_LIBRARY_PATH, I was trying to actualize this in the
/etc/default/tomcat5.5 but it doesn't work, and then in the
/etc/init.d/tomcat5.5, but again it doesn't work. Actually I'll go on
trying, but if you have solution to this, I would appreciate it. Thanks.

--
Juan Fernando Jaramillo
Gerente TecnologĂ­a MIG Internacional
www.miginternacional.com
Bogotá, Colombia

Reply via email to