You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Chenguang Zhang (JIRA)" <ji...@apache.org> on 2016/05/24 14:06:12 UTC

[jira] [Updated] (CXF-6916) Problem found when using the latest CXF DOSGi

     [ https://issues.apache.org/jira/browse/CXF-6916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chenguang Zhang updated CXF-6916:
---------------------------------
    Component/s: OSGi

> Problem found when using the latest CXF DOSGi
> ---------------------------------------------
>
>                 Key: CXF-6916
>                 URL: https://issues.apache.org/jira/browse/CXF-6916
>             Project: CXF
>          Issue Type: Task
>          Components: Build system, OSGi
>    Affects Versions: 3.1.1
>            Reporter: Chenguang Zhang
>
> Hello Guys,
> Recently, i am trying to build the OSGi environment for CXF using DOSGi(version 1.7.0).I can see that CXF has cancelled to release singlebundle for quite a long time.So i have to use the multibundle version.
> To verify the environment, i just wrote two very simple  bundles based on JAX-WS rules to test it.
> The problem is that when i make all the bundles run well,the the webservice can not be published which means not signs to show the cxf has been running successfully.
> I can make sure that the bundle has started, it seems that the service is not bound to CXF container.Some traces here:
> Could you please help to find where is wrong?
> (Please ignore the Chinese word below :-))
> osgi> org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
> 信息: Registered blueprint namespace handler for http://cxf.apache.org/transports/http/configuration
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
> 信息: Registered blueprint namespace handler for http://cxf.apache.org/blueprint/bindings/soap
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
> 信息: Registered blueprint namespace handler for http://cxf.apache.org/blueprint/jaxws
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
> 信息: Registered blueprint namespace handler for http://cxf.apache.org/blueprint/simple
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [bundleresource://201.fwk4961455:2/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [bundleresource://201.fwk4961455:3/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.JCLLoggerFactory]
> 五月 24, 2016 9:41:02 下午 org.slf4j.impl.JCLLoggerAdapter info
> 信息: No quiesce support is available, so blueprint components will not participate in quiesce operations
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
> 信息: Adding the extensions from bundle org.apache.cxf.cxf-rt-wsdl (169) [org.apache.cxf.wsdl.WSDLManager]
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
> 信息: Adding the extensions from bundle org.apache.cxf.cxf-rt-bindings-xml (176) [org.apache.cxf.binding.xml.XMLBindingFactory, org.apache.cxf.binding.xml.wsdl11.XMLWSDLExtensionLoader]
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
> 信息: Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http (177) [org.apache.cxf.transport.http.HTTPTransportFactory, org.apache.cxf.transport.http.HTTPWSDLExtensionLoader, org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder, org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder, org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
> 信息: Adding the extensions from bundle org.apache.cxf.cxf-rt-bindings-soap (184) [org.apache.cxf.binding.soap.SoapBindingFactory, org.apache.cxf.binding.soap.SoapTransportFactory]
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
> 信息: Adding the extensions from bundle org.apache.cxf.cxf-rt-management (189) [org.apache.cxf.management.InstrumentationManager]
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
> 信息: Adding the extensions from bundle org.apache.cxf.cxf-rt-frontend-jaxws (193) [org.apache.cxf.jaxws.context.WebServiceContextResourceResolver]
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
> 信息: Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http-jetty (204) [org.apache.cxf.transport.http_jetty.JettyDestinationFactory, org.apache.cxf.transport.http_jetty.JettyHTTPServerEngineFactory, org.apache.cxf.transport.http.ContinuationProviderFactory]
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
> 信息: Registered blueprint namespace handler for http://cxf.apache.org/blueprint/core
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
> 信息: Registered blueprint namespace handler for http://cxf.apache.org/configuration/beans
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
> 信息: Registered blueprint namespace handler for http://cxf.apache.org/configuration/parameterized-types
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
> 信息: Registered blueprint namespace handler for http://cxf.apache.org/configuration/security
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
> 信息: Registered blueprint namespace handler for http://schemas.xmlsoap.org/wsdl/
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
> 信息: Registered blueprint namespace handler for http://www.w3.org/2005/08/addressing
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
> 信息: Registered blueprint namespace handler for http://schemas.xmlsoap.org/ws/2004/08/addressing
> 五月 24, 2016 9:41:02 下午 org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
> 信息: Registered blueprint namespace handler for http://cxf.apache.org/transports/http-jetty/configuration
> ss
> "Framework is launched."
> id	State       Bundle
> 0	ACTIVE      org.eclipse.osgi_3.10.102.v20160118-1700
> 23	ACTIVE      org.apache.felix.gogo.command_0.10.0.v201209301215
> 24	ACTIVE      org.apache.felix.gogo.shell_0.10.0.v201212101605
> 25	ACTIVE      org.eclipse.osgi.services_3.5.0.v20150519-2006
> 27	ACTIVE      org.apache.felix.gogo.runtime_0.10.0.v201209301036
> 33	ACTIVE      javax.wsdl_1.6.2.v201012040545
> 39	ACTIVE      org.apache.commons.logging_1.1.1.v201101211721
> 44	ACTIVE      javax.annotation_1.2.0.v201401042248
> 49	ACTIVE      javax.servlet_3.1.0.v201410161800
> 52	ACTIVE      org.eclipse.equinox.console_1.1.100.v20141023-1406
> 151	ACTIVE      org.apache.log4j_1.2.15.v201012070815
> 165	ACTIVE      HelloServiceImpl_1.0.0
> 166	ACTIVE      IHelloService_1.0.0
> 167	ACTIVE      javax.annotation-api_1.2.0
> 168	ACTIVE      org.apache.servicemix.specs.jaxb-api-2.2_2.4.0
> 169	ACTIVE      org.apache.cxf.cxf-rt-wsdl_3.1.1
> 170	ACTIVE      org.apache.servicemix.specs.jsr339-api-2.0_2.4.0
> 171	ACTIVE      org.apache.servicemix.specs.saaj-api-1.3_2.4.0
> 172	ACTIVE      org.apache.servicemix.bundles.fastinfoset_1.2.13.1
> 173	ACTIVE      org.apache.servicemix.bundles.jaxb-impl_2.2.11.1
> 174	ACTIVE      org.apache.servicemix.specs.activation-api-1.1_2.4.0
> 175	ACTIVE      org.apache.servicemix.specs.stax-api-1.0_2.4.0
> 176	ACTIVE      org.apache.cxf.cxf-rt-bindings-xml_3.1.1
> 177	ACTIVE      org.apache.cxf.cxf-rt-transports-http_3.1.1
> 179	ACTIVE      javax.mail_1.4.4
> 180	ACTIVE      org.apache.servicemix.bundles.xmlresolver_1.2.0.5
> 183	ACTIVE      org.apache.ws.xmlschema.core_2.2.1
> 184	ACTIVE      org.apache.cxf.cxf-rt-bindings-soap_3.1.1
> 185	ACTIVE      org.apache.servicemix.specs.jaxws-api-2.2_2.4.0
> 186	ACTIVE      org.apache.geronimo.specs.geronimo-servlet_3.0_spec_1.0.0
> 187	ACTIVE      org.apache.cxf.cxf-rt-databinding-jaxb_3.1.1
> 188	ACTIVE      org.apache.servicemix.bundles.wsdl4j_1.6.3.1
> 189	ACTIVE      org.apache.cxf.cxf-rt-management_3.1.1
> 190	ACTIVE      org.apache.geronimo.specs.geronimo-osgi-registry_1.1.0
> 191	ACTIVE      org.apache.servicemix.bundles.jaxb-xjc_2.2.11.1
> 192	ACTIVE      stax2-api_3.1.4
> 193	ACTIVE      org.apache.cxf.cxf-rt-frontend-jaxws_3.1.1
> 194	ACTIVE      org.apache.cxf.cxf-rt-frontend-simple_3.1.1
> 195	ACTIVE      org.apache.aries.blueprint.core_1.4.2
> 196	ACTIVE      org.apache.aries.proxy.api_1.0.1
> 197	ACTIVE      org.apache.aries.blueprint.api_1.0.1
> 198	ACTIVE      org.apache.aries.util_1.1.0
> 199	RESOLVED    slf4j.jcl_1.7.21
> 	            Master=201
> 201	ACTIVE      slf4j.api_1.7.21
> 	            Fragments=199
> 203	ACTIVE      org.apache.cxf.cxf-core_3.1.1
> 204	ACTIVE      org.apache.cxf.cxf-rt-transports-http-jetty_3.1.1
> 205	ACTIVE      org.eclipse.jetty.util_9.2.13.v20150730
> 206	ACTIVE      org.eclipse.jetty.security_9.2.13.v20150730
> 207	ACTIVE      org.eclipse.jetty.http_9.2.13.v20150730
> 208	ACTIVE      org.eclipse.jetty.continuation_9.2.13.v20150730
> 209	ACTIVE      org.eclipse.jetty.server_9.2.13.v20150730
> 210	ACTIVE      org.eclipse.jetty.io_9.2.13.v20150730
> osgi> 
> If you need other infomations,please let me know.
> Thanks very much.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)