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

Greetings,

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.

-Michael

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

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

Regards,
Nicolas. 

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top