Hi all,
i'm trying to get eclipse smarthome running with concierge. I got this working very easy by including all required osgi bundles and i was fascinated about the start-up time. Really cool. But now i'm trying to setup a maven build to automatically create a distribution package. I'm using plain maven dependencies, which means a lot of JARs from e.g maven central are not OSGi-fied.
Very often i got this exception:
Concierge> Exception in thread "main" org.osgi.framework.BundleException: Bundle with same symbolic name and same version is already installed
at org.eclipse.concierge.Concierge.checkForCollision(Concierge.java:3743)
at org.eclipse.concierge.BundleImpl.<init>(BundleImpl.java:231)
at org.eclipse.concierge.Concierge.installNewBundle(Concierge.java:4003)
at org.eclipse.concierge.Concierge.installNewBundle(Concierge.java:3966)
at org.eclipse.concierge.Concierge$BundleContextImpl.installBundle(Concierge.java:4587)
at org.eclipse.concierge.compat.service.XargsFileLauncher.processXargsInputStream(XargsFileLauncher.java:166)
at org.eclipse.concierge.compat.service.XargsFileLauncher.processXargsFile(XargsFileLauncher.java:70)
at org.eclipse.concierge.Concierge.doMain(Concierge.java:606)
at org.eclipse.concierge.Concierge.main(Concierge.java:525)
I realized that many jars does not have a manifest. So, this question occurred to me:
- What is the bundle symbolic name / and version of a jar without a manifest?
I think you can reproduce this exception this way:
- download commons-collection from maven central
- download commons-logging from maven central
- Try to start this bundles with concierge
Thanks. Kind regards
Chris
--
Christoph SchauerSenior Softwareingenieur
QAware GmbH
Aschauer Str. 32
81549 München, Germany
Tel +49 89 232315-154
Fax +49 89 232315-129
christoph.schauer@xxxxxxxxx
www.qaware.de
Geschäftsführer: Christian Kamm, Bernd Schlüter, Johannes Weigend, Dr. Josef Adersberger
Registergericht: München
Handelsregisternummer: HRB 163761