No subject


Sun May 13 13:41:23 UTC 2007


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=
=3D
-
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.=
=3D
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=3D3D/usr/bin/apr-config
--with-java-home=3D3D/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.

--=20
Juan Fernando Jaramillo
Gerente Tecnolog=EDa MIG Internacional
www.miginternacional.com
Bogot=E1, Colombia

------=_Part_216690_4384569.1184086850061
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hello Marcus, I&#39;m still with problems with Tomcat5.5.20-2. I have the<b=
r>following installation.<br><br>Debian 4.0 ethc for AMD64<br>adduser 3.102=
<br>apache2-utils 2.2.3-4<br>apache2.2-common 2.2.3-4<br>ecj-bootstrap 3.2.=
1-3
<br>sun-java5-jre 1.5.0-10-3<br>sun-java5-bin 1.5.0-10-3<br>libtomcat5.5-ja=
va 5.5.20-2<br>java-gcj-compat-dev 1.0.65-10<br>jsvc 1.0.1-3<br><br>From th=
e suggested package I haven&#39;t installed yet the following:<br>libapache=
-mod-jk=20
<br>libapache2-mod-jk <br>tomcat5.5-admin <br>tomcat5.5-webapps<br><br>Once=
 I had all the required packages I installed tomcat5.5 stable but it<br>doe=
sn&#39;t start, because in the log file you can see that the tomcat native
<br>library is not in the path:<br><br>The Apache Tomcat Native library whi=
ch allows optimal performance in<br>production environments was not found o=
n the java.library.path:<br>/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/lib/am=
d64/server:/usr/lib
<div style=3D"direction: ltr;">/jvm/java=3D<br>-<br>1.5.0-sun-1.5.0.10/jre/=
lib/amd64:/usr/lib/jvm/java-1.5.0-sun-1.5.0.10<br>/jre/../lib/amd64<br><br>=
I discovered that the library must be installed with the following<br>instr=
uctions:
<br><br>Download the tomcat native library (the version 1.1.4 because someo=
ne say<br>that this is the right)<br><br><br><a onclick=3D"return top.js.Op=
enExtLink(window,event,this)" href=3D"http://www.apache.org/dist/tomcat/tom=
cat-connectors/native/tomcat-native-1.=3D" target=3D"_blank">
http://www.apache.org/dist/tomcat/tomcat-connectors/native/tomcat-native-1.=
=3D</a><br>1.4.tar.gz<br>&nbsp;tar xvf tomcat-native-1.1.4.tar.gz<br>&nbsp;=
mkdir /usr/lib/jvm/java-1.5.0-sun/include<br>&nbsp;ln -s /usr/lib/gcc/x86_6=
4-linux-gnu/4.1.2/include/jni_md.h
<br>/usr/lib/jvm/java-1.5.0-sun/include/jni_md.h<br>This is because the tom=
cat-native need this link in the configure<br>&nbsp;cd tomcat-native-1.1.4/=
jni/native<br>&nbsp;./configure --with-apr=3D3D/usr/bin/apr-config<br>--wit=
h-java-home=3D3D/usr/lib/jvm/java-
1.5.0-sun<br>&nbsp;make<br>&nbsp;make install<br><br>In this point someone =
says that tomcat start with the actualization of the<br>LD_LIBRARY_PATH, I =
was trying to actualize this in the<br>/etc/default/tomcat5.5 but it doesn&=
#39;t work, and then in the
<br>/etc/init.d/tomcat5.5, but again it doesn&#39;t work. Actually I&#39;ll=
 go on<br>trying, but if you have solution to this, I would appreciate it. =
Thanks.<br><br></div>-- <br>Juan Fernando Jaramillo<br>Gerente Tecnolog=EDa=
 MIG Internacional
<br><a href=3D"http://www.miginternacional.com" target=3D"_blank" onclick=
=3D"return top.js.OpenExtLink(window,event,this)">www.miginternacional.com<=
/a><br>Bogot=E1, Colombia

------=_Part_216690_4384569.1184086850061--




More information about the pkg-java-maintainers mailing list