You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2009/04/23 15:55:38 UTC

[jira] Updated: (SMX4KNL-268) FeaturesService throws exceptions when started before the configadmin service actually read the config

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

Gert Vanthienen updated SMX4KNL-268:
------------------------------------

    Description: 
When the FeaturesService is being started before the ConfigAdmin information for {{org.apache.servicemix.features}} has been read, it fails to load the list of features descriptors.  The descriptor's URL is blank causing ...
{noformat}
Caused by: java.lang.IllegalArgumentException: URI is not absolute

	at java.net.URI.toURL(URI.java:1080)

	at org.apache.servicemix.kernel.gshell.features.internal.RepositoryImpl.load(RepositoryImpl.java:84)

	... 102 more
{noformat}

An ideal solution would be to make the FeaturesService dynamically repond to ConfigAdmin changes (SMX4KNL-267), but for now a workaround would be to just read the properties file using a PropertyPlaceHolder instead of relying on the ConfigAdmin.

  was:
When the FeaturesService is being started before the ConfigAdmin information for {{org.apache.servicemix.features}} has been read, it fails to load the list of features descriptors.  The descriptor's URL is blank causing ...
{quote}
Caused by: java.lang.IllegalArgumentException: URI is not absolute

	at java.net.URI.toURL(URI.java:1080)

	at org.apache.servicemix.kernel.gshell.features.internal.RepositoryImpl.load(RepositoryImpl.java:84)

	... 102 more
{quote}

An ideal solution would be to make the FeaturesService dynamically repond to ConfigAdmin changes (SMX4KNL-267), but for now a workaround would be to just read the properties file using a PropertyPlaceHolder instead of relying on the ConfigAdmin.


> FeaturesService throws exceptions when started before the configadmin service actually read the config
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-268
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-268
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>             Fix For: 1.2.0
>
>
> When the FeaturesService is being started before the ConfigAdmin information for {{org.apache.servicemix.features}} has been read, it fails to load the list of features descriptors.  The descriptor's URL is blank causing ...
> {noformat}
> Caused by: java.lang.IllegalArgumentException: URI is not absolute
> 	at java.net.URI.toURL(URI.java:1080)
> 	at org.apache.servicemix.kernel.gshell.features.internal.RepositoryImpl.load(RepositoryImpl.java:84)
> 	... 102 more
> {noformat}
> An ideal solution would be to make the FeaturesService dynamically repond to ConfigAdmin changes (SMX4KNL-267), but for now a workaround would be to just read the properties file using a PropertyPlaceHolder instead of relying on the ConfigAdmin.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.