Skip to main content

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

Those values arrive via the jsp servlet configuration.
That's just a webdefault.xml file found configured in the WebAppContext.setDefaultsDescriptor()

Example of the webdefault.xml ..

Joakim Erdfelt / joakim@xxxxxxxxxxx

On Fri, Nov 13, 2015 at 9:47 AM, Jonathan Cook <jonathan.cook@xxxxxxxxxxxxxx> wrote:

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 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.

jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top