Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] embedded jetty / configuration file location

Typically, when using embedded jetty, you don't have a jetty.xml in use.
You create/build/configure/start/join/stop the server and its contexts via code.

However, that said, you can use the jetty.xml with embedded, but via the jetty-xml.jar and its XmlConfiguration[1] object.

Some of our own unit tests create an embedded Jetty Server[2] via the XmlConfiguration[3] object using multiple custom XML files[4].


Joakim Erdfelt <joakim@xxxxxxxxxxx>
Developer advice, services and support
from the Jetty & CometD experts.

On Tue, Sep 11, 2012 at 2:14 AM, Oliver Zemann <oliver.zemann@xxxxxxxxx> wrote:

I have a J2SE application which has jetty embedded (only a few jar
files in the /lib directory).
I want to capture now each request including the body of the request
(SOAP). How can i modify the jetty.xml? I have no $jetty.home as i
only have a few jetty jars in /lib. I would like to use
logback-access.xml for that.

jetty-users mailing list

Back to the top