You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2014/09/09 06:31:28 UTC

[jira] [Assigned] (KARAF-3211) Error while installing transaction feature

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

Jean-Baptiste Onofré reassigned KARAF-3211:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> Error while installing transaction feature
> ------------------------------------------
>
>                 Key: KARAF-3211
>                 URL: https://issues.apache.org/jira/browse/KARAF-3211
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 4.0.0, 3.0.2
>            Reporter: Krzysztof Sobkowiak
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.0, 3.0.2
>
>
> After installing the {{transaction}} feature following exception exist in log
> {code}
> 2014-09-08 23:58:16,606 | ERROR | es.transaction]) | configadmin                      | 6 - org.apache.felix.configadmin - 1.8.0 | [org.osgi.service.cm.ManagedService, id=651, bundle=67/mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.1.0]: Unexpected problem updating configuration org.apache.aries.transaction
> java.lang.ExceptionInInitializerError
> 	at org.apache.aries.transaction.internal.TransactionManagerService.<init>(TransactionManagerService.java:114)
> 	at org.apache.aries.transaction.internal.Activator.updated(Activator.java:63)
> 	at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:148)[6:org.apache.felix.configadmin:1.8.0]
> 	at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:81)[6:org.apache.felix.configadmin:1.8.0]
> 	at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1448)[6:org.apache.felix.configadmin:1.8.0]
> 	at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1404)[6:org.apache.felix.configadmin:1.8.0]
> 	at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)[6:org.apache.felix.configadmin:1.8.0]
> 	at java.lang.Thread.run(Thread.java:745)[:1.7.0_65]
> Caused by: java.util.MissingResourceException: Can't find bundle for base name org.apache.aries.transaction.txManager, locale en_US
> 	at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)[:1.7.0_65]
> 	at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)[:1.7.0_65]
> 	at java.util.ResourceBundle.getBundle(ResourceBundle.java:1028)[:1.7.0_65]
> 	at org.apache.aries.util.nls.MessageUtil.createMessageUtil(MessageUtil.java:152)[9:org.apache.aries.util:1.1.0]
> 	at org.apache.aries.util.nls.MessageUtil.createMessageUtil(MessageUtil.java:107)[9:org.apache.aries.util:1.1.0]
> 	at org.apache.aries.transaction.internal.NLS.<clinit>(NLS.java:25)[67:org.apache.aries.transaction.manager:1.1.0]
> 	... 8 more
> {code}
> It seems to be caused by missing file {{etc/org.apache.aries.transaction.cfg}}. Creating the file in {{etc}} with the content from the feature configuration provided by {{<config>}} element fixes the problem



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)