Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6073

cxf-wsn installation in Karaf fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.11, 2.7.12, 2.7.13, 3.0.2, 3.1
    • Fix Version/s: 3.0.3, 2.7.14
    • Component/s: OSGi, Services
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      I have installed cxf-wsn feature on Karaf 2.4.0

      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
      

      The installation fails with following error

      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
      

        Attachments

        1. karaf.log
          51 kB
          Krzysztof Sobkowiak

          Issue Links

            Activity

              People

              • Assignee:
                dkulp Daniel Kulp
                Reporter:
                sobkowiak Krzysztof Sobkowiak
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: