Discussion:
[JIRA] Created: (MYO-91) Connector is sometimes unable to start, reporting that it can't read a configuration file
Edward Archibald (JIRA)
2009-05-16 02:40:09 UTC
Permalink
Connector is sometimes unable to start, reporting that it can't read a configuration file
-----------------------------------------------------------------------------------------

Key: MYO-91
URL: https://forge.continuent.org/jira/browse/MYO-91
Project: Myosotis
Type: Bug

Components: Configuration
Reporter: Edward Archibald
Assigned to: Edward Archibald


Connector fails to start correctly, reporting that it can't read connector.properties - but the file exists. It turns out that this report is bogus, and, in fact, that the problem lies in the processing of the user.map file. If the user.map file has a malformed line for a user map, it will throw an ArrayIndexOutOfBounds exception which just gets propagated to the highest handler which gives the bogus report.

The code has been fixed to throw exceptions and exit if the config files are malformed and the report tells the exact line and text of the offending file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Edward Archibald (JIRA)
2009-05-16 02:40:09 UTC
Permalink
[ https://forge.continuent.org/jira/browse/MYO-91?page=all ]

Edward Archibald resolved MYO-91:
---------------------------------

Release Note: Malformed configuration files are trapped and reported correctly, and the connector will not start.
Resolution: Fixed
Post by Edward Archibald (JIRA)
Connector is sometimes unable to start, reporting that it can't read a configuration file
-----------------------------------------------------------------------------------------
Key: MYO-91
URL: https://forge.continuent.org/jira/browse/MYO-91
Project: Myosotis
Type: Bug
Components: Configuration
Reporter: Edward Archibald
Assignee: Edward Archibald
Connector fails to start correctly, reporting that it can't read connector.properties - but the file exists. It turns out that this report is bogus, and, in fact, that the problem lies in the processing of the user.map file. If the user.map file has a malformed line for a user map, it will throw an ArrayIndexOutOfBounds exception which just gets propagated to the highest handler which gives the bogus report.
The code has been fixed to throw exceptions and exit if the config files are malformed and the report tells the exact line and text of the offending file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Gilles Rayrat (JIRA)
2009-08-07 11:04:46 UTC
Permalink
[ https://forge.continuent.org/jira/browse/MYO-91?page=all ]

Gilles Rayrat closed MYO-91:
----------------------------
Post by Edward Archibald (JIRA)
Connector is sometimes unable to start, reporting that it can't read a configuration file
-----------------------------------------------------------------------------------------
Key: MYO-91
URL: https://forge.continuent.org/jira/browse/MYO-91
Project: Tungsten Connector
Type: Bug
Components: Configuration
Reporter: Edward Archibald
Assignee: Edward Archibald
Fix For: 0.6.7
Connector fails to start correctly, reporting that it can't read connector.properties - but the file exists. It turns out that this report is bogus, and, in fact, that the problem lies in the processing of the user.map file. If the user.map file has a malformed line for a user map, it will throw an ArrayIndexOutOfBounds exception which just gets propagated to the highest handler which gives the bogus report.
The code has been fixed to throw exceptions and exit if the config files are malformed and the report tells the exact line and text of the offending file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Loading...