Ticket #66 (closed defect: fixed)

Opened 3 years ago

Last modified 1 year ago

filenames aren't support by ResourceLocator

Reported by: alban@tryphon.org Assigned to: alban@tryphon.org
Priority: normal Milestone: 20060515
Component: default Version: 20051009
Severity: normal Keywords:
Cc:

Description

Only file: URLs are supported. Resources specified with simple filenames aren't found.

org.apache.commons.configuration.ConfigurationException: Can't load the user configuration URI /etc/freecast/freecast-node-root.xml
        at org.kolaka.freecast.config.DefaultConfigurationLoader.loadUserConfiguration(DefaultConfigurationLoader.java:87)
        at org.kolaka.freecast.config.DefaultConfigurationLoader.loadConfiguration(DefaultConfigurationLoader.java:127)
        at org.kolaka.freecast.config.DefaultConfigurationLoader.load(DefaultConfigurationLoader.java:117)
        at org.kolaka.freecast.Application.init(Application.java:137)
        at org.kolaka.freecast.Application.run(Application.java:155)
        at org.kolaka.freecast.node.cli.Main.main(Main.java:48)
Caused by: org.kolaka.freecast.resource.ResourceLocator$UnavailableResourceException: Can't load the resource '/etc/freecast/freecas
t-node-root.xml'
        at org.kolaka.freecast.resource.CompositeResourceLocator.openResource(CompositeResourceLocator.java:57)
        at org.kolaka.freecast.config.DefaultConfigurationLoader.loadUserConfiguration(DefaultConfigurationLoader.java:85)
        ... 5 more

In this condition, the "classic" configuration loading (freecast -config /etc/freecast/freecast-node-root.xml) isn't possible.

Attachments

Change History

01/29/06 17:11:06 changed by alban@tryphon.org

  • status changed from new to closed.
  • resolution set to fixed.
the FileResourceLocator has been fixed to load resources via filenames.
It supports the windows driver prefixes (c:, ..).

05/25/06 19:43:48 changed by alban@tryphon.org

  • milestone changed from next to 20060515.
released into 20060515

11/27/07 19:15:58 changed by alban

  • priority changed from high to normal.

Add/Change #66 (filenames aren't support by ResourceLocator)




Change Properties
Action