[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-dev] SDPY client gets overwhelmed when subscribing to high volume incoming messages
|
Hello,
As per the link below I changed the servlet to
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version>
</dependency>
It now causes a time out exception.
java.util.concurrent.TimeoutException
at org.eclipse.jetty.util.FuturePromise.get(FuturePromise.java:130)
The application works fine without SSL though.
http://stackoverflow.com/questions/9037492/classnotfoundexception-javax-servlet-asynccontext-in-jetty-hello-world
Thank you,
Abhinav
On Wed, Feb 6, 2013 at 10:16 AM, Abhinav Rajan
<abhinav.rajan0@xxxxxxxxx> wrote:
Hi,
Thank you for the immediate response. I changed the npn boot jar to the version you recommended i.e. 1.1.1.v20121030 ..
Though I didn't get the NoSuchMethodError I got the error below. The VM args I am using and attached the screen shot of the build path of the project in case it helps.
-Xbootclasspath/p://Users/abhinavsunderrajan/Desktop/npn-boot-1.1.1.v20121030.jar
-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.KQueueSelectorProvider
Thank you so much,
Abhinav
**************** Error log *******************************
147 [main] INFO org.eclipse.jetty.server.Server - jetty-9.0.0.M5
732 [main] INFO org.eclipse.jetty.spdy.server.SPDYServerConnector - Started SPDYServerConnector@3624332f{SSL-npn}{localhost:8181}
7769 [qtp445922089-15] WARN org.eclipse.jetty.util.thread.QueuedThreadPool -
java.lang.NoClassDefFoundError: javax/servlet/AsyncContext
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at org.eclipse.jetty.server.HttpChannel.<init>(HttpChannel.java:102)
at org.eclipse.jetty.server.HttpConnection$HttpChannelOverHttp.<init>(HttpConnection.java:632)
at org.eclipse.jetty.server.HttpConnection.<init>(HttpConnection.java:96)
at org.eclipse.jetty.server.HttpConnectionFactory.newConnection(HttpConnectionFactory.java:54)
at org.eclipse.jetty.spdy.server.NextProtoNegoServerConnection.onFillable(NextProtoNegoServerConnection.java:89)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:240)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:589)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:520)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: javax.servlet.AsyncContext
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 21 more