Re: [PROPOSAL] Karaf Decanter monitoring

2014-10-14 Thread Andreas Pieber
Hey, The collection definitely sounds like a perfect idea for a Karaf sub project to me. Beside the great potential for the components I like the especially fitting name  +1 Kind regards, Andreas On Oct 14, 2014 5:13 PM, Jean-Baptiste Onofré j...@nanthrax.net wrote: Hi all, First of all,

Re: Finding classes in a Bundle

2013-11-19 Thread Andreas Pieber
Hey Philipp, It kind of depends on your use case. One option is to e.g. use a bundle listener to get each bundle. On the bundles themselves you've options to load resources and classes [1]. This might be an option. But as said, depends quite heavily on your use case. Kind regards, Andreas [1]

Re: Maven error with Karaf Pax-exam

2013-06-19 Thread Andreas Pieber
...@gmail.comwrote: Code using it -- http://grepcode.com/file/repo1.maven.org/maven2/org.apache.karaf.tooling.exam/org.apache.karaf.tooling.exam.container/2.3.0/org/apache/karaf/tooling/exam/container/internal/KarafTestContainer.java On Mon, Jun 10, 2013 at 9:52 PM, Andreas Pieber anpie

Re: Error during karaf startup

2013-06-19 Thread Andreas Pieber
Is your karaf.data directory writeable by the user starting karaf? Kind regards, Andreas On Wed, Jun 19, 2013 at 2:09 PM, Srikanth srikanth.hu...@gmail.com wrote: Hello, I am getting below error during karaf startup. Karaf can't startup, make sure the log file can be accessed and written

Re: Error during karaf startup

2013-06-19 Thread Andreas Pieber
I would need to check the code for this. But one question up front. Have you changed anything? Are you simply downloading Karaf? Do you start Karaf by using ./bin/karaf or cd bin/ and then executing karaf by using karaf? Is it possible that another karaf instance is on your path? I assume that

Re: Error during karaf startup

2013-06-19 Thread Andreas Pieber
oh... ok, the error message is simply shown on every IO error during the main.launch method. Please chck your etc/config.properties and see if it points to the correct felix version. Kind regards, Andreas On Wed, Jun 19, 2013 at 2:40 PM, Srikanth srikanth.hu...@gmail.com wrote: I tried by

Re: Log4J v2

2013-06-13 Thread Andreas Pieber
Hey, The question would rather be: Does pax-logging support log4jv2 and AFAIK the answer is no. The question would be: how difficult can it be to add log4j v2 support to pax-logging :-) Kind regards, Andreas On Thu, Jun 13, 2013 at 3:50 PM, CLEMENT Jean-Philippe

Re: integration test, startup time for karaf 2.3.1

2013-06-13 Thread Andreas Pieber
Do you reference the apache karaf artifact in your pom files? This is the only problem I can imagine making plain karaf tests so slow for you. If you dont enter the karaf distribution in your pom file as a dependency the test framework doesnt copy it into your .m2 directory and therefore

Re: Blueprint scope and reference-list

2013-06-11 Thread Andreas Pieber
** ** [@@ OPEN @@] ** ** *De :* Andreas Pieber [mailto:anpie...@gmail.com] *Envoyé :* samedi 1 juin 2013 10:57 *À :* Apache Karaf *Objet :* Re: Blueprint scope and reference-list ** ** Hey, ** ** I'm sorry, but there isn't any blueprint only method available for this. You'll

Re: Maven error with Karaf Pax-exam

2013-06-10 Thread Andreas Pieber
String[]{org/kie/spring/kie-**beans.xml}); } On Sun, Jun 9, 2013 at 9:20 PM, Andreas Pieber anpie...@gmail.com mailto:anpie...@gmail.com wrote: to use versionAsInProject you need to add build plugins plugin groupIdorg.apache.**servicemix.tooling

Re: Maven error with Karaf Pax-exam

2013-06-10 Thread Andreas Pieber
PM, Andreas Pieber anpie...@gmail.comwrote: Based on what does spring defines its search path? I don't know what I could possibly done wrong while writing the framework which could invoke such errors. Basically pax exam karaf does almost the same as u do when you start it via the shell. Kind

Re: Maven error with Karaf Pax-exam

2013-06-09 Thread Andreas Pieber
Have you extracted the versions using the service mix plugin as described in the documentation? Is the version. Properties generated correctly? Kind regards, Andreas On 9 Jun 2013 12:46, Charles Moulliard ch0...@gmail.com wrote: Hi, I get this pax exam (maven error) in an unit test which was

Re: Blueprint scope and reference-list

2013-06-01 Thread Andreas Pieber
Hey, I'm sorry, but there isn't any blueprint only method available for this. You'll need to create your object manually during the bind call if you like such a behavior. Kind regards, Andreas On Fri, May 31, 2013 at 11:11 AM, CLEMENT Jean-Philippe jean-philippe.clem...@fr.thalesgroup.com

Re: EIK not working

2013-05-27 Thread Andreas Pieber
+1 too from my point of view. I dont think that tons of features will be added in the next time. So for at least another year ppl could stay with the old version of EIK using 0.9. Sounds like a plan to me. Kind regards, Andreas On Mon, May 27, 2013 at 3:58 PM, j...@nanthrax.net

Re: ConfigAdmin services

2013-05-25 Thread Andreas Pieber
Karaf uses the Felix configuration admn service :-) On 25 May 2013 23:00, Ryan Moquin fragility...@gmail.com wrote: I noticed Karaf has a config admin service, but so does felix. What's the difference? Is there are reason to use one over the other? Might be a dumb question, but it seems a

Re: Feature dependencies across kar files and custom repositories

2013-05-23 Thread Andreas Pieber
The kar files are extracted in the repositories? If yes I don't see any reason why it shouldn't work? Do you encounter any problems or was this just a rethorical question? Kind regards, Andreas On May 23, 2013 8:33 PM, Brian_E brianemon...@gmail.com wrote: Let's say I have a proper Kar file

Re: log4j:WARN No appenders could be found for logger

2013-05-11 Thread Andreas Pieber
I'vent encountered that problem by now. It could be a problem in your exports/imports or some embedded libraries. You best chance might be to check the content of your manifests.xml and bundle and compare it to your other bundles. Kind regards, Andreas On Fri, May 10, 2013 at 9:02 PM, Clement

Re: 3.0.0RC1 - Karaf WebConsole in Equinox Issue

2013-04-01 Thread Andreas Pieber
Hey Aritra, I assume you want https://issues.apache.org/jira/browse/KARAF-2240. Kind regards, Andreas On Mon, Apr 1, 2013 at 12:02 PM, Aritra Chatterjee yours.ari...@gmail.comwrote: Thanks! Is there a tracking bug logged for this, so that we get to know when it's fixed? -Aritra On Mon,

Re: Pax Wicket project bundle starts/stops twice if dev:watch set

2013-03-18 Thread Andreas Pieber
Hey, On Thu, Mar 14, 2013 at 12:31 AM, ralfKaraf ralf.but...@web.de wrote: Aehm ... yes, it does. That is obviously not Pax Wicket related!! Did not expect this. Sorry for blaming Pax Wicket!! It isn't that bad that you automatically put all blame on it, is it? :-) NP, yes please create an

Re: Pax Wicket returns application/octet-stream for static web page

2013-03-18 Thread Andreas Pieber
Hey Ralf, I've answered directly at the PaxWicket issue. Kind regards, Andreas On Thu, Mar 14, 2013 at 6:47 AM, ralfKaraf ralf.but...@web.de wrote: Would anyone be able to help me out on this. How do you guys refer to static html pages within your bundle (without mounting it)? I filed an

Re: Pax Wicket project bundle starts/stops twice if dev:watch set

2013-02-28 Thread Andreas Pieber
which version of karaf do you use? Does the same problem (double start for a short period) also happen to other bundles? Kind regards, Andreas On Thu, Feb 28, 2013 at 7:10 AM, ralfKaraf ralf.but...@web.de wrote: Hi there, not entirely sure if this is the right forum to ask the question. I

Re: Pax Wicket project bundle starts/stops twice if dev:watch set

2013-02-28 Thread Andreas Pieber
My guts are saying: either we do something wrong in the way bundles are refreshed or there's kind of a different bug... What do you mean with it happens for the blueprint as well? Independently this definitely sounds like something we do wrong and if it likely could affect more parts than pax

Re: New Karaf features on github

2013-02-26 Thread Andreas Pieber
On Tue, Feb 26, 2013 at 12:55 PM, Tcharl cmorda...@gmail.com wrote: Hi, where to push, may I clone Karaf? Exactly. There's a github mirror at https://github.com/apache/karaf. You can clone this one and provide pull requests as you're used to. We'll get notified about them on the dev list.

Re: Missing features in 3.0.0?

2013-02-18 Thread Andreas Pieber
try: feature:install eventadmin first Kind regards, Andreas On Mon, Feb 18, 2013 at 9:04 PM, sd sdoyl...@yahoo.com wrote: This look familiar? feature:install webconsole After running: features:install sling I get this: Caused by: java.lang.ClassNotFoundException:

Re: features missing from features

2013-02-09 Thread Andreas Pieber
From my point of view I see no problem with those three points. Solutions for them could definitely help people with writing their features. So, solving those three would definitely have my support. Kind regards, Andreas On Sun, Feb 10, 2013 at 2:34 AM, Andrei Pozolotin

Re: Karaf on Raspberry Pi

2013-02-07 Thread Andreas Pieber
@Robert: JRE properties had been pushed (thanks JB) @JB: Do you think we can cross compiile the wrapper scripts for ARM the same way you've done for windows 64 bit? Kind regards, Andreas On Thu, Feb 7, 2013 at 9:39 AM, j...@nanthrax.net wrote: Hi Robert, very interesting, thanks for the

Re: Karaf on Raspberry Pi

2013-02-07 Thread Andreas Pieber
create a Jira about that and I can tackle that. AFAIR, commons-daemon provides ARM support by default. Regards JB On 2013-02-07 11:47, Andreas Pieber wrote: @Robert: JRE properties had been pushed (thanks JB) @JB: Do you think we can cross compiile the wrapper scripts for ARM the same way

Re: Karaf on Raspberry Pi

2013-02-07 Thread Andreas Pieber
point is that we can do both: cross compile for JSW (at least for Karaf 2.3.x), commons-daemon for trunk (and leave the choice between commons-daemon and JSW). Regards JB On 2013-02-07 12:21, Andreas Pieber wrote: So the idea should rather be to completely change to commons

Re: Karaf on Raspberry Pi

2013-02-06 Thread Andreas Pieber
@KARAF-2163: does anybody knows if it's just: copy jre7 and rename it to jre8? Kind regards, Andreas On Thu, Feb 7, 2013 at 12:47 AM, Jamie G. jamie.goody...@gmail.com wrote: A jira entry has already been filed to add ire-8 to the properties file:

Re: Karaf on Raspberry Pi

2013-02-06 Thread Andreas Pieber
I think we would need to recompile the entire wrapper to arm as JB did for windows 64 bit. @JB, do you think this would give us any problems? Kind regards, Andreas On Thu, Feb 7, 2013 at 1:38 AM, Jamie G. jamie.goody...@gmail.com wrote: Hmm, I wonder what options we have for creating an arm

Re: Karaf on Raspberry Pi

2013-02-06 Thread Andreas Pieber
is still in preview, but as far as functionality is concerned it works just fine. On Wed, Feb 6, 2013 at 10:38 PM, Andreas Pieber anpie...@gmail.comwrote: @KARAF-2163: does anybody knows if it's just: copy jre7 and rename it to jre8? Kind regards, Andreas On Thu, Feb 7, 2013 at 12:47 AM

Re: Karaf 3.x Plans?

2013-02-02 Thread Andreas Pieber
In fact we're just waiting for some more Aries releases which should be finished within the next weeks. From a feature point of view we're basically finished. Kind regards, Andreas On Feb 2, 2013 9:33 PM, Gareth gareth.o.coll...@gmail.com wrote: Hi, Are there plans to release Karaf 3.0 in the

Re: Karaf RPMs - what options are out there?

2013-01-15 Thread Andreas Pieber
What would we need to do to provide a RPM/DEB package? Where/how would we need to distribute it? Kind regards, Andreas On Tue, Jan 15, 2013 at 6:09 PM, aj...@virginia.edu aj...@virginia.edu wrote: I have, for local consumption. I based the build on an ActiveMQ RPM script. It wasn't too

Re: Karaf RPMs - what options are out there?

2013-01-15 Thread Andreas Pieber
TBH I'm still not against the idea of having deb/rpm for Karaf. So the release manager would a) run mvn release:prepare ... b) scripts/rpmPackaging.sh c) deploy the final artifact to a rpm repo? Or simply provide it for download with the rest of the distribution in hope someone will pick up the

Re: Using variables in org.apache.karaf.features.cfg

2012-12-13 Thread Andreas Pieber
or if it was done by some other means. Could it be a bootstrap problem? /Bengt 2012/12/12 Andreas Pieber anpie...@gmail.com Hey, I'm afraid this is currently not really possible. The custom.properties is written into the System.setProperty while the fileinstall (but I've only checked the code only

Re: Using variables in org.apache.karaf.features.cfg

2012-12-13 Thread Andreas Pieber
. But for some reason this mechanism doesn't work for org.apache.karaf.features.cfg. /Bengt 2012/12/13 Andreas Pieber anpie...@gmail.com well, checking the code I would say there's no difference to the other .cfg files. I'm even not sure if it's a bootstrap error. How exactly can I reproduce

Re: Using variables in org.apache.karaf.features.cfg

2012-12-12 Thread Andreas Pieber
Hey, I'm afraid this is currently not really possible. The custom.properties is written into the System.setProperty while the fileinstall (but I've only checked the code only shortly) does not access this sort. I think to make this available would require a patch to fileinstall. @Everybody with

Re: Configuring OpenJPA to log in Karaf 2.3.0

2012-11-30 Thread Andreas Pieber
TBH I've never tried log4j, but I'm curious that slf4j does not work for you. My persistence.xml looks like: ?xml version=1.0 encoding=UTF-8? persistence version=2.0 xmlns=http://java.sun.com/xml/ns/persistence; persistence-unit name=rx.physikodata transaction-type=JTA

Re: Configuring OpenJPA to log in Karaf 2.3.0

2012-11-30 Thread Andreas Pieber
in org.ops4j.pax.logging.cfg? Yours, Alexey Romanov On Fri, Nov 30, 2012 at 1:53 PM, Andreas Pieber [via Karaf] ml-node+s922171n4026971...@n3.nabble.com wrote: TBH I've never tried log4j, but I'm curious that slf4j does not work for you. My persistence.xml looks like: ?xml version=1.0

Re: Undocumented caveats of Pax Url Wrap when used in Karaf Shell

2012-11-29 Thread Andreas Pieber
Hey Caspar, thank you very much for pointing this out. I'm with you that adding this into the documentation would be a great enhancement. Since the entire documentation is within the source repository would you mind creating a jira and a patch for this problem? Thank you very much and kind

Re: Intercepting Karaf's CommandSession.close()??

2012-11-29 Thread Andreas Pieber
hey Dan, Not right now, but it might be a good idea thinking about a general hook system for karaf (on the dev list) since there are also other requests for other places. Maybe we can use the event admin to implement something more general (just thinking aloud :-)) Kind regards, Andreas On Wed,

Re: Configuring OpenJPA to log in Karaf 2.3.0

2012-11-29 Thread Andreas Pieber
and when you remove the line: property name=openjpa.Log value=slf4j / it works again? Kind regards, Andreas On Fri, Nov 30, 2012 at 6:43 AM, Alexey Romanov alexey.v.roma...@gmail.com wrote: How can I get OpenJPA to log SQL requests, etc.? I expected setting log4j.category.openjpa.Tool=INFO

Re: Thank you Karaf from marioteguh.tumblr.com :-)

2012-11-20 Thread Andreas Pieber
This is really great to hear! Thanks for sharing this with us. Kind regards, Andreas On Tue, Nov 20, 2012 at 11:25 AM, Hendy Irawan he...@soluvas.com wrote: Hi Karaf, I'd like to say thank you that Karaf (and Camel) :) has been rock solid on one of my project, syncing between Mario Teguh

Re: karaf exam: Test with more than one container

2012-11-19 Thread Andreas Pieber
not really. The problem is that Pax Exam itself isn't build for a situation like this. And since pax-exam-karaf only uses the capabilities of exam it's not really possible to do this. IMHO there are only two options: a) use the not so great solution via the admin service b) come up with

Re: webonline help as a paxwick-osgi bundle

2012-11-16 Thread Andreas Pieber
Hey Dan, What exactly do you want pax-wicket to do here? Provide static content? Or is all you want to do providing static content? Or do I completely miss the point? Kind regards, Andreas On Thu, Nov 8, 2012 at 12:32 AM, Dan Tran dant...@gmail.com wrote: I have webhelp content in a jar file.

Re: webonline help as a paxwick-osgi bundle

2012-11-16 Thread Andreas Pieber
summarized what I am try to convey. Basically, I would like pax-wicket to serve my static contents which are in a bundle/jar. is it possible? -Dan On Fri, Nov 16, 2012 at 4:31 AM, Andreas Pieber anpie...@gmail.com wrote: Hey Dan, What exactly do you want pax-wicket to do here? Provide

Re: webonline help as a paxwick-osgi bundle

2012-11-16 Thread Andreas Pieber
On Fri, Nov 16, 2012 at 9:16 AM, Andreas Pieber anpie...@gmail.com wrote: OK, basically all you have to do is to mount static resources [1]. Is this what you're looking for? Kind regards, Andreas [1] http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ On Fri, Nov 16, 2012 at 6:07

Re: dev:watch problems

2012-11-10 Thread Andreas Pieber
Andreas Pieber anpie...@gmail.com: Hey Bengt, I've just checked again, but I can confirm that dev:watch bascially does what it should do. How do you install your bundles? Have you configured any alternative maven repositories? Any other unusual settings? Kind regards, Andreas On Fri, Nov 9

Re: dev:watch problems

2012-11-09 Thread Andreas Pieber
good question. Does a dev:watch * works as expected? Kind regards, Andreas On Fri, Nov 9, 2012 at 9:40 AM, Bengt Rodehav be...@rodehav.com wrote: It looks like this in the log: *2012-11-09 09:34:21,416 | DEBUG | Thread-50| BundleWatcher |

Re: pax-provision and profiles for Karaf 2.3.0

2012-10-31 Thread Andreas Pieber
well, it's not surprising since org.ops4j.pax.url.pax-url-mvn/pax-url-mvn/1.3.5 is wrong... it should be org.ops4j.pax.url/pax-url-mvn/1.3.5 Do you think it could be a problem in pax-runner? Do you find the wrong defined url anywhere? BTW, why do you need pax-runner(provision) for this?

Re: Does maven-bundle-plugin merge its 'instructions' settings?

2012-10-30 Thread Andreas Pieber
Hey Dan, Do you really mean the maven-plugin-plugin or the maven-bundle-plugin (as I assume since you referenced the Felix group). In case you mean the maven-bundle-plugin it depends which properties you mean. AFAIK different properties are merged, same properties are merged. E.g. if you define

Re: same feature name exists in multi feature repo url

2012-10-26 Thread Andreas Pieber
meanings, the first of which (defining the feature version) _only_ applies to the attribute in XML? --- A. Soroka Software Systems Engineering :: Online Library Environment the University of Virginia Library On Oct 23, 2012, at 9:50 AM, Andreas Pieber wrote: Well, since you're using the mvn

Re: same feature name exists in multi feature repo url

2012-10-23 Thread Andreas Pieber
, Andreas Pieber wrote: Well, since you're using the mvn (maven) Protokoll this need to be installed at least in your lokal maven repository. The version of the features you've defined in the xml is of NO relevance here. Only the version you've given it in your maven repo is relevant

Re: Possible to point karaf-pax-exam to a existing unpacked karaf installation

2012-10-20 Thread Andreas Pieber
, Dan Tran dant...@gmail.com wrote: Hi Andreas Could you point me to the '2 already supported'? that would give some hint how to implement the 'alreadyUnpack' one. Or you can cook up the new option, i can test it right away :-) Thanks -D On Fri, Oct 5, 2012 at 1:09 PM, Andreas Pieber anpie

Re: Karaf and DOSGi throwing Null pointer Exception

2012-10-20 Thread Andreas Pieber
@raw tag: seams like gmail does not likes it @error: well, without debugging the code I would simply guess it's related to something not correctly shutting down the bundles (since some parts of the framework might not know to be a bundle). But independently; why does the exception border you? Do

Re: Karaf and DOSGi throwing Null pointer Exception

2012-10-18 Thread Andreas Pieber
is it possible that you've forgotten to attach/paste the exception? :-) Kind regards, Andreas On Mon, Oct 15, 2012 at 1:54 PM, dealbitte anand.boc...@gmail.com wrote: Hi, I have created a karaf child instance using 'admin:create' command and installed DOSGi Single-Bundle Distribution (1.3.1)

Re: 3rd Party Feature Definitions

2012-10-11 Thread Andreas Pieber
Well, IIRC we've discussed this already on IRC some time ago about that. One the main problems by this was that we need to release all of those separately; which adds quite some work. But basically I'm with you. It's a PITA with those spring aries enterprise feature upgrades and that we have to

Re: 3rd Party Feature Definitions

2012-10-11 Thread Andreas Pieber
for us AND since we can version the features independently of the full release versions the user can still mix them as he sees fit. Just something else to get the discussion about this going :-) Kind regards, Andreas On Thu, Oct 11, 2012 at 6:54 PM, Andreas Pieber anpie...@gmail.com wrote: Well

Re: pax-wicket for wicket 6.0

2012-09-26 Thread Andreas Pieber
to use newer versions without having a new pax-wicket release. Best regards, Andi 2012/9/25 Andreas Pieber anpie...@gmail.com As said, pax wicket 2.0.0 is already read; build the master locally; I just want to get some additional feedback before releasing Kind regards, Andreas On Tue

Re: pax-wicket for wicket 6.0

2012-09-24 Thread Andreas Pieber
:07 PM, Andreas Pieber anpie...@gmail.com wrote: Well, actually good that you ask. Pax wicket trunk is already wickets ready and the changes for wicket Web console shouldn't be more than some name space adaptions. So once checked Web console I can cut pax wicket 2.0.0 and we're good to go. Would

Re: Possible to start Karaf without opening any ports?

2012-09-11 Thread Andreas Pieber
Hey Peter, Thank you very much for the update; would you mind include your findings as a patch into the manual? Thank you very much and kind regards, Andreas On Thu, Sep 6, 2012 at 3:51 PM, peterg peter.gardfjall.w...@gmail.com wrote: Okay, for what it's worth I'll respond to my own post:

Re: karaf in production

2012-09-11 Thread Andreas Pieber
Hey, While in theory a diff release would be possible it's quite hard to do in reality. Someone would need to add a maven plugin either checking the SCM or the binaries for differences. BUT this could be quite a challange since there are some parts of a binary changing for each release without

Re: Equinox Console (Based on Gogo) in Karaf ?

2012-09-11 Thread Andreas Pieber
Hey Michael, Just curious but wouldn't it be easier/better to implement the diag (IIRC there's already something like it in karaf)/ss commands into Karaf instead of making the equinox console working in Karaf? Just my 0.02€ Kind regards, Andreas On Mon, Sep 10, 2012 at 10:35 AM, Michael

Re: switch to github

2012-08-17 Thread Andreas Pieber
@4) no need for that; once you're through the review process the apply happens within 24 hours (different time/work zones :-)). BTW, your pull request is almost through the pipe. Just waiting for two minor corrections and a new patch at the jira issue to get it in :-) Kind regards, Andreas On

Re: switch to github

2012-08-17 Thread Andreas Pieber
18, 2012 at 7:25 AM, Andreas Pieber anpie...@gmail.com wrote: @4) no need for that; once you're through the review process the apply happens within 24 hours (different time/work zones :-)). BTW, your pull request is almost through the pipe. Just waiting for two minor corrections and a new patch

Re: No info log output when installing a feature

2012-08-07 Thread Andreas Pieber
Hey Martin, Sounds like a great idea; can you create an jira for this that we don't loose track of this improvement? (an attached patch is btw, always welcomed too ;-)) Kind regards, Andreas On Tue, Aug 7, 2012 at 3:30 PM, lichtin lich...@yahoo.com wrote: Hi During testing with Pax-Exam, I

Re: No info log output when installing a feature

2012-08-07 Thread Andreas Pieber
to see where we are in the features installation process (to know which bundle is in download, etc). Regards JB On 08/07/2012 03:34 PM, Andreas Pieber wrote: Hey Martin, Sounds like a great idea; can you create an jira for this that we don't loose track of this improvement? (an attached

Re: No info log output when installing a feature

2012-08-07 Thread Andreas Pieber
this for the instance (add a verbose flag to write in the log file), so it makes sense to do the same for features. Regards JB On 08/07/2012 05:15 PM, Andreas Pieber wrote: but those are written to the console; maybe we should have some basic log to the log during the process too in info

Re: Why is JDK required for running Karaf?

2012-07-31 Thread Andreas Pieber
btw, another option to workaround this problem is to provide a custom jre; we typically deliver a JDK with our container, BUT for windows we copy over the bin directory from the JDK over the JRE, this is all required to fix that problem. Just to offer an additional option. Kind regards, Andreas

Re: Why is JDK required for running Karaf?

2012-07-31 Thread Andreas Pieber
argl.. sorry for the mistake; we provide a JRE copy over the bin dir from the JDK :-) so, no it's correct. Kind regards, Andreas On Tue, Jul 31, 2012 at 12:47 PM, Andreas Pieber anpie...@gmail.com wrote: btw, another option to workaround this problem is to provide a custom jre; we typically

Re: Why is JDK required for running Karaf?

2012-07-31 Thread Andreas Pieber
well, looking at [1] I don't think that there is any difference. Since karaf could run as a server BUT also as a client environment we maybe should a) make it possible to switch between those with a param and b) add a fallback solution for windows WDYT? kind regards, Andreas On Tue, Jul 31,

Re: Why is JDK required for running Karaf?

2012-07-31 Thread Andreas Pieber
btw ;-) [1] http://stackoverflow.com/questions/198577/real-differences-between-java-server-and-java-client Kind regards, Andreas On Tue, Jul 31, 2012 at 1:14 PM, Andreas Pieber anpie...@gmail.com wrote: well, looking at [1] I don't think that there is any difference. Since karaf could run

Re: Why is JDK required for running Karaf?

2012-07-31 Thread Andreas Pieber
@Christoph: can you create a JIRA for the problem that we don't lost this problem? Kind regards, Andreas On Tue, Jul 31, 2012 at 1:57 PM, Guillaume Nodet gno...@gmail.com wrote: Yes, I think if the default windows JRE does not support server, we should not include this option by default on

Re: make project import work with m2e

2012-07-30 Thread Andreas Pieber
hey Andrei, The patch looks fine to me; Can you please attach the patch to the according jira issue [1] and allow it for inclusion? I'll take care for it to get included. Thanks and kind regards, Andreas [1] https://issues.apache.org/jira/browse/KARAF-1048 On Sat, Jul 28, 2012 at 6:46 PM,

Re: etc files for new instance

2012-07-30 Thread Andreas Pieber
not right now, but since there where quiet a number of requests by now it might be a good idea to create a new feature request jira. Kind regards, Andreas On Mon, Jul 30, 2012 at 9:49 PM, helander leh...@gmail.com wrote: I found out that the /etc files for a newly created instance were not

Re: Unpacked KAR deployment

2012-07-26 Thread Andreas Pieber
Hey Lars, I think it would be better if you please create the issue yourself. It hasn't been created yet but that way it will allow you to get notifications about the current state of the issue and it will make it easier for us to ask further questions about the feature if required :-) Thanks

Re: Felix File install and Weaving Hooks

2012-07-26 Thread Andreas Pieber
the features from features.cfg WDYT? kind regards, christoph On 18/07/12 19:07, Andreas Pieber wrote: maybe there is some other way delay deploy folder loading till all bundles are at least started? Since Christian is after something here anyhow (he'll need something similar for his

Re: Strange issue with maven repositories and org.apache.karaf.webconsole.features

2012-07-24 Thread Andreas Pieber
no that should be a configuration in pax-url-aether. I'm not sure right now if this is possible at all right now for pax-url or if we simply configured it wrong. The documentation and therefore the google entries are quite short on this topic :-) Best to create a Karaf Jira that we don't forget

Re: Felix File install and Weaving Hooks

2012-07-18 Thread Andreas Pieber
maybe there is some other way delay deploy folder loading till all bundles are at least started? Since Christian is after something here anyhow (he'll need something similar for his startup logic anyhow) maybe we can reuse parts of this logic? Or is there something completely different possibly

Re: ActiveMQ plug-in using activemq-bluepring

2012-06-21 Thread Andreas Pieber
of cause it's possible. See [1] e.g. for an example. Kind regards, Andreas [1] https://github.com/openengsb/openengsb-framework/tree/v2.5.0/infrastructure/jms On Wed, Jun 20, 2012 at 9:08 PM, Rajbir Saini rajbsa...@yahoo.com wrote: Hi, Is it possible to configure ActiveMQ plug-in using

Re: Odd behaviors with custom assembly

2012-04-20 Thread Andreas Pieber
as described above. No compiling required. Chris On Thu, Apr 19, 2012 at 12:20 AM, Andreas Pieber anpie...@gmail.com wrote: I know thos problems and they've encountered to me as I manipulated the features.cfg in a way that the framework was started twice. Can you write down an exact todo list

Re: deploying a database source as service in Karaf 2.2.5

2012-03-16 Thread Andreas Pieber
Try a \ in front of the ! Kind regards Andreas Send from my mobile. Please excuse the brevity and/or possible auto correction errors. On Mar 16, 2012 9:42 PM, James Gartner james.gart...@moodys.com wrote: Thanks Christian -- I did get it to work with some help from Matt Madhavan -- it was a

Re: Scala protocol for Slang

2012-03-08 Thread Andreas Pieber
with absolutely no idea about slang... have you install slang-scala feature or just the deploy bundle? This one sounds that all bundles need to be available for slang to correctly install url handlers, compilers, ... Kind regards, Andreas [1]

Re: Scala protocol for Slang

2012-03-08 Thread Andreas Pieber
, 2012 at 13:33, Guillaume Yziquel guillaume.yziq...@crossing-tech.com wrote: Le Thursday 08 Mar 2012 à 12:45:38 (+0100), Andreas Pieber a écrit : with absolutely no idea about slang... have you install slang-scala feature  or just the deploy bundle? This one sounds that all bundles need

Re: Embedding Karaf in a Java application

2012-03-06 Thread Andreas Pieber
OK I've missed that example. But I'm not quite sure if it's that useful for paxexam-karaf. Typically your options section is pretty minimal (compared to other exam tests). Therefore I'm not quite sure about the use. In addition pax-exam starts the process always in a new VM which might be neither

Re: SCR and Karaf.

2012-02-28 Thread Andreas Pieber
]. Kind regards, Andreas [1] https://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html On Tue, Feb 28, 2012 at 09:32, Guillaume Yziquel guillaume.yziq...@crossing-tech.com wrote: Le Tuesday 28 Feb 2012 à 06:15:50 (+0100), Andreas Pieber a écrit : Hey Guillaume, Hi, Andreas. Can you

Re: SCR and Karaf.

2012-02-27 Thread Andreas Pieber
Hey Guillaume, Can you check your logs (simply write display in your karaf console or $KARAF_HOME/data/log/karaf.log) after installing the second bundle. In addition can you do a la command showing all your installed bundles. If you second bundle isn't started try a start BUNDLE_ID which might

Re: Problems with Karaf 2.2.5 integration tests

2012-02-27 Thread Andreas Pieber
Hey Lennart, Just to make sure: If I read the previous thread correctly you're using labs-paxexam-karaf for your integration tests on karaf-2.x; right? On Tue, Feb 28, 2012 at 03:43, lennart.jore...@teliasonera.com wrote: /SKIP It doesn't seem to matter if I provision the bundle holding the

Re: About karaf upgrade

2012-02-21 Thread Andreas Pieber
/ ? which means only clear the karaf system level artifacts from data/ . Thanks. Xilai *From:*Andreas Pieber [mailto:anpie...@gmail.com] *Sent:* Thursday, February 16, 2012 5:03 PM *To:* user@karaf.apache.org *Subject:* Re: About karaf upgrade OK, currently there is nothing available

Re: About karaf upgrade

2012-02-16 Thread Andreas Pieber
OK, currently there is nothing available. And it's also quite dangerous to do so. I think the better approach would be to create your own distribution, upgrade there and produce a completely new rollout package. Still, of cause you can do as you like and it heavily depends on what you do.

Re: karaf test framework: multiple test classes files in the same karaf instance

2012-02-09 Thread Andreas Pieber
Hey Giacomo, Well, paxexam-karaf completely relays on pax exams features in this context. Since there is no such feature in pax exam right now (at least I don't know a workaround) it's also not possible in paxexam-karaf. BUT maybe Toni or Harald know some internal workaround/hack to make this

Re: featuresRepositories is overriden by defined feature repositories?

2012-01-26 Thread Andreas Pieber
ok, first of all one issue: your featuresrepository is not completely correct. mvn:org.apache.karaf.assemblies.features/standard/2.2.5/xml/features... Besides of this you're facing a completely different problem. You're using karaf 2.2.4 and expect it to start 2.2.5 bundles simply because you

Re: featuresRepositories is overriden by defined feature repositories?

2012-01-26 Thread Andreas Pieber
OK, now I get it. The problem is https://search.maven.org/remotecontent?filepath=org/apache/servicemix/apache-servicemix/4.4.0/apache-servicemix-4.4.0-features.xml which references features directly using the repository tag. Well, currently there is no way to blackout some repositories, but an

Re: featuresRepositories is overriden by defined feature repositories?

2012-01-26 Thread Andreas Pieber
/ On Thu, Jan 26, 2012 at 10:29 AM, Andreas Pieber anpie...@gmail.com mailto:anpie...@gmail.com wrote: OK, now I get it. The problem is https://search.maven.org/**remotecontent?filepath=org/** apache/servicemix/apache-**servicemix/4.4.0/apache-** servicemix-4.4.0-features.xmlhttps

Re: featuresRepositories is overriden by defined feature repositories?

2012-01-25 Thread Andreas Pieber
Well, not really replacing them, though, what you can do is to define the version of the features you wish to start. In the features.xml you can define it via the version tag (feature version=2.2.5theFeatureToUse/feature) and in the features.xml usgin /version; e.g.: myfeature/2.2.5 I hope this

Re: paxexam labs question

2012-01-22 Thread Andreas Pieber
instead of using mvn:... you can also use file:... and pointing it to the one in your target directory. Kind regards, Andreas On Tue, Jan 17, 2012 at 22:12, Vestal, Rick r...@vestalclan.org wrote: Hi all, Finally back to some osgi work and was very happy to see ServiceMix 4.4.0 out so that

Re: Starting/Stopping Programmatically Bundles

2012-01-16 Thread Andreas Pieber
Hey, On Mon, Jan 16, 2012 at 18:23, Hervé BARRAULT herve.barra...@gmail.comwrote: I haven't register the Bundle Listener, as i thought exposing a BundleListener as an OSGI service does something like this. Exposing a BundleListener typically means register it in the OSGi registry; and this

Re: Starting/Stopping Programmatically Bundles

2012-01-16 Thread Andreas Pieber
references. As i can't determine before the number of the bundle i should use the symbolicName (not perfect if we have to use different versions). Regards Hervé On 1/16/12, Andreas Pieber anpie...@gmail.com wrote: Hey, On Mon, Jan 16, 2012 at 18:23, Hervé BARRAULT herve.barra

Re: karaf-3.0.0-SNAPSHOT: NullPointerException

2012-01-12 Thread Andreas Pieber
. What does Karaf offline mean? From: Andreas Pieber [mailto:anpie...@gmail.com] Sent: Thursday, January 12, 2012 3:21 PM To: user@karaf.apache.org Subject: Re: karaf-3.0.0-SNAPSHOT: NullPointerException Hey, Are you behind a proxy or testing Karaf offline

Re: karaf-3.0.0-SNAPSHOT: NullPointerException

2012-01-11 Thread Andreas Pieber
Hey, Are you behind a proxy or testing Karaf offline? Kind regards, Andreas On Thu, Jan 12, 2012 at 03:23, Guofeng Zhang guof...@radvision.com wrote: Hi, ** ** Recently I upgrade to the last trunk of Karaf. After build it, I unzip it and launch it using bin\karaf.bat without any

  1   2   >