Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] jetty with activemq JMS with http


You would have to use o.e.j.webapp.WebAppContext as opposed to o.e.j.server.handler.ContextHandler in order for a web application to work properly.


On Mon, May 30, 2011 at 12:24 PM, NGUYEN TAN CUONG Nicolas (EURIWARE SA) <nicolas.nguyen@xxxxxxxxxxx> wrote:

I'm helping David in the integration of ActiveMQ with Jetty, trying to setup jms with http tunnelling.

Thanks to Michael, we've now reach the point where our webapp is launched by jetty, and that's where it's getting complicated. (At least for David and I).
When our servlet is launching the jms broker, jetty is reaching a "ServletHandler.doStart" and is meeting the following exception :

org.eclipse.jetty.server.handler.ContextHandler cannot be cast to org.eclipse.jetty.servlet.ServletContextHandler

I've try to changed the nature of our webapp ContextHandler to fit the cast, but it doesn't seem to be the one involved.

Thanks for your help


jetty-users mailing list

Back to the top