You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2016/05/16 21:22:25 UTC
[1/2] airavata git commit: Adding JPA multi threaded enabled property
Repository: airavata
Updated Branches:
refs/heads/develop e16794762 -> 2c7da5eca
Adding JPA multi threaded enabled property
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/a6b27cea
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/a6b27cea
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/a6b27cea
Branch: refs/heads/develop
Commit: a6b27cea22cfb88133071608265ba04570f5f294
Parents: 220cbbd
Author: scnakandala <su...@gmail.com>
Authored: Mon May 16 17:22:12 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Mon May 16 17:22:12 2016 -0400
----------------------------------------------------------------------
.../airavata/registry/core/app/catalog/util/AppCatalogJPAUtils.java | 1 +
.../registry/core/experiment/catalog/ExpCatResourceUtils.java | 1 +
.../registry/core/replica/catalog/utils/ReplicaCatalogJPAUtils.java | 1 +
.../core/workflow/catalog/utils/WorkflowCatalogJPAUtils.java | 1 +
4 files changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata/blob/a6b27cea/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/util/AppCatalogJPAUtils.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/util/AppCatalogJPAUtils.java b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/util/AppCatalogJPAUtils.java
index ef14eed..8a0283e 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/util/AppCatalogJPAUtils.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/util/AppCatalogJPAUtils.java
@@ -60,6 +60,7 @@ public class AppCatalogJPAUtils {
properties.put("openjpa.ConnectionProperties", connectionProperties);
properties.put("openjpa.DynamicEnhancementAgent", "true");
properties.put("openjpa.RuntimeUnenhancedClasses", "unsupported");
+ properties.put("openjpa.Multithreaded", "true");
// For app catalog, we don't need caching
// properties.put("openjpa.DataCache","" + readServerProperties(JPA_CACHE_ENABLED) + "(CacheSize=" + Integer.valueOf(readServerProperties(JPA_CACHE_SIZE)) + ", SoftReferenceSize=0)");
// properties.put("openjpa.QueryCache","" + readServerProperties(JPA_CACHE_ENABLED) + "(CacheSize=" + Integer.valueOf(readServerProperties(JPA_CACHE_SIZE)) + ", SoftReferenceSize=0)");
http://git-wip-us.apache.org/repos/asf/airavata/blob/a6b27cea/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/ExpCatResourceUtils.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/ExpCatResourceUtils.java b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/ExpCatResourceUtils.java
index 035a456..3ff27cb 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/ExpCatResourceUtils.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/ExpCatResourceUtils.java
@@ -58,6 +58,7 @@ public class ExpCatResourceUtils {
// properties.put("openjpa.QueryCache","" + Utils.isCachingEnabled() + "(CacheSize=" + Utils.getJPACacheSize() + ", SoftReferenceSize=0)");
// properties.put("javax.persistence.sharedCache.mode","ALL");
properties.put("openjpa.RemoteCommitProvider","sjvm");
+ properties.put("openjpa.Multithreaded", "true");
properties.put("openjpa.Log","DefaultLevel=INFO, Runtime=INFO, Tool=INFO, SQL=INFO");
properties.put("openjpa.jdbc.SynchronizeMappings", "buildSchema(ForeignKeys=true)");
properties.put("openjpa.ConnectionFactoryProperties", "PrettyPrint=true, PrettyPrintLineLength=72, PrintParameters=true, MaxActive=10, MaxIdle=5, MinIdle=2, MaxWait=31536000, autoReconnect=true");
http://git-wip-us.apache.org/repos/asf/airavata/blob/a6b27cea/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/replica/catalog/utils/ReplicaCatalogJPAUtils.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/replica/catalog/utils/ReplicaCatalogJPAUtils.java b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/replica/catalog/utils/ReplicaCatalogJPAUtils.java
index d269ccc..935c64f 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/replica/catalog/utils/ReplicaCatalogJPAUtils.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/replica/catalog/utils/ReplicaCatalogJPAUtils.java
@@ -60,6 +60,7 @@ public class ReplicaCatalogJPAUtils {
properties.put("openjpa.DynamicEnhancementAgent", "true");
properties.put("openjpa.RuntimeUnenhancedClasses", "unsupported");
properties.put("openjpa.RemoteCommitProvider","sjvm");
+ properties.put("openjpa.Multithreaded", "true");
properties.put("openjpa.Log","DefaultLevel=INFO, Runtime=INFO, Tool=INFO, SQL=INFO");
properties.put("openjpa.jdbc.SynchronizeMappings", "buildSchema(ForeignKeys=true)");
properties.put("openjpa.jdbc.QuerySQLCache", "false");
http://git-wip-us.apache.org/repos/asf/airavata/blob/a6b27cea/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/workflow/catalog/utils/WorkflowCatalogJPAUtils.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/workflow/catalog/utils/WorkflowCatalogJPAUtils.java b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/workflow/catalog/utils/WorkflowCatalogJPAUtils.java
index c78ef9b..c6d6f7b 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/workflow/catalog/utils/WorkflowCatalogJPAUtils.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/workflow/catalog/utils/WorkflowCatalogJPAUtils.java
@@ -60,6 +60,7 @@ public class WorkflowCatalogJPAUtils {
properties.put("openjpa.ConnectionProperties", connectionProperties);
properties.put("openjpa.DynamicEnhancementAgent", "true");
properties.put("openjpa.RuntimeUnenhancedClasses", "unsupported");
+ properties.put("openjpa.Multithreaded", "true");
// For app catalog, we don't need caching
// properties.put("openjpa.DataCache","" + readServerProperties(JPA_CACHE_ENABLED) + "(CacheSize=" + Integer.valueOf(readServerProperties(JPA_CACHE_SIZE)) + ", SoftReferenceSize=0)");
// properties.put("openjpa.QueryCache","" + readServerProperties(JPA_CACHE_ENABLED) + "(CacheSize=" + Integer.valueOf(readServerProperties(JPA_CACHE_SIZE)) + ", SoftReferenceSize=0)");
[2/2] airavata git commit: Merge remote-tracking branch
'origin/develop' into develop
Posted by sc...@apache.org.
Merge remote-tracking branch 'origin/develop' into develop
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/2c7da5ec
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/2c7da5ec
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/2c7da5ec
Branch: refs/heads/develop
Commit: 2c7da5eca1eecaa849b4653ed73f5844f2abda5f
Parents: a6b27ce e167947
Author: scnakandala <su...@gmail.com>
Authored: Mon May 16 17:22:21 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Mon May 16 17:22:21 2016 -0400
----------------------------------------------------------------------
.travis.yml | 14 ++++++++++++++
.../server/src/main/resources/gfac-config.yaml | 1 +
2 files changed, 15 insertions(+)
----------------------------------------------------------------------