David E. Jones
|
a21616fbca
|
Added mode to error message... it's REALLY annoying to not know in/out for parameter validation errors
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574451 13f79535-47bb-0310-9956-ffa450edef68
|
2007-09-11 05:06:28 +00:00 |
|
David E. Jones
|
20d6259e82
|
Added some tougher variations on the deadlock retry test case to make sure both threads succeed in the end; note that this appears to be failure for the non-retry thread so the retry code and/or the test cases need a little more work
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573973 13f79535-47bb-0310-9956-ffa450edef68
|
2007-09-09 09:39:13 +00:00 |
|
David E. Jones
|
3249854cee
|
A few refinements to the deadlock retry test case, but the main part of this is the actual implementation of the deadlock retry in the service engine, and the implementation of that makes the deadlock test case pass now; this is a bit of rework in some low level code so this needs some good testing beyond the few general tests already done
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573956 13f79535-47bb-0310-9956-ffa450edef68
|
2007-09-09 08:13:25 +00:00 |
|
David E. Jones
|
afefce6020
|
These failure cases are now running properly, though for the first lock wait timeout I still don't like the error results because it is hard to identify for retry purposes; whatever the case, here they are; NOTE these WILL all fail right now and that is expected, these are in anticipation of new Service Engine features to automatically recover from these errors
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573813 13f79535-47bb-0310-9956-ffa450edef68
|
2007-09-08 10:32:18 +00:00 |
|
David E. Jones
|
fc67258517
|
Redid transaction management for poller; noticed that this is using a dangerous pattern so changed to use the one more common and help catch some corner cases, and make SURE the transaction gets closed; based on observation in a production server that this code appears to have locked a bunch of stuff and then the commit never happened, so the poller was dead until that went away
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573800 13f79535-47bb-0310-9956-ffa450edef68
|
2007-09-08 08:25:19 +00:00 |
|
David E. Jones
|
3ad47cf2b7
|
Added sequence-bank-size for certain higher traffic entities
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573786 13f79535-47bb-0310-9956-ffa450edef68
|
2007-09-08 05:33:55 +00:00 |
|
Andrew Zeneski
|
c2c2de5580
|
dispatcher was ignore the results of pre-auth and pre-in-validate eca responses
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573300 13f79535-47bb-0310-9956-ffa450edef68
|
2007-09-06 15:35:35 +00:00 |
|
David E. Jones
|
1d6d5edea5
|
Refactor of service def attribute default-value stuff, fixes the corner case found in OFBIZ-1226; was able to get through test case that previously erred out
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573140 13f79535-47bb-0310-9956-ffa450edef68
|
2007-09-06 03:25:29 +00:00 |
|
David E. Jones
|
e3feec113a
|
Fixed issue reported by Si in #OFBIZ-1226, and added comment to services.xsd to explain how this is used; BTW, the commit that caused this problem broke rule #1 of first do no harm, that broke existing functionality to add something new that didn't work either
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573126 13f79535-47bb-0310-9956-ffa450edef68
|
2007-09-06 00:47:47 +00:00 |
|
David E. Jones
|
c5e71667f6
|
Added some test cases for deadlock and lock wait timeout errors to be used when developing auto retry feature in service engine; note that this isn't implemented yet so these (usually not used) test cases will fail, if that becommes a problem we can comment them out in the test def xml file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572280 13f79535-47bb-0310-9956-ffa450edef68
|
2007-09-03 10:45:24 +00:00 |
|
David E. Jones
|
eba6f60b7b
|
Fixed NPE caused by passing in a null context, now creates an empty one for use throughout the call
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572275 13f79535-47bb-0310-9956-ffa450edef68
|
2007-09-03 10:38:34 +00:00 |
|
Andrew Zeneski
|
431a0c4f34
|
few small moficiations (better error checking) to the javamail container
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571262 13f79535-47bb-0310-9956-ffa450edef68
|
2007-08-30 18:12:02 +00:00 |
|
David E. Jones
|
529ac4df28
|
Changed so that when set and action elements are interleaved they run in the order specified instead of all set ops and then all actions ops
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570283 13f79535-47bb-0310-9956-ffa450edef68
|
2007-08-28 00:48:50 +00:00 |
|
David E. Jones
|
20916970e7
|
Small improvement for the messages when an ECA rule evals to true or false
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569763 13f79535-47bb-0310-9956-ffa450edef68
|
2007-08-26 04:32:02 +00:00 |
|
Andrew Zeneski
|
3cd7c25f6f
|
implemented a simple date based ECA condition
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569693 13f79535-47bb-0310-9956-ffa450edef68
|
2007-08-25 16:02:35 +00:00 |
|
Andrew Zeneski
|
09bc5c770b
|
fixed default-value which was using the string instead of the converted object
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569692 13f79535-47bb-0310-9956-ffa450edef68
|
2007-08-25 16:02:19 +00:00 |
|
David E. Jones
|
fecd5e035f
|
Small change to avoid warning messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567519 13f79535-47bb-0310-9956-ffa450edef68
|
2007-08-20 02:00:58 +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 |
|
David E. Jones
|
3fe03469ce
|
Changed from info to verbose, interesting data but information content low
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564153 13f79535-47bb-0310-9956-ffa450edef68
|
2007-08-09 09:00:46 +00:00 |
|
David E. Jones
|
ede990f68e
|
Changed a few noisy error messages to verbose
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562592 13f79535-47bb-0310-9956-ffa450edef68
|
2007-08-03 21:37:58 +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 |
|
David E. Jones
|
e91a6c47d5
|
Added timeZone as an automatic attribute for all services; should fix problems introduced by OFBIZ-1117
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@553183 13f79535-47bb-0310-9956-ffa450edef68
|
2007-07-04 11:42:45 +00:00 |
|
Scott Gray
|
7085c4efcd
|
Fixed a bug where an additional listener is attached to the mail store on every call to checkMessages, OFBIZ-124
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@552216 13f79535-47bb-0310-9956-ffa450edef68
|
2007-06-30 21:46:22 +00:00 |
|
David E. Jones
|
07b48643c5
|
As noted needing to be done by Jacques Le Roux did a search/replace on source=1.4 and changed to 1.5
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541997 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-27 15:55:18 +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
|
edd5aae89a
|
fixed Job Manager so that disabled setting still loads the manager and performs async tasks, just does not enable the poller
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@538659 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-16 17:36:19 +00:00 |
|
Andrew Zeneski
|
d57b1edf24
|
fixed LRU synchronization issues
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536399 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-09 03:34:44 +00:00 |
|
Hans Bakker
|
72132f3013
|
Bunch of NL updates by Perry Smit from morevalue.nl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536128 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-08 08:57:35 +00:00 |
|
Andrew Zeneski
|
ad4915d17d
|
added rmi trust store
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534994 13f79535-47bb-0310-9956-ffa450edef68
|
2007-05-03 21:53:41 +00:00 |
|
Andrew Zeneski
|
7cbcc85cbd
|
refactored x509 implementations; now it will use the certificate to determine the userlogin; tomcat changed to ignore cert files (just pass through) so all checking can be handled by ofbiz; login worker updated to use new method of cert checking; added isser entity to configure what issuers are allowed to sign login certs (the certificate must also be included in a trust store) new component based trust/cert stores configured in ofbiz-component.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@531272 13f79535-47bb-0310-9956-ffa450edef68
|
2007-04-22 20:56:58 +00:00 |
|
Andrew Zeneski
|
8c9e6bd5c6
|
implemented simple service stream handler; allows reading the inputstream of a request from inside a service; useful for processing non-standard requests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@526262 13f79535-47bb-0310-9956-ffa450edef68
|
2007-04-06 19:30:22 +00:00 |
|
Jacopo Cappellato
|
ce2376c33d
|
If an async service fails, the status of its JobSandbox record is set to 'failed' even if the service will not be rescheduled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@525721 13f79535-47bb-0310-9956-ffa450edef68
|
2007-04-05 06:20:48 +00:00 |
|
Andrew Zeneski
|
e63fc39ea4
|
implemented internal email notifications for service invocations; configure groups for notifications, setup templates, email addresses and assign services to groups (serviceengine.xml) all services belong to the default group, in case you want to monitor all errors, failures and/or success
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523801 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-29 19:12:10 +00:00 |
|
Jacopo Cappellato
|
597766520d
|
Properties files for all OfBiz modules available in romanian language.
Many thanks to Roberto Santori (OFBIZ-845) for this great contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523091 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-27 21:36:11 +00:00 |
|
Andrew Zeneski
|
75fcdd6d46
|
added method to get the total number of defined parameters for a service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522929 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-27 14:28:33 +00:00 |
|
David E. Jones
|
0795cd0be1
|
This is a fairly complete rework of the UtilCache use and the loading code in the service engine; a reload of service definitions should now be possible by clearing the cache; also removed a bunch of the other caches that were either redundant and annoying, or dangerous because clearing them would break things, perhaps unknowingly; these are some problems and really messy weird code that has been around for quite a while, finally got sick of it and decided it needed to go
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521999 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-24 09:52:10 +00:00 |
|
Jacopo Cappellato
|
85f85361b5
|
Added new field ('authUserlLoginId') to the JobSandbox entity to store the user login of the user that submitted the async job. The content for the field is retrieved from the context (using the 'userLogin' object, if available).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520300 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-20 07:20:30 +00:00 |
|
David E. Jones
|
b5a7493883
|
Cleanup of LocalDispatcher creation through the GenericDispatcher object; consolidates a bunch of code and hopefully simplifies a things; should also more permanently fix the weird problem we were having with the testing services a bit ago
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516271 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-09 02:45:55 +00:00 |
|
David E. Jones
|
5b21bea3ca
|
Changed service dispatcher name to not interfere with main name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516258 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-09 01:41:46 +00:00 |
|
Andrew Zeneski
|
92fc817dfa
|
changed resourceDescription to optional; will get set if not passed in the service engine BUT needs to get passed validation first
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515902 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-08 02:44:55 +00:00 |
|
David E. Jones
|
79e2463756
|
Changed the runAsUser here to also be run-as-user for consistency; still supports old runAsUser in Java parsing code, though there will be a parse error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514602 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-05 08:41:37 +00:00 |
|
David E. Jones
|
45ebdaec6d
|
Changed runAsUser to run-as-user to be consistent with everything else in the entire framework; still supports the old attribute in parsing code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514251 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-03 21:51:13 +00:00 |
|
David E. Jones
|
8bc8a3f460
|
Changed default for the optional attribute on the implements element from false to true, because as is ALL attributes are being set to optional, which I think is not normally what is wanted and I bet there have been a few surprises and frustrations from this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514243 13f79535-47bb-0310-9956-ffa450edef68
|
2007-03-03 21:13:17 +00:00 |
|
Andrew Zeneski
|
bd77afa875
|
fixed bug in route engine not returning proper OUT parameters
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512455 13f79535-47bb-0310-9956-ffa450edef68
|
2007-02-27 22:27:45 +00:00 |
|
Jacopo Cappellato
|
d445d699d3
|
Small improvements to the way Long are transformed to Strings.
Thanks to Stefan Huehner for the patch OFBIZ-537
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511260 13f79535-47bb-0310-9956-ffa450edef68
|
2007-02-24 12:04:34 +00:00 |
|
Jacopo Cappellato
|
d521f0c604
|
Applied patch from Stefan Huehner (OFBIZ-513) to remove unnecessary import statements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511254 13f79535-47bb-0310-9956-ffa450edef68
|
2007-02-24 11:49:42 +00:00 |
|
David E. Jones
|
644f99042a
|
Small change to an error message to show the name of the permission-service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508884 13f79535-47bb-0310-9956-ffa450edef68
|
2007-02-18 07:25:04 +00:00 |
|
Andrew Zeneski
|
b7e757aafe
|
fixed big bug in using default-value with override parameters; effected groups and implemented services w/ overrides
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508566 13f79535-47bb-0310-9956-ffa450edef68
|
2007-02-16 20:38:54 +00:00 |
|
Andrew Zeneski
|
5c2bbdd692
|
eca set operation now uses the flexible string expander to access additional data from the context
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508236 13f79535-47bb-0310-9956-ffa450edef68
|
2007-02-15 23:38:04 +00:00 |
|
Andrew Zeneski
|
f0cbbac2ea
|
ECA actions can now specify to run in a new transaction
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508207 13f79535-47bb-0310-9956-ffa450edef68
|
2007-02-15 22:29:03 +00:00 |
|