Suppressing - in method names which are causing XSD validation to fail

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369948 13f79535-47bb-0310-9956-ffa450edef68
js issue causes error when invalid dates are entered (https://issues.apache.org/jira/browse/OFBIZ-4982). A patch from Christoph Neuroth: Reproduce: Enter "123" in a DateField. This will trigger a JS exception and the invalid value will be sent to the server on form submission, probably causing server-side exceptions in badly written backend code, resulting in really bad error messages for the user.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1370123 13f79535-47bb-0310-9956-ffa450edef68
Eliminated/moved some classes in the Job Scheduler.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1370157 13f79535-47bb-0310-9956-ffa450edef68
Added a warning comment to ResourceLoader.java. DOM object trees should not be kept in memory because they are big. Keep in mind the entire XML document is in the DOM tree - including comments, license headers, etc.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1370162 13f79535-47bb-0310-9956-ffa450edef68
More work on the Job Scheduler:

1. Gave the job queue a fixed size so the job poller can't create an out-of-memory condition.
2. Changed min/max thread settings to more conservative values.
3. Changed JobSandbox polling code to accept a limit argument to control the number of records retrieved. Also used ELI to limit memory use.
4. Improved JobManager reloadCrashedJobs method to recover queued jobs that were being missed previously.

At this stage the Job Scheduler has been fixed to not crash/saturate the server, but it can still lose jobs. That will be fixed in the next commit.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1370437 13f79535-47bb-0310-9956-ffa450edef68
Fixed the Job Scheduler so jobs are not lost during heavy server load.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1370566 13f79535-47bb-0310-9956-ffa450edef68
spelling error in r1369948

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1371044 13f79535-47bb-0310-9956-ffa450edef68
JobManager bug fix - ensure consistent return value in poll method. Also some log message cleanups.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1371119 13f79535-47bb-0310-9956-ffa450edef68
JobManager improvement: Have the JobManager handle purging old jobs - instead of the purgeOldJobs service. Old jobs will be purged when the job queue is idle.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1371140 13f79535-47bb-0310-9956-ffa450edef68
Oops, I forgot to wrap the purge find operation in a transaction.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1371163 13f79535-47bb-0310-9956-ffa450edef68
JobManager and PersistedServiceJob improvements - based on feedback from Scott.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1371593 13f79535-47bb-0310-9956-ffa450edef68
Removed unnecessary entity condition that I added earlier.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1371862 13f79535-47bb-0310-9956-ffa450edef68
Changed JobPoller shutdown behavior - stop threads immediately and dequeue queued jobs.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1371863 13f79535-47bb-0310-9956-ffa450edef68
Added Job Manager/Job Poller documentation to the service-config.xsd file. Hopefully this will help everyone understand the Job Scheduler behavior and what the settings do.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1372088 13f79535-47bb-0310-9956-ffa450edef68
Add the deQueue method to AbstractJob to solve a workflow build problem. Patch from Leon - https://issues.apache.org/jira/browse/OFBIZ-5007.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1372501 13f79535-47bb-0310-9956-ffa450edef68
Fix the .classpath file after recent Tomcat upgrade. Patch submitted by Leon - https://issues.apache.org/jira/browse/OFBIZ-5008.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1372509 13f79535-47bb-0310-9956-ffa450edef68
Updated ofbiz-properties.xsd.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1372510 13f79535-47bb-0310-9956-ffa450edef68
Updated JavaDocs project title.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1372511 13f79535-47bb-0310-9956-ffa450edef68
Small GenericEntity optimization - remove instanceof checks in getXxx methods.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1372738 13f79535-47bb-0310-9956-ffa450edef68
Update jQuery to Version 1.8 and jQuery UI to Version 1.8.22

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1372751 13f79535-47bb-0310-9956-ffa450edef68