Author: sergiykarpenko
Date: 2010-07-02 04:02:30 -0400 (Fri, 02 Jul 2010)
New Revision: 2739
Modified:
jcr/branches/1.12.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/JDBCWorkspaceDataContainer.java
Log:
EXOJCR-781: InitialContextInitializer.recall() executed on begin of
JDBCWorkspaceDataContainer constructor
Modified:
jcr/branches/1.12.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/JDBCWorkspaceDataContainer.java
===================================================================
---
jcr/branches/1.12.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/JDBCWorkspaceDataContainer.java 2010-07-01
15:20:43 UTC (rev 2738)
+++
jcr/branches/1.12.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/JDBCWorkspaceDataContainer.java 2010-07-02
08:02:30 UTC (rev 2739)
@@ -206,6 +206,10 @@
throws RepositoryConfigurationException, NamingException, RepositoryException,
IOException
{
+ // This recall is workaround for tenants creation. There is a trouble in visibility
datasource
+ // binded in one tomcat context from another tomcat context.
+ contextInit.recall();
+
checkIntegrity(wsConfig, repConfig);
this.containerName = wsConfig.getName();