Another solution (especially for SMX3) is to modify the conf/servicemix.xml that launch your POJO calling Jetty and your servlet at the SMX startup (Spring based).
Regards JB On Tuesday 20 January 2009 - 12:04, Oliver Newell wrote: > > Hi - > > I would like to run some servlets inside a ServiceMix 4 instance. I did > some searching but haven't found any specific examples. I did come > across some examples on the Web that discuss how to run servlets in a > Jetty servlet container that is embedded in an OSGI container, and that > is along the lines of what I am trying to do. I see that ServiceMix 4 > includes the jetty-6.1.12rc1 bundle, so I think I'm almost there... > > I imagine this is a pretty common use case, and I just didn't come > across the right document/thread in my search. Can anyone steer me in > the right direction? > > Thanks! > > -Oliver > -- Jean-Baptiste Onofré (Nanthrax) BuildProcess/AutoDeploy Project Leader http://buildprocess.sourceforge.net j...@nanthrax.net PGP : 17D4F086