As Romain, I would suggest to put soomething like :

@ApplicationPath("/rest")
public class ApplicationConfig extends Application {
    public Set<Class<?>> getClasses() {
        return new HashSet<Class<?>>(Arrays.asList(MyService.class));
    }
}

Will probably have to adapt your endpoint URI  but it should work better


2013/12/3 Romain Manni-Bucau <[email protected]>

> 1.6.0 uses application oriented deployment to be jaxrs compliant, the mode
> you use is a degraded mode kept for compatibility only
> Le 3 déc. 2013 11:04, "cri_sys" <[email protected]> a écrit :
>
> > Thanks i have fixed the issue, adding the following to the
> > system.properties:
> >
> > openejb.jaxrs.application = false
> >
> > Now my application its running, but something strange its that it runs
> > twice
> > before really starting, so it runs then destroys, then runs again, taking
> > longer the startup time, its there any change in  1.6.0 for this as well?
> >
> >
> >
> > --
> > View this message in context:
> >
> http://openejb.979440.n4.nabble.com/No-root-resource-matching-request-path-tp4666495p4666507.html
> > Sent from the OpenEJB Dev mailing list archive at Nabble.com.
> >
>

Reply via email to