Commit Graph
9 Commits
Author SHA1 Message Date
Jacques Le Roux c3f3ea6847 Improved: Enable/Disable JMS
(OFBIZ-4454)

Allows to Enable/Disable JMS with a service properties

Thanks: Adrian for report Dimitri Unruh for creating the Jira

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805158 13f79535-47bb-0310-9956-ffa450edef68
2017-08-16 09:15:00 +00:00
Jacques Le Roux 1b6a4204e6 Adds again the possibility to use the previous way about detecting slow services in logs.
Now it uses properties for the 2 Thresholds
0 to get the same behaviour as Adrian's last commit
1000 to get almost the same behaviour than before Adrian's last commit. But with no distinctions with slow and very slow services and a higher level for slow services. This value makes sense for instance for web services (SOAP, RMI, REST) served by external systems.
The properties can be used to set as desired. I believe it's no confusing OOTB and still flexible enough.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1465223 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 10:58:20 +00:00
Jacopo Cappellato dc4edc748e CVE-2012-1621: Removed the Webslinger component and all the framework dependencies on it; the reasons for this
* no active committer was maintaining the webslinger component
* the component was experimental and not really used by OFBiz
* the component was really big (lot of jars etc...) and we are trying to slim down the OFBiz framework and keep only the essential/useful features
* this fixes a security issue reported to the OFBiz PMC

The only Webslinger feature used by the OFBiz framework was the "service debug mode" (enabled by default with the property servicedispatcher.servicedebugmode): I have considered to keep it but it was impossible because it relied on Webslinger legacy code (in the org.webslinger.invoker.* package) that was never contributed as a source file to the OFBiz project; I have tried to review the source file from an external Webslinger repo but I couldn't find them; the only site about Webslinger I could find is this:
http://www.webslinger.org/Downloads
but the svn resources mentioned there are broken. The fact that the OFBiz frameework was dependent (for a feature useful only in development mode) on an external project that doesn't publish its source code (at least in an easy to find location) convinced me that it was better to clean up the dependency completely; on the bright side OFBiz should now use less memory.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1301866 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 05:35:45 +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
Jacopo Cappellato 3c5a4d4764 By default, service debug is enabled; thanks to Hans Bakker for reporting this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916634 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 10:03:45 +00:00
Jacopo Cappellato ef3fcd2072 Added flag to switch off the debug mode for services that is causing out of memory errors for JVM PermGen space.
Warning: the default setting is still set to true but it is highly recommended to set it to false, especially for non-development instances (production, demo etc...).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916608 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 08:01:21 +00:00
Jacopo Cappellato 816a5c1e67 Added the ability to set the exportAll flag in the RemoteDispatcher from a configuration file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831176 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 01:10:25 +00:00