tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Hook" <hoo...@hotmail.com>
Subject RE: Windows Native lib
Date Mon, 25 Jun 2007 21:26:54 GMT
Of course I didn't read your entire email to see that you had already found 
the tcnative-1.dll file.

That clearly would have taken too much time and would have kept me from 
putting my foot in my mouth.  :)

So, to try and help AFTER reading your entire email...

I did a google search for:

"Socket bind failed" tomcat

and came up with the following link that seems to be similar to what you're 
experiencing:

http://www.junlu.com/msg/224561.html

Basically, do you have two instances of tomcat running?

Then some other questions and actions to think about...
What happens when you remove the tcnative-1.dll?
Does tomcat start right back up without errors?  (Be sides the native 
library not being present.)
Was tomcat installed as a service?



----Original Message Follows----
From: "Clive Webster" <clive.webster@inbrand.co.uk>
Reply-To: "Tomcat Users List" <users@tomcat.apache.org>
To: "'Tomcat Users List'" <users@tomcat.apache.org>
Subject: RE: Windows Native lib
Date: Mon, 25 Jun 2007 22:04:26 +0100

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:hooknc@hotmail.com]
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" <clive.webster@inbrand.co.uk>
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:116)
          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:782)
          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.java:39
)
          at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

_________________________________________________________________
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



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

_________________________________________________________________
Get a preview of Live Earth, the hottest event this summer - only on MSN 
http://liveearth.msn.com?source=msntaglineliveearthhm


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


Mime
View raw message