Hi Bala, I'm not sure I fully understand what you are doing. Maybe the issue is more within your jetty.xml config, so it would help to post your jetty.xml also.
And another hint, I don't recommend using 0.8.1, the current released 1.0.3 is much more stable and has lots of more improvements. Regards, Achim Am 10.05.2011 10:44, schrieb Bala Sundharam: > Forgot to specify the version. > > Pax Web version : 0.8.1 > > ---------- Forwarded message ---------- > From: *Bala Sundharam* <[email protected] <mailto:[email protected]>> > Date: Tue, May 10, 2011 at 2:06 PM > Subject: Specifying external jetty config xml > To: [email protected] <mailto:[email protected]>, > [email protected] <mailto:[email protected]> > > > Hello Achim / PaxWebTeam, > > I would like to specify an external file for jetty configuration so > that I can configure jetty as a proxy and also add additional handlers. > > But if I specify the xml using the "org.ops4j.pax.web.config.file" > property, I am not able to access pax web jetty using the usual > "localhost:8080". I thought the following logs may be relevant. > > *Case 1 : When external jetty config xml is set* > > Thread-1] INFO > org.ops4j.pax.web.service.jetty.internal.JettyServerImpl - Pax Web > available at [0.0.0.0]:[8080] > [Thread-1] DEBUG org.eclipse.jetty.util.log - Container > org.ops4j.pax.web.service.jetty.internal.JettyServerWrapper@bd928a + > [email protected]:8080 > <http://[email protected]:8080> as connector > [Thread-1] DEBUG org.eclipse.jetty.util.log - Starting > [email protected]:8080 > <http://[email protected]:8080> > [Thread-1] DEBUG org.eclipse.jetty.util.log - Starting > org.eclipse.jetty.server.nio.SelectChannelConnector$1@30d82d > [Thread-1] DEBUG org.eclipse.jetty.util.log - STARTED > org.eclipse.jetty.server.nio.SelectChannelConnector$1@30d82d > [Thread-1] WARN > org.ops4j.pax.web.service.jetty.internal.NIOSocketConnectorWrapper - > Connection on port 8080 cannot be open. Reason: null > [Thread-1] DEBUG org.eclipse.jetty.util.log - STARTED > [email protected]:8080 > <http://[email protected]:8080> > [Thread-1] DEBUG org.ops4j.pax.web.service.internal.ConfigurationImpl > - Reading configuration property org.ops4j.pax.web.session.timeout has > failed > > *Case 2 : Default [ No external jetty config xml]* > > [Thread-1] INFO org.eclipse.jetty.util.log - Started > [email protected]:8080 > <http://[email protected]:8080> > [Thread-1] DEBUG org.eclipse.jetty.util.log - STARTED > [email protected]:8080 > <http://[email protected]:8080> > [Thread-1] DEBUG org.ops4j.pax.web.service.internal.ConfigurationImpl > - Reading configuration property org.ops4j.pax.web.session.timeout has > failed > [Thread-1] DEBUG org.ops4j.pax.web.service.internal.ConfigurationImpl > - Reading configuration property org.ops4j.pax.web.config.file has failed > > Please let me know if I am missing something. > > Thanks, > Bala >
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
