Hello all,
I’ve got jax-ws working.
But now I’ve another challenge: I need on the same embedded server
publish a webapp, bellow I’ve used previously to publish it using the
Jetty Server, but with HttpServer I’ve no setHandler method…
Is it possible on same server have the HttpServer spi and “normal”
jetty embedded Server to publish jax-ws and a webapp? How?
Server srv = new Server(8080);
WebAppContext webapp = new WebAppContext();
webapp.setContextPath("/myapp");
webapp.addSystemClass("org.apache.log4j.");
webapp.addSystemClass("org.slf4j.");
webapp.addSystemClass("org.apache.commons.logging.");
webapp.setWar("./WebContentCMIS");
server.setHandler(webapp);
Many thanks,
Kr
-------------------------
Hello Joakim,
Its what I'm looking for.
Thanks!
GLoureiro
----------------------------------------------
Date: Wed, 25 Sep 2013 08:39:52 -0700
From: Joakim Erdfelt <joakim@xxxxxxxxxxx>
To: JETTY user mailing list <jetty-users@xxxxxxxxxxx>
Subject: Re: [jetty-users] jax-ws on jetty 9
Message-ID:
<CAG4zZZBLeOvsEQMWG_uSS2vLtgaExd5-DEXinG60wJQq8K_HAA@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="windows-1252"
You might be looking for jetty-http-spi
http://search.maven.org/#artifactdetails%7Corg.eclipse.jetty%7Cjetty-http-spi%7C9.0.5.v20130815%7Cjar
The old jetty-jaxws2spi
artifact<http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22jetty-jaxws2spi%22>was
short-lived (only existed for 1 release of jetty).
The class org.eclipse.jetty.jaxws2spi.JettyHttpServerProvider
looks to have been renamed to org.eclipse.jetty.http.spi.
JettyHttpServerProvider
--
Joakim Erdfelt <joakim@xxxxxxxxxxx>
webtide.com <http://www.webtide.com/> - intalio.com/jetty
Expert advice, services and support from from the Jetty & CometD experts
eclipse.org/jetty - cometd.org
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users