gelfj icon indicating copy to clipboard operation
gelfj copied to clipboard

1.1.15 causes "Invalid Bundle-ManfestVersion 1" in Karaf 4

Open JamesUoM opened this issue 8 years ago • 2 comments

Using 1.1.15 from maven central repo and trying to install in it into a karaf 4 application results in the error:

Unsupported 'Bundle-ManifestVersion' value: 1

A quick peek at the manifest and it appears a lot of information is missing compared to 1.1.14 including the Bundle-ManifestVersion.

JamesUoM avatar May 25 '17 10:05 JamesUoM

This is due basic thing - 1.1.15 release is not an osgi bundle. You need to wrap it on your own or simply use wrap: prefix.

splatch avatar Jan 31 '18 18:01 splatch

The annoying issue is, that to get gelf debugging from startup it appears that the bundle need to be added to karafs startup.properties (works with 1.1.14) - unfortunately karaf requires bundles only and wrap can't be used at this point in the boot sequence.

We have updated graylog and now seeing the warnings due to timestamp being a string in 1.1.14.

JamesUoM avatar Jan 10 '22 14:01 JamesUoM