There's no cleanly defined way to do that. I have in mind since
several months to enhance the features maven plugin from Karaf to help
doing that in a much easier way, i.e. have a simple way to create
custom distributions on top of karaf by overlaying a set of karaf
features + configuration files
Hey Karafers.
I'm building a framework on top of Karaf, that is currently only adding the
"Branding" library and a few bundles. But, it is likely in the future I'll
need to remove some things, and more. Is there a "best way" strategy to
manage to relationship between my framework and Karaf? Ho
Hi Andreas,
Filled the issue KARAF-344 to report and track the problem.
Best,
--
Rafael Marins
On Dec 28, 2010, at 4:28 PM, Rafael Marins wrote:
> Hi Andreas,
>
> I've prepared the attached project to test this behavior. You can build and
> simply follow the steps:
>
> ka...@root> osgi:ins
Not ad-hoc, but if you can provide a very simple example to reproduce the
problem and create an issue for it I can take a look at it.
kind regards,
andreas
On Tue, Dec 28, 2010 at 02:52:21PM -0200, Rafael Marins wrote:
> Hi Andreas,
>
> Changing the imports to meet the specific package just work
Hi Andreas,
Changing the imports to meet the specific package just worked for my bundle,
which encompass both the jaas configuration blueprint xml and the
oftp-context.xml with Camel routes. Thanks everybody!!!
What did the trick was simply the:
org.apache.karaf.jaas.modules.propert
your pom looks ok so far... The imports * is not taken into account (not sure
y) but the
easiest solution is to
1) put your blueprint into deploy
2) get all imported packages
3) explicitly add those packages as imports (do not use *) (e.g. use
.karaf.config and XXX.karaf.config.impl, ...).
T
Hi Andreas,
Sure, check it out here: http://pastebin.com/fx9JF873
Best regards,
--
Rafael Marins
On Dec 28, 2010, at 9:43 AM, Andreas Pieber wrote:
> Can you upload the effective pom for org.neociclo.accord.server.server-core
> [1]?
>
> kind regards,
> andreas
>
> [1] http://maven.apache.
Hi Guillaume,
When dropped into the deploy/ folder, the deployer is adding Karaf JAAS Config
and OSGI Blueprint Services imports, as paste below:
Imported Packages (accord-jaas-module.xml - from webconsole)
org.apache.aries.blueprint,version=0.2.0.incubating from
org.apache.aries.bluep
Can you upload the effective pom for org.neociclo.accord.server.server-core [1]?
kind regards,
andreas
[1] http://maven.apache.org/plugins/maven-help-plugin/effective-pom-mojo.html
On Tue, Dec 28, 2010 at 09:40:53AM -0200, Rafael Marins wrote:
>Hi Andreas,
>
>There is
>a ${accord.os
Hi Andreas,
There is a
${accord.osgi.import.pkg}... almost
the same result.
Best regards,
--
Rafael Marins
On Dec 28, 2010, at 9:32 AM, Andreas Pieber wrote:
> maybe I'm blind, but shouldn't this line:
>
> ${accord.osgi.import}
>
> look like:
>
> ${accord.osgi.import.pkg}
>
>
> kind r
maybe I'm blind, but shouldn't this line:
${accord.osgi.import}
look like:
${accord.osgi.import.pkg}
kind regards,
andreas
On Tue, Dec 28, 2010 at 09:25:24AM -0200, Rafael Marins wrote:
> Hi JB,
>
> Thanks everybody for all replies.
>
> I suspected about it and included org.apache.karaf.mod
Hi JB,
Thanks everybody for all replies.
I suspected about it and included org.apache.karaf.modules.* to the bundle
imports, but didn't worked. The maven-bundle-plugin simply don't put that
import statement it in the Manifest as there is no Java package imports. See
the pom statements:
From t
It's certainly a missing import package. When drpped into the deploy
folder, the deployer will automatically add the required import
packages.
On Tuesday, December 28, 2010, Rafael Marins wrote:
> Hi,
> When using the PropertiesLoginModule from a blueprint file in my bundle
> located at the /OS
Hi,
You may be interested in EIK (Eclipse Integration for Karaf) made by Stephen
Evanchik:
http://stephen.evanchik.com/blog/2010/12/05-release-eclipse-integration-kara
f.html
The EIK provides target platform definition for Karaf and let you start it
directly from your IDE.
Best regards,
Lukasz
-
I'm trying to use the Karaf console in an OSGi project rather than using the
eclipse console. The problem is when I run it, it starts up but terminate
immediately after.
It is an almost empty eclipse plugin project, with a target platform with
the following five bundles:
org.apache.aries.blueprin
Hi,
As mentioned in your log, you have a classloading issue :
Caused by: java.lang.ClassNotFoundException:
org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772)
reported by org.jboss.n
16 matches
Mail list logo