Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5016

bpel-jms-binding QS on Fuse/Karaf : Username [karaf] or password is invalid

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.3
    • Fix Version/s: jboss-fuse-6.3
    • Component/s: SwitchYard
    • Labels:
      None

      Description

      Getting the following error when trying to run the client for the bpel-jms-binding quickstart:

      [INFO] ------------------------------------------------------------------------
      [INFO] Building SwitchYard Quickstart: bpel-jms-binding 2.1.0.redhat-630015
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] >>> exec-maven-plugin:1.2.1.jbossorg-3:java (default-cli) @ switchyard-bpel-jms-binding >>>
      [INFO]
      [INFO] <<< exec-maven-plugin:1.2.1.jbossorg-3:java (default-cli) @ switchyard-bpel-jms-binding <<<
      [INFO]
      [INFO] — exec-maven-plugin:1.2.1.jbossorg-3:java (default-cli) @ switchyard-bpel-jms-binding —
      [WARNING]
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: javax.jms.JMSException: User name [karaf] or password is invalid.
      at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
      at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1391)
      at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1496)
      at org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:325)
      at org.switchyard.quickstarts.bpel.service.hello.JMSClient.sendToActiveMQ(JMSClient.java:86)
      at org.switchyard.quickstarts.bpel.service.hello.JMSClient.main(JMSClient.java:50)
      ... 6 more
      Caused by: java.lang.SecurityException: User name [karaf] or password is invalid.
      at org.apache.activemq.security.JaasAuthenticationBroker.authenticate(JaasAuthenticationBroker.java:89)
      at org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:68)
      at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:97)
      at org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:102)
      at org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:817)
      at org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddConnection(ManagedTransportConnection.java:77)
      at org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:139)
      at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:338)
      at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:188)
      at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)
      at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:125)
      at org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:300)
      at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
      at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214)
      at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)
      ... 1 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)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at javax.security.auth.login.LoginContext.invoke(LoginContext.java:762)
      at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)
      at javax.security.auth.login.LoginContext$4.run(LoginContext.java:690)
      at javax.security.auth.login.LoginContext$4.run(LoginContext.java:688)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:687)
      at javax.security.auth.login.LoginContext.login(LoginContext.java:595)
      at org.apache.activemq.security.JaasAuthenticationBroker.authenticate(JaasAuthenticationBroker.java:84)
      ... 15 more
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 8.613s
      [INFO] Finished at: Tue Feb 23 10:22:33 EST 2016
      [INFO] Final Memory: 56M/982M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1.jbossorg-3:java (default-cli) on project switchyard-bpel-jms-binding: An exception occurred while executing the Java class. null: InvocationTargetException: User name [karaf] or password is invalid. login failed -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                virchete David virgil naranjo
                Reporter:
                tcunning Thomas Cunningham
                Tester:
                Stefan Veres
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: