-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Vishal,
On 1/24/13 8:47 AM, Vishal-sh Sharma wrote:
> I get the following error in catalina.log when i connect the
> tomcat server over http. However https works fine.
>
> 24-Jan-2013 13:06:48.505 SEVERE [http-apr-11831-Poller-0]
> org.apache.tomcat.util.net.AprEndpoint$Poller.run Unexpected poller
> error java.lang.NoSuchMethodError:
> org.apache.tomcat.jni.Poll.addWithTimeout(JJIJ)I at
> org.apache.tomcat.util.net.AprEndpoint$Poller.run(AprEndpoint.java:1287)
That
>
method certainly is defined in Poll.java:91 in Tomcat 7.0.x trunk:
public static native int addWithTimeout(long pollset, long sock,
int reqevents, long timeout);
native/src/poll.c has it, too:
TCN_IMPLEMENT_CALL(jint, Poll, addWithTimeout)(TCN_STDARGS, jlong pollset,
jlong socket, jint
reqevents,
jlong socket_timeout)
Since you aren't getting a linkage error of some kind, this seems to
be a Java-related problem (and not a native problem). If the method
was missing from the native library, you'd get UnsatisfiedLinkError.
Are you sure you have a clean Tomcat install?
- -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/
iEYEAREIAAYFAlEBhLoACgkQ9CaO5/Lv0PC+4ACfcp2sNSbR82N81AKQIFgBT5E5
jmYAoIcK7r49ZrK98Bqns3LNdG9SKSy3
=sa47
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]