Re: MissingResourceException in aries transaction

2014-09-08 Thread Rodrigo Serra
it works!. I try with karaf transaction feature content.Thank!!!

Regards,
Rodrigo

El 08/09/2014, a las 17:29, Krzysztof Sobkowiak  
escribió:

> I have just tested ServiceMix and the problem doesn't occur there. But
> here is one difference:
> 
>  * when you install transaction feature in Karaf, there is no file
>org.apache.aries.transaction.cfg in etc directory.
>  * ServiceMix has a predefined org.apache.aries.transaction.cfg with
>following content:
> 
>aries.transaction.timeout=600
>aries.transaction.howl.logFileDir=${karaf.data}/txlog/
>aries.transaction.recoverable=true
> 
>  * after copying the file from ServiceMix into Karaf and deleting the
>data directory, the problem seems to be fixed
>  * I have copied the content of the Karaf transaction feature config
>into the org.apache.aries.transaction.cfg file
> 
>aries.transaction.recoverable = true
>aries.transaction.timeout = 600
>aries.transaction.howl.logFileDir = ${karaf.data}/txlog
>aries.transaction.howl.maxLogFiles = 2
>aries.transaction.howl.maxBlocksPerFile = 512
>aries.transaction.howl.bufferSizeKBytes = 4
> 
> 
>It works too.
> 
> 
> It means, the problem is missing etc/org.apache.aries.transaction.cfg
> file. But I think this is a correct behavior (missing file), because the
> configuration is stored now in the cache, when defined in feature files
> using   tag
> 
> Best regards
> Krzysztof
> 
> 
> On 08.09.2014 22:03, Krzysztof Sobkowiak wrote:
>> I can reproduce it on Karaf master too. Karaf 2.4 no problem.
>> 
>> On 08.09.2014 21:05, Jean-Baptiste Onofré wrote:
>>> I don't have it on my machine. Let me check ;)
>>> 
>>> Regards
>>> JB
>>> 
>>> On 09/08/2014 08:10 PM, Krzysztof Sobkowiak wrote:
 I could reproduce this problem on my machine too
 
 On 08.09.2014 15:17, Rodrigo Serra wrote:
> Both of cases. When install feature i get this error (this is for
> clean data dir: rm -fr data):
> 
> 2014-09-08 10:11:35,275 | INFO  | FelixStartLevel  |
> RegionsPersistenceImpl   | 63 -
> org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | Loading region
> digraph persistence
> 2014-09-08 10:11:35,310 | INFO  | FelixStartLevel  |
> RegionsPersistenceImpl   | 63 -
> org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | initializing
> region digraph from etc/regions-config.xml
> 2014-09-08 10:11:35,467 | INFO  | FelixStartLevel  |
> BlueprintContainerImpl   | 15 -
> org.apache.aries.blueprint.core - 1.4.1 | Bundle
> org.apache.karaf.bundle.command is waiting for dependencies
> [(objectClass=org.apache.karaf.bundle.core.BundleWatcher),
> (objectClass=org.apache.karaf.bundle.core.BundleService)]
> 2014-09-08 10:11:35,479 | INFO  | rint Extender: 3 |
> BlueprintContainerImpl   | 15 -
> org.apache.aries.blueprint.core - 1.4.1 | Bundle
> org.apache.karaf.bundle.command is waiting for dependencies
> [(objectClass=org.apache.karaf.bundle.core.BundleService)]
> 2014-09-08 10:11:48,657 | INFO  | Local user karaf |
> FeaturesServiceImpl  | 20 -
> org.apache.karaf.features.core - 3.0.2.SNAPSHOT | Installing
> feature transaction 1.1.0
> 2014-09-08 10:11:48,688 | INFO  | Local user karaf |
> BlueprintContainerImpl   | 15 -
> org.apache.aries.blueprint.core - 1.4.1 | Bundle
> org.apache.aries.transaction.blueprint is waiting for dependencies
> [(objectClass=javax.transaction.TransactionManager)]
> 2014-09-08 10:11:48,722 | ERROR | es.transaction]) |
> configadmin  | 6 - org.apache.felix.configadmin
> - 1.8.0 | [org.osgi.service.cm.ManagedService, id=652,
> 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.(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_67]
> Caused by:

Re: MissingResourceException in aries transaction

2014-09-08 Thread Krzysztof Sobkowiak
I have just tested ServiceMix and the problem doesn't occur there. But
here is one difference:

  * when you install transaction feature in Karaf, there is no file
org.apache.aries.transaction.cfg in etc directory.
  * ServiceMix has a predefined org.apache.aries.transaction.cfg with
following content:

aries.transaction.timeout=600
aries.transaction.howl.logFileDir=${karaf.data}/txlog/
aries.transaction.recoverable=true

  * after copying the file from ServiceMix into Karaf and deleting the
data directory, the problem seems to be fixed
  * I have copied the content of the Karaf transaction feature config
into the org.apache.aries.transaction.cfg file

aries.transaction.recoverable = true
aries.transaction.timeout = 600
aries.transaction.howl.logFileDir = ${karaf.data}/txlog
aries.transaction.howl.maxLogFiles = 2
aries.transaction.howl.maxBlocksPerFile = 512
aries.transaction.howl.bufferSizeKBytes = 4


It works too.


It means, the problem is missing etc/org.apache.aries.transaction.cfg
file. But I think this is a correct behavior (missing file), because the
configuration is stored now in the cache, when defined in feature files
using   tag

Best regards
Krzysztof


On 08.09.2014 22:03, Krzysztof Sobkowiak wrote:
> I can reproduce it on Karaf master too. Karaf 2.4 no problem.
>
> On 08.09.2014 21:05, Jean-Baptiste Onofré wrote:
>> I don't have it on my machine. Let me check ;)
>>
>> Regards
>> JB
>>
>> On 09/08/2014 08:10 PM, Krzysztof Sobkowiak wrote:
>>> I could reproduce this problem on my machine too
>>>
>>> On 08.09.2014 15:17, Rodrigo Serra wrote:
 Both of cases. When install feature i get this error (this is for
 clean data dir: rm -fr data):

 2014-09-08 10:11:35,275 | INFO  | FelixStartLevel  |
 RegionsPersistenceImpl   | 63 -
 org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | Loading region
 digraph persistence
 2014-09-08 10:11:35,310 | INFO  | FelixStartLevel  |
 RegionsPersistenceImpl   | 63 -
 org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | initializing
 region digraph from etc/regions-config.xml
 2014-09-08 10:11:35,467 | INFO  | FelixStartLevel  |
 BlueprintContainerImpl   | 15 -
 org.apache.aries.blueprint.core - 1.4.1 | Bundle
 org.apache.karaf.bundle.command is waiting for dependencies
 [(objectClass=org.apache.karaf.bundle.core.BundleWatcher),
 (objectClass=org.apache.karaf.bundle.core.BundleService)]
 2014-09-08 10:11:35,479 | INFO  | rint Extender: 3 |
 BlueprintContainerImpl   | 15 -
 org.apache.aries.blueprint.core - 1.4.1 | Bundle
 org.apache.karaf.bundle.command is waiting for dependencies
 [(objectClass=org.apache.karaf.bundle.core.BundleService)]
 2014-09-08 10:11:48,657 | INFO  | Local user karaf |
 FeaturesServiceImpl  | 20 -
 org.apache.karaf.features.core - 3.0.2.SNAPSHOT | Installing
 feature transaction 1.1.0
 2014-09-08 10:11:48,688 | INFO  | Local user karaf |
 BlueprintContainerImpl   | 15 -
 org.apache.aries.blueprint.core - 1.4.1 | Bundle
 org.apache.aries.transaction.blueprint is waiting for dependencies
 [(objectClass=javax.transaction.TransactionManager)]
 2014-09-08 10:11:48,722 | ERROR | es.transaction]) |
 configadmin  | 6 - org.apache.felix.configadmin
 - 1.8.0 | [org.osgi.service.cm.ManagedService, id=652,
 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.(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_67]
 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_67]
 at
 java.util.Re

Re: MissingResourceException in aries transaction

2014-09-08 Thread Krzysztof Sobkowiak
I can reproduce it on Karaf master too. Karaf 2.4 no problem.

On 08.09.2014 21:05, Jean-Baptiste Onofré wrote:
> I don't have it on my machine. Let me check ;)
>
> Regards
> JB
>
> On 09/08/2014 08:10 PM, Krzysztof Sobkowiak wrote:
>> I could reproduce this problem on my machine too
>>
>> On 08.09.2014 15:17, Rodrigo Serra wrote:
>>> Both of cases. When install feature i get this error (this is for
>>> clean data dir: rm -fr data):
>>>
>>> 2014-09-08 10:11:35,275 | INFO  | FelixStartLevel  |
>>> RegionsPersistenceImpl   | 63 -
>>> org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | Loading region
>>> digraph persistence
>>> 2014-09-08 10:11:35,310 | INFO  | FelixStartLevel  |
>>> RegionsPersistenceImpl   | 63 -
>>> org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | initializing
>>> region digraph from etc/regions-config.xml
>>> 2014-09-08 10:11:35,467 | INFO  | FelixStartLevel  |
>>> BlueprintContainerImpl   | 15 -
>>> org.apache.aries.blueprint.core - 1.4.1 | Bundle
>>> org.apache.karaf.bundle.command is waiting for dependencies
>>> [(objectClass=org.apache.karaf.bundle.core.BundleWatcher),
>>> (objectClass=org.apache.karaf.bundle.core.BundleService)]
>>> 2014-09-08 10:11:35,479 | INFO  | rint Extender: 3 |
>>> BlueprintContainerImpl   | 15 -
>>> org.apache.aries.blueprint.core - 1.4.1 | Bundle
>>> org.apache.karaf.bundle.command is waiting for dependencies
>>> [(objectClass=org.apache.karaf.bundle.core.BundleService)]
>>> 2014-09-08 10:11:48,657 | INFO  | Local user karaf |
>>> FeaturesServiceImpl  | 20 -
>>> org.apache.karaf.features.core - 3.0.2.SNAPSHOT | Installing feature
>>> transaction 1.1.0
>>> 2014-09-08 10:11:48,688 | INFO  | Local user karaf |
>>> BlueprintContainerImpl   | 15 -
>>> org.apache.aries.blueprint.core - 1.4.1 | Bundle
>>> org.apache.aries.transaction.blueprint is waiting for dependencies
>>> [(objectClass=javax.transaction.TransactionManager)]
>>> 2014-09-08 10:11:48,722 | ERROR | es.transaction]) |
>>> configadmin  | 6 - org.apache.felix.configadmin
>>> - 1.8.0 | [org.osgi.service.cm.ManagedService, id=652,
>>> 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.(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_67]
>>> 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_67]
>>> at
>>> java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)[:1.7.0_67]
>>> at
>>> java.util.ResourceBundle.getBundle(ResourceBundle.java:1028)[:1.7.0_67]
>>> 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.(NLS.java:25)[67:org.apache.aries.transaction.manager:1.1.0]
>>> ... 8 more
>>>
>>> and this is the error after restarting karaf:
>>>
>>> 2014-09-08 10:13:58,540 | INFO  | FelixStartLevel  |
>>> RegionsPersistenceImpl   | 63 -
>>> org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | Loading region
>>> digraph persistence
>>> 2014-09-08 10:13:58,653 | INFO  | FelixStartLevel  |
>>> BlueprintContainerImpl   | 15 -
>>> org.apache.aries.blueprint.core - 1.4.1 | Bundle
>>> org.apache.aries.transaction.blueprint is waiting for dependencies
>>> [(objectClass=javax.transaction.TransactionManager)]
>>> 2014-09-08 10:13:58,697 | ERROR | es.transaction]) |
>>> configadmin  | 6 - org.apache.felix.configadmin
>>> - 1.8.0 | [org.osgi.service.cm.ManagedService, id=477,
>>> bundle=67/mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.1.0]:
>>> Unexpec

Re: MissingResourceException in aries transaction

2014-09-08 Thread Jean-Baptiste Onofré

I don't have it on my machine. Let me check ;)

Regards
JB

On 09/08/2014 08:10 PM, Krzysztof Sobkowiak wrote:

I could reproduce this problem on my machine too

On 08.09.2014 15:17, Rodrigo Serra wrote:

Both of cases. When install feature i get this error (this is for clean data 
dir: rm -fr data):

2014-09-08 10:11:35,275 | INFO  | FelixStartLevel  | RegionsPersistenceImpl 
  | 63 - org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | Loading region 
digraph persistence
2014-09-08 10:11:35,310 | INFO  | FelixStartLevel  | RegionsPersistenceImpl 
  | 63 - org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | initializing 
region digraph from etc/regions-config.xml
2014-09-08 10:11:35,467 | INFO  | FelixStartLevel  | BlueprintContainerImpl 
  | 15 - org.apache.aries.blueprint.core - 1.4.1 | Bundle 
org.apache.karaf.bundle.command is waiting for dependencies 
[(objectClass=org.apache.karaf.bundle.core.BundleWatcher), 
(objectClass=org.apache.karaf.bundle.core.BundleService)]
2014-09-08 10:11:35,479 | INFO  | rint Extender: 3 | BlueprintContainerImpl 
  | 15 - org.apache.aries.blueprint.core - 1.4.1 | Bundle 
org.apache.karaf.bundle.command is waiting for dependencies 
[(objectClass=org.apache.karaf.bundle.core.BundleService)]
2014-09-08 10:11:48,657 | INFO  | Local user karaf | FeaturesServiceImpl
  | 20 - org.apache.karaf.features.core - 3.0.2.SNAPSHOT | Installing 
feature transaction 1.1.0
2014-09-08 10:11:48,688 | INFO  | Local user karaf | BlueprintContainerImpl 
  | 15 - org.apache.aries.blueprint.core - 1.4.1 | Bundle 
org.apache.aries.transaction.blueprint is waiting for dependencies 
[(objectClass=javax.transaction.TransactionManager)]
2014-09-08 10:11:48,722 | ERROR | es.transaction]) | configadmin
  | 6 - org.apache.felix.configadmin - 1.8.0 | 
[org.osgi.service.cm.ManagedService, id=652, 
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.(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_67]
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_67]
at 
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)[:1.7.0_67]
at 
java.util.ResourceBundle.getBundle(ResourceBundle.java:1028)[:1.7.0_67]
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.(NLS.java:25)[67:org.apache.aries.transaction.manager:1.1.0]
... 8 more

and this is the error after restarting karaf:

2014-09-08 10:13:58,540 | INFO  | FelixStartLevel  | RegionsPersistenceImpl 
  | 63 - org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | Loading region 
digraph persistence
2014-09-08 10:13:58,653 | INFO  | FelixStartLevel  | BlueprintContainerImpl 
  | 15 - org.apache.aries.blueprint.core - 1.4.1 | Bundle 
org.apache.aries.transaction.blueprint is waiting for dependencies 
[(objectClass=javax.transaction.TransactionManager)]
2014-09-08 10:13:58,697 | ERROR | es.transaction]) | configadmin
  | 6 - org.apache.felix.configadmin - 1.8.0 | 
[org.osgi.service.cm.ManagedService, id=477, 
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.(TransactionManagerService.java:114)
at 
org.apache.aries.transaction.internal.Activator.updated(Activator.java:63)
at 
org.apache.felix.cm.impl.helper.ManagedSer

Re: MissingResourceException in aries transaction

2014-09-08 Thread Krzysztof Sobkowiak
I could reproduce this problem on my machine too

On 08.09.2014 15:17, Rodrigo Serra wrote:
> Both of cases. When install feature i get this error (this is for clean data 
> dir: rm -fr data):
>
> 2014-09-08 10:11:35,275 | INFO  | FelixStartLevel  | RegionsPersistenceImpl   
> | 63 - org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | Loading 
> region digraph persistence
> 2014-09-08 10:11:35,310 | INFO  | FelixStartLevel  | RegionsPersistenceImpl   
> | 63 - org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | 
> initializing region digraph from etc/regions-config.xml
> 2014-09-08 10:11:35,467 | INFO  | FelixStartLevel  | BlueprintContainerImpl   
> | 15 - org.apache.aries.blueprint.core - 1.4.1 | Bundle 
> org.apache.karaf.bundle.command is waiting for dependencies 
> [(objectClass=org.apache.karaf.bundle.core.BundleWatcher), 
> (objectClass=org.apache.karaf.bundle.core.BundleService)]
> 2014-09-08 10:11:35,479 | INFO  | rint Extender: 3 | BlueprintContainerImpl   
> | 15 - org.apache.aries.blueprint.core - 1.4.1 | Bundle 
> org.apache.karaf.bundle.command is waiting for dependencies 
> [(objectClass=org.apache.karaf.bundle.core.BundleService)]
> 2014-09-08 10:11:48,657 | INFO  | Local user karaf | FeaturesServiceImpl  
> | 20 - org.apache.karaf.features.core - 3.0.2.SNAPSHOT | Installing 
> feature transaction 1.1.0
> 2014-09-08 10:11:48,688 | INFO  | Local user karaf | BlueprintContainerImpl   
> | 15 - org.apache.aries.blueprint.core - 1.4.1 | Bundle 
> org.apache.aries.transaction.blueprint is waiting for dependencies 
> [(objectClass=javax.transaction.TransactionManager)]
> 2014-09-08 10:11:48,722 | ERROR | es.transaction]) | configadmin  
> | 6 - org.apache.felix.configadmin - 1.8.0 | 
> [org.osgi.service.cm.ManagedService, id=652, 
> 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.(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_67]
> 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_67]
>   at 
> java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)[:1.7.0_67]
>   at 
> java.util.ResourceBundle.getBundle(ResourceBundle.java:1028)[:1.7.0_67]
>   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.(NLS.java:25)[67:org.apache.aries.transaction.manager:1.1.0]
>   ... 8 more
>
> and this is the error after restarting karaf:
>
> 2014-09-08 10:13:58,540 | INFO  | FelixStartLevel  | RegionsPersistenceImpl   
> | 63 - org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | Loading 
> region digraph persistence
> 2014-09-08 10:13:58,653 | INFO  | FelixStartLevel  | BlueprintContainerImpl   
> | 15 - org.apache.aries.blueprint.core - 1.4.1 | Bundle 
> org.apache.aries.transaction.blueprint is waiting for dependencies 
> [(objectClass=javax.transaction.TransactionManager)]
> 2014-09-08 10:13:58,697 | ERROR | es.transaction]) | configadmin  
> | 6 - org.apache.felix.configadmin - 1.8.0 | 
> [org.osgi.service.cm.ManagedService, id=477, 
> 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.(TransactionManagerService.java:114)
>   at 
> org.apache.aries.transaction.internal.Activator.updated(Activator.java:63)
>   at 
> org.apache.felix.cm.impl.help

Re: MissingResourceException in aries transaction

2014-09-08 Thread Rodrigo Serra
Both of cases. When install feature i get this error (this is for clean data 
dir: rm -fr data):

2014-09-08 10:11:35,275 | INFO  | FelixStartLevel  | RegionsPersistenceImpl 
  | 63 - org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | Loading region 
digraph persistence
2014-09-08 10:11:35,310 | INFO  | FelixStartLevel  | RegionsPersistenceImpl 
  | 63 - org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | initializing 
region digraph from etc/regions-config.xml
2014-09-08 10:11:35,467 | INFO  | FelixStartLevel  | BlueprintContainerImpl 
  | 15 - org.apache.aries.blueprint.core - 1.4.1 | Bundle 
org.apache.karaf.bundle.command is waiting for dependencies 
[(objectClass=org.apache.karaf.bundle.core.BundleWatcher), 
(objectClass=org.apache.karaf.bundle.core.BundleService)]
2014-09-08 10:11:35,479 | INFO  | rint Extender: 3 | BlueprintContainerImpl 
  | 15 - org.apache.aries.blueprint.core - 1.4.1 | Bundle 
org.apache.karaf.bundle.command is waiting for dependencies 
[(objectClass=org.apache.karaf.bundle.core.BundleService)]
2014-09-08 10:11:48,657 | INFO  | Local user karaf | FeaturesServiceImpl
  | 20 - org.apache.karaf.features.core - 3.0.2.SNAPSHOT | Installing 
feature transaction 1.1.0
2014-09-08 10:11:48,688 | INFO  | Local user karaf | BlueprintContainerImpl 
  | 15 - org.apache.aries.blueprint.core - 1.4.1 | Bundle 
org.apache.aries.transaction.blueprint is waiting for dependencies 
[(objectClass=javax.transaction.TransactionManager)]
2014-09-08 10:11:48,722 | ERROR | es.transaction]) | configadmin
  | 6 - org.apache.felix.configadmin - 1.8.0 | 
[org.osgi.service.cm.ManagedService, id=652, 
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.(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_67]
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_67]
at 
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)[:1.7.0_67]
at 
java.util.ResourceBundle.getBundle(ResourceBundle.java:1028)[:1.7.0_67]
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.(NLS.java:25)[67:org.apache.aries.transaction.manager:1.1.0]
... 8 more

and this is the error after restarting karaf:

2014-09-08 10:13:58,540 | INFO  | FelixStartLevel  | RegionsPersistenceImpl 
  | 63 - org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | Loading region 
digraph persistence
2014-09-08 10:13:58,653 | INFO  | FelixStartLevel  | BlueprintContainerImpl 
  | 15 - org.apache.aries.blueprint.core - 1.4.1 | Bundle 
org.apache.aries.transaction.blueprint is waiting for dependencies 
[(objectClass=javax.transaction.TransactionManager)]
2014-09-08 10:13:58,697 | ERROR | es.transaction]) | configadmin
  | 6 - org.apache.felix.configadmin - 1.8.0 | 
[org.osgi.service.cm.ManagedService, id=477, 
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.(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.j

Re: MissingResourceException in aries transaction

2014-09-08 Thread Jean-Baptiste Onofré
Is it when you install the transaction feature or directly when you 
start ConfigAdmin/karaf ?


Regards
JB

On 09/08/2014 01:23 PM, Rodrigo Serra wrote:

Hi,

When starting latest karaf 3.0.2-SNAPSHOT i get this error:

2014-09-08 08:06:26,646 | ERROR | es.transaction]) | configadmin
  | 6 - org.apache.felix.configadmin - 1.8.0 | 
[org.osgi.service.cm.ManagedService, id=652, 
bundle=67/mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.1.0]:
 Unexpected problem updating configuration 
org.apache.aries.transactionjava.lang.ExceptionInInitializerError
 at 
org.apache.aries.transaction.internal.TransactionManagerService.(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_67]
Caused by: java.util.MissingResourceException: Can't find bundle for base name 
org.apache.aries.transaction.txManager, locale es_ES
 at 
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)[:1.7.0_67]
 at 
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)[:1.7.0_67]
 at 
java.util.ResourceBundle.getBundle(ResourceBundle.java:1028)[:1.7.0_67]
 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.(NLS.java:25)[67:org.apache.aries.transaction.manager:1.1.0]
 ... 8 more

and no transaction manager service is available. Is some thing regarding my OS 
installation locale?

Regards,
Rodrigo



El 08/09/2014, a las 08:03, Rodrigo Serra  escribió:


Yes, is Maven version. I change to 3.0.5 and works

Thank JB and Krzys,

Regards,
Rodrigo

El 08/09/2014, a las 07:30, Jean-Baptiste Onofré  escribió:


Hi Rodrigo,

I guess that you use Maven 3.1 or 3.2 ?

For now, only 3.0.x is supported.

Regards
JB

On 09/08/2014 12:08 PM, Rodrigo Serra wrote:

Hello JB,

Now the build failt with this error:

[ERROR] Failed to execute goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
 (compile) on project framework: Execution compile of goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
 failed: A required class was missing while executing 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor:
 org/sonatype/aether/RepositorySystem

in module "Apache Karaf :: Assemblies :: Features :: Framework”

Regards,
Rodrigo

El 08/09/2014, a las 03:42, Jean-Baptiste Onofré  escribió:


The build on Jenkins failed but for one itests failure, the assemblies and 
archetypes look ok now.

Regards
JB

On 09/08/2014 04:12 AM, Rodrigo Serra wrote:

Hello,

Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation are 
broken. The first problem is the upgrade of pax web to  3.1.2-SNAPSHOT. I don’t 
have this jar in my m2, but c2eef4e fix the version but the current error 
emerge. Some thin in the middle of two commit broke the compilation to the 
current state.

Regards,
Rodrigo

El 07/09/2014, a las 16:43, Jean-Baptiste Onofré  escribió:


Just adding  in the plugin section with wagon lightweight http 
should fix the problem. But:
1/ I try to figure out why I don't have the issue on my machine
2/ I already fixed that a while ago.

I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow morning 
probably).

Regards
JB

On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:

The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
too. Could it be a problem on Linux?

Best regards
Krzysztof

On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:

For now, I can't reproduce on my machine, I'm still investigating.

I keep you posted.

Regards
JB

On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:

This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
Web 3.1.2). After this commit the problem occurs on Jenkins too
(https://builds.apache.org/view/All/job/karaf-3.0.x/291/)


On 07.09.2014 00:36, Krzysztof

MissingResourceException in aries transaction

2014-09-08 Thread Rodrigo Serra
Hi,

When starting latest karaf 3.0.2-SNAPSHOT i get this error:

2014-09-08 08:06:26,646 | ERROR | es.transaction]) | configadmin
  | 6 - org.apache.felix.configadmin - 1.8.0 | 
[org.osgi.service.cm.ManagedService, id=652, 
bundle=67/mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.1.0]:
 Unexpected problem updating configuration 
org.apache.aries.transactionjava.lang.ExceptionInInitializerError
at 
org.apache.aries.transaction.internal.TransactionManagerService.(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_67]
Caused by: java.util.MissingResourceException: Can't find bundle for base name 
org.apache.aries.transaction.txManager, locale es_ES
at 
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)[:1.7.0_67]
at 
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)[:1.7.0_67]
at 
java.util.ResourceBundle.getBundle(ResourceBundle.java:1028)[:1.7.0_67]
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.(NLS.java:25)[67:org.apache.aries.transaction.manager:1.1.0]
... 8 more

and no transaction manager service is available. Is some thing regarding my OS 
installation locale?

Regards,
Rodrigo



El 08/09/2014, a las 08:03, Rodrigo Serra  escribió:

> Yes, is Maven version. I change to 3.0.5 and works
> 
> Thank JB and Krzys,
> 
> Regards,
> Rodrigo
> 
> El 08/09/2014, a las 07:30, Jean-Baptiste Onofré  escribió:
> 
>> Hi Rodrigo,
>> 
>> I guess that you use Maven 3.1 or 3.2 ?
>> 
>> For now, only 3.0.x is supported.
>> 
>> Regards
>> JB
>> 
>> On 09/08/2014 12:08 PM, Rodrigo Serra wrote:
>>> Hello JB,
>>> 
>>> Now the build failt with this error:
>>> 
>>> [ERROR] Failed to execute goal 
>>> org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
>>>  (compile) on project framework: Execution compile of goal 
>>> org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
>>>  failed: A required class was missing while executing 
>>> org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor:
>>>  org/sonatype/aether/RepositorySystem
>>> 
>>> in module "Apache Karaf :: Assemblies :: Features :: Framework”
>>> 
>>> Regards,
>>> Rodrigo
>>> 
>>> El 08/09/2014, a las 03:42, Jean-Baptiste Onofré  
>>> escribió:
>>> 
 The build on Jenkins failed but for one itests failure, the assemblies and 
 archetypes look ok now.
 
 Regards
 JB
 
 On 09/08/2014 04:12 AM, Rodrigo Serra wrote:
> Hello,
> 
> Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation 
> are broken. The first problem is the upgrade of pax web to  
> 3.1.2-SNAPSHOT. I don’t have this jar in my m2, but c2eef4e fix the 
> version but the current error emerge. Some thin in the middle of two 
> commit broke the compilation to the current state.
> 
> Regards,
> Rodrigo
> 
> El 07/09/2014, a las 16:43, Jean-Baptiste Onofré  
> escribió:
> 
>> Just adding  in the plugin section with wagon lightweight 
>> http should fix the problem. But:
>> 1/ I try to figure out why I don't have the issue on my machine
>> 2/ I already fixed that a while ago.
>> 
>> I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow 
>> morning probably).
>> 
>> Regards
>> JB
>> 
>> On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:
>>> The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
>>> too. Could it be a problem on Linux?
>>> 
>>> Best regards
>>> Krzysztof
>>> 
>>> On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:
 For now, I can't reproduce on my machine, I'm still investigating.
 
 I keep you posted.
 
 Regards
 JB
 
>>>

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-08 Thread Rodrigo Serra
Yes, is Maven version. I change to 3.0.5 and works

Thank JB and Krzys,

Regards,
Rodrigo

El 08/09/2014, a las 07:30, Jean-Baptiste Onofré  escribió:

> Hi Rodrigo,
> 
> I guess that you use Maven 3.1 or 3.2 ?
> 
> For now, only 3.0.x is supported.
> 
> Regards
> JB
> 
> On 09/08/2014 12:08 PM, Rodrigo Serra wrote:
>> Hello JB,
>> 
>> Now the build failt with this error:
>> 
>> [ERROR] Failed to execute goal 
>> org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
>>  (compile) on project framework: Execution compile of goal 
>> org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
>>  failed: A required class was missing while executing 
>> org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor:
>>  org/sonatype/aether/RepositorySystem
>> 
>> in module "Apache Karaf :: Assemblies :: Features :: Framework”
>> 
>> Regards,
>> Rodrigo
>> 
>> El 08/09/2014, a las 03:42, Jean-Baptiste Onofré  
>> escribió:
>> 
>>> The build on Jenkins failed but for one itests failure, the assemblies and 
>>> archetypes look ok now.
>>> 
>>> Regards
>>> JB
>>> 
>>> On 09/08/2014 04:12 AM, Rodrigo Serra wrote:
 Hello,
 
 Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation are 
 broken. The first problem is the upgrade of pax web to  3.1.2-SNAPSHOT. I 
 don’t have this jar in my m2, but c2eef4e fix the version but the current 
 error emerge. Some thin in the middle of two commit broke the compilation 
 to the current state.
 
 Regards,
 Rodrigo
 
 El 07/09/2014, a las 16:43, Jean-Baptiste Onofré  
 escribió:
 
> Just adding  in the plugin section with wagon lightweight 
> http should fix the problem. But:
> 1/ I try to figure out why I don't have the issue on my machine
> 2/ I already fixed that a while ago.
> 
> I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow 
> morning probably).
> 
> Regards
> JB
> 
> On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:
>> The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
>> too. Could it be a problem on Linux?
>> 
>> Best regards
>> Krzysztof
>> 
>> On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:
>>> For now, I can't reproduce on my machine, I'm still investigating.
>>> 
>>> I keep you posted.
>>> 
>>> Regards
>>> JB
>>> 
>>> On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:
 This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
 Web 3.1.2). After this commit the problem occurs on Jenkins too
 (https://builds.apache.org/view/All/job/karaf-3.0.x/291/)
 
 
 On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:
> This problem doesn't occur on master and 2.x which use pax-logging
> 2.1.0 too
> 
> On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:
>> I could build the Karaf Assemblies after removing the m2 repository.
>> But similar problem still occurs while building Assembly Archetype --
>> warning about missing LightweightHttpWagon and following error
>> 
>> [INFO] [ERROR] Failed to execute goal on project assembly: Could not
>> resolve dependencies for project
>> archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
>> dependencies for
>> [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
>> org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
>> (runtime)]: Failed to read artifact descriptor for
>> org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
>> Could not transfer artifact
>> org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
>> from/to central (http://repo.maven.apache.org/maven2): No connector
>> available to access repository central
>> (http://repo.maven.apache.org/maven2) of type default using the
>> available factories WagonRepositoryConnectorFactory -> [Help 1]
>> [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
>> to execute goal on project assembly: Could not resolve dependencies
>> for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
>> to collect dependencies for
>> [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
>> org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
>> (runtime)]
>> [INFO] at
>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
>> 
>> [INFO] at
>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
>> 
>>

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-08 Thread Jean-Baptiste Onofré

Hi Rodrigo,

I guess that you use Maven 3.1 or 3.2 ?

For now, only 3.0.x is supported.

Regards
JB

On 09/08/2014 12:08 PM, Rodrigo Serra wrote:

Hello JB,

Now the build failt with this error:

[ERROR] Failed to execute goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
 (compile) on project framework: Execution compile of goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
 failed: A required class was missing while executing 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor:
 org/sonatype/aether/RepositorySystem

in module "Apache Karaf :: Assemblies :: Features :: Framework”

Regards,
Rodrigo

El 08/09/2014, a las 03:42, Jean-Baptiste Onofré  escribió:


The build on Jenkins failed but for one itests failure, the assemblies and 
archetypes look ok now.

Regards
JB

On 09/08/2014 04:12 AM, Rodrigo Serra wrote:

Hello,

Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation are 
broken. The first problem is the upgrade of pax web to  3.1.2-SNAPSHOT. I don’t 
have this jar in my m2, but c2eef4e fix the version but the current error 
emerge. Some thin in the middle of two commit broke the compilation to the 
current state.

Regards,
Rodrigo

El 07/09/2014, a las 16:43, Jean-Baptiste Onofré  escribió:


Just adding  in the plugin section with wagon lightweight http 
should fix the problem. But:
1/ I try to figure out why I don't have the issue on my machine
2/ I already fixed that a while ago.

I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow morning 
probably).

Regards
JB

On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:

The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
too. Could it be a problem on Linux?

Best regards
Krzysztof

On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:

For now, I can't reproduce on my machine, I'm still investigating.

I keep you posted.

Regards
JB

On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:

This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
Web 3.1.2). After this commit the problem occurs on Jenkins too
(https://builds.apache.org/view/All/job/karaf-3.0.x/291/)


On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:

This problem doesn't occur on master and 2.x which use pax-logging
2.1.0 too

On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:

I could build the Karaf Assemblies after removing the m2 repository.
But similar problem still occurs while building Assembly Archetype --
warning about missing LightweightHttpWagon and following error

[INFO] [ERROR] Failed to execute goal on project assembly: Could not
resolve dependencies for project
archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]: Failed to read artifact descriptor for
org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
Could not transfer artifact
org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
from/to central (http://repo.maven.apache.org/maven2): No connector
available to access repository central
(http://repo.maven.apache.org/maven2) of type default using the
available factories WagonRepositoryConnectorFactory -> [Help 1]
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
to execute goal on project assembly: Could not resolve dependencies
for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
to collect dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

[INFO] at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
[INFO] at

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-08 Thread Sobkowiak, Krzysztof
Hi Rodrigo

You probably use Maven 3.1.x or 3.2.x. Try with Maven 3.0.x

Best regards
Krzysztof

On 08.09.2014 12:08, Rodrigo Serra wrote:
> Hello JB,
>
> Now the build failt with this error:
>
> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
>  (compile) on project framework: Execution compile of goal 
> org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
>  failed: A required class was missing while executing 
> org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor:
>  org/sonatype/aether/RepositorySystem
>
> in module "Apache Karaf :: Assemblies :: Features :: Framework”
>
> Regards,
> Rodrigo
>
> El 08/09/2014, a las 03:42, Jean-Baptiste Onofré  escribió:
>
>> The build on Jenkins failed but for one itests failure, the assemblies and 
>> archetypes look ok now.
>>
>> Regards
>> JB
>>
>> On 09/08/2014 04:12 AM, Rodrigo Serra wrote:
>>> Hello,
>>>
>>> Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation are 
>>> broken. The first problem is the upgrade of pax web to  3.1.2-SNAPSHOT. I 
>>> don’t have this jar in my m2, but c2eef4e fix the version but the current 
>>> error emerge. Some thin in the middle of two commit broke the compilation 
>>> to the current state.
>>>
>>> Regards,
>>> Rodrigo
>>>
>>> El 07/09/2014, a las 16:43, Jean-Baptiste Onofré  
>>> escribió:
>>>
 Just adding  in the plugin section with wagon lightweight http 
 should fix the problem. But:
 1/ I try to figure out why I don't have the issue on my machine
 2/ I already fixed that a while ago.

 I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow 
 morning probably).

 Regards
 JB

 On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:
> The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
> too. Could it be a problem on Linux?
>
> Best regards
> Krzysztof
>
> On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:
>> For now, I can't reproduce on my machine, I'm still investigating.
>>
>> I keep you posted.
>>
>> Regards
>> JB
>>
>> On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:
>>> This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
>>> Web 3.1.2). After this commit the problem occurs on Jenkins too
>>> (https://builds.apache.org/view/All/job/karaf-3.0.x/291/)
>>>
>>>
>>> On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:
 This problem doesn't occur on master and 2.x which use pax-logging
 2.1.0 too

 On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:
> I could build the Karaf Assemblies after removing the m2 repository.
> But similar problem still occurs while building Assembly Archetype --
> warning about missing LightweightHttpWagon and following error
>
> [INFO] [ERROR] Failed to execute goal on project assembly: Could not
> resolve dependencies for project
> archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
> dependencies for
> [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
> org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
> (runtime)]: Failed to read artifact descriptor for
> org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
> Could not transfer artifact
> org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
> from/to central (http://repo.maven.apache.org/maven2): No connector
> available to access repository central
> (http://repo.maven.apache.org/maven2) of type default using the
> available factories WagonRepositoryConnectorFactory -> [Help 1]
> [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
> to execute goal on project assembly: Could not resolve dependencies
> for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
> to collect dependencies for
> [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
> org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
> (runtime)]
> [INFO] at
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
>
> [INFO] at
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
>
> [INFO] at
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
>
> [INFO] at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
>
> [INFO] at
> org.apache.maven.li

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-08 Thread Rodrigo Serra
Hello JB,

Now the build failt with this error:

[ERROR] Failed to execute goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
 (compile) on project framework: Execution compile of goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
 failed: A required class was missing while executing 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor:
 org/sonatype/aether/RepositorySystem

in module "Apache Karaf :: Assemblies :: Features :: Framework”

Regards,
Rodrigo

El 08/09/2014, a las 03:42, Jean-Baptiste Onofré  escribió:

> The build on Jenkins failed but for one itests failure, the assemblies and 
> archetypes look ok now.
> 
> Regards
> JB
> 
> On 09/08/2014 04:12 AM, Rodrigo Serra wrote:
>> Hello,
>> 
>> Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation are 
>> broken. The first problem is the upgrade of pax web to  3.1.2-SNAPSHOT. I 
>> don’t have this jar in my m2, but c2eef4e fix the version but the current 
>> error emerge. Some thin in the middle of two commit broke the compilation to 
>> the current state.
>> 
>> Regards,
>> Rodrigo
>> 
>> El 07/09/2014, a las 16:43, Jean-Baptiste Onofré  
>> escribió:
>> 
>>> Just adding  in the plugin section with wagon lightweight http 
>>> should fix the problem. But:
>>> 1/ I try to figure out why I don't have the issue on my machine
>>> 2/ I already fixed that a while ago.
>>> 
>>> I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow 
>>> morning probably).
>>> 
>>> Regards
>>> JB
>>> 
>>> On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:
 The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
 too. Could it be a problem on Linux?
 
 Best regards
 Krzysztof
 
 On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:
> For now, I can't reproduce on my machine, I'm still investigating.
> 
> I keep you posted.
> 
> Regards
> JB
> 
> On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:
>> This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
>> Web 3.1.2). After this commit the problem occurs on Jenkins too
>> (https://builds.apache.org/view/All/job/karaf-3.0.x/291/)
>> 
>> 
>> On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:
>>> This problem doesn't occur on master and 2.x which use pax-logging
>>> 2.1.0 too
>>> 
>>> On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:
 I could build the Karaf Assemblies after removing the m2 repository.
 But similar problem still occurs while building Assembly Archetype --
 warning about missing LightweightHttpWagon and following error
 
 [INFO] [ERROR] Failed to execute goal on project assembly: Could not
 resolve dependencies for project
 archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
 dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]: Failed to read artifact descriptor for
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
 Could not transfer artifact
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
 from/to central (http://repo.maven.apache.org/maven2): No connector
 available to access repository central
 (http://repo.maven.apache.org/maven2) of type default using the
 available factories WagonRepositoryConnectorFactory -> [Help 1]
 [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
 to execute goal on project assembly: Could not resolve dependencies
 for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
 to collect dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 
 [INFO] at
 org.apache.maven.life

Issues with Attachments: week of 2014-09-08

2014-09-08 Thread jb
 
KARAF - Monday, September 8, 2014
 
  6 Issues with Attachments
 
  (sorted oldest to newest)
 
[KARAF-222] Provide karaf:run, karaf:deploy, karaf:client Maven goals
  - Created: 2010-09-25
  - Updated: 2014-09-02
  - Type: New Feature
  - Fix Versions: [4.0.0, 3.0.3, 2.4.1, 2.3.8]
  - Reporter: james strachan
  - Assigned: Jean-Baptiste Onofré
  - Attachments: [KARAF-222-run-mojo-1.diff]
  - https://issues.apache.org/jira/browse/KARAF-222
 
[KARAF-1512] enhancement: add self to generated feature in 
"features-generate-descriptor" goal
  - Created: 2012-05-30
  - Updated: 2014-08-16
  - Type: New Feature
  - Fix Versions: [4.0.0, 3.0.2]
  - Reporter: Benjamin Reed
  - Assigned: Jean-Baptiste Onofré
  - Attachments: [KARAF-1512.patch]
  - https://issues.apache.org/jira/browse/KARAF-1512
 
[KARAF-1701] Parsing of config for a field with cardinality > 1 is 
incorrectlyprocessed and displayed on Admin Console
  - Created: 2012-08-01
  - Updated: 2014-09-02
  - Type: Bug
  - Fix Versions: [4.0.0, 3.0.3, 2.4.1, 2.3.8]
  - Reporter: Hugh Rodgers
  - Assigned: Unassigned
  - Attachments: [DDF_Custom_Mime_Type_Resolver.png]
  - https://issues.apache.org/jira/browse/KARAF-1701
 
[KARAF-2121] Add Support For Displaying Gogo Commands in Karaf Shell Help
  - Created: 2013-01-17
  - Updated: 2014-09-02
  - Type: New Feature
  - Fix Versions: [3.0.3, 2.4.1, 2.3.8]
  - Reporter: Gareth Collins
  - Assigned: Jean-Baptiste Onofré
  - Attachments: [KARAF-2121.patch]
  - https://issues.apache.org/jira/browse/KARAF-2121
 
[KARAF-2688] Karaf info - Add memory details about perm gen pool
  - Created: 2014-01-16
  - Updated: 2014-09-02
  - Type: Improvement
  - Fix Versions: [4.0.0, 3.0.3, 2.4.1, 2.3.8]
  - Reporter: Claus Ibsen
  - Assigned: Jean-Baptiste Onofré
  - Attachments: [Screen+Shot+2014-01-16+at+3.05.16+PM.png]
  - https://issues.apache.org/jira/browse/KARAF-2688
 
[KARAF-3019] karaf-maven-plugin cannot handle all types of mvn urls
  - Created: 2014-06-03
  - Updated: 2014-08-11
  - Type: Bug
  - Fix Versions: []
  - Reporter: Kai Reichert
  - Assigned: Jean-Baptiste Onofré
  - Attachments: [pom.xml]
  - https://issues.apache.org/jira/browse/KARAF-3019