[ http://issues.ops4j.org/jira/browse/PAXWEB-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_10901 ]
Damian Golda commented on PAXWEB-50: ------------------------------------ I'd like to have possibility to set own ThreadPool in Jetty Server, so please expose apropriate setter. > support adding HttpSessionListeners and setting session timeouts > ---------------------------------------------------------------- > > Key: PAXWEB-50 > URL: http://issues.ops4j.org/jira/browse/PAXWEB-50 > Project: Pax Web > Issue Type: New Feature > Affects Versions: 0.2.1 > Reporter: Matthew Hawthorne > Assignee: Alin Dreghiciu > > In order to upgrade Jetty, I attempted to use the > "org.ops4j.pax.web.pax.web.service" bundle to replace our existing > "org.ungoverned.osgi.bundle.http" bundle, which runs with an embedded Jetty4. > In our Jetty4 environment, we were able to use reflection on the > SessionContext to get a Jetty ServletHandler, which allowed us to add and > remove HttpSessionListners, as well as set the session timeout value. > However, using the Pax Web bundle I was unable to find a clear path to do > this. The provided to me in the SessionContext is of type > org.ops4j.pax.web.service.internal.HttpServiceContext$SContext, which extends > org.mortbay.jetty.servlet.Context$SContext. The parent class of the latter > has the getServletHandler() method, but I can't get it reflectively since I > am passed an inner class. > I'm unsure whether there is anything that can be done about this in Pax Web, > or if I need to push the Jetty developers to provide better programmatic > access to configure things that are typically found in web.xml. > Your feedback and ideas on this would be appreciated. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.ops4j.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general