question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does not work in OSGi enviroionment

See original GitHub issue

It would be nice if it worked in OSGi, if the JAR had the right manifest etc.

For example in your jar, your META-INF/MANIFEST.MF looks like the following which is not enough for OSGi:

Manifest-Version: 1.0
Built-By: integer
Created-By: Apache Maven 3.3.9
Build-Jdk: 1.8.0_112

This has the consequence that I cannot use camel-docker component in Apache Karaf.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
KostyaShacommented, Mar 28, 2017

So is this PR correct and everuthing is ok https://github.com/docker-java/docker-java/pull/797 ?

1reaction
orzehcommented, Mar 13, 2017

@PhilAndrew you are right, I’ve changed my PR and now it exports com.github.dockerjava.core and subpackages.

Thanks for testing on Karaf and Felix!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unraveling Java and OSGi class loader problems
Learn how to address common Java and OSGi class loader problems in CICS OSGi and Liberty JVM servers.
Read more >
Jersey web app in Karaf OSGI environment does not work
The root problem is that the javax.ws bundle's classloader does not find the org.glassfish.jersey.server.internal.RuntimeDelegateImpl in the ...
Read more >
Description.getTestClass() does not work in OSGi environment
The method implementation tries to find a TestClass refectively via Class.forName(name). This does not work in an OSGi environment since JUnit will not...
Read more >
Commons logging does not work in an osgi environment
Commons logging does not work in an osgi environment ... Commons logging should provide Manifest information for using it as an OSGI bundle....
Read more >
OSGi - Wikipedia
OSGi is an open specification and open source project under the Eclipse Foundation. ... something that does not exist in standalone Java or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found