Hi Christopher, It worked!! Thanks a ton!!
We were trying to use(compile) the java code in the tcnative distribution and hence the issue. Everything worked to a T , i.e the http calls that were failing earlier, when we ignored the java code provided with the native distribution. Thanks once again..you saved me (my team as well ) lot of pain.. Thanks, Vishal ________________________________________ From: Christopher Schultz [ch...@christopherschultz.net] Sent: Friday, January 25, 2013 7:36 PM To: Tomcat Users List Subject: Re: Unexpected poller error -----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 --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org