Per the servlet specification, the web.xml file should allow an optional <distributable/> node to indicate that the application is clusterable. Currently, OFBiz does not respect this setting and assumes all applications should be distributed if any cluster configuration is provided in the ofbiz-containers.xml file. As a result, if, for example, the DeltaManager is enable, all applications attempt to cluster and communicate via DeltaManager.
The expected and proper functionality is to check the individual application's web.xml file for the <distributable/> node and only use the DeltaManager if found; otherwise the StandardManager should be used for sessions.
jleroux: replaced some tabs, reformatted, added a comment about <distributable/> in the *-containers.file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326064 13f79535-47bb-0310-9956-ffa450edef68
In order to use these engine and event rather than the one that uses JSR223:
* for services (service definition): set the engine to "groovy" rather than "script"
* for events (event element in the controller): set the event type to "groovy" rather than "script"
The main advantage of using them is that it is possible to attach a debugger to the Groovy methods.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1325253 13f79535-47bb-0310-9956-ffa450edef68
If someone wants to change the admin password or port, he would have to change currently many files (-- build.xml, various .bat and .sh --). In order to avoid this error-prone pratice, I suggest to centralize the definition of the admin kay and port at 2 single points: the framework/start/src/org/ofbiz/base/start/start.properties and the
framework/start/src/org/ofbiz/base/start/jetty.properties
jleroux: in config.java I also changed
String adminPortStr = getProp(props, "ofbiz.admin.port", "0");
adminKey = getProp(props, "ofbiz.admin.key", "NA");
to
String adminPortStr = getProp(props, "ofbiz.admin.port", "10523");
adminKey = getProp(props, "ofbiz.admin.key", "so3du5kasd5dn");
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1324989 13f79535-47bb-0310-9956-ffa450edef68
At this time the alt-target element value is only parse on bsh interpreter. To resynchronise with the rest of framework, convert with a flexibleStringRenderer.
jleroux: re-adding after reverting r1311082
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1311109 13f79535-47bb-0310-9956-ffa450edef68
At this time the alt-target element value is only parse on bsh interpreter. To resynchronise with the rest of framework, convert with a flexibleStringRenderer.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1311082 13f79535-47bb-0310-9956-ffa450edef68
I finally kept also the previous way because it allow an easier 18n of at the email subject.
Still the same concern: OOTB, if the user has not set a SMPT server in general.properties for the defaultFromEmailAddress the message "A new password has been created and sent to you. Please check your Email." when actually nothing happens. But that's anyway user's responsibility
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1310716 13f79535-47bb-0310-9956-ffa450edef68
Fixes a minor issue regarding the pending request count for ajax auto-completer: pending count is used to add and remove the ui-autocomplete-loading class. If we are aborting the request then this count is not updated properly and ui-autocomplete-loading class does not remove from the lookup element hence ajax loader image display continuously if response came.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1310266 13f79535-47bb-0310-9956-ffa450edef68
Currently auto-completer uses sync call to prepare auto-completer source (result list).
Due to this user can't perform any other operation on lookup field and user should have to wait until response came.
In general, synchronous requests should never be used because they tend to block the execution of anything else on the page (or even the entire browser UI), which isn't good.
Also ajax-loader image not display on google chrome browser due to sync request.
Need to use async request for auto-completer.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1308751 13f79535-47bb-0310-9956-ffa450edef68
Renamed some ant tasks for consistency, improved descriptions, removed 2 redundant tasks
Summary of changes:
improved descriptions (unified style)
renamed: run --> start
renamed: run-batch --> start-batch
renamed: run-debug --> start-debug
renamed: run-pos --> start-pos
renamed: run-install --> load-demo
renamed: run-install-multitenant --> load-demo-multitenant
renamed: run-install-* targets -> load* (for example: run-install-seed --> load-seed etc...)
enhanced load-file (was run-install-file) to accept an optional 'delegator' argument and removed run-install-file-in-delegator and run-tenant-install-file
renamed: run-create-tenant --> create-tenant
renamed: run-single-test --> run-test
renamed: run-single-test-suite --> run-test-suite
the main old tasks (mentioned in documentation etc.) have been kept and now inform the user of the new syntax
updated README and main screen of Webtools with the new task name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1308370 13f79535-47bb-0310-9956-ffa450edef68