Hi, I tried it, getting below error while server startup.
Object of class 'org.ops4j.pax.web.service.jetty.internal.JettyServerWrapper' is not of type 'org.eclipse.jetty.webapp.WebAppContext'. Object Class and type Class are from different loaders. Thanks Dattu On Wed, Oct 10, 2012 at 9:26 PM, Achim Nierbeck <bcanh...@googlemail.com>wrote: > Hi, > > in that case try to configure the jetty.xml, this will have an effect > on all services then, which I think should be OK. > You'll find the jetty.xml in the etc folder of Karaf. You probably > also need to restart the Karaf server to pick up this change. > > regards, Achim > > 2012/10/10 Dattu Barla <dattu.1...@gmail.com>: > > Hi Achim, > > > > Thanks for your reply. > > > > I think jetty-web.xml should be in WEB-INF folder right? But my bundle is > > not WAB (No WEB-INF folder inside bundle/ not using pax-war). I am using > > httpservice to register servlet, in this case how to configure > jetty-web.xml > > ? Is there any way in karaf to do this ? > > > > Thanks > > Dattu > > > > > > On Wed, Oct 10, 2012 at 5:00 PM, Achim Nierbeck <bcanh...@googlemail.com > > > > wrote: > >> > >> Hi, > >> > >> according to stackoverflow setting a config in the jetty-web.xml could > >> do this [1]. > >> Try this, if it's not working open an issue to enable this in the > >> jetty-web.xml :) > >> > >> regards, Achim > >> > >> > >> [1] - > >> > http://stackoverflow.com/questions/3038223/how-to-get-jetty-to-send-jsessionid-cookies-with-the-secure-flag-when-using-a-se > >> > >> 2012/10/10 Dattu Barla <dattu.1...@gmail.com>: > >> > Hi, > >> > > >> > How to secure JSESSIONID cookie? > >> > > >> > -- > >> > Thanks > >> > Dattu > >> > > >> > _______________________________________________ > >> > general mailing list > >> > general@lists.ops4j.org > >> > http://lists.ops4j.org/mailman/listinfo/general > >> > > >> > >> > >> > >> -- > >> > >> Apache Karaf <http://karaf.apache.org/> Committer & PMC > >> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> > >> Committer & Project Lead > >> OPS4J Pax for Vaadin > >> <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project > >> Lead > >> blog <http://notizblog.nierbeck.de/> > >> > >> _______________________________________________ > >> general mailing list > >> general@lists.ops4j.org > >> http://lists.ops4j.org/mailman/listinfo/general > > > > > > > > > > -- > > Thanks > > Dattu > > > > _______________________________________________ > > general mailing list > > general@lists.ops4j.org > > http://lists.ops4j.org/mailman/listinfo/general > > > > > > -- > > Apache Karaf <http://karaf.apache.org/> Committer & PMC > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> > Committer & Project Lead > OPS4J Pax for Vaadin > <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project > Lead > blog <http://notizblog.nierbeck.de/> > > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general > -- Thanks Dattu
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general