you'll see we dump more info for rest endpoints but when we did it (when I
did it ;) i supposed @GET/@POST/... was always here which is wrong

*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/2/17 Alex The Rocker <[email protected]>

> Hey, you're too fast :)
>
> Questions:
> 1. Let me know what you changed
> 2. If there was a mistake in our app or in TomEE.
>
> Indeed, somebody in my company hinted me (after I opened the JIRA) that the
> faulty code could be ours, in this declaration:
>
>
>
> 1.   @Path("{tagid}"<
> http://dsxplore.dsy.ds/mashup-ui/page/xrefsearch?q=%22%7Btagid%7D%22&r=V6/R2014
> >
> )
>
> 2.      @Produces({
> MediaType<
> http://dsxplore.dsy.ds/mashup-ui/page/xrefsearch?q=MediaType&r=V6/R2014>
> .APPLICATION_XML<
> http://dsxplore.dsy.ds/mashup-ui/page/xrefsearch?q=APPLICATION_XML&r=V6/R2014
> >
> , MediaProviderJSON<
> http://dsxplore.dsy.ds/mashup-ui/page/xrefsearch?q=MediaProviderJSON&r=V6/R2014
> >
> .TYPE  <http://dsxplore.dsy.ds/mashup-ui/page/xrefsearch?q=TYPE&r=V6/R2014
> >
> })
>
> 3.      public Response<
> http://dsxplore.dsy.ds/mashup-ui/page/xrefsearch?q=Response&r=V6/R2014>
>  getTag<
> http://dsxplore.dsy.ds/mashup-ui/page/xrefsearch?q=getTag&r=V6/R2014>
> (@Context HttpServletRequest<
> http://dsxplore.dsy.ds/mashup-ui/page/xrefsearch?q=HttpServletRequest&r=V6/R2014
> >
>  req <http://dsxplore.dsy.ds/mashup-ui/page/xrefsearch?q=req&r=V6/R2014>,
>
>
>
> Is this declaration correct, or is a @GET mandatory to make it correct?
>
> Thanks,
> Alex
>
>
>
>
> On Sun, Feb 17, 2013 at 9:37 PM, Romain Manni-Bucau
> <[email protected]>wrote:
>
> > fixed
> >
> > *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/2/17 Romain Manni-Bucau <[email protected]>
> >
> > > The 1.5.1 +1 snapshot renamed in 1.6.0 this week
> > > Le 17 févr. 2013 16:38, "Alex The Rocker" <[email protected]> a
> > écrit :
> > >
> > > I'm confused, what's in
> > >>
> > >>
> >
> https://repository.apache.org/content/groups/snapshots/org/apache/openejb/apache-tomee/1.5.2-SNAPSHOT/if
> > >> not 1.5.2 snapshots?
> > >>
> > >>
> > >>
> > >>
> > >> On Sun, Feb 17, 2013 at 4:14 PM, Romain Manni-Bucau
> > >> <[email protected]>wrote:
> > >>
> > >> > Subresource locator are rest services without @get, @post...it acts
> > like
> > >> > proxy for other rest services.
> > >> >
> > >> > Nobody started any work on 1.5.2 so i cant say anything.
> > >> >
> > >> > Suppose we branch for 1.5.2, some rest features will not be in so i
> > dint
> > >> > think you'd get this issue
> > >> > Le 17 févr. 2013 16:06, "Alex The Rocker" <[email protected]> a
> > >> écrit :
> > >> >
> > >> > > Romain:
> > >> > >
> > >> > > I don't know what's subresource locator, many developers
> contribute
> > to
> > >> > this
> > >> > > application (~200 .jar files in the web app!).
> > >> > > I have taken the time to "reduce" the web app to a minimum size
> that
> > >> > still
> > >> > > leads to same error at deployment time, and I have opened
> > >> > > https://issues.apache.org/jira/browse/TOMEE-773 JIRA.
> > >> > >
> > >> > > I don't understand your remark about 1.5.2 (you mention it still
> > >> doesn't
> > >> > > exist), can it be fixed on 1.5.2 or only on 1.6.0 ?
> > >> > >
> > >> > > Thanks,
> > >> > > Alex
> > >> > >
> > >> > >
> > >> > >
> > >> > > On Sun, Feb 17, 2013 at 11:46 AM, Romain Manni-Bucau
> > >> > > <[email protected]>wrote:
> > >> > >
> > >> > > > Ps: do you use subresource locator?
> > >> > > > Le 17 févr. 2013 10:33, "Romain Manni-Bucau" <
> > [email protected]>
> > >> a
> > >> > > > écrit :
> > >> > > >
> > >> > > > > Hi
> > >> > > > >
> > >> > > > > First trunk is 1.6.0 snapshot (1.5.2 still doesnt exist)
> > >> > > > >
> > >> > > > > Then this is a small bug IMO. If you can reproduce it, it will
> > >> help
> > >> > but
> > >> > > > it
> > >> > > > > will be fixed soon normally
> > >> > > > > Le 16 févr. 2013 23:54, "Alex The Rocker" <
> [email protected]
> > >
> > >> a
> > >> > > > écrit :
> > >> > > > >
> > >> > > > >> Hello:
> > >> > > > >>
> > >> > > > >> Our application which works fine with TomEE+ 1.5.1 miserably
> > >> fails
> > >> > at
> > >> > > > >> startup with the following trace in catalina.out. The issue
> is
> > so
> > >> > > > "severe"
> > >> > > > >> that it's not deployed at all.
> > >> > > > >>
> > >> > > > >> Is it a known issue?
> > >> > > > >> I am worried because, as far as I understand, we're close to
> > >> 1.5.2
> > >> > > > >> official
> > >> > > > >> release. Can it be worked around?
> > >> > > > >>
> > >> > > > >> Any traces which I should turn on in order to better track
> this
> > >> > issue?
> > >> > > > >> (please be precise on how to traces activation).
> > >> > > > >>
> > >> > > > >> Thanks,
> > >> > > > >> Alex
> > >> > > > >>
> > >> > > > >>
> > >> > > > >> SEVERE: error invoking
> > >> > > > >> org.apache.openejb.observer.ObserverManager$Observer@23f507cb
> > >> > > > >> java.lang.reflect.InvocationTargetException
> > >> > > > >>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > >> Method)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > >> > > > >>     at java.lang.reflect.Method.invoke(Method.java:601)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1491)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
> > >> > > > >>     at
> > >> > > > >>
> > >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
> > >> > > > >>     at
> > >> > > > >>
> > >> > >
> > >>
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> > >> > > > >>     at
> > >> > > > >>
> > >> >
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
> > >> > > > >>     at
> > >> > > > >>
> > >> >
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)
> > >> > > > >>     at
> > >> > > > >>
> > >> > >
> > >>
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > >> > > > >>     at
> > >> > > >
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > >> > > > >>     at
> java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > >> > > > >>     at java.lang.Thread.run(Thread.java:722)
> > >> > > > >> Caused by: java.lang.NullPointerException
> > >> > > > >>     at java.lang.String.compareTo(String.java:1139)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> org.apache.openejb.server.cxf.rs.Logs$LogOperationEndpointInfo.compareTo(Logs.java:138)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> org.apache.openejb.server.cxf.rs.Logs$LogOperationEndpointInfo.compareTo(Logs.java:125)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> java.util.ComparableTimSort.countRunAndMakeAscending(ComparableTimSort.java:290)
> > >> > > > >>     at
> > >> java.util.ComparableTimSort.sort(ComparableTimSort.java:157)
> > >> > > > >>     at
> > >> java.util.ComparableTimSort.sort(ComparableTimSort.java:146)
> > >> > > > >>     at java.util.Arrays.sort(Arrays.java:472)
> > >> > > > >>     at java.util.Collections.sort(Collections.java:155)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.deployApplication(CxfRsHttpListener.java:379)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> org.apache.openejb.server.rest.RESTService.deployApplication(RESTService.java:405)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> org.apache.openejb.server.rest.RESTService.afterApplicationCreated(RESTService.java:241)
> > >> > > > >>     at
> > >> > > > >>
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> org.apache.tomee.webservices.TomeeJaxRsService.afterApplicationCreated(TomeeJaxRsService.java:51)
> > >> > > > >>     ... 24 more
> > >> > > > >>
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> > >
> >
>

Reply via email to