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:
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
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 rafael.mar...@neociclo.com wrote:
Hi,
When using the PropertiesLoginModule from a blueprint file in my
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
maybe I'm blind, but shouldn't this line:
Import-Package${accord.osgi.import}/Import-Package
look like:
Import-Package${accord.osgi.import.pkg}/Import-Package
kind regards,
andreas
On Tue, Dec 28, 2010 at 09:25:24AM -0200, Rafael Marins wrote:
Hi JB,
Thanks everybody for all replies.
Hi Andreas,
There is a
accord.osgi.import${accord.osgi.import.pkg}/accord.osgi.import... 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:
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
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]
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, ...).
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:
accord.osgi.import.additional
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 worked
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:install
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? How
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
14 matches
Mail list logo