each accessor method. This fixes a memory leak, and allows for the
included file to be cleared from the cache and reread, without having to
clear all files that included it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904252 13f79535-47bb-0310-9956-ffa450edef68
from the servlet container started being a jndi:// form; so, when
include processing was introduced, the urls wouldn't match up. Instead,
implement a temporary hack to convert the servlet path to a file, so
that the urls will be normalized.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903799 13f79535-47bb-0310-9956-ffa450edef68
This add synchronization for ServerHit entities creation. Hence startTime is no longer used.
I have also removed some comment about the problem, and added one for startTime no longer used.
Note: If synchronization proves to slow down sites we could introduce a properties in serverstats.properties to switch from using it or not since I did not remove startTime from the method signature
Then we will use one or the other lines
- serverHit.set("hitStartDateTime", new java.sql.Timestamp(startTime));
+ serverHit.set("hitStartDateTime", getNowTimestamp());
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887916 13f79535-47bb-0310-9956-ffa450edef68
This is the first step to making utilCacheTable concurrent, and
non-blocking. To do so, the constructor has to have no side-effects.
This means it can't modify utilCacheTable itself; this will be moved to
the helper function created above.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883217 13f79535-47bb-0310-9956-ffa450edef68
2. change order building birt component to after common component in framework/build.xml file
3. specific birt container before beanshell container in framework/base/config/ofbiz-containers.xml file
4. specific loading birt component after bi component in framework/component-load.xml
5. list all birt's jar files that have Eclipse Public License - v 1.0 in LICENSE file
6. change example report's path in mail form's tooltip.
7. delete four duplicated jar files.
- framework/birt/lib/axis.jar
- framework/birt/lib/commons-discovery-0.2.jar
- framework/birt/lib/axis-ant.jar
- framework/birt/lib/commons-cli-1.0.jar
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833294 13f79535-47bb-0310-9956-ffa450edef68
Patrick : The goal of this improvement is to allow at the view level, through setup in the controller.xml file, to generate no-cache http headers. Example is included for the showcart view of the ecommerce application.
JLR : I have commented out Patrick's example in controller and put a comment about its usage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833096 13f79535-47bb-0310-9956-ffa450edef68
A Null Pointer Exception is generated by RequestHandler.trackVIsit and trackStat if a page is called without view and without trailing slash after the controller.
This may be not a problem for non cms site, but it is for cms site. Calling http://localhost:8080/cmssite/cms will generate a NPE; WIth the included pacth, calling the same page will display the default page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@830366 13f79535-47bb-0310-9956-ffa450edef68
"view-last-noparam" has functionality of view-last but without last parameters like "request-redirect-noparam".
I' m using this attribute because in my application all the screens are linked to a field in the context. that I call "commonValue". I have a link in the common header that change the value of this field but when I click this link the screen must not change but the field of current screen must be cleaned. By this attribute the view is set at " last-view" but the last parameters are cleaned.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829727 13f79535-47bb-0310-9956-ffa450edef68
This commit requires ant clean. Also, external libraries that reference GenericDelegator will need to be updated.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821643 13f79535-47bb-0310-9956-ffa450edef68