[daisy] Sync error occurred: java.lang.SecurityException: User name or password is invalid.

Paul Focke paul at outerthought.org
Thu Sep 14 08:18:38 CDT 2006


Aaron.Digulla at Globus.ch wrote:
> Hello,
>
> Aas a temporary workaround, I changes BOOLEANCHAR to BIT in 
> daisy-schema.xml. Now, I can setup the DB and the wiki.
>
> After starting the wiki, I get these errors: "Could not find component 
> (key [daisy-repository-manager])"?
>
> Looking in the log, I see:
>
> [INFO   ] <2006-09-14 14:56:48,242> 
> (daisy.jcl.org.apache.activemq.broker.AbstractConnection.Service): Sync 
> error occurred: java.lang.SecurityException: User name or password is 
> invalid.
> java.lang.SecurityException: User name or password is invalid.
>         at 
> org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:81)
>         at 
> org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:69)
>         at 
> org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:82)
>         at 
> org.apache.activemq.broker.AbstractConnection.processAddConnection(AbstractConnection.java:507)
>         at 
> org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddConnection(ManagedTransportConnection.java:82)
>         at 
> org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:118)
>         at 
> org.apache.activemq.broker.AbstractConnection.service(AbstractConnection.java:201)
>         at 
> org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:62)
>         at 
> org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:97)
>         at 
> org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:63)
>         at 
> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:114)
>         at 
> org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122)
>         at 
> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:87)
>         at 
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:143)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: javax.security.auth.login.FailedLoginException: Password does 
> not match
>         at 
> org.apache.activemq.jaas.PropertiesLoginModule.login(PropertiesLoginModule.java:114)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at javax.security.auth.login.LoginContext.invoke(Unknown Source)
>         at javax.security.auth.login.LoginContext.access$000(Unknown 
> Source)
>         at javax.security.auth.login.LoginContext$4.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.login.LoginContext.invokePriv(Unknown 
> Source)
>         at javax.security.auth.login.LoginContext.login(Unknown Source)
>         at 
> org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:74)
>         ... 14 more
> [INFO   ] <2006-09-14 14:56:49,352> 
> (daisy.jcl.org.apache.activemq.broker.AbstractConnection.Service): Sync 
> error occurred: java.lang.SecurityException: User name or password is 
> invalid.
> java.lang.SecurityException: User name or password is invalid.
>         at 
> org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:81)
>         at 
> org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:69)
>         at 
> org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:82)
>         at 
> org.apache.activemq.broker.AbstractConnection.processAddConnection(AbstractConnection.java:507)
>         at 
> org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddConnection(ManagedTransportConnection.java:82)
>         at 
> org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:118)
>         at 
> org.apache.activemq.broker.AbstractConnection.service(AbstractConnection.java:201)
>         at 
> org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:62)
>         at 
> org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:97)
>         at 
> org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:63)
>         at 
> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:114)
>         at 
> org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122)
>         at 
> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:87)
>         at 
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:143)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: javax.security.auth.login.FailedLoginException: Password does 
> not match
>         at 
> org.apache.activemq.jaas.PropertiesLoginModule.login(PropertiesLoginModule.java:114)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at javax.security.auth.login.LoginContext.invoke(Unknown Source)
>         at javax.security.auth.login.LoginContext.access$000(Unknown 
> Source)
>         at javax.security.auth.login.LoginContext$4.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.login.LoginContext.invokePriv(Unknown 
> Source)
>         at javax.security.auth.login.LoginContext.login(Unknown Source)
>         at 
> org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:74)
>         ... 14 more
>
> it seems that some password is wrong. I checked that the username and 
> password for ActiveMQ in myconfig.xml and users.properties are identical. 
> What else could be wrong?
>
> Regards,
>
>   
Hi,

You say you get this error when starting the wiki, so I'm assuming the 
repository is up and running.  Have a look in 
<DAISYWIKI_DATA>/daisy.xconf and check that the credentials provided by 
the jms component are identical to those specified in users.properties.

Paul


More information about the daisy mailing list