svn commit: r433334 - /incubator/ofbiz/trunk/framework/webtools/servicedef/services.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r433334 - /incubator/ofbiz/trunk/framework/webtools/servicedef/services.xml

sichen
Author: sichen
Date: Mon Aug 21 12:26:56 2006
New Revision: 433334

URL: http://svn.apache.org/viewvc?rev=433334&view=rev
Log:
Turned off transactions for webtools import services because the service transactions were setting timeouts to 60 seconds, regardless of what the import code was doing, at least with PostgreSQL

Modified:
    incubator/ofbiz/trunk/framework/webtools/servicedef/services.xml

Modified: incubator/ofbiz/trunk/framework/webtools/servicedef/services.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/servicedef/services.xml?rev=433334&r1=433333&r2=433334&view=diff
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/servicedef/services.xml (original)
+++ incubator/ofbiz/trunk/framework/webtools/servicedef/services.xml Mon Aug 21 12:26:56 2006
@@ -21,9 +21,10 @@
  <vendor>OFBiz</vendor>
  <version>1.0</version>
 
-    <!-- Entity Import Services -->
+    <!-- Entity Import Services
+         Transacitons are turned off for these services because they set transactions and timeouts inside the services with txTimeout parameter -->
     <service name="parseEntityXmlFile" engine="java" require-new-transaction="true"
-            location="org.ofbiz.webtools.WebToolsServices" invoke="parseEntityXmlFile" auth="true">
+            location="org.ofbiz.webtools.WebToolsServices" invoke="parseEntityXmlFile" auth="true" use-transaction="false">
         <description>Parses an entity xml file or an entity xml text</description>
         <attribute name="url" type="java.net.URL" mode="IN" optional="true"/>
         <attribute name="xmltext" type="String" mode="IN" optional="true"/>
@@ -34,7 +35,7 @@
         <attribute name="rowProcessed" type="Long" mode="OUT" optional="false"/>
     </service>
     <service name="entityImport" engine="java"
-            location="org.ofbiz.webtools.WebToolsServices" invoke="entityImport" auth="true">
+            location="org.ofbiz.webtools.WebToolsServices" invoke="entityImport" auth="true" use-transaction="false">
         <description>Imports an entity xml file or text string</description>
         <attribute name="filename" type="String" mode="IN" optional="true"/>
         <attribute name="fmfilename" type="String" mode="IN" optional="true"/>
@@ -47,7 +48,7 @@
         <attribute name="messages" type="List" mode="OUT" optional="false"/>
     </service>
     <service name="entityImportDir" engine="java"
-            location="org.ofbiz.webtools.WebToolsServices" invoke="entityImportDir" auth="true">
+            location="org.ofbiz.webtools.WebToolsServices" invoke="entityImportDir" auth="true" use-transaction="false">
         <description>Imports all entity xml files contained in a directory</description>
         <attribute name="path" type="String" mode="IN" optional="true"/>
         <attribute name="mostlyInserts" type="String" mode="IN" optional="true"/>
@@ -59,7 +60,7 @@
         <attribute name="messages" type="List" mode="OUT" optional="false"/>
     </service>
     <service name="entityExportAll" engine="java"
-            location="org.ofbiz.webtools.WebToolsServices" invoke="entityExportAll" auth="true">
+            location="org.ofbiz.webtools.WebToolsServices" invoke="entityExportAll" auth="true" use-transaction="false">
         <description>Exports all entities into xml files</description>
         <attribute name="outpath" type="String" mode="IN" optional="true"/>
         <attribute name="txTimeout" type="Integer" mode="IN" optional="true"/>