Maybe try -Dopenejb.jaxrs.application=false Le 5 mars 2013 21:57, "John D. Ament" <john.d.am...@gmail.com> a écrit :
> Most other app servers (GF, WebSphere) support it. There's actually a bug > in RESTEasy right now blocking it. > > > On Tue, Mar 5, 2013 at 3:42 PM, Romain Manni-Bucau <rmannibu...@gmail.com > >wrote: > > > Nothing allows it too ;). Defining it through web.xml would work. > > > > Through auto discovering...that's not in the specs at all > > Le 5 mars 2013 21:25, "James Green" <james.mk.gr...@gmail.com> a écrit : > > > > > I got it to break. > > > > > > https://github.com/jmkgreen/jaxrs-twoapp deploy that and watch the > root > > > paths disappear. It's just because I added a second JAX-RS > Application. I > > > don't see anything in the spec to prevent that. > > > > > > James > > > > > > > > > > > > On 4 March 2013 17:14, Romain Manni-Bucau <rmannibu...@gmail.com> > wrote: > > > > > > > @James: please reproduce it since i tested it and it worked for me > > > > > > > > *Romain Manni-Bucau* > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > > > > *Blog: **http://rmannibucau.wordpress.com/*< > > > > http://rmannibucau.wordpress.com/> > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > > > > *Github: https://github.com/rmannibucau* > > > > > > > > > > > > > > > > 2013/3/4 John D. Ament <john.d.am...@gmail.com> > > > > > > > > > Can you override this using the servlet mapping? > > > > > > > > > > > > > > > On Mon, Mar 4, 2013 at 12:11 PM, James Green < > > james.mk.gr...@gmail.com > > > > > >wrote: > > > > > > > > > > > Just wanted to confirm that for us with a week-old 1.6.0 > snapshot, > > > > JAX-RS > > > > > > ApplicationPath has no effect. > > > > > > > > > > > > The log shows JAX-RS endpoints created minus this path, and > > accessing > > > > > this > > > > > > with the path ends up with a 404, but accessing them without the > > path > > > > > > brings up the code. > > > > > > > > > > > > What should be contextPath/api/myresource is now > > > > contextPath/myresource. > > > > > > Which is going to make routing requests from the outside world > > > > > > interesting... > > > > > > > > > > > > James > > > > > > > > > > > > > > > > > > > > >