qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Gemmell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (QPID-1347) Broker doesn't clearly report missing configuration files such as password file.
Date Fri, 15 Jul 2011 09:03:00 GMT

     [ https://issues.apache.org/jira/browse/QPID-1347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robbie Gemmell resolved QPID-1347.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.13
         Assignee: Robbie Gemmell

Resolved via QPID-3283

> Broker doesn't clearly report missing configuration files such as password file.
> --------------------------------------------------------------------------------
>
>                 Key: QPID-1347
>                 URL: https://issues.apache.org/jira/browse/QPID-1347
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Starter
>    Affects Versions: M3
>            Reporter: Martin Ritchie
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: 0.13
>
>
> If the password file is missing on startup  the the following exception is shown:
> Error configuring message broker: org.apache.commons.configuration.ConfigurationException:
java.lang.reflect.InvocationTargetException
> 2008-09-26 15:14:56,529 ERROR [main] server.Main (Main.java:206) - Error configuring
message broker: org.apache.commons.configuration.ConfigurationException: java.lang.reflect.InvocationTargetException
> org.apache.commons.configuration.ConfigurationException: java.lang.reflect.InvocationTargetException
> 	at org.apache.qpid.server.security.auth.database.ConfigurationFilePrincipalDatabaseManager.initialisePrincipalDatabase(ConfigurationFilePrincipalDatabaseManager.java:158)
> 	at org.apache.qpid.server.security.auth.database.ConfigurationFilePrincipalDatabaseManager.initialisePrincipalDatabases(ConfigurationFilePrincipalDatabaseManager.java:87)
> 	at org.apache.qpid.server.security.auth.database.ConfigurationFilePrincipalDatabaseManager.<init>(ConfigurationFilePrincipalDatabaseManager.java:56)
> 	at org.apache.qpid.server.registry.ConfigurationFileApplicationRegistry.initialise(ConfigurationFileApplicationRegistry.java:117)
> 	at org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:79)
> 	at org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:67)
> 	at org.apache.qpid.server.Main.startup(Main.java:260)
> 	at org.apache.qpid.server.Main.execute(Main.java:196)
> 	at org.apache.qpid.server.Main.<init>(Main.java:96)
> 	at org.apache.qpid.server.Main.main(Main.java:454)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> Caused by: java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.qpid.server.security.auth.database.ConfigurationFilePrincipalDatabaseManager.initialisePrincipalDatabase(ConfigurationFilePrincipalDatabaseManager.java:148)
> 	... 14 more
> Caused by: java.io.FileNotFoundException: Cannot find password file /home/ritchiem/support/Stars/707/work/cfg/qpid.passwd
> 	at org.apache.qpid.server.security.auth.database.Base64MD5PasswordFilePrincipalDatabase.setPasswordFile(Base64MD5PasswordFilePrincipalDatabase.java:109)
> 	... 19 morere
> The user must read all the way though to the Caused by section to find the real problem.
> This error could be processed on the broker and more appropriate text shown.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message