Commit Graph
921 Commits
Author SHA1 Message Date
Marco Risaliti b11b9cc02d Removed some javadoc warning (wrong param/return) into service component no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126729 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 20:38:36 +00:00
Jacques Le Roux da9f389cb5 A small change to more easily see current pending jobs and possibly cancel some others while canceling one manually
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1103667 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 10:03:39 +00:00
Adrian Crum b722da2a04 Small fixup for ServiceDispatcher.java - truncate log messages longer than 10K. Some service results can be multiple MB in size, resulting in huge log entries (4 MB in entity reference page).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1095032 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 11:20:39 +00:00
Jacques Le Roux 5c3977b73c Fixes a NPE in GenericDispatcher.java. It's related to tenants changes. It appears when you set a jms-service: you have no delegator when you try to create a GenericMessageListener in JmsListenerFactory, but was hidden there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090964 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 08:02:11 +00:00
Jacques Le Roux f966ed6518 Fixes a bug in AbstractJmsListener.java. This was 1st reported by Calum Miller on user ML 3 years ago http://markmail.org/message/hb2r7vbjvekxbris. But as it seems this is no often use nobody noticed since but at least Anand H I who used the same in http://markmail.org/message/yvvm5nepopc7y246. It appeared when you tried to set a jms-service in serviceengine.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090961 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 07:54:22 +00:00
Jacques Le Roux a29d18a4a4 Changes a verbose log to info and improves the related error message. Useful when trying to use a jms-service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090956 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 07:21:56 +00:00
Bruno Busco e5e4b73a82 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090757 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 10:08:08 +00:00
Jacques Le Roux 6c5f2f5f55 Revert r1088762, this is not a working solution, because wsdl2Java fails to generate stubs with these changes.
We have to fix this though. A temporary solution for clients using CXF underneath is to follow the point 2 at http://mail-archives.apache.org/mod_mbox/cxf-users/200901.mbox/%3C200901231332.03818.dkulp@apache.org%3E

I think, as it has been already reported by Alexander Graf, it's related to http://www.ws-i.org/profiles/basicprofile-1.1.html#R2735, but this have to be checked... Following recommendations and example there should allow us to deliver WS-I Basic Profile compliant WSDL. Unfortunately I have not enough time for that at the moment.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1089054 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 14:06:10 +00:00
Jacques Le Roux b2b3540bbd To be compliant with clients generated with Apache CFX which uses JAX-WS and follow WS-I Basic Profile: http://en.wikipedia.org/wiki/WS-I_Basic_Profile, allows to define an empty targetNameSpace by commenting out the TargetNamespace property in service.properties. See http://mail-archives.apache.org/mod_mbox/cxf-users/200901.mbox/%3C200901231332.03818.dkulp@apache.org%3E for details
Keeps the "http://ofbiz.apache.org/service") tns, used only in wsdl:definitions, can be hardcoded


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088762 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 19:48:54 +00:00
Jacques Le Roux 46142d46a8 Completes https://issues.apache.org/jira/browse/OFBIZ-4218
Keeps the secure idea but enhance when working in a secure environment (VPN, local network, etc.) to return a comprehensive response. Depends on the secureSoapAnswer property in service.properties, true by default

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088047 13f79535-47bb-0310-9956-ffa450edef68
2011-04-02 15:23:40 +00:00
David E. Jones 38db32de85 Small change to service call logging for longer running services to show their results maps, helps establish context a bit better, especially on busy servers; tempting to show context as well, but that isn't in this change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085333 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 11:40:05 +00:00
Marco Risaliti a0ea7452bc Revert rev. 1081093
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081517 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 19:10:37 +00:00
Marco Risaliti 57960fbb01 Remove some warning in sevice component (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081093 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 12:31:03 +00:00
Marco Risaliti 3dcebfd840 Remove some warning in StandardEngine (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075532 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:10:37 +00:00
Marco Risaliti 2886701168 Remove some warning in HttpEngine (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075530 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:05:02 +00:00
Marco Risaliti de3bc6b1f5 Remove some warning in BSFEngine (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075529 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:04:00 +00:00
Marco Risaliti b0ceef3f7f Remove some warning in BeanShellEngine (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075528 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:02:36 +00:00
Marco Risaliti 0e0be97095 Add a @SuppressWarning("serial") of classes of package org.ofbiz.service.semaphore (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069104 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:09:04 +00:00
Marco Risaliti a7cdf2c27f Add a @SuppressWarning("serial") of classes of package org.ofbiz.service.rmi.socket.ssl (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069103 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:08:12 +00:00
Marco Risaliti e067e74e06 Add a @SuppressWarning("serial") in RemoteDispatcherImpl (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069100 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:07:15 +00:00
Marco Risaliti 5f3cb658b0 Add a @SuppressWarning("serial") of classes of package org.ofbiz.service.mail (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069099 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:06:35 +00:00
Marco Risaliti b11ecdecf9 Add a @SuppressWarning("serial") of classes of package org.ofbiz.service.job (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069098 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:05:30 +00:00
Marco Risaliti d6b2911a52 Remove a unused variable/Add a @SuppressWarning("serial") in ServiceEcaRule (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069096 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:03:29 +00:00
Marco Risaliti 3b2d98ed7d Add a @SuppressWarning("serial") in ServiceEcaCondition (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069095 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:03:02 +00:00
Marco Risaliti 8dac18ba1d Add a @SuppressWarning("serial") in ServiceEcaAction (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069094 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:02:47 +00:00
Marco Risaliti 2c22e32fb3 Add a @SuppressWarning("serial") in ServiceConfigUtil (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069092 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:00:07 +00:00
Marco Risaliti 7b33addcc5 Add a @SuppressWarning("serial") in RecurrenceInfoException/RecurrenceRuleException (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069091 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 20:58:24 +00:00
Marco Risaliti cd79fea95f Add a @SuppressWarning("serial") of classes of package org.ofbiz.service (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069090 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 20:57:04 +00:00
Marco Risaliti ce360524fe Remove an unused variable/import in ModelPermission (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1068557 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:31:43 +00:00
Marco Risaliti 5682344416 Remove an unused variable related to soap tests (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1068556 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:29:31 +00:00
Marco Risaliti ee20124370 Internationalization of return messages of java services of service component (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1066563 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 18:17:46 +00:00
David E. Jones 30c0a8cb24 Bug fix to support multiple delegators; these places has a hard-coded dispatcher name that may have been created with a delegator different from the one that is now active and attempted to be used with the same old dispatcher, resulting in undesired database switching; changed to the convention of using the delegator name for the dispatcher name, which is the normal default and should be used everywhere a special dispatcher name specific to a context, like a webapp, is not used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1066356 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 07:31:21 +00:00
Adrian Crum 55dc6b2256 Removed unused constant from TemporalExpressions.java. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056626 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 05:22:09 +00:00
Scott Gray 47f43a302a Remove unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044931 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 21:31:27 +00:00
Scott Gray bdd23c22d5 Add missing override annotations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044913 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:41:27 +00:00
Jacques Le Roux 66c5dd10a0 A patch from Dukian "Add Traditional Chinese translation for applications, ecommerce, and ofbizsetup" (https://issues.apache.org/jira/browse/OFBIZ-4031) - OFBIZ-4031
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039574 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 21:56:14 +00:00
Hans Bakker 19b0d3bcf8 soap session not closed after transfer, corrected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039262 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 07:53:51 +00:00
Ashish Vijaywargiya 68c43b3d69 Bug fix. Code should not read all the message from the Inbox. Code will only fetch the newly received message. Currently it is generating log message for all the Inbox message that is of no use and unnecessarily keeps system busy.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1037883 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 20:56:07 +00:00
Jacques Le Roux 88f8238653 A patch from Sascha Rodekamp "The Job Sandbox should never be cached" (https://issues.apache.org/jira/browse/OFBIZ-3968) - OFBIZ-3968
Sascha: We noticed that OFBiz was sending cache clears over JMS every time the job sandbox is changed. That's not a problem with one OFBiz Instance but with 20, when every instance is sending JMS messages to each other ... you can imagine...

Scott: I'd agree with this, there is really no good reason to cache JobSandbox values even though I don't believe any code does this at the moment. On a side note I ran into some problems with the Job Poller when it's under a heavy load recently and as soon as I get a chance I'll be working to reproduce and fix the issues.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003418 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 07:49:30 +00:00
Jacques Le Roux d0fda49879 Update Axis2 to 1.5.2 (with Axiom to 1.2.9)
According to http://ws.apache.org/axis2/:

1.5.2 is a maintenance release to fix the security issue described in CVE-2010-1632 as well as an XSS vulnerability in the admin console and some other minor issues. It also upgrades Axiom to version 1.2.9.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001810 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 16:25:04 +00:00
Adam Heath b273b52dad Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Adrian Crum de50263021 Built out the new service parameter description feature. Descriptions defined in service interfaces are not being copied to the implementations - so that needs to be fixed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981067 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 15:16:46 +00:00
Scott Gray 4448c4a866 No functional changes, just removing a whole bunch of unused imports and reorganizing them along the way.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981019 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 08:28:34 +00:00
Scott Gray e00b1cf382 Add a description element for service attributes, should make documenting some services a little easier. Still need to display it in webtools somewhere.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981018 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 08:26:42 +00:00
Scott Gray 18c40989d5 ServiceDispatcher method was returning a call to itself, stumbled across it by chance
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959453 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 21:58:32 +00:00
Erwan de Ferrieres e710059ab7 OFBIZ-3798 Add xml-rpc engine on serviceengine - A new patch from Nicolas Malin (https://issues.apache.org/jira/browse/OFBIZ-3798) - Also updating xml-rpc libs from 3.0.1 to 3.1.2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959261 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 10:52:12 +00:00
Erwan de Ferrieres 0803e3c6f1 Reverting previous commit as it wasn't fully reviewed and was producing errors. Sorry guys...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959076 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 19:19:55 +00:00
Erwan de Ferrieres ad183f5cea OFBIZ-3798 Add xml-rpc engine on serviceengine - (https://issues.apache.org/jira/browse/OFBIZ-3798)
A patch from Nicolas Malin - adding a generic service to call xml-rpc server. The goal is to have a technical interface to make calls directly from mini-lang.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959071 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 18:43:56 +00:00
Adam Heath 7135ac1de0 No longer use deprecated UtilMisc.staticWait().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958271 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 19:40:24 +00:00
Erwan de Ferrieres 40615fed9f Using a LocalDispatcher when having a groovy service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957182 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 13:08:00 +00:00