New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server startup error when using collector_expiration_threshold config option #1194

bernd opened this Issue May 29, 2015 · 0 comments


None yet
1 participant

bernd commented May 29, 2015


When starting graylog with the following function enabled it fails on bootup.

collector_expiration_threshold = 14d (or 20d or 30d)

Fail message:

Exception in thread "main" java.lang.ClassCastException: com.github.joschi.jadconfig.util.Duration cannot be cast to java.lang.Integer
        at com.github.joschi.jadconfig.validators.PositiveIntegerValidator.validate(
        at com.github.joschi.jadconfig.JadConfig.validateParameter(
        at com.github.joschi.jadconfig.JadConfig.processClassFields(
        at com.github.joschi.jadconfig.JadConfig.process(
        at org.graylog2.bootstrap.CmdLineTool.readConfiguration(
        at org.graylog2.bootstrap.Main.main(

Centos 6.6 and either with java 1.7 or 1.8

@bernd bernd added the bug label May 29, 2015

@bernd bernd self-assigned this May 29, 2015

@bernd bernd added this to the 1.1.0 milestone May 29, 2015

@bernd bernd closed this in 3cde0f0 May 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment