Okay, I am glad that 1.1.7-ipv4 is working. 1.1.9 would have worked with the "address=0.0.0.0" attribute since it is the IPv6 version. A README file in http://tomcat.heanet.ie/native/ would have been helpful.
IPv4 is the 32 bit IP address of a device(computer, router etc.), for example 192.1.1.1. Since the world is running out of IPv4 addresses, IPv6 is the new standard with 128 bit address space. http://www.ipv6.org/ >From your mail, it seems you are on IPv4, so you don't have to worry about IPv6. Yes, the Tomcat folks could have done a little more on APR documentation. I spent a few days unravelling everything on all 3 OS - Windows, Solaris, Linux. Everything had to work in my organization - HTTPS and HTTP transport over both IPv4 and IPv6 on all the 3 OS. So I documented my experience in the posting "Tomcat 5.5, APR, IPv6, HTTP and HTTPS". I was hoping either Mark Thomas or Mladen Turk would comment on my post, update some document or delve into why 1.1.10 gives the errors that are not present when any of the earlier versions were used. But there was no discussion on this thread and I have moved on with my working combination. Lakshmi -----Original Message----- From: Clive Webster [mailto:[EMAIL PROTECTED] Sent: Monday, June 25, 2007 5:45 PM To: 'Tomcat Users List' Subject: RE: Windows Native lib Ok, say have downloaded version 1.1.7/tcnative-1-ipv4.dll and renamed it as tcnative-1.dll without changing anything else. Now everything seems to work ok - ie no more exceptions. So what is the difference between ipv4 and ipv6 and why dont later versions mention them. They just DONT work so why have they been released? c -----Original Message----- From: Clive Webster [mailto:[EMAIL PROTECTED] Sent: 26 June 2007 01:29 To: 'Tomcat Users List' Subject: RE: Windows Native lib Lakshmi, Thanks for the reply. If what you say is true then this 'feature' of Tomcat is obviously beyond the understanding of us 'mere mortals'. I have an application to maintain without having to get to grips with the detailed ins-and-outs of the guts of each Web/App/EJB server, etc, that I'm runing on. What an 'ipv4' is, and how it compares to an 'ipv6', is quite frankly too dull to explore. I had just assumed that there was a dll that replaced parts of the java Tomcat runtime and hence ran faster. Either it was loaded and 'stuff' ran faster, or it wasn't and 'stuff' went more slowly. Call me naive. Why have they released version 1.1.10 if it 'just does not work'? I don't think that I'm trying to do anything weird - I'm just trying to deploy a WAR file. So if you, or anyone else, can advise the exact details of how to make this 'plug-in' actually 'plug in' then great. Sorry - this isn't a rant - and its not aimed at anyone. But how do you install the native stuff on 5.5.23 for Windows - surely someone has done it! Some simple instructions from someone please! C -----Original Message----- From: Lakshmi Venkataraman [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 23:03 To: Tomcat Users List Subject: RE: Windows Native lib No, don't try 1.1.0. I had problems with it on all platforms. I compiled the source on Solaris and Linux. If 1.1.9 does not work, check your server.xml configuration file for your connector. Use address ="0.0.0.0" atribute if you care for Ipv4 only. Please refer to my posting to this group on 05/22 under the heading "Tomcat 5.5, APR, IPv6, HTTP,HTTPS" Upto 1.1.8, whether the tcnative.dll is ipv4 version or ipv6 is mentioned as part of the name. If you want both to work you have to download the ipv6 version and specify two connector elements with appropriate address attributes. Lakshmi -----Original Message----- From: Clive Webster [mailto:[EMAIL PROTECTED] Sent: Monday, June 25, 2007 2:41 PM To: 'Tomcat Users List' Subject: RE: Windows Native lib Due to the ascii sorted list on a volume then the last entry in http://tomcat.heanet.ie/native/ is actually Version 1.1.9 - and so this is the version I actually have tried, not 1.1.10. OK - so you will now say 'try version 1.1.10' - which I've done and it gives exactly the same exception. Aaargh. -----Original Message----- From: Lakshmi Venkataraman [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 22:23 To: Tomcat Users List Subject: RE: Windows Native lib >From my own experience documented in my postings to this group under >the subject heading: "Tomcat 5.5, IPv6, APR, HTTP,HTTPS", tcnative-1.1.10 does not work properly. Please try tcnative-1.1.8 or tcnative-1.1.9. --Lakshmi -----Original Message----- From: Clive Webster [mailto:[EMAIL PROTECTED] Sent: Monday, June 25, 2007 2:04 PM To: 'Tomcat Users List' Subject: RE: Windows Native lib Hi Nathan, Yep: http://tomcat.heanet.ie/native/ is where I downloaded the tcnative-1.dll and openssl.exe from before. And these downloads give me the Tomcat runtime error mentioned in my original email. So if the downloads are correct - then what else can cause the '730047' error code ? -----Original Message----- From: Nathan Hook [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 22:02 To: [email protected] Subject: RE: Windows Native lib To get rid of this error message and speed up Tomcat just a small amount you need to install the tcnative-1.dll You can find this .dll file at: http://tomcat.apache.org/tomcat-5.5-doc/apr.html The link to the download area is: http://tomcat.heanet.ie/native/ You will then want to get the latest version and place it in your $TOMCAT_HOME/bin directory. ----Original Message Follows---- From: "Clive Webster" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[email protected]> To: <[email protected]> Subject: Windows Native lib Date: Mon, 25 Jun 2007 21:55:10 +0100 Have spent the last 8 hours trying to work out how to use the 'native' library for Tomcat 5.5.23 - without any success. Have managed to download lots of C++ source code - which is useless since I don't have an MS C++ compiler and don't want to buy one as I live in a Java world not a C++ world !!! Further digging revealed binaries for 'tcnative-1.dll' and 'openssl.exe' but having put these onto my PATH then I no longer get the warning re not using the native stuff but instead I get:- SEVERE: Error initializing endpoint java.lang.Exception: Socket bind failed: [730047] An address incompatible with the requested protocol was used. at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:576) at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:1 16) at org.apache.catalina.connector.Connector.initialize(Connector.java:1017) at org.apache.catalina.core.StandardService.initialize(StandardService.java :578 ) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:7 82) at org.apache.catalina.startup.Catalina.load(Catalina.java:504) at org.apache.catalina.startup.Catalina.load(Catalina.java:524) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:267) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) Have Googled error code 730047 and got 3 answers (including 2 in Japanese) - no help there. Does anyone know how to make this work? (Sorry - not meant to sound rude, but am starting to get a bit frustrated having gone round in circles for a day!). Apologies if the answer is 'obvious' but have searched FAQs etc etc to no end. Small point - but since the 'native lib' is much hyped in the docs then why is it so bloomin hard to find a download for it that is deployable !! Got Tomcat itself working in a few minutes. All help greatfully received. --------------------------------------------------------------------- To start a new topic, e-mail: [email protected] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _________________________________________________________________ Make every IM count. Download Messenger and join the i'm Initiative now. It's free. http://im.live.com/messenger/im/home/?source=TAGHM_June07 --------------------------------------------------------------------- To start a new topic, e-mail: [email protected] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: [email protected] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: [email protected] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: [email protected] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: [email protected] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
