bundle:watch

2017-04-04 Thread Cristiano Costantini
Hello all, I am trying to use for the first time the bundle:watch command, however I cannot get it to work correctly... I watch a bundle with bundle:watch ID, I also start explicitly watching with bundle:watch --start, the bundle is correctly listed when I execute bundle:watch --list , but when I

Re: bundle:watch

2017-04-04 Thread Achim Nierbeck
Hi, how do you install those bundles? For example if you have a bootfeature installing it, this won't work. As those Bundles are used from the system folder. regards, Achim 2017-04-04 10:41 GMT+02:00 Cristiano Costantini < cristiano.costant...@gmail.com>: > Hello all, > > I am trying to use fo

Re: bundle:watch

2017-04-04 Thread Cristiano Costantini
yes, that's exactly my case ! The bundle I try to watch is installed from a feature specified in featuresBoot in file "org.apache.karaf.features.cfg" Do I need to install the feature manually or should I avoid using feature and install the single bundle instead? Thank you, Cristiano Il giorno

Re: bundle:watch

2017-04-04 Thread Achim Nierbeck
Hi, during development, you should install the feature manually. In that case it'll always pulled from your maven repo and therefore can be updated. regards, Achim 2017-04-04 11:30 GMT+02:00 Cristiano Costantini < cristiano.costant...@gmail.com>: > yes, that's exactly my case ! > > The bundle

Unable to install feature via console: datasource filtered by name not found

2017-04-04 Thread lechlukasz
Hello, I've packed my persistence unit in feature (there are much more bundles, but only the persistence one is relevant in the problem). It looks like following (irrelevant depencencies are removed): jpa transaction-api transaction

RE: https://issues.apache.org/jira/browse/KARAF-4829

2017-04-04 Thread CLEMENT Jean-Philippe
Hi Guillaume, Sorry, I’m lost :) At present time I guess we use “regular” .cfg files (key/value pairs in basic string format) via configfile tags. The issue is that they are populated in the /etc directory at the same time bundles start (during the very first start), so bundles may - or may no

karaf-maven-plugin how to remove a standard feature

2017-04-04 Thread mbelling
Hello all, I am trying to create a custom karaf distribution, but I am fairly unfamiliar with Maven, since our build tool of choice is Gradle. What I am looking for help with is how to remove a feature from the standard configuration, specifically the 'region' feature. From all the examples I ha

Re: Is there an upgrade process for Karaf 4.1.0 to 4.1.1?

2017-04-04 Thread mtod09
Anyone have a process I would like to upgrade without having reinstall everything? -- View this message in context: http://karaf.922171.n3.nabble.com/Is-there-an-upgrade-process-for-Karaf-4-1-0-to-4-1-1-tp4050010p4050025.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: karaf-maven-plugin how to remove a standard feature

2017-04-04 Thread mbelling
I forgot to mention I am using Karaf 3.0.3. -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-maven-plugin-how-to-remove-a-standard-feature-tp4050024p4050026.html Sent from the Karaf - User mailing list archive at Nabble.com.

: No Class Def Found Error - org/apache/activemq/broker/BrokerService

2017-04-04 Thread Saravanakumar Murugesan
I have created a messagingserver bundle and I am trying to start activemq broker from that bundle. messagingserver bundle depends on activemq-broker bundle. I have added below dependency in messagingserver feature; wrap:mvn:org.apache.activemq/activemq-broker/5.14.3$Bundle-Version=5.14.3&Bundl

Re: https://issues.apache.org/jira/browse/KARAF-4829

2017-04-04 Thread Guillaume Nodet
Configuration files for ConfigAdmin are supposed to be used with the element. The element has been designed to support non-configadmin files, such as xml, binaries, or whatever. In both cases, when they come from a feature, they will be installed to the file system before the bundles listed in t

Re: bundle:watch

2017-04-04 Thread Guillaume Nodet
The requirement is that the bundle uses a maven snapshot url. If that's the case, the bundle:watch command will look for updates in the local repository. The only command I'm using for the bundle:watch is "bundle:watch *" which updates all maven snapshots whenever I rebuild something. 2017-04-04 1

RE: https://issues.apache.org/jira/browse/KARAF-4829

2017-04-04 Thread CLEMENT Jean-Philippe
Ok crystal clear, thank you for the detailed explanation. As we need synchronization in order to remove the first launch bug in our apps, we will have to use instead of . Inlining configuration in the tag would not be handy; it would be really nice to have a “location” option. I raised the KAR

Re: bundle:watch

2017-04-04 Thread Erwin Hogeweg
Also keep in mind that there is an issue with the time zones. At least in 4.0.8. When the bundle time is compared with the file time. One is in local time the other is in GMT. So if you live west of Greenwich your bundle gets always updated every 5 seconds... I believe JB created a Jira for thi

Re: ActiveMq + karaf + shutdown

2017-04-04 Thread xav
Hi all, Here my solution: I use ipojo, so i used the @Unbind annotation @Unbind(specification = org.osgi.service.cm.ManagedServiceFactory.class, aggregate = true) public final void unbindBrokerService(final org.osgi.service.cm.ManagedServiceFactory managedServiceFactory) { logger.info(ma

Blueprint and Pax-Web

2017-04-04 Thread Castor
Hello, i'm trying to create a servlet using Blueprint and register it to Pax-web using the whiteboard pattern but i'm having some trouble. I've followed the sample at https://github.com/ops4j/org.ops4j.pax.web/blob/master/samples/whiteboard-blueprint/src/main/resources/OSGI-INF/blueprint/blueprin

Re: Blueprint and Pax-Web

2017-04-04 Thread Castor
Just updating, when i navigate to http://localhost/852 the servlet is called, but i can't see the context registered when a run a web:list, not sure if it's a bug. Anyway, what i'm trying to do is to use a shared filter in a WAB with pure html/css files, but i'm not being able to find a nice way