OK, so, it's Karaf 4.0.x with Jetty 9.3.x. I don't think the webapp in etc/jetty.xml will work with cREST.
A "global" error handler in etc/jetty.xml should work. Regards JB On 05/09/2019 10:29, aniketband wrote: > Hello JB > > This is actually Talend Runtime 7.2.1 > > By stacktrace I mean what is shown in browser as response. The stacktrace is > in the logs its fine if required we can suppress it. > > Its a route with cRest component which is developed in Talend Studio. > > We have tried to add following section in Jetty and it did not work. > <New id="webApp" class="org.eclipse.jetty.webapp.WebAppContext"> > <Set name="contextPath">/servics/MyService/getinfo/</Set> > <Get name="errorHandler"> > <Call name="setShowStacks"> > <Arg type="boolean">false</Arg> > </Call> > </Get> > </New> > > Now I will try next is > <Get id="errorHandler" > name="org.eclipse.jetty.osgi.httpservice.HttpServiceErrorPageErrorHandler"> > <Set name="showStacks" type="java.lang.Boolean">false</Set> > </Get> > > Or the Errorhandler must be custom one? > > Thanks > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
