ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject incubator-ignite git commit: # IGNITE-45 Fix TCK on teamcity.
Date Mon, 16 Mar 2015 16:01:56 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-45 d81c08b56 -> fbc56e856


# IGNITE-45 Fix TCK on teamcity.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/fbc56e85
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/fbc56e85
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/fbc56e85

Branch: refs/heads/ignite-45
Commit: fbc56e856904932af77dca6e5c6f240441b344e5
Parents: d81c08b
Author: sevdokimov <sevdokimov@gridgain.com>
Authored: Mon Mar 16 19:01:11 2015 +0300
Committer: sevdokimov <sevdokimov@gridgain.com>
Committed: Mon Mar 16 19:01:11 2015 +0300

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/cache/CacheManager.java   | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/fbc56e85/modules/core/src/main/java/org/apache/ignite/cache/CacheManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/cache/CacheManager.java b/modules/core/src/main/java/org/apache/ignite/cache/CacheManager.java
index b861da7..94bd376 100644
--- a/modules/core/src/main/java/org/apache/ignite/cache/CacheManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/cache/CacheManager.java
@@ -73,8 +73,14 @@ public class CacheManager implements javax.cache.CacheManager {
         this.props = props;
 
         try {
-            if (uri.equals(cachingProvider.getDefaultURI()))
-                ignite = (IgniteKernal)IgnitionEx.start();
+            if (uri.equals(cachingProvider.getDefaultURI())) {
+                IgniteConfiguration cfg = new IgniteConfiguration();
+
+                cfg.setGridName("CacheManager [uri=" + uri.toString() + ", classLoader="
+                    + clsLdr.getClass().getSimpleName() + '#' + clsLdr.hashCode());
+
+                ignite = (IgniteKernal)IgnitionEx.start(cfg);
+            }
             else
                 ignite = (IgniteKernal)IgnitionEx.start(uri.toURL());
 


Mime
View raw message