Re: SSL connect to APR fails - bad version
Tomcat is also a servlet container and may be used to host web services. That is the case here. the web service client is hosted in a BEA weblogic server and attempts to connect to the web service over SSL. /Kobe awarnier wrote: Kobe wrote: I build tcnative and apr from src with exist ver of openssl (means openssl not build my me). I load apr connector in tomcat as below. when my client connect, I cannot connect: i get bad version. please explain what I do wrong? server# ./apr-1-config --version 1.4.5 server# server# openssl version OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 server# /// APR Connector Configuration in Tomcat6 Connector port=443 protocol=org.apache.coyote.http11.Http11AprProtocol enableLookups=false disableUploadTimeout=true acceptCount=100 scheme=https secure=true SSLCertificateFile=server_certificate.pem SSLCertificateChainFile=cachain.pem SSLCertificateKeyFile=server.key / $ openssl s_client -connect server.xxx.net:443 -debug -ssl3 CONNECTED(0003) write to 0x100119470 [0x100815e00] (95 bytes = 95 (0x5F)) - 16 03 00 00 5a 01 00 00-56 03 00 4e b5 d4 3e 2d Z...V..N..- 0010 - 57 eb 94 3c f8 0f a0 55-76 75 21 7c b3 f1 37 6f W.Uvu!|..7o 0020 - 99 2b 68 7c 65 b7 c9 2c-f6 1f dd 00 00 2e 00 39 .+h|e..,...9 0030 - 00 38 00 35 00 16 00 13-00 0a 00 33 00 32 00 2f .8.5...3.2./ 0040 - 00 9a 00 99 00 96 00 05-00 04 00 15 00 12 00 09 0050 - 00 14 00 11 00 08 00 06-00 03 00 ff 02 01 .. 005f - SPACES/NULS read from 0x100119470 [0x100811400] (5 bytes = 5 (0x5)) - 48 54 54 50 2fHTTP/ write to 0x100119470 [0x10081b800] (7 bytes = 7 (0x7)) - 15 03 00 00 02 02 28 ..( 44414:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number:/SourceCache/OpenSSL098/OpenSSL098-35.1/src/ssl/s3_pkt.c:293: $ Hi. I don't know if other members of this list will be as puzzled as I am, but it is not clear to me what you are trying to achieve. I mean that Tomcat is in principle a web server, normally answering web browser requests (via HTTP or HTTPS). What are you trying to do when you access it with the above type of client, and what are you sending to Tomcat, and why ? - 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/SSL-connect-to-APR-fails---%22bad-version%22-tp32788669p32805690.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: SSL connect to APR fails - bad version
Actually, whether it be webaccess or webservice access, i not follow your confusion. pleas explain why this is wrong. /Kobe Kobe wrote: Tomcat is also a servlet container and may be used to host web services. That is the case here. the web service client is hosted in a BEA weblogic server and attempts to connect to the web service over SSL. /Kobe awarnier wrote: Kobe wrote: I build tcnative and apr from src with exist ver of openssl (means openssl not build my me). I load apr connector in tomcat as below. when my client connect, I cannot connect: i get bad version. please explain what I do wrong? server# ./apr-1-config --version 1.4.5 server# server# openssl version OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 server# /// APR Connector Configuration in Tomcat6 Connector port=443 protocol=org.apache.coyote.http11.Http11AprProtocol enableLookups=false disableUploadTimeout=true acceptCount=100 scheme=https secure=true SSLCertificateFile=server_certificate.pem SSLCertificateChainFile=cachain.pem SSLCertificateKeyFile=server.key / $ openssl s_client -connect server.xxx.net:443 -debug -ssl3 CONNECTED(0003) write to 0x100119470 [0x100815e00] (95 bytes = 95 (0x5F)) - 16 03 00 00 5a 01 00 00-56 03 00 4e b5 d4 3e 2d Z...V..N..- 0010 - 57 eb 94 3c f8 0f a0 55-76 75 21 7c b3 f1 37 6f W.Uvu!|..7o 0020 - 99 2b 68 7c 65 b7 c9 2c-f6 1f dd 00 00 2e 00 39 .+h|e..,...9 0030 - 00 38 00 35 00 16 00 13-00 0a 00 33 00 32 00 2f .8.5...3.2./ 0040 - 00 9a 00 99 00 96 00 05-00 04 00 15 00 12 00 09 0050 - 00 14 00 11 00 08 00 06-00 03 00 ff 02 01 .. 005f - SPACES/NULS read from 0x100119470 [0x100811400] (5 bytes = 5 (0x5)) - 48 54 54 50 2fHTTP/ write to 0x100119470 [0x10081b800] (7 bytes = 7 (0x7)) - 15 03 00 00 02 02 28 ..( 44414:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number:/SourceCache/OpenSSL098/OpenSSL098-35.1/src/ssl/s3_pkt.c:293: $ Hi. I don't know if other members of this list will be as puzzled as I am, but it is not clear to me what you are trying to achieve. I mean that Tomcat is in principle a web server, normally answering web browser requests (via HTTP or HTTPS). What are you trying to do when you access it with the above type of client, and what are you sending to Tomcat, and why ? - 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/SSL-connect-to-APR-fails---%22bad-version%22-tp32788669p32805704.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: SSL connect to APR fails - bad version
thank for your help. here is more info on my setup: tomcat version 6.0.29. And tomcat is startin clean; no ererors while loading. if I use tls1, I get same error as before (bad version). when i test with openssl s_client, I check line 293 of s3_pkt.c. it say -- if ((version8) != SSL3_VERSION_MAJOR) { SSLerr(SSL_F_SSL3_GET_RECORD,SSL_R_WRONG_VERSION_NUMBER); goto err; } so client is wanting ssl version 3. But i have same error with browser. i donot/cannot find what version browser wants - i Think it is 3. Konstantin Kolinko wrote: 2011/11/6 Kobe r...@mailcity.com: I build tcnative and apr from src with exist ver of openssl (means openssl not build my me). I load apr connector in tomcat as below. when my client connect, I cannot connect: i get bad version. please explain what I do wrong? server# ./apr-1-config --version 1.4.5 server# server# openssl version OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 server# /// APR Connector Configuration in Tomcat6 Connector port=443 protocol=org.apache.coyote.http11.Http11AprProtocol enableLookups=false disableUploadTimeout=true acceptCount=100 scheme=https secure=true SSLCertificateFile=server_certificate.pem SSLCertificateChainFile=cachain.pem SSLCertificateKeyFile=server.key / $ openssl s_client -connect server.xxx.net:443 -debug -ssl3 44414:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number:/SourceCache/OpenSSL098/OpenSSL098-35.1/src/ssl/s3_pkt.c:293: And what happens with $ openssl s_client -connect server.xxx.net:443 -debug -tls1 ? What is on line 293 in s3_pkt.c in the version of openssl the client side of the connection is using? I quick guess that clientserver cannot negotiate protocol version. There are some options on Connector that might be used to configure protocols ciphers that are supported. Note that - There were several security fixes in OpenSSL since that version that you are using. - You may try googling for your error message. It is mentioned a lot of times. - You are not mentioning what version of Tomcat x.y.z you are using. - There might be some messages in Tomcat log files. Does Tomcat start up cleanly? Re: Andre's question: That is openssl in command-line client mode, as a test whether it can connect to the server. Best regards, Konstantin Kolinko - 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/SSL-connect-to-APR-fails---%22bad-version%22-tp32788669p32805993.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: SSL connect to APR fails - bad version
many thanks again for your time and help. Problem is: same openssl version working on another server and successfuly setup SSLv3 connections with same client. So I am thinking, there is misconfigure on this server. i would like to find why this server respond with SSLv2 ClientHello instead of SSLv3 ClientHello. how do i find this misconfigurn? /Kobe Marvin Addison wrote: The following works as expected on my config (6.0.26) using the default protocols and cipher suite as in your config: $ openssl s_client -connect eiger:443 -debug -ssl3 CONNECTED(0003) ... Something in your SSL version jumped out at me: OpenSSL 0.9.8e-fips-rhel5 Looks like you're running OpenSSL with the FIPS compliance features enabled, which may impose additional requirements on SSL negotiation. I can't provide any further insight, but hopefully it might point to an area for further investigation. M - 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/SSL-connect-to-APR-fails---%22bad-version%22-tp32788669p32805994.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: SSL connect to APR fails - bad version
thank you Chris. I know the server (APR) is sending SSLv2 ClientHello because ssl debugs show it: // from ${CATALINA_HOME}/bin/setenv.sh: export JAVA_OPTS=... -Djavax.net.debug=ssl //... # sh ${CATALINA_HOME}/bin/startup.sh // from client $ openssl s_client -connect server.xxx.net:443 -debug -ssl3 // from ${CATALINA_HOME}/logs/catalina.out ... sending SSLv2 ClientHello server issues only SSLv2 ClientHello But same openssl version (FIPS) connects with SSLv3 on another machien. so I am thinking there is openssl misconfig on this server. many tahnks. /Kobe Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kobe, On 11/8/11 2:01 PM, Kobe wrote: thank for your help. here is more info on my setup: tomcat version 6.0.29. And tomcat is startin clean; no ererors while loading. if I use tls1, I get same error as before (bad version). when i test with openssl s_client, I check line 293 of s3_pkt.c. it say -- if ((version8) != SSL3_VERSION_MAJOR) { SSLerr(SSL_F_SSL3_GET_RECORD,SSL_R_WRONG_VERSION_NUMBER); goto err; } so client is wanting ssl version 3. But i have same error with browser. i donot/cannot find what version browser wants - i Think it is 3. Your web browser likely has SSL 2.0 disabled entirely. You should check which types of SSL/TLS are enabled. So I am thinking, there is misconfigure on this server. i would like to find why this server respond with SSLv2 ClientHello instead of SSLv3 ClientHello. Why do you think you are getting an SSLv2 reply? how do i find this misconfigurn? Are you using the same version of openssl as the client as you are using withing Tomcat? I wonder if the FIPS mode is tripping you up. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk65274ACgkQ9CaO5/Lv0PAcfwCeI/nP0CP5Y8Jj1q/1Im/9ef9Y tZQAnial2UmsG5FSBSkSclenImxf5YR+ =vgDW -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/SSL-connect-to-APR-fails---%22bad-version%22-tp32788669p32808893.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
SSL connect to APR fails - bad version
I build tcnative and apr from src with exist ver of openssl (means openssl not build my me). I load apr connector in tomcat as below. when my client connect, I cannot connect: i get bad version. please explain what I do wrong? server# ./apr-1-config --version 1.4.5 server# server# openssl version OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 server# /// APR Connector Configuration in Tomcat6 Connector port=443 protocol=org.apache.coyote.http11.Http11AprProtocol enableLookups=false disableUploadTimeout=true acceptCount=100 scheme=https secure=true SSLCertificateFile=server_certificate.pem SSLCertificateChainFile=cachain.pem SSLCertificateKeyFile=server.key / $ openssl s_client -connect server.xxx.net:443 -debug -ssl3 CONNECTED(0003) write to 0x100119470 [0x100815e00] (95 bytes = 95 (0x5F)) - 16 03 00 00 5a 01 00 00-56 03 00 4e b5 d4 3e 2d Z...V..N..- 0010 - 57 eb 94 3c f8 0f a0 55-76 75 21 7c b3 f1 37 6f W.Uvu!|..7o 0020 - 99 2b 68 7c 65 b7 c9 2c-f6 1f dd 00 00 2e 00 39 .+h|e..,...9 0030 - 00 38 00 35 00 16 00 13-00 0a 00 33 00 32 00 2f .8.5...3.2./ 0040 - 00 9a 00 99 00 96 00 05-00 04 00 15 00 12 00 09 0050 - 00 14 00 11 00 08 00 06-00 03 00 ff 02 01 .. 005f - SPACES/NULS read from 0x100119470 [0x100811400] (5 bytes = 5 (0x5)) - 48 54 54 50 2fHTTP/ write to 0x100119470 [0x10081b800] (7 bytes = 7 (0x7)) - 15 03 00 00 02 02 28 ..( 44414:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number:/SourceCache/OpenSSL098/OpenSSL098-35.1/src/ssl/s3_pkt.c:293: $ thank you. Kobe -- View this message in context: http://old.nabble.com/SSL-connect-to-APR-fails---%22bad-version%22-tp32788669p32788669.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: s
i have apr lib in load dir path (below). but it seems, it is not enough. it give UnsatisfiedLinkError. if I include additional paths then it works. but I have to include lot of additioanal paths. please help! thanks. $ ls -l /usr/tomcat/lib/apr total 1192 -rwxrwxrwx 1 tc noman 8351 Sep 26 10:54 apr.exp -rwxrwxrwx 1 tc noman 5203 Sep 26 10:55 aprutil.exp -rwxrwxrwx 1 tc noman 259090 Sep 26 10:54 libapr-1.a -rwxrwxrwx 1 tc noman845 Sep 26 10:54 libapr-1.la lrwxrwxrwx 1 tc noman 17 Sep 26 10:50 libapr-1.so - libapr-1.so.0.4.5 lrwxrwxrwx 1 tc noman 17 Sep 26 10:50 libapr-1.so.0 - libapr-1.so.0.4.5 -rwxrwxrwx 1 tc noman 218383 Sep 26 10:54 libapr-1.so.0.4.5 -rwxrwxrwx 1 tc noman 185342 Sep 26 10:55 libaprutil-1.a -rwxrwxrwx 1 tc noman941 Sep 26 10:55 libaprutil-1.la lrwxrwxrwx 1 tc noman 22 Sep 26 10:50 libaprutil-1.so - libaprutil-1.so.0.3.12 lrwxrwxrwx 1 tc noman 22 Sep 26 10:50 libaprutil-1.so.0 - libaprutil-1.so.0.3.12 -rwxrwxrwx 1 tc noman 161262 Sep 26 10:55 libaprutil-1.so.0.3.12 -rwxrwxrwx 1 tc noman 159552 Sep 26 10:58 libtcnative-1.a -rwxrwxrwx 1 tc noman942 Sep 26 10:58 libtcnative-1.la lrwxrwxrwx 1 tc noman 23 Sep 26 10:50 libtcnative-1.so - libtcnative-1.so.0.1.20 lrwxrwxrwx 1 tc noman 23 Sep 26 10:50 libtcnative-1.so.0 - libtcnative-1.so.0.1.20 -rwxrwxrwx 1 tc noman 163326 Sep 26 10:58 libtcnative-1.so.0.1.20 drwxrwxrwx 2 tc noman 4096 Sep 26 10:58 pkgconfig # echo LD_LIBRARY_PATH /usr/tomcat/lib # n828cl wrote: From: Kobe [mailto:r...@mailcity.com] Subject: Re: s I changed the paths to standard locations (using LD_LIBRARY_PATH). So where is your .so file actually located? You need to include that directory in LD_LIBRARY_PATH. - 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://old.nabble.com/s-tp32723372p32762698.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
s
i have tomcat6 with APR connector built for jdk6. When i start server I get unsatisfied link error. I try static linking for APR but no luck. can anyone help me plz... 16-Dec-2010 16:13:27 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/asdasdasd/app/bin/../lib java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.Pool.create(J)J at org.apache.tomcat.jni.Pool.create(Native Method) at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:613) at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107) at org.apache.catalina.connector.Connector.initialize(Connector.java:1022) at org.apache.catalina.core.StandardService.initialize(StandardService.java:703) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:786) at org.apache.catalina.startup.Catalina.load(Catalina.java:528) at org.apache.catalina.startup.Catalina.load(Catalina.java:552) ... 6 more my connector config is Connector port=8080 protocol=org.apache.coyote.http11.Http11AprProtocol connectionTimeout=11000 redirectPort=443 / same for https also. -- View this message in context: http://old.nabble.com/s-tp32723372p32723372.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: s
i think its shortening long path for display with ... I changed the paths to standard locations (using LD_LIBRARY_PATH). I still get the same error: Oct 26, 2011 8:48:12 AM org.apache.catalina.core.AprLifecycleListener init 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.6.0_21/jre/lib/i386/server:/usr/java/jdk1.6.0_21/jre/lib/i386:/usr/java/jdk1.6.0_21/jre/../lib/i386:/usr/local/apache-tomcat/apr-connector/lib:/usr/local/apache-tomcat/apr/lib:/usr/local/lib:/lib::/usr/java/packages/lib/i386:/lib:/usr/lib java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.Pool.create(J)J at org.apache.tomcat.jni.Pool.create(Native Method) at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:613) at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107) at org.apache.catalina.connector.Connector.initialize(Connector.java:1022) at org.apache.catalina.core.StandardService.initialize(StandardService.java:703) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:786) at org.apache.catalina.startup.Catalina.load(Catalina.java:528) at org.apache.catalina.startup.Catalina.load(Catalina.java:552) ... 6 more Daniel Mikusa-2 wrote: I see java.library.path is set to /opt/asdasdasd/app/bin/../lib, which looks a little funky. Have you tried setting it to /opt/asdasdasd/app/lib? I'm assuming this is the location of the compiled library files, please confirm. Dan On Wed, 2011-10-26 at 04:30 -0700, Kobe wrote: i have tomcat6 with APR connector built for jdk6. When i start server I get unsatisfied link error. I try static linking for APR but no luck. can anyone help me plz... 16-Dec-2010 16:13:27 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/asdasdasd/app/bin/../lib java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.Pool.create(J)J at org.apache.tomcat.jni.Pool.create(Native Method) at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:613) at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107) at org.apache.catalina.connector.Connector.initialize(Connector.java:1022) at org.apache.catalina.core.StandardService.initialize(StandardService.java:703) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:786) at org.apache.catalina.startup.Catalina.load(Catalina.java:528) at org.apache.catalina.startup.Catalina.load(Catalina.java:552) ... 6 more my connector config is Connector port=8080 protocol=org.apache.coyote.http11.Http11AprProtocol connectionTimeout=11000 redirectPort=443 / same for https also. -- View this message in context: http://old.nabble.com/s-tp32723372p32725391.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: s
Is it possible to make it say what library it missing? many thanks for your help. Kobe wrote: i think its shortening long path for display with ... I changed the paths to standard locations (using LD_LIBRARY_PATH). I still get the same error: Oct 26, 2011 8:48:12 AM org.apache.catalina.core.AprLifecycleListener init 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.6.0_21/jre/lib/i386/server:/usr/java/jdk1.6.0_21/jre/lib/i386:/usr/java/jdk1.6.0_21/jre/../lib/i386:/usr/local/apache-tomcat/apr-connector/lib:/usr/local/apache-tomcat/apr/lib:/usr/local/lib:/lib::/usr/java/packages/lib/i386:/lib:/usr/lib java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.Pool.create(J)J at org.apache.tomcat.jni.Pool.create(Native Method) at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:613) at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107) at org.apache.catalina.connector.Connector.initialize(Connector.java:1022) at org.apache.catalina.core.StandardService.initialize(StandardService.java:703) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:786) at org.apache.catalina.startup.Catalina.load(Catalina.java:528) at org.apache.catalina.startup.Catalina.load(Catalina.java:552) ... 6 more Daniel Mikusa-2 wrote: I see java.library.path is set to /opt/asdasdasd/app/bin/../lib, which looks a little funky. Have you tried setting it to /opt/asdasdasd/app/lib? I'm assuming this is the location of the compiled library files, please confirm. Dan On Wed, 2011-10-26 at 04:30 -0700, Kobe wrote: i have tomcat6 with APR connector built for jdk6. When i start server I get unsatisfied link error. I try static linking for APR but no luck. can anyone help me plz... 16-Dec-2010 16:13:27 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/asdasdasd/app/bin/../lib java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.Pool.create(J)J at org.apache.tomcat.jni.Pool.create(Native Method) at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:613) at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107) at org.apache.catalina.connector.Connector.initialize(Connector.java:1022) at org.apache.catalina.core.StandardService.initialize(StandardService.java:703) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:786) at org.apache.catalina.startup.Catalina.load(Catalina.java:528) at org.apache.catalina.startup.Catalina.load(Catalina.java:552) ... 6 more my connector config is Connector port=8080 protocol=org.apache.coyote.http11.Http11AprProtocol connectionTimeout=11000 redirectPort=443 / same for https also. -- View this message in context: http://old.nabble.com/s-tp32723372p32725411.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: run service in jdk 6
Hi - Are you using Tomcat5.x with JDK6 in production? Are there any problems to be concerned about? Thanks, Kobe Caldarale, Charles R wrote: From: kkus [mailto:[EMAIL PROTECTED] Subject: How to run tomcat service in JDK6? Double-posting won't improve your chances of getting an answer, but it will annoy people. Has anyone used JDK 6 for 5.5.20? Any idea? I'm using it right now, with no problems. However, the JDK is installed in C:\jdk1.6.0, rather than a directory with spaces embedded in the name (another brilliant Microsoft innovation). - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/run-service-in-jdk-6-tf2897742.html#a8311922 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]