judging from the Tomcat6 sources (setTimeout method in org.apache.catalina.connector.CometEventImpl, http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/CometEventImpl.java) it seems you haven't properly enabled async processing and/or request timeout setting in your Tomcat setup.
Can you check how to enable the "org.apache.tomcat.comet.timeout.support" attribute on all requests?
Cheers,
Mathias
---
mat...@spray.cc
http://www.spray.cc
IMPORTANT NOTE: Usage of these features requires using the APR or NIO HTTP connectors.
The classic java.io HTTP connector and the AJP connectors do not support them.
Cheers,
Mathias
---
mat...@spray.cc
http://www.spray.cc
On 25.10.2011, at 20:10, Michael Calderon wrote:
when you set
> root-path = "/app-name/"
a request to "http://yourhost/app-name/service"
will be seen by your route structure as a request to "/service".
So you'll have to use a `path("service")` directive to match requests to "http://yourhost/app-name/service".
HTH and cheers,
Mathias
---
mat...@spray.cc
http://www.spray.cc
I suggest you set the log level for "cc.spray.RootService" to DEBUG and also
change your
_.complete("failed")
to
ctx => ctx.complete("Request path: " + ctx.request.path)
and look at the returned request path.
Cheers,
Mathias
---
mat...@spray.cc
http://www.spray.cc