History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QUARTZ-62
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: James House
Reporter: Liviu Coman
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Quartz Scheduler

QuartzInitializerServlet

Created: 06/Sep/04 10:08 AM   Updated: 23/Nov/04 11:52 AM
Component/s: Web Application
Affects Version/s: 1.4.2
Fix Version/s: 1.4.3

Environment: Windows 2k JSDK 1.4.2 Eclipse 3 Tomcat 5.0.19


 Description  « Hide
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

 All   Comments   Change History      Sort Order:
James House - [23/Nov/04 11:52 AM ]
thanks.