[ 
https://issues.apache.org/jira/browse/CXF-3742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084972#comment-13084972
 ] 

Xilai Dai commented on CXF-3742:
--------------------------------

karaf@tesb> install -s 
file:///D:/testlifecycle_bundle/target/testlifecycle_bundle-1.0-SNAPSHOT.jar
Bundle ID: 167
karaf@tesb> Client created!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Client created!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Java Code client created!!!!!!!!!!!!!!!!!!!!!!!!!!!
Service start!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Service start!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Java Code server created/start!!!!!!!!!!!!!!!!!!!!!!!!!!!
Service start!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

karaf@tesb> Client destroyed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Client destroyed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Client destroyed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

karaf@tesb> uninstall 167
Service stop!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Service stop!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Client destroyed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
karaf@tesb>

> Too many startServer() and clientDestroyed() got invoked when spring created 
> and java code created client/server mixed used.
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3742
>                 URL: https://issues.apache.org/jira/browse/CXF-3742
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.5
>         Environment: Windows 7, JDK1.6
>            Reporter: Xilai Dai
>              Labels: CXF
>         Attachments: testlifecycle_bundle.zip
>
>
> From the testcase, there are 2 servers(one is spring created,the other is 
> code created) and 2 clients(one is sprint created,the other is code created), 
> when install/uninstall this bundle to osgi container, startServer() got 
> invoked 3 times and clientDestroyed() got invoked 4 times!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to