Re: Using a Redis connection pool from Karaf

2015-04-28 Thread Achim Nierbeck
Hi, did you check if the bundle you are looking for is now released? Cause usually the snapshots are deleted the minute a release is through. regards, Achim 2015-04-28 14:11 GMT+02:00 Jurgen Voorneveld jurgen.voornev...@redsocks.nl : On 04/28/2015 01:59 PM, Achim Nierbeck wrote: hi Jurgen

Re: Using a Redis connection pool from Karaf

2015-04-28 Thread Achim Nierbeck
Oh and one, more I think there is a redis OSGi client available from the servicemix bundles. Might want to look at that too. Could be that you need to split your application a lot faster then you thought :D regards, Achim 2015-04-28 13:59 GMT+02:00 Achim Nierbeck bcanh...@googlemail.com: hi

Re: Scheduler feature

2015-04-23 Thread Achim Nierbeck
one can add a new scheduler via a Service (whiteboard-pattern) regards, Achim 2015-04-23 8:40 GMT+02:00 Achim Nierbeck bcanh...@googlemail.com: yeah, a big +1 on the release :-) regards, Achim 2015-04-23 8:06 GMT+02:00 Jean-Baptiste Onofré j...@nanthrax.net: Yup, it would be great

Re: Scheduler feature

2015-04-23 Thread Achim Nierbeck
, Maven dependency, moving from Sling to Karaf... what else? O. Regards JB On 04/22/2015 03:06 PM, Achim Nierbeck wrote: nice, @JB, do you think that scheduler can be used for Decanter? regards, Achim -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend

Re: Deploying application and patches to disconnected servers?

2015-04-23 Thread Achim Nierbeck
repository located within the facility. Patches will be pushed to each repository so each instance can be patches on its own schedule. So what are the advantages and disadvantages of front ending a Maven repository with Cave? Paul Spencer On Apr 22, 2015, at 9:47 AM, Achim Nierbeck bcanh

Re: HikariCP library load issue

2015-04-23 Thread Achim Nierbeck
Hi Jurgen, to me it looks a lot like you're having a couple of different issues. So first let's try to break those down to one issue only ;) At first since you seem to have the lib in question already inside your uber-bundle let's stick to that. Later we'll see what's broken with your local

Re: HikariCP library load issue

2015-04-23 Thread Achim Nierbeck
See my comments inline: 2015-04-23 14:08 GMT+02:00 Jurgen Voorneveld jurgen.voornev...@redsocks.nl : Hey Achim, inline. On 04/23/2015 01:35 PM, Achim Nierbeck wrote: anyway Jurgen, did you check your JAR if all of the required Classes are actually embedded? Every time I look

Re: HikariCP library load issue

2015-04-23 Thread Achim Nierbeck
Bundle-Version: 01.00.32 Import-Package: org.osgi.framework, javax.naming, org.slf4j, javax.sql , javax.management The bundle is created using ant by unpacking all jar dependencies and packaging all the classes together. Pretty simple. regards, Jurgen On 04/23/2015 01:16 PM, Achim

Re: HikariCP library load issue

2015-04-23 Thread Achim Nierbeck
dependencies and packaging all the classes together. Pretty simple. regards, Jurgen On 04/23/2015 01:16 PM, Achim Nierbeck wrote: Hi Jurgen, to me it looks a lot like you're having a couple of different issues. So first let's try to break those down to one issue only ;) At first since you seem

Re: Bundles no longer listed or started after machine reboot

2015-04-22 Thread Achim Nierbeck
Hi, which version of Karaf are you using? And yes something similar has been spotted already, but this time only with killing the karaf process. Might want to scan through the mailing list again. regards, Achim 2015-04-22 15:38 GMT+02:00 mbelling mbe...@gmail.com: I tried searching for this

Re: Scheduler feature

2015-04-22 Thread Achim Nierbeck
:00 nino martinez wael nino.martinez.w...@gmail.com: ok, i'll just roll with quartz then.. On Mon, Apr 20, 2015 at 1:15 PM, Achim Nierbeck bcanh...@googlemail.com wrote: Hi, as I stated it's either in the JIRA or in the Mailinglist :-) here's what I

Re: Deploying application and patches to disconnected servers?

2015-04-22 Thread Achim Nierbeck
Hi, you forgot to add Karaf Cellar in your list ;) No, most likely cellar could be another scenario for you. It's especially usefull for farming / distributing your bundles across the cluster. In combination with a Maven Repo or OBR it might be very helpful for your scenario. regards, Achim

Re: Karaf Custom Distribution - Could not find matching feature for standard

2015-04-21 Thread Achim Nierbeck
], deployer/[4.0.0.M2,4.0.0.M2], feature/[4.0.0.M2,4.0.0.M2], instance/[4.0.0.M2,4.0.0.M2], management/[4.0.0.M2,4.0.0.M2] -- Nataraj Basappa On Tue, Apr 21, 2015 at 3:22 PM, Achim Nierbeck bcanh...@googlemail.com wrote: Hi, sorry if I might have confused you. But actually the log feature

Re: Karaf Custom Distribution - Could not find matching feature for standard

2015-04-21 Thread Achim Nierbeck
You'll need to make sure the pax-logging bundles are present in your custom distribution. regards, Achim 2015-04-21 15:38 GMT+02:00 Nataraj Basappa n5j@gmail.com: Thanks Jean, for a quick response. That solved my initial problem of building the custom distribution. But the built

Re: Karaf Cave usage

2015-04-20 Thread Achim Nierbeck
Cave is more like a OBR only, while Archiva is more like plain nexus regards, Achim 2015-04-20 9:08 GMT+02:00 Morgan Hautman morgan.haut...@gmail.com: I'm a little confused now, since Cave is the same as Nexus pro, why adding OBR support to Archiva when you got Cave already? Regards,

Re: Scheduler feature

2015-04-20 Thread Achim Nierbeck
...@gmail.com : Hmm I looked in JIRA but could only find this https://issues.apache.org/jira/browse/KARAF-3674?jql=project%20%3D%20KARAF Achim Nierbeck writes that it should be not used... So i'll look into something else. regards Nino On Fri, Apr 17, 2015 at 1:43 PM, Jean-Baptiste Onofré

Re: Karaf and Docker

2015-04-19 Thread Achim Nierbeck
-driven one, beyond technology constraints - http://www.jahia.com On Mon, Apr 13, 2015 at 2:42 PM, Achim Nierbeck bcanh...@googlemail.com wrote: Hey, yes I fully agree, also with the Spring-Boot stuff. as already stated on the other thread, I think there are certain cases where Docker

Re: Karaf and Docker

2015-04-19 Thread Achim Nierbeck
13, 2015 at 2:42 PM, Achim Nierbeck bcanh...@googlemail.com mailto:bcanh...@googlemail.com wrote: Hey, yes I fully agree, also with the Spring-Boot stuff. as already stated on the other thread, I think there are certain cases

Re: Scheduler feature

2015-04-17 Thread Achim Nierbeck
As it's a rather undocumented feature. But you'll find some details on the mailing list and/or JIRA for it. regards, Achim 2015-04-17 13:08 GMT+02:00 nino martinez wael nino.martinez.w...@gmail.com : Hi I've started using OSGI and Karaf. I can't seem to find information about the scheduler

Re: Deploying applications on Karaf

2015-04-15 Thread Achim Nierbeck
On Apr 12, 2015 2:34 AM, Achim Nierbeck bcanh...@googlemail.com wrote: Hi Ryan, see comments inline. regards, Achim 2015-04-12 0:37 GMT+02:00 Ryan Moquin fragility...@gmail.com: Thanks, Achim. I am using a custom Karaf distribution, but maintaining deployment flexibility using features

Re: Deploying applications on Karaf

2015-04-13 Thread Achim Nierbeck
Hi, I pretty much agree with all of your points. But there are some ways of working around the documentation/build part of Docker images. It is actually possible to have a pom-only documentation for a Docker Image. With the right Plugins you have the same as the Docker file. Though I regard such

Re: Karaf and Docker

2015-04-13 Thread Achim Nierbeck
eXperience Platform (UXP) vendor, relentlessly working at transforming a siloed industry into a user-driven one, beyond technology constraints - http://www.jahia.com On Mon, Apr 13, 2015 at 2:42 PM, Achim Nierbeck bcanh...@googlemail.com wrote: Hey, yes I fully agree, also with the Spring-Boot

Re: Karaf and Docker

2015-04-13 Thread Achim Nierbeck
. On Apr 8, 2015 2:55 PM, Achim Nierbeck bcanh...@googlemail.com wrote: I'm very ambivalent regarding this topic. On one hand I see a lot of move to Docker as heading for the holy grail on fixing all the issues we had in the past. #FAIL On the other hand I see some benefits of it, but still

Re: Karaf: Could not resolve mvn:org.apache.felix/org.apache.felix.framework/4.2.1

2015-04-13 Thread Achim Nierbeck
Is there something else showing besides that message? Does the logfile in data/logs show anything? On windows and linux, are you having write restrictions on the drive you placed karaf on (for example been installed by an Administrative account) regards, Achim 2015-04-13 6:44 GMT+02:00

Re: Deploying applications on Karaf

2015-04-13 Thread Achim Nierbeck
to deal with our Bamboo EC2 instance that I haven't been able to find out why it's hanging yet. maybe post this as a question at the OPS4j list with some more details of the logfiles. Ryan On Apr 12, 2015 2:34 AM, Achim Nierbeck bcanh...@googlemail.com wrote: Hi Ryan, see comments inline

Re: Karaf and Docker

2015-04-12 Thread Achim Nierbeck
-service. On Apr 8, 2015 2:55 PM, Achim Nierbeck bcanh...@googlemail.com wrote: I'm very ambivalent regarding this topic. On one hand I see a lot of move to Docker as heading for the holy grail on fixing all the issues we had in the past. #FAIL On the other hand I see some benefits

Re: Deploying applications on Karaf

2015-04-12 Thread Achim Nierbeck
. With this setup you can test your application. On Apr 8, 2015 3:07 PM, Achim Nierbeck bcanh...@googlemail.com wrote: Hi, just recently for a talk with showcase I was thinking about how to create a CI/CD build pipeline with Karaf. Maybe some of this does help you.[1] In the end I ended up with a setup

Re: Karaf: Could not resolve mvn:org.apache.felix/org.apache.felix.framework/4.2.1

2015-04-12 Thread Achim Nierbeck
First, try with oracle JDK 8, second does your box have connection to internet? regards, Achim 2015-04-12 11:33 GMT+02:00 PashaTurok ooo_satu...@mail.ru: I have openjdk 8 and centos 6.4 64. I've downloaded karaf 3.0.3 and run /bin/karaf. And this is what I get: Could not resolve

Re: Karaf on Amazon cloud

2015-04-12 Thread Achim Nierbeck
Anything special you're looking for? Cause usually it's just starting that instance, downloading Karaf, untar the karaf distro and starting it. So what did you have in mind? regards, Achim 2015-04-12 14:21 GMT+02:00 Basic Danijel danijelba...@gmail.com: Hi all, I'm planning to put some

Re: Karaf: Could not resolve mvn:org.apache.felix/org.apache.felix.framework/4.2.1

2015-04-12 Thread Achim Nierbeck
Strange, I just verified it with a vagrant centos-6.4 box. Fresh install of JDK 8 from oracle, and downloaded Karaf 3.0.3 from within this box. Karaf 3.0.3 starts nicely. Seems to be something on your box then. Anything else you maybe did change beforehand? What does the logfile show about it?

Re: Karaf on Amazon cloud

2015-04-12 Thread Achim Nierbeck
Hi Danijel, that explains it. :-) Usually you just start with a virtual box from amazon (you may decide on the OS on it) and from there on, lot's of nice configurations via the web interface ;) Tim gave some good hints on what to think of. regards, Achim 2015-04-12 19:36 GMT+02:00 Basic

Re: Karaf and Docker

2015-04-08 Thread Achim Nierbeck
I'm very ambivalent regarding this topic. On one hand I see a lot of move to Docker as heading for the holy grail on fixing all the issues we had in the past. #FAIL On the other hand I see some benefits of it, but still haven't found the concrete use-case where it did top a bar-metal or bare

Re: Deploying applications on Karaf

2015-04-08 Thread Achim Nierbeck
Hi, just recently for a talk with showcase I was thinking about how to create a CI/CD build pipeline with Karaf. Maybe some of this does help you.[1] In the end I ended up with a setup where I have a pre-configured Karaf (custom build) which is startable as Docker Image or can be used as startup

Re: karaf 4.0.0.M2 testing with testng leads to an error

2015-03-31 Thread Achim Nierbeck
cool thanks Achim 2015-03-31 9:50 GMT+02:00 Andreas Kuhtz andreas.ku...@gmail.com: Hi, I've TestNG with pax-exam running with karaf-3.0.3. The main difference is that I use dependency groupIdorg.ops4j.pax.exam/groupId

Re: Karaf EIK: Multiple child instances simultaneously

2015-03-30 Thread Achim Nierbeck
AFAIK running Karaf instances from within EIK are usually root instances. I guess that would be a feature request. regards, Achim 2015-03-30 8:00 GMT+02:00 Herr-Herner wolle5...@gmx.de: Is it possible to run multiple Karaf child instances via Karaf EIK simultaneously? In my test scenario, I

Re: karaf 4.0.0.M2 testing with testng leads to an error

2015-03-30 Thread Achim Nierbeck
Hi, my advice? Use JUnit it's proven to work. This is the quick answer :-) Waht's wrong, don't know. Might be an issue of Pax Exam in conjunction with testNG. For that you'll need to question on the Ops4j usesrs list. Maybe it's a bug, or already a known issue. If it's an unknown issue please

Re: Is local access to MBeans also protected

2015-03-24 Thread Achim Nierbeck
-- *From:* Achim Nierbeck bcanh...@googlemail.com *To:* Martin Lichtin lich...@yahoo.com *Cc:* user@karaf.apache.org user@karaf.apache.org *Sent:* Monday, March 23, 2015 3:56 PM *Subject:* Re: Is local access to MBeans also protected Hi, actually I think an internal access should always

Re: php Online Training From India |UK|US|Canada|Australia

2015-03-23 Thread Achim Nierbeck
Hi, afaik JB already blocked some of them. But maybe it's been tunneled through the nabbles site? regards, Achim 2015-03-23 12:22 GMT+01:00 Jamie G. jamie.goody...@gmail.com: Strange - I and others have been processing all the moderate emails to the lists. Didn't see that one come

Re: Is local access to MBeans also protected

2015-03-23 Thread Achim Nierbeck
); System.out.println(karafLog.getCanonicalName() + Level= + mbs.getAttribute(karafLog, Level)); } } I'll open a JIRA if this should not be possible. On 10.03.2015 14:38, Achim Nierbeck wrote: Hi, I think I've seen this behavior too. AFAIC this is a bug. Do you happen to have a scenario where

Re: Karaf 3.0.3 OSGi Version

2015-03-17 Thread Achim Nierbeck
well, I guess that would be true as a minor version upgrade on the framework would suggest a minor version bump on K3. tbh, I'd rather would like to see K4 released ... but it might be a possible solution to have a lighter upgrade to it again. regards, Achim 2015-03-17 13:48 GMT+01:00

Re: Karaf JTA and JDBC DataSource

2015-03-16 Thread Achim Nierbeck
Hi, Afaik the transaction manager only works in conjunction of a EntityManager as in your first example. For the second one it requires some different handling. For this you need to open an issue at the Aries Project. regards, Achim 2015-03-16 8:41 GMT+01:00 ellirael ellir...@mail.ru: Hi.

Re: Running test fails due to not transferred file

2015-03-14 Thread Achim Nierbeck
than in project. So never an exchache was sent. Phiuu... Thanks for helping! Christian Christian Eugster Docuteam GmbH Langacker 16 Postfach CH-5405 Baden-Dättwil +41 (0)56 470 03 37 c.eugs...@docuteam.ch Am 13.03.2015 um 13:46 schrieb Achim Nierbeck bcanh...@googlemail.com

Re: Pax exam Test does not run in Karaf container

2015-03-13 Thread Achim Nierbeck
Christian Eugster Docuteam GmbH Langacker 16 Postfach CH-5405 Baden-Dättwil +41 (0)56 470 03 37 c.eugs...@docuteam.ch Am 12.03.2015 um 21:43 schrieb Achim Nierbeck bcanh...@googlemail.com: Hi, just as sanity-check, recipe2 of chapter 10 is working for you? regards, Achim 2015

Re: Running test fails due to not transferred file

2015-03-13 Thread Achim Nierbeck
Hi could you please post the first part of the log, where the test is started. The NullPointers regarding the GuardProxy seem to be related to the shutdown of the container. Regards, Achim 2015-03-13 13:09 GMT+01:00 Christian Eugster c.eugs...@docuteam.ch: Hi, at last I arrived to run a

Re: Running test fails due to not transferred file

2015-03-13 Thread Achim Nierbeck
Hi, from the logs I can tell your route is up and running, so the issue is that the camelContext used in the test is not the same as the one used in your RouteBuilder. That's the reason you don't get a hold of the MockEndpoint, therefore the nullpointer. Again as sanitiy-check, recipe 5 of

Re: Running test fails due to not transferred file

2015-03-13 Thread Achim Nierbeck
:43 GMT+01:00 Achim Nierbeck bcanh...@googlemail.com: Hi, from the logs I can tell your route is up and running, so the issue is that the camelContext used in the test is not the same as the one used in your RouteBuilder. That's the reason you don't get a hold of the MockEndpoint, therefore

Re: Apache Karaf Cookbook Chapter 10 Testing

2015-03-12 Thread Achim Nierbeck
you for the link, I shall try it. Do the other recipes of chapter 10 also have problems with java8? Regards Christian Christian Eugster Docuteam GmbH Langacker 16 Postfach CH-5405 Baden-Dättwil +41 (0)56 470 03 37 c.eugs...@docuteam.ch Am 12.03.2015 um 11:59 schrieb Achim Nierbeck

Re: Pax exam Test does not run in Karaf container

2015-03-12 Thread Achim Nierbeck
Docuteam GmbH Langacker 16 Postfach CH-5405 Baden-Dättwil +41 (0)56 470 03 37 c.eugs...@docuteam.ch Am 12.03.2015 um 21:20 schrieb Achim Nierbeck bcanh...@googlemail.com: features(maven().groupId(org.apache.karaf.features).artifactId( standard).type(xml).classifier(features

Re: Pax exam Test does not run in Karaf container

2015-03-12 Thread Achim Nierbeck
Hi, it's a bit hard to see the issue without any source. It's like calling the doc on the phone, I think I got flu :-) So I'm doing some wild guesses here :-) Your Testclass doesn't contain any testmethods? For example is missing a @Test annotation? You added an @Ignore to the test method?

Re: Pax exam Test does not run in Karaf container

2015-03-12 Thread Achim Nierbeck
be there is a missing dependency? Thanks a lot! Christian Christian Eugster Docuteam GmbH Langacker 16 Postfach CH-5405 Baden-Dättwil +41 (0)56 470 03 37 c.eugs...@docuteam.ch Am 12.03.2015 um 20:43 schrieb Achim Nierbeck bcanh...@googlemail.com: Hi, it's a bit hard to see the issue without

Re: Configuring location of log4j out files

2015-03-11 Thread Achim Nierbeck
How about ${karaf.home}/log? 2015-03-11 11:00 GMT+01:00 Martin Lichtin lich...@yahoo.com: I was wondering about supporting configuring a specific location for the Karaf log files. There are use cases where these files must not be kept under the data directory. Could it be supported by use

Re: Embedding Karaf in Eclipse Equinox?

2015-03-10 Thread Achim Nierbeck
Hi Pablo, well, you can use the Pax Web bundles standalone in your eclipse Project if you don't want to use Karaf. Karaf is basically a pre-bundles (with lots and lots of enhancements) OSGi Framework + infrastructure Bundles. But basically you still can build your own stuff, in that case just

Re: Is local access to MBeans also protected

2015-03-10 Thread Achim Nierbeck
Hi, I think I've seen this behavior too. AFAIC this is a bug. Do you happen to have a scenario where it's really reproducible? Could you open a issue for it? Thanks, Achim 2015-03-10 14:23 GMT+01:00 Martin Lichtin lich...@yahoo.com: I understand that access to MBeans is protected via RBAC

Re: Bundle not sync'ing

2015-03-10 Thread Achim Nierbeck
Hi, if you install a bundle via a maven coordinate, this coordinate is propagated to the other nodes, no binaries are transfered. Btw. that's why a sync of the deploy folder doesn't work :-) The repo which contains this maven artifact needs to be known to all nodes. For this you can use the

Re: How does conditional work in feature files

2015-03-09 Thread Achim Nierbeck
Conditional means, this part is conditionally installed in case the webconsole is already installed or in case the webconsole is just installed those bundles are also installed. This is for better seperation of concerns and meant as a trigger. You'll see a lot of conditionals in the current master

Re: Dependecy error installing HTTP feature

2015-03-09 Thread Achim Nierbeck
Hi, let me suggest, to uninstall your own bundles prior of installing the http feature. The HttpFeature does install all required bundles. Especially since you seem to have installed two versions of the servlet api. After the http feature, the jolokia bundle can be installed. regards, Achim

Re: org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for service org.apache.camel.CamelContext

2015-03-07 Thread Achim Nierbeck
Langacker 16 Postfach CH-5405 Baden-Dättwil +41 (0)56 470 03 37 c.eugs...@docuteam.ch Am 06.03.2015 um 21:11 schrieb Achim Nierbeck bcanh...@googlemail.com: Hi, a couple questions, did you run the sample code of recipe 5 of chapter 10. Does it work for you? Second, did you check

Re: org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for service org.apache.camel.CamelContext

2015-03-06 Thread Achim Nierbeck
Hi, a couple questions, did you run the sample code of recipe 5 of chapter 10. Does it work for you? Second, did you check if your test does work with Pax Exam 3.4 as in the sample? Which Java version are you using? regards, Achim 2015-03-06 19:54 GMT+01:00 Christian Eugster

Re: bundle:update

2015-02-27 Thread Achim Nierbeck
This solely depends on your use-case. If you have bundles that import other bundles and don't depend on services make sure your dependent bundles do get a refresh. Just a simple example. If you have camel routes in your bundles, you need to do a bundle:refresh [camel-core-bundle-id] so that the

Re: Bundle sync in cluster with failover

2015-02-19 Thread Achim Nierbeck
Hi, simple answer yes, all three nodes must be in a state to sync each other via cellar, as you have a very low lock-level the other two instances can't sync with your master node. Cellar is made for a active/active cluster not a active/passive failover. It looks like you need a database based

Re: Integration Tests hang for approx. 30 seconds after Karaf 2.3.3 upgrade to 3.0.3

2015-02-13 Thread Achim Nierbeck
Hi, which version of Pax Exam are you using? And did you try to upgrade to the latest version of it? regards, Achim 2015-02-13 15:40 GMT+01:00 Nick Baker nba...@pentaho.com: We are experiencing the same slowdown in PAX-Exam with 3.0.0, also using TinyBundles. Pretty painful.

Re: Blueprint GracePeriod issue

2015-02-12 Thread Achim Nierbeck
Hi, if you try to reference a service which you published through the same blueprint, this will fail. You should use the bean instead then. regards, Achim 2015-02-12 20:06 GMT+01:00 Benjamin Debeerst benjamin.debee...@younicos.com : Hi Scott, I find that kind of diagnosis from Blueprint

Re: features-validate-descriptor fails in version 4.0.0.M1

2015-02-12 Thread Achim Nierbeck
Hi, might be a bug, could you open a jira issue for this. That makes it easier for us to track. Did you also check if this is still an issue with 4.0.0.M2? It's currently under vote so you can check with that version also. regards, Achim 2015-02-12 20:14 GMT+01:00 infiniteuniverse

Re: KARAF-1315 still in Cellar 2.3.4?

2015-02-10 Thread Achim Nierbeck
Hi, sounds to me more like a VM/Network Issue. Per default Cellar/Hazelcast tries to communicate via Multicast. So from the picture you describe you're having a network issue. regards, Achim 2015-02-10 23:48 GMT+01:00 sditlinger st...@ditlinger.com: OK, continuing with the scientific method,

Re: Webapp Security, and bean framework in OSGI Karaf

2015-02-08 Thread Achim Nierbeck
Hi Tom, let me answer a couple of your questions. See Inline: 2015-02-08 20:40 GMT+01:00 Tom Barber tom.bar...@meteorite.bi: Hi guys, I'm hoping some one or some people can share some insight into the state of OSGI and Karaf because I'm trying to port an existing application to Karaf and

Re: karaf-maven-plugin config file installation bug

2015-02-06 Thread Achim Nierbeck
Hi, might be an issue, check here [1], if it's already filed. regards, Achikm [1] - https://issues.apache.org/jira/browse/KARAF 2015-02-06 23:09 GMT+01:00 infiniteuniverse infiniteunive...@gmail.com: I was attempting to use the karaf-maven-plugin to add the cave-server feature to the

Re: karaf-maven-plugin config file installation bug

2015-02-06 Thread Achim Nierbeck
ok, please open a new issue for it then. regards, Achim 2015-02-06 23:26 GMT+01:00 infiniteuniverse infiniteunive...@gmail.com: I didn't see an issue filed for it, it seems a bit similar to https://issues.apache.org/jira/browse/KARAF-3349 but that's not dealing with config files and is

Re: Use Jetty 9.x with Karaf 3.x

2015-02-06 Thread Achim Nierbeck
Hi Vincent, let me answer inline: 2015-02-06 18:00 GMT+01:00 Vincent Zurczak vincent.zurc...@linagora.com: Hi, I would like to implement a web socket in an OSGi application that runs in Karaf. I know Jetty 9.x comes with Pax-Web 4.x, which is itself used in Karaf 4.x. However, I have a

Re: Native library and System.load

2015-02-03 Thread Achim Nierbeck
Hi, the main issue is with dynamically loaded native libraries. For example you have two dll's in your Bundle X, A.dll and B.dll where A references B, this only works once. With an update the dlls are supposed to be renamed to A2.dll and B2.dll where the linkage of A to B doesn't work anymore.

Re: Native library and System.load

2015-02-03 Thread Achim Nierbeck
Hi, it's been a while I used this the last time. Dll is just a synonym for any linked library :-) Back to your questions, well as I pointed out, since libraries in general can't be unloaded unless you destroy the classloader which is taken care by the OSGi framework and only happens if there are

Re: Karaf 4 and cellar

2015-02-02 Thread Achim Nierbeck
hurray an early adopter \o/ 2015-02-02 12:29 GMT+01:00 Milen Dyankov milendyan...@gmail.com: Thanks for your quick answers guys. I already got Karaf 3.0.1 with Cellar 3.0.1 running. I'm just trying to see how my app behaves on Karaf 4, thus the question. I'm looking forward for your push ;)

Re: Karaf 4 and cellar

2015-02-02 Thread Achim Nierbeck
Short answer, yes to both. Long answer, cellar master isn't optimized for Karaf Master right now. It's for Karaf 3, as this is the latest release version. For Karaf 4 there will be a new milestone release available. But again don't expect cellar to run on it right away. Regards, Achim sent from

Re: feature resolution does not work if setting.xml contains a local repository

2015-02-02 Thread Achim Nierbeck
Hi, I don't think it's a bug :-) Most likely your local repository (the temp_repository) doesn't contain the expected bundles. Especially, it looks like it's missing the jettyconfig.xml regards, Achim 2015-02-02 17:18 GMT+01:00 Richard Hierlmeier rhierlme...@googlemail.com: I just upgraded

Re: Karaf 3.0.2 custom distribution: install-kars ignores ipojo dependency

2015-01-31 Thread Achim Nierbeck
For opening issues for Apache Products please use the Apache JIRA [1]. regards, Achim [1] - https://issues.apache.org/jira/browse/KARAF/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel 2015-01-31 21:19 GMT+01:00 matthjes matth...@gmail.com: Hi, Thanks for the help. Could

Re: JAAS : admin verus manager roles

2015-01-27 Thread Achim Nierbeck
Hi JB, we could need a little introduction in the karaf doc, with a rule of thumb to describe what the differences are. I know it's sometimes very command/service specific but while scanning through the documentation I was missing a little overview about the intentions of those roles. But maybe

Re: JAAS : admin verus manager roles

2015-01-27 Thread Achim Nierbeck
Hi, some detail can be found in the documentation already [1]. Though I've to admit it's a bit scattered and mostly refers to the admin role. regards, Achim [1] - http://karaf.apache.org/manual/latest/users-guide/security.html 2015-01-28 8:04 GMT+01:00 vinuraj.mar...@wipro.com: By default

Re: Problem with Cellar and ManagedServiceFactories

2015-01-22 Thread Achim Nierbeck
JB, no problem at all. My first idea to use a UUID made of the nodeID and the factoryPid, does have some dangers though. If someone adds this configuration on two nodes it is duplicated. But one has to die one death ;) Sometime I think a management server isn't always the worst idea when

Karaf 3.0.x + Jolokia + JMX + RBAC

2015-01-19 Thread Achim Nierbeck
Hi, I was experimenting with Karaf 3.0.3-SNAPSHOT plus Jolokia to get some details about the state of the server. First I used Jolokia 1.2.4-SNAPSHOT since it supports a configuration based on config admin service. I was able to point it to use the karaf realm this way. Now I still face an issue

Re: Karaf 3.0.x + Jolokia + JMX + RBAC

2015-01-19 Thread Achim Nierbeck
...@nanthrax.net: Yes, it should be one or the other ;) On 01/19/2015 02:31 PM, Achim Nierbeck wrote: Well, I started with 2) but missed the org.jolokia.authMode=jaas part. That's why I will try if this will help in not requiring to disable 1) :-) regards, Achim 2015-01-19 14:28 GMT

Re: Karaf 3.0.x + Jolokia + JMX + RBAC

2015-01-19 Thread Achim Nierbeck
a hack in jolokia for that (or in the HTTP service ACL, I don't remember). I keep you posted (on IRC or here). Regards JB On 01/19/2015 09:46 AM, Achim Nierbeck wrote: Hi, I was experimenting with Karaf 3.0.3-SNAPSHOT plus Jolokia to get some details about the state of the server. First

Re: Karaf 3.0.x + Jolokia + JMX + RBAC

2015-01-19 Thread Achim Nierbeck
(on IRC or here). Regards JB On 01/19/2015 09:46 AM, Achim Nierbeck wrote: Hi, I was experimenting with Karaf 3.0.3-SNAPSHOT plus Jolokia to get some details about the state of the server. First I used Jolokia 1.2.4-SNAPSHOT since it supports a configuration based on config

Re: deploying a war with dependencies in bundled jars

2015-01-12 Thread Achim Nierbeck
Hi, looks like you got some sort of IllegalArgument there :-) Caused by: java.lang.IllegalArgumentException At this point I think it's a application issue, not an osgi resolving issue. regards, Achim 2015-01-12 17:20 GMT+01:00 jefoy1101 jefoy1...@gmail.com: Hi Achim, I made the provider

Re: deploying a war with dependencies in bundled jars

2015-01-10 Thread Achim Nierbeck
Hi, ok, so far so good, the wab looks fine, but your provider and domain jars aren't osgi bundles. You should make sure those are OSGi bundles first. On the other hand you seem to have a high coupling with those two jars, why don't you just embed those then? Especially since you don't use any

Re: deploying a war with dependencies in bundled jars

2015-01-09 Thread Achim Nierbeck
Hi, sorry, now you've lost me. Could you provide a small sample project on github with your intention, so I can actually take a look at the sources. The only thing I got so far is, that you want to deploy non-osgi-bundles and wars and expect those to magically have all issues resolved concerning

Re: The impact of Export-Service and Import-Service in bundle header

2015-01-09 Thread Achim Nierbeck
, But in fusefabic 7.2 sometimes the services were not resolved by other bundles, removing those header solved the problem, but i wanted to get more detail info about the cause. Cheers, On Fri Jan 09 2015 at 12:09:18 PM Achim Nierbeck bcanh...@googlemail.com wrote: Hi, AFAIK those headers aren't

Re: bundle:list command not found after restart of karaf

2015-01-09 Thread Achim Nierbeck
Take a look at your feature definition (the xml file). You might find some blueprint bundles there, or maybe a reference to another feature-repository (definition file). Maybe you are referencing the gemini blueprint implementation. Those two can not co-exist unless you work with regions (karaf

Re: bundle:list command not found after restart of karaf

2015-01-09 Thread Achim Nierbeck
for karaf 3 to get the package org.osgi.service.jdbc? Am 09.01.2015 um 13:34 schrieb Achim Nierbeck: Take a look at your feature definition (the xml file). You might find some blueprint bundles there, or maybe a reference to another feature-repository (definition file). Maybe you

Re: The impact of Export-Service and Import-Service in bundle header

2015-01-09 Thread Achim Nierbeck
Hi, AFAIK those headers aren't interpreted. Which version of Karaf are you using? regards, Achim 2015-01-09 11:55 GMT+01:00 Mohammad Shamsi m.h.sh...@gmail.com: Hi, Not sure if here is the right place the ask this question, but I would really appreciate your input. What is the impact of

Re: Disabling authorization in Karaf webconsole

2015-01-07 Thread Achim Nierbeck
Hi Frank, I fear you can't with the one provided by the Karaf feature. Though you should be able to install the standard Felix WebConsole. Only downside you don't the have the Karaf extensions for it available. For that you'd need to install those bundles on top. Basically a custom feature with

Re: deploying a war with dependencies in bundled jars

2015-01-07 Thread Achim Nierbeck
in the manifest attached yesterday* On Wed, Jan 7, 2015 at 1:51 AM, Achim Nierbeck [via Karaf] ml-node+s922171n4037650...@n3.nabble.com wrote: Hi, I went through this thread again. Looks like you mixed a couple of different issues here. Let me sum these up for you so I can find the root

Re: deploying a war with dependencies in bundled jars

2015-01-06 Thread Achim Nierbeck
From the screenshot you've given, those jars aren't OSGi bundles and are auto-wrapped. Never the less those auto-wrapped bundles don't export any packages you are looking for so it looks like this is your root cause. Make sure you have those packages in some way exported. For example use the

Re: Karaf notify and recovery

2015-01-06 Thread Achim Nierbeck
What do you mean by deployment fails? Cause basically Karaf is just a bunch of bundles, if one of them fails, you'll notice in the logfiles. If the framework fails, you usually see it because there are no logfiles. If it's just your own bundles you'd like to monitor, use JMX. You should be able to

Re: deploying a war with dependencies in bundled jars

2015-01-06 Thread Achim Nierbeck
Hi, I went through this thread again. Looks like you mixed a couple of different issues here. Let me sum these up for you so I can find the root cause. 1) War isn't capable of importing a certain package 2) Lib isn't capable of finding appropriate package for amazon client -- according to

Re: Jetty Session timeout

2015-01-06 Thread Achim Nierbeck
2014-12-29 14:31 GMT+01:00 Bellski h.bell...@gmail.com: Achim Nierbeck wrote yep, it's org.ops4j.pax.web.session.timeout can also be found at the Pax Web documentation [1] regards, Achim As i right understoon. I created org.ops4j.pax.web.cfg in /karaf_home/etc/ and put

Re: deploying a war with dependencies in bundled jars

2015-01-06 Thread Achim Nierbeck
Hi, please re-read my last mail. The issue you face isn't because of a wrong import, but the jar you use doesn't export the required packages. regards, Achim 2015-01-06 18:42 GMT+01:00 jefoy1101 jefoy1...@gmail.com: MANIFEST.MF http://karaf.922171.n3.nabble.com/file/n4037636/MANIFEST.MF Hi

Re: deploying a war with dependencies in bundled jars

2015-01-05 Thread Achim Nierbeck
Hi, ok the good thing, the manifest is actually one generated by the maven-bundle-plugin and not by the deployer :-) About the expor/import thing. You'll never see any classes imported/exported only the corresponding Packages. If the package you are looking for in the war isn't exported by the

Re: deploying a war with dependencies in bundled jars

2015-01-03 Thread Achim Nierbeck
Is it the war file or one of the others that doesn't resolve? Does the war actually contain the generated manifest? How do you reference that package, is it included in your Import-Package of the manifest is there actually a bundle available that exports it? regards, Achim 2015-01-02 22:05

Re: deploying a war with dependencies in bundled jars

2015-01-02 Thread Achim Nierbeck
Hi, add an dependency to the jar in the war project, usually the maven-bundle-plugin will take care of the right imports. So in your case you should already have a dependency to the jar bundle in the pom, make sure it is a provided dependency. Now use some of the classes in your project, the

Re: deploying a war with dependencies in bundled jars

2014-12-31 Thread Achim Nierbeck
Hi, no more like the one in [1]. and you don't need to point your war to the other bundle, just do the package import/export thing right :-) regards, Achim [1] - https://github.com/ops4j/org.ops4j.pax.web/blob/master/samples/war-spring-osgi/pom.xml 2014-12-31 1:17 GMT+01:00 jefoy1101

Re: ActiveMQ Web Console - ClassFormatException

2014-12-31 Thread Achim Nierbeck
without any further logs, I just can guess. But it looks like the jsps can't be compiled. regards, Achim 2014-12-31 17:11 GMT+01:00 Kevin Carr kscar...@gmail.com: ActiveMQ Version: 5.10.0 Karaf: 3.0.2 I am getting a ClassFormatException when I try to use the web console for ActiveMQ.

<    1   2   3   4   5   6   7   8   9   10   >