Commit Graph
177 Commits
Author SHA1 Message Date
Si Chen e833224f24 OFBIZ-1594 ability of dispatcher to disable SECAs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@614949 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 18:08:45 +00:00
David E. Jones 5b83a1eb8b Improvement to error message to better describe what is happening when this value isn't found
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@610472 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 17:28:02 +00:00
Andrew Zeneski 0d8ed37403 fix to the synchronization of threads being removed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605371 13f79535-47bb-0310-9956-ffa450edef68
2007-12-19 00:37:28 +00:00
Andrew Zeneski 81dbc56019 added initial status when using the schedule() method; changed wait() to sleep() in invoker
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605290 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 18:46:02 +00:00
Andrew Zeneski a0ffc4e42b added new service to reset scheduled jobs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605258 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 17:12:58 +00:00
Jacques Le Roux c264e55817 A patch from Eriks Dobelis "WSDL returns error if datatype of parameter is Long or Timestamp" (https://issues.apache.org/jira/browse/OFBIZ-1263) - OFBIZ-1263 where string is used for Timestamp for simplicity reasons.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605075 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 04:07:06 +00:00
David E. Jones c41422d5f0 Added comments and an if to protect a call to remove just in case this method is used in the future in anything other than the JobInvoker.run method
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601382 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 16:01:51 +00:00
David E. Jones 0c171dd783 This is a fix for the lock wait timeout problem that was happening for large sets of orders and other high volume operations, and long-lived operations with lots of asynchronous service calls; this includes some diagnostic code to show the status of transactions in other threads when a lock wait timeout error is detected; the main fix here is a big cleanup of the concurrency handling in the JobManager and JobPoller objects, including the use of sleep instead of wait for more strict and consistent sync locking, and the use of different objects for locking different parts of that class since some are meant to be used by various other threads (like the queueNow and next methods) and others are only for the poller thread, like the run method; this also includes certain other small cleanups and improvements, like using FastList/FastMap more
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600164 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 16:50:00 +00:00
Jacques Le Roux 76d9f6bfc2 A patch from Adrian Crum "Improved UtilDateTime.java, Framework Default TimeZone Suppor, with getMonthNames also" (https://issues.apache.org/jira/browse/OFBIZ-1377) - OFBIZ-1377
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594088 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 11:50:09 +00:00
David E. Jones 17d28a89cf Applied patch from Adrian Crum in Jira #OFBIZ-1245, fixes some inconsistencies in previous handling of failure and error messages, a handling of failure and error messages and cleanes up some things related to the recent result-to-result changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@591241 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 06:42:53 +00:00
Andrew Zeneski 69b57d8123 reverted last change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590266 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 18:51:27 +00:00
Andrew Zeneski fef329eeaf added code to display inventory across all facilities as well as the inventory associated with just the facility from the store
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590265 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 18:47:51 +00:00
David E. Jones 2597f80af3 Based on feedback from Adrian changed to merge error messages instead of overwriting them; part of OFBIZ-1237
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589977 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 07:19:17 +00:00
David E. Jones 202d5c420d Fixed issue with new Blob on the entity level and ByteBuffer on the service level stuff related to persisting actual bytes in the db related to persisting actual bytes in the db instead of an object wrapper; also some improvements to the null value and entity, etc; the main issue here was reported by guo weizhan
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589517 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 06:35:19 +00:00
Scott Gray 6b6d7e6c78 Fixed problem with creating RecurrenceRules, reported by William Perng OFBIZ-1368
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588783 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 21:49:05 +00:00
Adam Heath 759fc3cd6c Undo revision 586470; I missed a spot in checkAuth that changed
the context, after a call to makeValid.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586938 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 19:13:06 +00:00
Adam Heath 9aed331614 Remove 2-arg vararg variants; beanshell doesn't handle overridden
methods correctly.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586924 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 18:18:11 +00:00
Adam Heath af0d38ddbc Turn on unchecked warnings.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586857 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 04:09:55 +00:00
Adam Heath f1a750a4ce The last of the java 1.5 markup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586856 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 04:08:17 +00:00
Adam Heath 65fee88f24 All error message lists and maps are now make use of java 1.5
features.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586855 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 04:06:00 +00:00
Adam Heath 77b1dae239 Another set of internal java 1.5 markup changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586854 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 04:04:22 +00:00
Adam Heath b12475b471 java 1.5 markup for internal code/methods/fields.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586853 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 04:02:48 +00:00
Adam Heath 2c038c9407 Another set of java 1.5 changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586852 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 04:00:41 +00:00
Adam Heath 8223e66e22 getLocalServiceMap/getGlobalServiceMap are generified, so modify the
internal callers to take advantage of that.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586851 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 03:57:48 +00:00
Adam Heath 6800519f7e ServiceDispatcher.runLog now has generics markup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586850 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 03:55:49 +00:00
Adam Heath ef4d4cde1b Don't instantiate new java.lang.Number instances.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586849 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 03:53:56 +00:00
Adam Heath f107f75aed All things delegator/entity are now generified.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586848 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 03:52:32 +00:00
Adam Heath 9b0735ce53 Use ComponentConfig generics.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586847 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 03:50:49 +00:00
Adam Heath cc9d9de222 Made UtilXml generics usage.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586845 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 03:41:47 +00:00
Adam Heath 9342c80521 The internal serviceInvoker methods were returning map in all cases.
So, change the return type to match.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586839 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 03:11:39 +00:00
Adam Heath a751352f92 Don't use string addition.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586835 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 03:08:06 +00:00
Jacques Le Roux ae76370a04 Replace all www.ofbiz.org by ofbiz.apache.org (mostly links to dtds). Note that there are 2 void links :
http://ofbiz.apache.org/service/
http://ofbiz.apache.org/cgi-bin/http_test.pl

Those links were useless before also

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586802 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 21:17:45 +00:00
Adam Heath 8a1a1ecb52 allowCallbacks() was generified too early.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586660 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 03:34:50 +00:00
Adam Heath 6299562937 Fix up another call to ModelServiceReader.getModelServiceMap so that
it uses generics.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586590 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 19:45:08 +00:00
Adam Heath 8ce0dfc0ee Add generics markup to code that deals with UtilCache directly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586479 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:27:45 +00:00
Adam Heath aedfa46991 loadClass calls now have generics markup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586478 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:26:16 +00:00
Adam Heath d8a8d6a922 Use generics markup from entity engine.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586477 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:24:56 +00:00
Adam Heath ffeda205f6 Java 1.5 markup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586475 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:23:50 +00:00
Adam Heath a20d5e5b5c Make use of UtilXml's generics markup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586473 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:22:10 +00:00
Adam Heath 4c9f4fc83b No longer return anything from checkAuth; instead, just modify the
passed in context.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586470 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:20:44 +00:00
Adam Heath 04a2050667 Don't use a single sendCallbacks method, with different value
arguments; it's not type-safe.  Instead, use 3 variants.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586468 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:18:53 +00:00
Adam Heath 04ed802604 Start of java 1.5 markup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586467 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:17:07 +00:00
Adam Heath 90dc49d692 Collapse the nested collections in getServiceEventRules.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586464 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:12:06 +00:00
Adam Heath c6fc1e414e Append msg to the buffer in getMessage; got lost.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585878 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 06:01:03 +00:00
Adam Heath 37abcb458f Add varargs variants to framework/service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585857 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:14:01 +00:00
Adam Heath a87922cae1 Add helper method for checking/making service context maps.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585856 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:12:44 +00:00
Adam Heath f67fa00c43 Remove most uses of LinkedMap, and replace with LinkedHashMap.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585854 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:11:26 +00:00
Adam Heath 71b996b591 Switch from HashMap to FastMap.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585852 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:09:50 +00:00
Adam Heath f86b842da5 Use the varargs variants in the delegator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585851 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:08:11 +00:00
Adam Heath 2b638d4802 Use varargs for reflection access.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585850 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:06:43 +00:00