Commit Graph
188 Commits
Author SHA1 Message Date
David E. Jones 8da94ddff4 Changed to use FlexibleLocation so that for url resource loaders in component config files you can use the component:// style url for resources in components
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576796 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 09:24:19 +00:00
Scott Gray a1b604adf6 Changed all occurances of new BigDecimal("0") to BigDecimal.ZERO and likewise for BigDecimal.ONE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576773 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 08:30:58 +00:00
Alfred Maxwell Byers eb03dea061 RenderTemplate was not working for .ftl files that are used as templates in CMS.
The "templateLocation" value in those cases is something like "DATARESOURCE:<id>"
and that causes makeReader(...) to fail.

renderTemplateFromString(...) still checks to see if a cached template exists, but
if it doesn't and since it has the template string, it builds the template from the
"templateString" and puts it in cashe.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576766 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 08:07:29 +00:00
Andrew Zeneski d327438d57 implemented junit xml formatted output to test cases; new options -results=filename default file outputs to runtime/logs/test-junit.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576686 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 04:27:14 +00:00
David E. Jones ad308bf854 Small validation improvement
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@575853 13f79535-47bb-0310-9956-ffa450edef68
2007-09-15 02:07:03 +00:00
Jacopo Cappellato fc8336c7a7 Updated log4j jar to latest release: this fixes the annoying NPE at startup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@575675 13f79535-47bb-0310-9956-ffa450edef68
2007-09-14 13:37:24 +00:00
Andrew Zeneski 2b36eb82b6 upgraded javolution
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574482 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 06:24:52 +00:00
David E. Jones e6389beca1 Added handy method for doing a wait in a static method and without making the whole thing synchronized
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573814 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 10:34:54 +00:00
David E. Jones fb4a0080b3 Fixed bugs in recently refactored FreeMarkerWorker: a Reader was always being created even if the template was cached, also the reader was never closed which means files stayed open until the garbage collector cleaned up these objects which on busy production systems could lead to many thousands of open files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573442 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 04:01:25 +00:00
David E. Jones 5d26a3e817 Finally adding stuff for Sets like the Map and List stuff
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572841 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 23:39:48 +00:00
David E. Jones 6d1e9778c8 After more testing it looks like I was wrong about this, changing back to use getWriter instead of getOutputStream for Tomcat
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570857 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 16:31:33 +00:00
David E. Jones c7bfe4beb7 Added little method like the addToDoubleInMap to do addToListInMap
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569749 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 01:01:58 +00:00
Jacques Le Roux e2e25b0599 From Adrian argument, I decided to remove the FtlTransform.java file :
<<The FtlTransform.java file duplicates the old code in FreeMarkerWorker.java - therefore anyone wanting to use it can simply use FreeMarkerWorker.java instead.

The drawback to keeping it in the project is that someone may want to use it - which would be a bad thing because it duplicates the mistakes that were made in the old FreeMarkerWorker file, PLUS it keeps its own template cache - which introduces the possibility of having two copies of the same template cached.>>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567429 13f79535-47bb-0310-9956-ffa450edef68
2007-08-19 17:04:19 +00:00
Jacques Le Roux 9245703ffc A patch from Adrian Crum "Improved Time Zone Support, Part 2" (https://issues.apache.org/jira/browse/OFBIZ-1164)
Please see comments in Jira issue.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564957 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 18:40:45 +00:00
Jacques Le Roux 4bd9d881b9 A patch from Adrian Crum "FreeMarkerWorker.java flexibility" (https://issues.apache.org/jira/browse/OFBIZ-273)
Uses a sort of dependency injection


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564914 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 12:52:41 +00:00
Jacques Le Roux 49ca64b03d A patch from Adrian Crum "FreeMarkerWorker class has a bug in its caching logic" (https://issues.apache.org/jira/browse/OFBIZ-1170)
I applied the NewFreeMarkerWorker.patch. It's commited as CTR, I tested it one week without any problems.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564530 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 09:45:09 +00:00
Jacques Le Roux c6d1b428d2 A sequel from https://issues.apache.org/jira/browse/OFBIZ-1184 : REQUIRED_JDK was 1.4
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563105 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 11:06:14 +00:00
David E. Jones 1329c4be9c Chagned default maxFileSize; with the sizes of our log messages we need more for the detail in many situations; thinking also it might be nice to have this save multiple files and then link to the lot or something
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562990 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 23:53:52 +00:00
David E. Jones 531bccb119 Changed for what seems to be what Tomcat is using these days; hasn't been such a big deal because we don't use the region framework or other JSP heavy stuff, but was causing problems for error pages, etc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560485 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 04:08:47 +00:00
David E. Jones 13b9863844 Added a few verbose log messages to help with debugging; some crazy code in there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@559792 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 12:27:22 +00:00
Jacopo Cappellato ebee864c7c Updated path to reflect the new folder structure.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@559038 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 13:06:31 +00:00
Jacques Le Roux 174bcd8621 A patch from Shi Yusen "zh properties in progress" (https://issues.apache.org/jira/browse/OFBIZ-617)
The framework part was still waiting to be commited

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556459 13f79535-47bb-0310-9956-ffa450edef68
2007-07-15 21:40:04 +00:00
Si Chen 6588992d81 Null check for spider session removal code, to prevent crashes in cases you didn't set it up in url.properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556198 13f79535-47bb-0310-9956-ffa450edef68
2007-07-14 01:16:16 +00:00
David E. Jones 0faaad7157 Updated the SSL certificate file and made it a signed one using a testing signing authority done with openssl, and the files for it are in a new cert directory so others can look at it or use it to sign other test certs, or pass the cert to other servers to add to their trusted lists
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@554183 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 12:10:44 +00:00
David E. Jones 6e7543f378 Added some stuff for client authentication with HTTP Basic Auth, and doing so more easily (ie does the base64 encode and sets the request header, etc)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@553233 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 15:11:07 +00:00
David E. Jones b7feb3d18f Appled patch from Adrian Crum in Jira #OFBIZ-1117 to add some timeZone passing and retreival code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@553122 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 08:20:55 +00:00
David E. Jones 6f31121a2b Changed this to fix an NPE when the post() method with no arguments is called
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@551411 13f79535-47bb-0310-9956-ffa450edef68
2007-06-28 00:10:54 +00:00
Jacques Le Roux b67954e73a A patch from Dimitri Unruh "Remove sessionid for Googlebot & Co." (https://issues.apache.org/jira/browse/OFBIZ-857).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550673 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 03:56:42 +00:00
Andrew Zeneski 41bb3567be updated http client with additional settings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549635 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 22:26:44 +00:00
Jacopo Cappellato 399fab0d33 Applied patch by Adrian Crum to implement User Time Zone Selection Capability.
OFBIZ-1079


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@548646 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 08:08:53 +00:00
Andrew Zeneski 134213198a tomcat now starts with test containers for HTTP requests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@547522 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 04:32:20 +00:00
Jacques Le Roux ddf6027bda Some french labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545715 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 09:00:03 +00:00
Jacopo Cappellato f1d33d64a0 New date/time util methods that take into account TimeZones from Adrian Crum (based on an initial contribution from Vinay Agarwal): part of OFBIZ-2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545695 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 05:58:25 +00:00
Andrew Zeneski 156058dfd9 added toGMTTimestampString() method from Anil Patel
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545578 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 18:21:12 +00:00
Jacopo Cappellato 44f5f4d1dd Russian labels from Oleg Andreyev OFBIZ-1037
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545455 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 08:23:18 +00:00
Jacopo Cappellato a690d76407 Applied patch from Peter Goron to update jdbm to latest stable release: 1.0
OFBIZ-575


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545447 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 07:47:50 +00:00
Andrew Zeneski 083ebf6c81 implemented a trust any SSL client
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541695 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 15:48:09 +00:00
David E. Jones fd80b38061 Small change so this message is on the info level as it is mostly for developer info during testing and doesn't mean much in production
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541155 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 04:26:40 +00:00
David E. Jones 18ef0d30c3 A few changes to better handle errors and to log less information that isn't so critical by default, ie use more verbose instead of info; this is based on some production log reviews
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541022 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 18:47:11 +00:00
Andrew Zeneski 880973970b updated log4j configuration; disabled socket output by default (example still there); turned off blocking when the async buffer is full
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541008 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 18:19:42 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Andrew Zeneski 9c1cbc769a changed thread dump to only display during debugging (verboseOn())
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537929 13f79535-47bb-0310-9956-ffa450edef68
2007-05-14 18:14:29 +00:00
Hans Bakker 4475daa2e7 sorry, comitted the wrong version, changes in rev 537329 reverted
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537330 13f79535-47bb-0310-9956-ffa450edef68
2007-05-12 03:59:35 +00:00
Hans Bakker 690dcd3ecc run only update balances if party found in partyAcctgPreference
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537329 13f79535-47bb-0310-9956-ffa450edef68
2007-05-12 03:49:45 +00:00
Andrew Zeneski 2dac5ba175 added new notify level to log4j - calls directly into the SMTPAppender to notify (email) specific log messages; use Debug.logNotify() to call into this; only use this for very NEED TO KNOW problems
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537276 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 20:05:04 +00:00
Andrew Zeneski b7aee92c39 now dumps a thread list on shutdown
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537058 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 01:04:35 +00:00
Jacopo Cappellato 9f110c1968 removed old ant jars
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536778 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 08:34:08 +00:00
Jacopo Cappellato 5d6e9ea431 Updated ant to 1.7.0 and freemarker to 2.3.10.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536774 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 08:28:55 +00:00
David E. Jones 855b5162d4 Small change for default settings so that AJP has 200 threads and HTTP/HTTPS if used will have 100 each; these are of course just defaults and are meant to go with other defaults in the system and are generally changed in production
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536646 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 20:07:54 +00:00
Andrew Zeneski bf6396898c added socket logger (for Chainsaw)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536395 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 02:25:12 +00:00