[ 
https://issues.apache.org/activemq/browse/SM-1422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43706#action_43706
 ] 

Ulhas Bhole commented on SM-1422:
---------------------------------

I came across the similar problem with cxf-bc RMSequenceTest.
The problem is CXF doesn't remove jetty servant when it calls close(). the 
jetty threads will be shutdown only when you shutdown the CXF bus. In my case 
even that didn't work because the servant count that is maintained by CXF 
http-jetty transport was > 0.

I had a chat with some CXF person and understand that CXF doesn't remove the 
servant directly for some issues so only option is to shutdown the bus which 
should get rid of it but clearly it doesn't happen. Probably CXF need to look 
at it more closely and fix the issues so that the close()/deactivate() on jetty 
http transport would properly bring down the jetty threads.

> Jetty engine not stopped when CXF BC is undeployed
> --------------------------------------------------
>
>                 Key: SM-1422
>                 URL: https://issues.apache.org/activemq/browse/SM-1422
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-bc
>    Affects Versions: 3.2.1
>         Environment: Win XP, IONA FUSE 3.3.1
>            Reporter: Doug Harmon
>
> I'm able to successfully configure a CXF BC SU consumer to listen for 
> requests via SSL. I set the busCfg attribute to a configuration file that is 
> similar to the one found on the Apache CXF site[1] that configures the jetty 
> engine to accept SSL requests. However, after undeploying my service assembly 
> containing this su, the jetty engine is still running on the configured SSL 
> port (my WSDL is no longer available as expected, but jetty is still 
> listening on the port). Therefore all subsequent redeployments of this 
> service assembly fail with the error: "Jetty server: Address already in use: 
> JVM_BIND". I'm forced to stop and start the servicemix JVM in order to deploy 
> and changes that I make to my service assembly.
> After undeploying the SA containing the CXF BC, the jetty engine should also 
> be shutdown.
> [1]http://cwiki.apache.org/CXF20DOC/standalone-http-transport.html

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

Reply via email to