
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Windows 2k JSDK 1.4.2 Eclipse 3 Tomcat 5.0.19
|
|
|
QuartzInitializerServlet use a init-param 'shutdown-on-unload' but when the servlet tries to convert this value to a boolean use the following instruction:
if(shutdownPref != null)
performShutdown = Boolean.getBoolean(shutdownPref);
which is bad because this tries to find if in System Properties a property with the name 'shutdown-on-unload' exists.
To solve this problem use the following:
if(shutdownPref != null)
performShutdown = Boolean.valueOf(shutdownPref).booleanValue();
Cheers,
Liviu
|
|
Description
|
QuartzInitializerServlet use a init-param 'shutdown-on-unload' but when the servlet tries to convert this value to a boolean use the following instruction:
if(shutdownPref != null)
performShutdown = Boolean.getBoolean(shutdownPref);
which is bad because this tries to find if in System Properties a property with the name 'shutdown-on-unload' exists.
To solve this problem use the following:
if(shutdownPref != null)
performShutdown = Boolean.valueOf(shutdownPref).booleanValue();
Cheers,
Liviu |
Show » |
|