You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Hubert zhang (JIRA)" <ji...@apache.org> on 2007/09/18 19:07:47 UTC

[jira] Created: (CXF-1034) JettyHTTPServerEngineFactory should automatically stop all jettyEngines which it buffered

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.


[jira] Resolved: (CXF-1034) JettyHTTPServerEngineFactory should automatically stop all jettyEngines which it buffered

Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

willem Jiang resolved CXF-1034.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0.1)
                   2.1

> 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
>            Assignee: willem Jiang
>             Fix For: 2.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.


[jira] Assigned: (CXF-1034) JettyHTTPServerEngineFactory should automatically stop all jettyEngines which it buffered

Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

willem Jiang reassigned CXF-1034:
---------------------------------

    Assignee: willem Jiang

> 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
>            Assignee: willem Jiang
>             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.