Re: APR Native library on tomcat 6
Hello. I have the same problem, except that in the log it is not specified what library is needed. This are the messages in the log: 30-jun-2011 15:13:03 org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 30-jun-2011 15:13:04 org.apache.catalina.core.StandardService stop INFO: Parando servicio Catalina 30-jun-2011 15:13:04 org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 30-jun-2011 15:13:04 org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: Failed shutdown of Apache Portable Runtime 30-jun-2011 15:16:01 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: /usr/java/jdk1.6/jre/lib/i386/server:/usr/java/jdk1.6/jre/lib/i386:/usr/java/jdk1.6/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib 30-jun-2011 15:16:01 org.apache.coyote.http11.Http11Protocol init INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080 30-jun-2011 15:16:01 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 281 ms 30-jun-2011 15:16:02 org.apache.catalina.core.StandardService start INFO: Arrancando servicio Catalina 30-jun-2011 15:16:02 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.0 30-jun-2011 15:16:02 org.apache.catalina.core.StandardHost start INFO: Desactivada la validación XML 30-jun-2011 15:16:02 org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/opt/tomcat6/webapps/Recaudacion/WEB-INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 30-jun-2011 15:16:02 org.apache.coyote.http11.Http11Protocol start INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080 30-jun-2011 15:16:02 org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 30-jun-2011 15:16:02 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/41 config=null 30-jun-2011 15:16:02 org.apache.catalina.startup.Catalina start INFO: Server startup in 847 ms The bolded part of the message is the error I have. Besides, I'm trying to use tomcat 6 with a Project that was compiled on tomcat 5.5.7, I can't see the jsp pages. Could you help me with this plis? Thankyou! Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 lmk, On 6/19/2009 9:59 AM, lmk wrote: I complied apr sources, I dont used binnaries. If you compiled apr, you're not done: you actually need libtcnative-1.so as well as apr. The APR connector is a little misleading in its naming because it's libtcnative.so that is required, not libapr.so. You can find tcnative in your Tomcat distro under CATALINA_HOME/bin/tomcat-native.tar.gz - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAko/1BAACgkQ9CaO5/Lv0PCangCbBvsOD69tpdPieboAxoOgcEK2 TdwAoKWtCfA1oRaoFE2iOffyzJ/d4EwB =uhFj -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://old.nabble.com/APR-Native-library-on-tomcat-6-tp24107914p31967678.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: APR Native library on tomcat 6
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 6/30/2011 4:21 PM, ccastle wrote: I have the same problem [where APR won't load], except that in the log it is not specified what library is needed. You don't need to read the logs to see what library is needed, you need to read the documentation: http://tomcat.apache.org/tomcat-7.0-doc/apr.html This are the messages in the log: The bolded part of the message is the error I have. Text styles do not come across plain text mailing list posts. I don't see any error messages at all. Perhaps you are talking about this INFO message: INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6/jre/lib/i386/server:/usr/java/jdk1.6/jre/lib/i386:/usr/java/jdk1.6/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib Are you actually intending to use APR? If you are trying to use APR and it's not working, then you should tell us what you have done so far. If you don't care about APR or have no idea what I'm talking about and are only posting to the list because of the above message, you can safely ignore the message or disable the AprLifecycleListener in server.xml to get rid of that message. Besides, I'm trying to use tomcat 6 with a Project that was compiled on tomcat 5.5.7, I can't see the jsp pages. Please post to the list under a separate subject if you have another, unrelated problem. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4M3WIACgkQ9CaO5/Lv0PD6IgCgom3sUXhIKdrHQCFKHWmH5tc1 URQAnjEU4JTDwTi+11NdtmpzzbD9igMa =mFx7 -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: APR Native library on tomcat 6
thanks a lot Brian; it works now, without using --prefix. Brian Millett wrote: On Fri, 2009-06-19 at 02:05 -0700, lmk wrote: --prefix=/usr/tomcat/apache-tomcat-6.0.18 I'd look where you told it to go. -- Brian Millett - [ Sinclair (re: The Line), The Gathering] The sky was full of stars and every star an exploding ship...one of ours. -- View this message in context: http://www.nabble.com/APR-Native-library-on-tomcat-6-tp24107914p24144172.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: APR Native library on tomcat 6
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 lmk, On 6/19/2009 9:59 AM, lmk wrote: I complied apr sources, I dont used binnaries. If you compiled apr, you're not done: you actually need libtcnative-1.so as well as apr. The APR connector is a little misleading in its naming because it's libtcnative.so that is required, not libapr.so. You can find tcnative in your Tomcat distro under CATALINA_HOME/bin/tomcat-native.tar.gz - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAko/1BAACgkQ9CaO5/Lv0PCangCbBvsOD69tpdPieboAxoOgcEK2 TdwAoKWtCfA1oRaoFE2iOffyzJ/d4EwB =uhFj -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: APR Native library on tomcat 6
From: lmk [mailto:lotf...@yahoo.fr] Subject: APR Native library on tomcat 6 export CATALINA_OPTS=$CATALINA_OPTS - Djava.library.path=/usr/local/apr/lib Show us what's actually in /usr/local/apr/lib. And I still get the error: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: Show us the next line so we can see what the JVM thinks the value of java.library.path is. any idea about this issue? Are you mixing 32- and 64-bit modes? If you're running a 64-bit JVM, you'll need a 64-bit .so file (and vice versa). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: APR Native library on tomcat 6
here tomcat log: INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.5.0_11/jre/lib/i386/server:/usr/java/jdk1.5.0_11/jre/lib/i386:/usr/java/jdk1.5.0_11/jre/../lib/i386:/usr/local/apr/lib: 19 juin 2009 11:48:55 org.apache.coyote.http11.Http11Protocol init I complied apr sources, I dont used binnaries. Caldarale, Charles R wrote: From: lmk [mailto:lotf...@yahoo.fr] Subject: APR Native library on tomcat 6 export CATALINA_OPTS=$CATALINA_OPTS - Djava.library.path=/usr/local/apr/lib Show us what's actually in /usr/local/apr/lib. And I still get the error: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: Show us the next line so we can see what the JVM thinks the value of java.library.path is. any idea about this issue? Are you mixing 32- and 64-bit modes? If you're running a 64-bit JVM, you'll need a 64-bit .so file (and vice versa). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://www.nabble.com/APR-Native-library-on-tomcat-6-tp24107914p24112085.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: APR Native library on tomcat 6
From: lmk [mailto:lotf...@yahoo.fr] Subject: RE: APR Native library on tomcat 6 INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.5.0_11/jre/lib/i386/server:/usr/java/jdk1.5.0_11/jre/lib /i386:/usr/java/jdk1.5.0_11/jre/../lib/i386:/usr/local/apr/lib: Ok, that looks reasonable, but you still didn't show us what's actually in /usr/local/apr/lib. I complied apr sources, I dont used binnaries. Not really relevant. If you are running a 64-bit JVM, then you must compile APR for 64-bit mode; likewise, if you are running a 32-bit JVM, you must compile APR for 32-bit mode. Doing java -version (without the quotes) will show you the mode the JVM is running in. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: APR Native library on tomcat 6
apr.exp libapr-1.a that's all: libapr-1.la libapr-1.so libapr-1.so.0 libapr-1.so.0.3.5 pkgconfig Caldarale, Charles R wrote: From: lmk [mailto:lotf...@yahoo.fr] Subject: RE: APR Native library on tomcat 6 INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.5.0_11/jre/lib/i386/server:/usr/java/jdk1.5.0_11/jre/lib /i386:/usr/java/jdk1.5.0_11/jre/../lib/i386:/usr/local/apr/lib: Ok, that looks reasonable, but you still didn't show us what's actually in /usr/local/apr/lib. I complied apr sources, I dont used binnaries. Not really relevant. If you are running a 64-bit JVM, then you must compile APR for 64-bit mode; likewise, if you are running a 32-bit JVM, you must compile APR for 32-bit mode. Doing java -version (without the quotes) will show you the mode the JVM is running in. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://www.nabble.com/APR-Native-library-on-tomcat-6-tp24107914p24112425.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: APR Native library on tomcat 6
From: lmk [mailto:lotf...@yahoo.fr] Subject: RE: APR Native library on tomcat 6 apr.exp libapr-1.a that's all: libapr-1.la libapr-1.so libapr-1.so.0 libapr-1.so.0.3.5 pkgconfig The above is rather cryptic; which of the above are regular files, which are directories? What is the indentation you're using supposed to represent? What does that's all mean? What is the full path to libapr-1.so? (I don't have a Linux system readily available at the moment to experiment with, so you're going to need to be precise.) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: APR Native library on tomcat 6
lmk a écrit : Hi all, I have installed apr native library, open ssl; using :./configure: ./configure --with-apr=/usr/local/apr --with-java-home=/usr/java/jdk1.5.0_11 --with-ssl=/usr/local/ssl --prefix=/usr/tomcat/apache-tomcat-6.0.18 I added to catalina_opts java.library definition: export CATALINA_OPTS=$CATALINA_OPTS -Djava.library.path=/usr/local/apr/lib And I still get the error: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: any idea about this issue? thanks. Have you tried an /sbin/ldconfig, then restart Tomcat ? Ce message est protégé par les règles relatives au secret des correspondances. Il est donc établi à destination exclusive de son destinataire. Celui-ci peut donc contenir des informations confidentielles. La divulgation de ces informations est à ce titre rigoureusement interdite. Si vous avez reçu ce message par erreur, merci de le renvoyer à l'expéditeur dont l'adresse e-mail figure ci-dessus et de détruire le message ainsi que toute pièce jointe. This message is protected by the secrecy of correspondence rules. Therefore, this message is intended solely for the attention of the addressee. This message may contain privileged or confidential information, as such the disclosure of these informations is strictly forbidden. If, by mistake, you have received this message, please return this message to the addressser whose e-mail address is written above and destroy this message and all files attached. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: APR Native library on tomcat 6
$ls /usr/local/apr/lib apr.exp libapr-1.a libapr-1.la libapr-1.so libapr-1.so.0 libapr-1.so.0.3.5 pkgconfig only pkgconfig is a directory hop its more clear.. Caldarale, Charles R wrote: From: lmk [mailto:lotf...@yahoo.fr] Subject: RE: APR Native library on tomcat 6 apr.exp libapr-1.a that's all: libapr-1.la libapr-1.so libapr-1.so.0 libapr-1.so.0.3.5 pkgconfig The above is rather cryptic; which of the above are regular files, which are directories? What is the indentation you're using supposed to represent? What does that's all mean? What is the full path to libapr-1.so? (I don't have a Linux system readily available at the moment to experiment with, so you're going to need to be precise.) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://www.nabble.com/APR-Native-library-on-tomcat-6-tp24107914p24112938.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: APR Native library on tomcat 6
lmk wrote: Hi all, I have installed apr native library, open ssl; using :./configure: ./configure --with-apr=/usr/local/apr --with-java-home=/usr/java/jdk1.5.0_11 --with-ssl=/usr/local/ssl --prefix=/usr/tomcat/apache-tomcat-6.0.18 I added to catalina_opts java.library definition: export CATALINA_OPTS=$CATALINA_OPTS -Djava.library.path=/usr/local/apr/lib You are missing the openssl library path as well Adding to the java.library.path is not enough, try: export LD_LIBRARY_PATH=/usr/local/apr/lib:/usr/local/ssl/lib ./catalina.sh run Regards -- ^(TM) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: APR Native library on tomcat 6
yes but nothing changes. Thomas Chabaud-3 wrote: lmk a écrit : Hi all, I have installed apr native library, open ssl; using :./configure: ./configure --with-apr=/usr/local/apr --with-java-home=/usr/java/jdk1.5.0_11 --with-ssl=/usr/local/ssl --prefix=/usr/tomcat/apache-tomcat-6.0.18 I added to catalina_opts java.library definition: export CATALINA_OPTS=$CATALINA_OPTS -Djava.library.path=/usr/local/apr/lib And I still get the error: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: any idea about this issue? thanks. Have you tried an /sbin/ldconfig, then restart Tomcat ? Ce message est protégé par les règles relatives au secret des correspondances. Il est donc établi à destination exclusive de son destinataire. Celui-ci peut donc contenir des informations confidentielles. La divulgation de ces informations est à ce titre rigoureusement interdite. Si vous avez reçu ce message par erreur, merci de le renvoyer à l'expéditeur dont l'adresse e-mail figure ci-dessus et de détruire le message ainsi que toute pièce jointe. This message is protected by the secrecy of correspondence rules. Therefore, this message is intended solely for the attention of the addressee. This message may contain privileged or confidential information, as such the disclosure of these informations is strictly forbidden. If, by mistake, you have received this message, please return this message to the addressser whose e-mail address is written above and destroy this message and all files attached. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://www.nabble.com/APR-Native-library-on-tomcat-6-tp24107914p24113296.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: APR Native library on tomcat 6
nothing changes even using LD_LIBRARY_PATH mturk wrote: lmk wrote: Hi all, I have installed apr native library, open ssl; using :./configure: ./configure --with-apr=/usr/local/apr --with-java-home=/usr/java/jdk1.5.0_11 --with-ssl=/usr/local/ssl --prefix=/usr/tomcat/apache-tomcat-6.0.18 I added to catalina_opts java.library definition: export CATALINA_OPTS=$CATALINA_OPTS -Djava.library.path=/usr/local/apr/lib You are missing the openssl library path as well Adding to the java.library.path is not enough, try: export LD_LIBRARY_PATH=/usr/local/apr/lib:/usr/local/ssl/lib ./catalina.sh run Regards -- ^(TM) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://www.nabble.com/APR-Native-library-on-tomcat-6-tp24107914p24113862.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: APR Native library on tomcat 6
On Fri, 2009-06-19 at 02:05 -0700, lmk wrote: --prefix=/usr/tomcat/apache-tomcat-6.0.18 I'd look where you told it to go. -- Brian Millett - [ Sinclair (re: The Line), The Gathering] The sky was full of stars and every star an exploding ship...one of ours. signature.asc Description: This is a digitally signed message part