Willem, What seems strange to me is this: when I hit this problem before, I was adding handlers to the Server from code. This time, I carefully arranged to have all the handlers configured in Spring, and I just add some servlets to one of the contexts.
Oh well. --benson > -----Original Message----- > From: Jiang, Ning (Willem) [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 13, 2007 9:46 PM > To: [email protected] > Subject: RE: Process doesn't die when I configure handlers in spring > > Hi Benson, > > I checked the changes log, the fixing of the jetty engine shutting down > did not catch up the 2.0.2 release. > So you need to try it in the 2.0.3 SNAPSHOT. > > Willem. > > -----Original Message----- > From: Benson Margulies [mailto:[EMAIL PROTECTED] > Sent: Sun 10/14/2007 1:12 > To: [email protected] > Subject: Process doesn't die when I configure handlers in spring > > Willem may have already fixed this. > > Consider this (which wouldn't be a bad example for the doc): It adds a > log, a webapp, and some static content to the server. All is well, > except that the process seems never to exit. Is this just 'fixed in > 2.0.3'? > > <?xml version="1.0" encoding="UTF-8"?> > > <beans xmlns="http://www.springframework.org/schema/beans" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:sec="http://cxf.apache.org/configuration/security" > xmlns:http="http://cxf.apache.org/transports/http/configuration" > xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration" > xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" > xsi:schemaLocation="http://cxf.apache.org/configuration/security > http://cxf.apache.org/schemas/configuration/security.xsd > http://cxf.apache.org/transports/http/configuration > http://cxf.apache.org/schemas/configuration/http-conf.xsd > http://cxf.apache.org/transports/http-jetty/configuration > http://cxf.apache.org/schemas/configuration/http-jetty.xsd > http://www.springframework.org/schema/beans > > http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> > > <httpj:engine-factory bus="cxf"> > <httpj:engine port="8808"> > <httpj:handlers> > <bean class="org.mortbay.jetty.handler.RequestLogHandler"> > <property name="requestLog"> > <bean class="org.mortbay.jetty.NCSARequestLog"> > <property name="filename" value="jetty.log"/> > </bean> > </property> > </bean> > <bean class="org.mortbay.jetty.webapp.WebAppContext"> > <constructor-arg value="${jsunitPathname}"/> > <constructor-arg value="/jsunit"/> > </bean> > <bean class="org.mortbay.jetty.handler.ContextHandler"> > <property name="contextPath" value="/${staticResourceBase}" /> > <property name="handler"> > <bean class="org.mortbay.jetty.handler.ResourceHandler"> > <property name="baseResource"> > <bean class="org.mortbay.resource.FileResource"> > <constructor-arg value="${staticResourceURL}" /> > </bean> > </property> > </bean> > </property> > </bean> > </httpj:handlers> > </httpj:engine> > </httpj:engine-factory> > </beans>
