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: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to