You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2016/01/30 20:14:39 UTC
[jira] [Commented] (SM-2845) Installation of the cxf-wsn feature
fails accidentally
[ https://issues.apache.org/jira/browse/SM-2845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15125018#comment-15125018 ]
Krzysztof Sobkowiak commented on SM-2845:
-----------------------------------------
The {{cxf-wsn}} defines following configuration parameter:
{code}
cxf.wsn.activemq = vm:localhost
{code}
It seems, the feature tries to connect with the broker named {{localhost}} and next tries to connect to existing {{amq-broker}}, but this operation is not always successful.
{code}
2016-01-30 20:00:29,790 | WARN | pool-44-thread-1 | BrokerRegistry | 25 - org.apache.activemq.activemq-osgi - 5.12.1 | Broker localhost not started so using amq-broker instead
{code}
> Installation of the cxf-wsn feature fails accidentally
> ------------------------------------------------------
>
> Key: SM-2845
> URL: https://issues.apache.org/jira/browse/SM-2845
> Project: ServiceMix
> Issue Type: Bug
> Components: features
> Reporter: Krzysztof Sobkowiak
> Fix For: 7.0.0.M1, 7.0.0
>
> Attachments: servicemix.log
>
>
> Installation of {{cxf-wsn}} fails with following error in log file (seet attached log file)
> {code}
> 2016-01-30 20:00:29,722 | INFO | ctivemq.server]) | ActiveMQServiceFactory$1 | 151 - org.apache.servicemix.bundles.spring-context - 3.2.14.RELEASE_1 | Publishing application context as OSGi service with properties {org.springframework.context.service.name=org.apache.activemq.activemq-osgi, Bundle-SymbolicName=org.apache.activemq.activemq-osgi, Bundle-Version=5.12.1}
> 2016-01-30 20:00:29,747 | INFO | ctivemq.server]) | BrokerService | 25 - org.apache.activemq.activemq-osgi - 5.12.1 | Using Persistence Adapter: KahaDBPersistenceAdapter[/home/kso/work/projects/asf/smx/servicemix-master/assemblies/apache-servicemix/target/apache-servicemix-7.0.0-SNAPSHOT/data/amq-broker/kahadb]
> 2016-01-30 20:00:29,790 | WARN | pool-44-thread-1 | BrokerRegistry | 25 - org.apache.activemq.activemq-osgi - 5.12.1 | Broker localhost not started so using amq-broker instead
> 2016-01-30 20:00:29,919 | INFO | pool-44-thread-1 | TransportConnector | 25 - org.apache.activemq.activemq-osgi - 5.12.1 | Connector vm://localhost started
> 2016-01-30 20:00:29,938 | WARN | ://localhost#1-1 | TransportConnection | 25 - org.apache.activemq.activemq-osgi - 5.12.1 | Failed to add Connection ID:lenovo-44643-1454180429801-3:1 due to java.lang.NullPointerException
> 2016-01-30 20:00:29,939 | ERROR | pool-44-thread-1 | ServiceRecipe | 28 - org.apache.aries.blueprint.core - 1.5.0 | Error retrieving service from ServiceRecipe[name='.component-1']
> org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean notificationBroker
> at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:738)[28:org.apache.aries.blueprint.core:1.5.0]
> at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:848)[28:org.apache.aries.blueprint.core:1.5.0]
> at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)[28:org.apache.aries.blueprint.core:1.5.0]
> at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[28:org.apache.aries.blueprint.core:1.5.0]
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_80]
> at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[28:org.apache.aries.blueprint.core:1.5.0]
> at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:62)[28:org.apache.aries.blueprint.core:1.5.0]
> at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[28:org.apache.aries.blueprint.core:1.5.0]
> at org.apache.aries.blueprint.container.ServiceRecipe.createService(ServiceRecipe.java:285)[28:org.apache.aries.blueprint.core:1.5.0]
> at org.apache.aries.blueprint.container.ServiceRecipe.internalGetService(ServiceRecipe.java:252)[28:org.apache.aries.blueprint.core:1.5.0]
> at org.apache.aries.blueprint.container.ServiceRecipe.internalCreate(ServiceRecipe.java:149)[28:org.apache.aries.blueprint.core:1.5.0]
> at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[28:org.apache.aries.blueprint.core:1.5.0]
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_80]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)