-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Vishal,

On 1/25/13 6:11 AM, Vishal-sh Sharma wrote:
> Thanks for prompt reply. I am no java developer so gave me good 
> lead.
> 
> I compared the Poll.java in  tomcat source ( 7.0.35 src ) with 
> tomcat-native-1.1.24-src
> 
> diff apache-tomcat-7.0.35-src/java/org/apache/tomcat/jni/Poll.java 
> tomcat-native-1.1.24-src/jni/java/org/apache/tomcat/jni/Poll.java

That's not a valid comparison, unfortunately. For some reason, Java code
remains tucked-away in the tcnative project but it is no longer used (or
shouldn't be). Tomcat includes in its standard distribution everything
you need to use tcnative.

Did you manually compile the Java portion of tcnative? If so, please
remove whatever JAR file you produced from that procedure and re-run
your tests.

> Looks like that in latest version of  native library , the 
> "addWithTimeout" function is missing. The "C" counterpart indeed
> is present in the native library.
> 
> Does it make sense to copy the Poll.java from the tomcat src to 
> native library and build the native library??

No, you should simply ignore all the Java code in the tcnative
distribution.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEAREIAAYFAlEC3tcACgkQ9CaO5/Lv0PDiZACfQIeeJflrmyB3/oJVwAtN9lA+
grUAn2LP8TrFL7iAIh0ftldIilaIZCFT
=JdKl
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to