Use purposeFromDate instead of formDate.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626797 13f79535-47bb-0310-9956-ffa450edef68
We agreed with Jacopo that the framework/base/cert directory is more misleading than helping. So this removes it.
I though keep the slightly expurgated README file for the sake of certificates creation history. I move it to framework/base

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626874 13f79535-47bb-0310-9956-ffa450edef68
As suggested by Jacopo on dev ML moves the README file related to SSL certificate from  framework/base/README to framework/base/config/README

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626881 13f79535-47bb-0310-9956-ffa450edef68
Removed some code that was not used by the CatalinaContainer.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626971 13f79535-47bb-0310-9956-ffa450edef68
Removed a bunch of never used classes from the base/concurrent package.
Provided better settings for the thread pools to avoid to keep alive threads that are only needed at startup.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626977 13f79535-47bb-0310-9956-ffa450edef68
Small code enhancement: use FixedThreadPool to run the "pulse" worker threads.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626993 13f79535-47bb-0310-9956-ffa450edef68
Removed an old an unused class.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627001 13f79535-47bb-0310-9956-ffa450edef68
Moved the thread pool executor object from GenericDAO to the DatabaseUtil class where it was actually used: this change simplifies the API and allows to shutdown the pool when it is no more needed.
Removed a series of methods that are no more needed after this refactoring or were not used.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627092 13f79535-47bb-0310-9956-ffa450edef68
A patch from Leon for "HttpClient does not support charset name with quotation mark around" https://issues.apache.org/jira/browse/OFBIZ-5787

In RFC2045 (Section 5.1) there is:
"Content-type: text/plain; charset=us-ascii (Plain text)
Content-type: text/plain; charset="us-ascii"
are completely equivalent".

In current revision, if the 'Content-Type' of http response includes the quotation mark around the charset name, HttpClient throws out unsupported encoding exception.

This patch removes quotation marks from charset name extracted from http response header.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627230 13f79535-47bb-0310-9956-ffa450edef68
Based on review and comments from Adrian Crum, re-added the max-worker-pool-size element (that was removed as part of the changes in commit 1627092) but with a new implementation that preserves all the cleanups done in rev. 1627092.
This new implementation should be slightly more flexible but with default setup will end up with the same behavior as before 1627092.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627489 13f79535-47bb-0310-9956-ffa450edef68
Use the default value of the Tomcat connectors for the enableLookups parameter: this is false by default.
From Tomcat connector configurator documentation:
enableLookups
Set to true if you want calls to request.getRemoteHost() to perform DNS lookups in order to return the actual host name of the remote client. Set to false to skip the DNS lookup and return the IP address in String form instead (thereby improving performance). By default, DNS lookups are disabled.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627490 13f79535-47bb-0310-9956-ffa450edef68
JUnit test to prove that field-to-result doesn't work properly when result-name contains the a ${} field.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627718 13f79535-47bb-0310-9956-ffa450edef68
The support for dynamic result names in field-to-result:
<field-to-result field="value" result-name="${key}"/>
is no more supported: converted minilang code that was still using this syntax and was broken by the refactoring.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627763 13f79535-47bb-0310-9956-ffa450edef68
Some simplifications to the code introduced with my last commit: this will also simplify the backporting to release branches.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627776 13f79535-47bb-0310-9956-ffa450edef68
The "authz" code was removed long ago in rev. 1360283


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627812 13f79535-47bb-0310-9956-ffa450edef68
Because of the "negate" attribute the entity-test.jar used to contain all the non-test classes (already in entity.jar).
This fix should be the right way to go but please review this commit because the syntax of these custom ant tasks is rather cryptic to me.
 


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

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627929 13f79535-47bb-0310-9956-ffa450edef68
OFBIZ-4053 Implement an entity query builder to be used as a friendlier API for executing entity queries.

Entry point is the static EntityQuery.use(Delegator) method which will then return an EntityQuery instance whose methods support method chaining to set query options.
The query can then be executed using the first(), list(), iterator() and one() methods which respectively return:
- The first result from a result set
- The full list of results from a result set
- An EntityListIterator to iterate over a result set
- The single record from a query that will return only one record (such as a lookup by primary key)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627940 13f79535-47bb-0310-9956-ffa450edef68
First commit, start to remove unneeded space finally remove FastMap and FastList present on CommunicationEventServices.java

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1628004 13f79535-47bb-0310-9956-ffa450edef68
[OFBIZ-3719] Reverting DOCTYPE hardcoding from cmsevents. Giving control back to the template.

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