Skip to content

Commit 6e26569

Browse files
committed
Fix to allow tenants to log in
1 parent 0219e9d commit 6e26569

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

modules/distribution/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,15 +200,15 @@
200200
<classpath>
201201
<path refid="h2.classpath" />
202202
</classpath>
203-
<fileset file="target/wso2carbon-core-${carbon.kernel.version}/dbscripts/identity/application-mgt/h2.sql" />
203+
<fileset file="target/wso2carbon-core-${carbon.kernel.version}/dbscripts/identity/h2.sql" />
204204
</sql>
205-
<sql driver="org.h2.Driver" url="jdbc:h2:${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/database/WSO2CARBON_DB" userid="wso2carbon" password="wso2carbon" autocommit="true" onerror="continue">
205+
<!--sql driver="org.h2.Driver" url="jdbc:h2:${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/database/WSO2CARBON_DB" userid="wso2carbon" password="wso2carbon" autocommit="true" onerror="continue">
206206
<classpath>
207207
<path refid="h2.classpath" />
208208
</classpath>
209209
<fileset file="target/wso2carbon-core-${carbon.kernel.version}/dbscripts/identity/h2.sql" />
210210
211-
</sql>
211+
</sql-->
212212
<echo message="##################### END ########################" />
213213
</target>
214214
</configuration>

modules/distribution/src/repository/conf/datasources/master-datasources.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</jndiConfig>
3636
<definition type="RDBMS">
3737
<configuration>
38-
<url>jdbc:h2:repository/database/WSO2IDENTITY_DB;DB_CLOSE_ON_EXIT=FALSE</url>
38+
<url>jdbc:h2:repository/database/WSO2CARBON_DB;DB_CLOSE_ON_EXIT=FALSE</url>
3939
<username>wso2carbon</username>
4040
<password>wso2carbon</password>
4141
<driverClassName>org.h2.Driver</driverClassName>

modules/p2-profile-gen/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,9 @@
281281
<featureArtifactDef>
282282
org.wso2.carbon.multitenancy:org.wso2.carbon.tenant.common.feature:${carbon.multitenancy.version}
283283
</featureArtifactDef>
284+
<featureArtifactDef>
285+
org.wso2.carbon.commons:org.wso2.carbon.tenant.mgt.common.feature:${carbon.commons.version}
286+
</featureArtifactDef>
284287
<featureArtifactDef>
285288
org.wso2.carbon.multitenancy:org.wso2.carbon.tenant.usage.agent.feature:${carbon.multitenancy.version}
286289
</featureArtifactDef>
@@ -596,6 +599,10 @@
596599
<id>org.wso2.carbon.tenant.common.feature.group</id>
597600
<version>${carbon.multitenancy.version}</version>
598601
</feature>
602+
<feature>
603+
<id>org.wso2.carbon.tenant.mgt.common.feature.group</id>
604+
<version>${carbon.commons.version}</version>
605+
</feature>
599606
<feature>
600607
<id>org.wso2.carbon.tenant.usage.agent.feature.group</id>
601608
<version>${carbon.multitenancy.version}</version>

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -609,12 +609,12 @@
609609
<automation.utils.version>4.3.0</automation.utils.version>
610610

611611
<!--repo versions-->
612-
<carbon.commons.version>4.4.1</carbon.commons.version>
612+
<carbon.commons.version>4.4.3</carbon.commons.version>
613613
<carbon.registry.version>4.4.1</carbon.registry.version>
614614
<carbon.governance.version>4.4.0</carbon.governance.version>
615615
<carbon.deployment.version>4.4.0</carbon.deployment.version>
616-
<carbon.identity.version>4.4.0</carbon.identity.version>
617-
<carbon.multitenancy.version>4.4.0</carbon.multitenancy.version>
616+
<carbon.identity.version>4.5.0</carbon.identity.version>
617+
<carbon.multitenancy.version>4.4.1</carbon.multitenancy.version>
618618

619619
<operadriver.version>0.8.1</operadriver.version>
620620
<selenium.version>2.40.0</selenium.version>

0 commit comments

Comments
 (0)