cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JBert (Commented) (JIRA)" <>
Subject [jira] [Commented] (DOSGI-110) Unable to export multiple services
Date Wed, 15 Feb 2012 12:04:59 GMT


JBert commented on DOSGI-110:

I don't understand your explanation there. Are you talking about annotations, service properties
or something else?

For the record: there are two interfaces in foobar.api, IFoo and IBar (I could split this
project, but it's just two interfaces).
foo.impl has an implementation of IFoo and bar.impl has an implementation of IBar and both
bundles only register one service.

Each registration passes its own set of settings, so doesn't that make two declarations?

BTW: I can access the webservice if one of the two bundles is started, but the aforementioned
exception pops up as soon as a second bundle is started, no matter the order.
> Unable to export multiple services
> ----------------------------------
>                 Key: DOSGI-110
>                 URL:
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Karaf 2.2.5, DOSGi multi-bundle, CXF 2.5.2 from DOSGi multi-bundle,
Aries transaction manager
>            Reporter: JBert
>            Priority: Critical
>         Attachments:
> When I register more than one service, the second service will make the following exception
be printed to the console (this exception is nowhere caught until it reaches the java.concurrent
> {quote}
> Exception in thread "pool-9-thread-4" java.lang.RuntimeException: Soap 1.1 endpoint already
registered on address /
>         at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(
>         at org.apache.cxf.endpoint.ServerImpl.start(
>         at org.apache.cxf.frontend.ServerFactoryBean.create(
>         at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(
>         at org.apache.cxf.dosgi.dsw.handlers.HttpServiceConfigurationTypeHandler.createServer(
>         at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore.exportService(
>         at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$
>         at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$
>         at Method)
>         at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(
>         at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(
>         at org.apache.cxf.dosgi.topologymanager.TopologyManager$
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(
>         at java.util.concurrent.ThreadPoolExecutor$
>         at 
> {quote}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message