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. http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/xml/XmlConfiguration.html Some of our own unit tests create an embedded Jetty Server[2] via the XmlConfiguration[3] object using multiple custom XML files[4]. [1] http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/xml/XmlConfiguration.html [2] http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/tests/test-integration/src/test/java/org/eclipse/jetty/test/rfcs/RFC2616BIOHttpTest.java [3] http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/tests/test-integration/src/test/java/org/eclipse/jetty/test/support/TestableJettyServer.java#n122 [4] http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/tests/test-integration/src/test/resources/ -- Joakim Erdfelt <[email protected]> www.webtide.com Developer advice, services and support from the Jetty & CometD experts. On Tue, Sep 11, 2012 at 2:14 AM, Oliver Zemann <[email protected]>wrote: > Hi > > 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. > > Regards, > Oli > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users >
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
