-
1. Re: ESB Jetty configuration question
ffang Jun 23, 2011 8:19 PM (in response to shamik)Hi,
Yes, configure jetty server is possible.
You may need check and jetty docs to get more details.
Btw, from FUSE ESB 4.4, we have etc/jetty.xml which you could configure there directly.
http://wiki.ops4j.org/display/paxweb/AdvancedJettyConfiguration
Freeman
-
2. Re: ESB Jetty configuration question
shamik Jun 23, 2011 10:42 PM (in response to ffang)Freeman, thanks for the reply. I downloaded fuse 4.4.0 but didn't find jetty.xml under etc folder. Did you by any chance meant that I can drop a jetty.xml under etc and fuse will recognize it ? I'll appreciate if you can let me know it.
-
3. Re: ESB Jetty configuration question
ffang Jun 23, 2011 11:29 PM (in response to shamik)Hi,
Hmm, I believe you're using zip distribution on windows, right?
Seems we're missing jetty.xml for windows kit.
Anyway, I'm gonna fix it soon.
And below is the default jetty.xml which should be in the etc folder.
Freeman
-
4. Re: ESB Jetty configuration question
ffang Jun 24, 2011 12:10 AM (in response to ffang)Hi,
Sorry I make a mistake, that's not a bug.
The jetty.xml get copied to etc folder automatically when the first time install "http" feature. The http feature is a default installed feature when you start FUSE ESB, that said, you need start
"FUSE ESB" once then you can see the jetty.xml in etc folder.
Freeman
-
5. Re: ESB Jetty configuration question
shamik Jun 24, 2011 1:19 PM (in response to ffang)Freeman, thanks a ton for the detailed response. After starting the fuse, I was able to see the generated jetty.xml. I'll add the advanced configurations and verify the result.
On a similar note, I'll really appreciate if you can give some pointers to using servlet filters/context listeners using jetty. Does web.xml concept apply on fuse using an embedded jetty or I need to register them manually using a bundle activator.
-
6. Re: ESB Jetty configuration question
ffang Jun 24, 2011 8:54 PM (in response to shamik)Hi,
You actually can use web.xml for each web-application bundle, two useful link & tell more details.
http://karaf.apache.org/manual/2.1.99-SNAPSHOT/users-guide/web-applications.html
http://wiki.ops4j.org/confluence/display/ops4j/PaxWebExtender-War-OSGi-fy
Freeman