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: users@tomcat.apache.org
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" <users@tomcat.apache.org>
To: <users@tomcat.apache.org>
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: users@tomcat.apache.org 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: users@tomcat.apache.org To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to