cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hubert zhang (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1034) JettyHTTPServerEngineFactory should automatically stop all jettyEngines which it buffered
Date Tue, 18 Sep 2007 17:07:47 GMT
JettyHTTPServerEngineFactory should automatically stop all jettyEngines which it buffered
-----------------------------------------------------------------------------------------

                 Key: CXF-1034
                 URL: https://issues.apache.org/jira/browse/CXF-1034
             Project: CXF
          Issue Type: Improvement
          Components: Bus
    Affects Versions: 2.0.1
         Environment: ECLIPSE 3.3
JSDK6
CXF2.0.1
WINDOWS XP SP2
            Reporter: Hubert zhang
             Fix For: 2.0.1


JettyHTTPServerEngineFactory  is used to create jetty server objects base on different socket
port numbers. And it also buffers all it created jetty server objects(jettyEngine) in a map.
And JettyHTTPServerEngineFactory  also is managed by CXFdefaultBus.
When Bus shuts down, it will also shut down JettyHTTPServerEngineFactory  automatically, but
JettyHTTPServerEngineFactory  can not stop  all jettyEngines which it buffered. I think it
is a bug!

Coz jettyEngine must be stopped to release socket resource, and a jettyEngine  can be shared
by many ws server.But how to stop jettyEngine, you can not find a good way.

So i think if JettyHTTPServerEngineFactory  can shut down all jettyEngines when bus shut down,
it can make CXF more rubustly!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message