Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Warning messages always generated for initParam(s)

Hi,

I'm using an embedded instance of Jetty Server with version 9.2.12 and recently upgraded from an old version 6. Everything seems to be behaving as expected but I see some warnings when starting the server:

WARNING: Warning: Invalid value for the initParam keepgenerated. Will use the default value of "false"
WARNING: Warning: Invalid value for the initParam fork. Will use the default value of "true"

These can eventually be traced down to the class EmbeddedServletOptions.java and the getBoolean method. But what is most puzzling is that this method implies that the values have some value other than null, true or false. If I set the init parameter values explicitly it makes no difference and if I print out the contents of the params before the server starts it either gives me the values I have specified (when set) or null (when not set) which somehow must be lost or ignored later in the chain.

How can I make these warnings go away and ensure the parameters are either set or not set.

Thank you for any help.
Jonathan


Back to the top