cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krzysztof Sobkowiak (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CXF-6073) cxf-wsn installation in Karaf fails
Date Wed, 29 Oct 2014 23:29:33 GMT

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

Krzysztof Sobkowiak edited comment on CXF-6073 at 10/29/14 11:28 PM:
---------------------------------------------------------------------

The  configuration {{org.apache.cxf.wsn}} (in feature definition) should be probably extended
by additional parameters {{cxf.wsn.activemq.username}} and {{cxf.wsn.activemq.password}}

{code}
<config name="org.apache.cxf.wsn">
   cxf.wsn.activemq = vm:localhost
   cxf.wsn.rootUrl = http://0.0.0.0:8182
   cxf.wsn.context = /wsn
   cxf.wsn.activemq.username = karaf
   cxf.wsn.activemq.password = karaf
</config>
{code}


was (Author: sobkowiak):
The  configuration {{org.apache.cxf.wsn}} (in feature definition) should be probably extended
by additional parameters {{cxf.wsn.activemq.username}} and {{}}

{code}
<config name="org.apache.cxf.wsn">
   cxf.wsn.activemq = vm:localhost
   cxf.wsn.rootUrl = http://0.0.0.0:8182
   cxf.wsn.context = /wsn
   cxf.wsn.activemq.username = karaf
   cxf.wsn.activemq.password = karaf
</config>
{code}

> cxf-wsn installation in Karaf fails
> -----------------------------------
>
>                 Key: CXF-6073
>                 URL: https://issues.apache.org/jira/browse/CXF-6073
>             Project: CXF
>          Issue Type: Bug
>          Components: OSGi, Services
>    Affects Versions: 2.7.11, 2.7.12, 2.7.13
>            Reporter: Krzysztof Sobkowiak
>         Attachments: karaf.log
>
>
> I have installed {{cxf-wsn}} feature on Karaf 2.4.0
> {NOFORMAT}
> karaf@root> features:chooseurl activemq 5.10.0
> Adding feature url mvn:org.apache.activemq/activemq-karaf/5.10.0/xml/features
> karaf@root> features:chooseurl cxf 2.7.13
> Adding feature url mvn:org.apache.cxf.karaf/apache-cxf/2.7.13/xml/features
> karaf@root> features:install activemq
> karaf@root> features:install cxf-wsn
> {NOFORMAT}
> The installation fails with following error
> {NOFORMAT}
> Caused by: java.lang.SecurityException: User name [user] or password is invalid.
> 	at org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:80)[85:org.apache.activemq.activemq-osgi:5.10.0]
> 	at org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:97)[85:org.apache.activemq.activemq-osgi:5.10.0]
> 	at org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:764)[85:org.apache.activemq.activemq-osgi:5.10.0]
> 	at org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:139)[85:org.apache.activemq.activemq-osgi:5.10.0]
> 	at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:294)[85:org.apache.activemq.activemq-osgi:5.10.0]
> 	at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:148)[85:org.apache.activemq.activemq-osgi:5.10.0]
> 	at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)[85:org.apache.activemq.activemq-osgi:5.10.0]
> 	at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)[85:org.apache.activemq.activemq-osgi:5.10.0]
> 	at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:246)[85:org.apache.activemq.activemq-osgi:5.10.0]
> 	at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)[85:org.apache.activemq.activemq-osgi:5.10.0]
> 	at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)[85:org.apache.activemq.activemq-osgi:5.10.0]
> 	... 3 more
> Caused by: javax.security.auth.login.FailedLoginException: login failed
> 	at org.apache.karaf.jaas.modules.properties.PropertiesLoginModule.login(PropertiesLoginModule.java:114)
> 	at org.apache.karaf.jaas.boot.ProxyLoginModule.login(ProxyLoginModule.java:83)[karaf-jaas-boot.jar:]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_65]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_65]
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_65]
> 	at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_65]
> 	at javax.security.auth.login.LoginContext.invoke(LoginContext.java:762)[:1.7.0_65]
> 	at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)[:1.7.0_65]
> 	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:690)[:1.7.0_65]
> 	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:688)[:1.7.0_65]
> 	at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_65]
> 	at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:687)[:1.7.0_65]
> 	at javax.security.auth.login.LoginContext.login(LoginContext.java:595)[:1.7.0_65]
> 	at org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:73)[85:org.apache.activemq.activemq-osgi:5.10.0]
> 	... 13 more
> {NOFORMAT}



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

Mime
View raw message