t0xa / gelfj

Graylog Extended Log Format (GELF) implementation in Java and log4j appender without any dependencies.
https://github.com/t0xa/gelfj/wiki
Other
187 stars 115 forks source link

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

Open JamesUoM opened 7 years ago

JamesUoM commented 7 years ago

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.

splatch commented 6 years ago

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.

JamesUoM commented 2 years ago

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.