Blueprint or DS or what to use?

2016-03-19 Thread akuhtz
Hello, I've an application running with spring-dm and because spring-dm is no longer developed I'm looking for a replacement. Now I'm confused because there was a shift in karaf (core) from blueprint to DS and today I saw a post on the dev list, saying that DS does not support as much as blueprin

Re: Blueprint or DS or what to use?

2016-03-18 Thread akuhtz
uld suggest to make a simple but representative example using CDI, DS, > and Blueprint. Take time to have a full picture with you editor, plugins > and compilation / assembly. See what is means in terms of effort to make, > and think about what it would cost to enhance and maintain. > > J

Re: Karaf-4.0.3 on Windows with spaces in path

2015-12-06 Thread akuhtz
Hi JB, I prepared a PR (https://github.com/apache/karaf/pull/112) some days ago and would like to test with the latest snapshot if it works correct. I tested it locally already. Could the PR be merged? Regards, Andreas -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-4

karaf-maven-plugin:assembly repository question

2015-12-02 Thread akuhtz
Hi, I've a problem with karaf-maven-plugin:assembly and resolution of some artefacts that are not already in the local repo. The download fails with some wierd error and I've no idea how to solve it. One thing I'm not sure about is the "@snapshots" appended to the repositories. Does this only res

Karaf-4.0.3 on Windows with spaces in path

2015-11-26 Thread akuhtz
Hello, I've a problem with karaf-4.0.3 and space in the path. The spaces somewhere are replaced with '%20' and this results in the following exception when karaf.bat (or as service) s started: A new directory 'D:\temp\karaf%20-%20test\karaf-4.0.3' with the lock file and 'instances' sub-director

Re: Pax Exam Karaf Testframework 4.0 and Declarative services

2011-11-17 Thread akuhtz
Hi, Just verified that injection of ConfigurationAdmin works, too, after I added the mavenBundle dependency to config options. Cheers Andi -- View this message in context: http://karaf.922171.n3.nabble.com/Pax-Exam-Karaf-Testframework-4-0-and-Declarative-services-tp3513356p3516253.html Sent fro

Re: Pax Exam Karaf Testframework 4.0 and Declarative services

2011-11-17 Thread akuhtz
Hi Giacomo, I've run a test with injection of EventAdmin service in my test today (with 0.4.1) and it was injected. However can remember that I tried to inject ConfigurationAdmin service some days ago and this service was not injected ... and is still not injected with 0.4.1 but I'm not sure if th

Re: Custom distributions

2011-11-17 Thread akuhtz
Hi, There is a $ missing before {karaf.version}, should be ${karaf.version} in descriptor !! mvn:org.apache.karaf.assemblies.features/standard/${karaf.version}/xml/features mvn:org.apache.karaf.assemblies.features/enterprise/${karaf.version}/xml/features Cheers Andi -- View this message in c

Re: Custom distributions

2011-11-17 Thread akuhtz
Hi Filippo, Try the following: instead of File can then be found at the following location: http://repo1.maven.org/maven2/org/apache/karaf/assemblies/features/standard/2.2.2/ If you need enterprise features you need to add the enterprise features dependency. Cheers Andi -- View this messa

Re: FW: Pax Exam Karaf Testframework 4.0 on Windows

2011-11-15 Thread akuhtz
Hi Giacomon, I use the test framework on Windows sucessfully. Maybe you can use the same configuration that places the unpackDirectory in a path without spaces (in my case "target/paxexam/unpack/"): Kind regards Andi -- View this message in context: http://karaf.922171.n3.nabble.com/Pax-Exam-

Re: [PaxExam Karaf Testframework 0.4.0] Either distribution.info or the property itself has to define a karaf version

2011-11-07 Thread akuhtz
Hi Jorge, Found the solution: You have to add ".karafVersion("2.2.4").name("Apache Karaf")." to the options. See https://github.com/openengsb/labs-paxexam-karaf/blob/master/regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/BaseKarafDefaultFrameworkReplaceConfigFileTest.java K

Re: [PaxExam Karaf Testframework 0.4.0] Either distribution.info or the property itself has to define a karaf version

2011-11-07 Thread akuhtz
Hi Jorge, I've the same problem, but no solution yet. Kind regards Andi -- View this message in context: http://karaf.922171.n3.nabble.com/PaxExam-Karaf-Testframework-0-4-0-Either-distribution-info-or-the-property-itself-has-to-define-a-kan-tp3488143p3488157.html Sent from the Karaf - User mail

Re: Release PaxExam Karaf Testframework 0.4.0

2011-11-06 Thread akuhtz
Hi Andreas, Thanks for all the work you've done for making testing with karaf easy! PS: the artifacts are not yet available in central repo, is there a problem somewhere? Best regards Andi -- View this message in context: http://karaf.922171.n3.nabble.com/Release-PaxExam-Karaf-Testframework-0

Re: Problem with starting web-app during startup

2011-10-31 Thread akuhtz
Hi, It works fine if the web-app is installed after startup, however I was not able to get it working if it was installed as boot-feature, even with changing the start-levels. Thanks for all the reponses! Regards Andi -- View this message in context: http://karaf.922171.n3.nabble.com/Problem-w

Re: Problem with starting web-app during startup

2011-10-27 Thread akuhtz
Raul, Not sure if I get you right these are the only bundles with 'war' in the name. But I don't know which contains the war protocol. [ 82] [Active ] [] [ ] [ 60] OPS4J Pax Web - Extender - WAR (1.0.6) [ 85] [Active ] [] [ ] [ 60] OPS4J Pax

Re: Problem with starting web-app during startup

2011-10-27 Thread akuhtz
Hi Ioannis, Ok, I removed the war from the feature of my web-app and added it to boot features, but the problem still exists. I guess it is because I've added the feature of my web-app to the boot features as well ... so I think I've to remove my web-app from boot features and have it deployed at

Re: Problem with starting web-app during startup

2011-10-27 Thread akuhtz
Hi JB, Yes, I can see the following line before the line with the error in the logfile: 2011-10-27 12:51:50,912 INFO [org.apache.karaf.features.internal.FeaturesServiceImpl] (Thread-6) Installing feature war 2.2.4 In Karaf-2.2.3 I haven't seen this error but my web-application was not started du

Problem with starting web-app during startup

2011-10-26 Thread akuhtz
Hi, I'm using karaf-2.2.4 and want to start a web application (with wicket) when karaf starts. I've defined a feature that is listed under featureBoot in the org.apache.karaf.features.cfg. Unfortunately I get the following WARN during startup and the web app is not started. However if I start the

Re: [ANN] Apache Karaf 2.2.4 Released!

2011-10-19 Thread akuhtz
Great work! Just one litte thing: The download link on the release page (http://karaf.apache.org/index/community/download/karaf-2.2.4-release.html) links to Cellar download instead of Karaf. Maybe someone can fix this. Kind regards Andi -- View this message in context: http://karaf.922171.n3.na

Re: Release PaxExam Karaf Testframework 0.2.0

2011-10-14 Thread akuhtz
Hi Andreas, My first intention was to add a new file (no replacement), but if we could add the options you list it would be more flexible. TestNG: I'll have a look on it ;-) Regards, Andi -- View this message in context: http://karaf.922171.n3.nabble.com/Release-PaxExam-Karaf-Testframework-0-

Re: Release PaxExam Karaf Testframework 0.2.0

2011-10-14 Thread akuhtz
Hi, Great work!! I've started to use it and really like it. And I hit a problem: If I want to use the standard distribution (as shown in the sample) and add a configuration file to etc/ the only way I found to do this is creating a custom ConfigurationPointer and use KarafDistributionOption.edi

Re: Karaf shell problem with long lines

2011-09-27 Thread akuhtz
Hello, I've the same problem after upgrading to the current *karaf-2.2.3* on Windows (haven't had any problems with 2.1.x). It's not only a copy-paste problem, the same problem does occur if I type the characters directly into the console. If someone gives me a hint where to start I could try to