Hi,
I'm experiencing a problem with deploying a bundle into Karaf 2.1.2 by copying
it into the <karaf_home>/deploy folder.
Basically I copy three bundles: commons-cli-1.2.jar, groovy-all-1.7.5.jar and
easyb-0.9.8.jar
I turned the default log level of karaf to debug, but I don't see any hints
about why it fails.
In the logs I see that commons-cli-1.2.jar & groovy-all-1.7.5.jar are
installed and started successfully:
12:34:20,897 | DEBUG | Event Dispatcher | cli | ?
? | 32 - org.apache.commons.cli - 1.2 |
BundleEvent INSTALLED
12:34:20,899 | DEBUG | Event Dispatcher | cli | ?
? | 32 - org.apache.commons.cli - 1.2 |
BundleEvent RESOLVED
12:34:20,900 | DEBUG | raf-2.1.2/deploy | BlueprintExtender |
rint.container.BlueprintExtender 210 | 7 - org.apache.aries.blueprint -
0.2.0.incubating | Scanning bundle org.apache.commons.cli for blueprint
application
12:34:20,900 | DEBUG | raf-2.1.2/deploy | BlueprintExtender |
rint.container.BlueprintExtender 276 | 7 - org.apache.aries.blueprint -
0.2.0.incubating | No blueprint application found in bundle
org.apache.commons.cli
12:34:20,900 | DEBUG | Event Dispatcher | cli | ?
? | 32 - org.apache.commons.cli - 1.2 |
BundleEvent STARTED
12:34:31,155 | DEBUG | Event Dispatcher | groovy-all | ?
? | 33 - groovy-all - 1.7.5 | BundleEvent
INSTALLED
12:34:31,189 | DEBUG | Event Dispatcher | groovy-all | ?
? | 33 - groovy-all - 1.7.5 | BundleEvent
RESOLVED
12:34:31,208 | DEBUG | raf-2.1.2/deploy | BlueprintExtender |
rint.container.BlueprintExtender 210 | 7 - org.apache.aries.blueprint -
0.2.0.incubating | Scanning bundle groovy-all for blueprint application
12:34:31,214 | DEBUG | raf-2.1.2/deploy | BlueprintExtender |
rint.container.BlueprintExtender 276 | 7 - org.apache.aries.blueprint -
0.2.0.incubating | No blueprint application found in bundle groovy-all
12:34:31,214 | DEBUG | Event Dispatcher | groovy-all | ?
? | 33 - groovy-all - 1.7.5 | BundleEvent
STARTED
However, there is nothing for the third bundle easyb-0.9.8.jar
Note that this really is a bundle and it is possible to explicitly install it
using:
osgi:install file:/tmp/jki/apache-karaf-2.1.2/deploy/easyb-0.9.8.jar
Also starting it with its then assigned bundle id and using it works fine.
Somehow it seems like it is ignored by the process that watches the
<karaf_home>/deploy folder :-(
Any ideas what the problem is or how I can figure out the root cause.
Cheers
Juergen
--
Jürgen Kindler