wso2 / carbon-identity-framework

Apache License 2.0
119 stars 540 forks source link

EI server fails to start when carbon identity framework version updated from 5.7 to 5.8.139 #1131

Open Drifftr opened 7 years ago

Drifftr commented 7 years ago

Description: We've updated the carbon identity framework version from 5.7.29 to 5.8.139 in Product-EI latest build. But we observed the freshly built pack fails to start with an error stating org.h2.jdbc.JdbcSQLException: Table "IDN_CLAIM_DIALECT" not found; and org.h2.jdbc.JdbcSQLException: Table "IDP" not found; . The error log is attached.errorlog.txt. We've checked the database and noticed that identity tables were not created. But when we tried to start the pack with -Dsetup tables get created and server starts fine.

Suggested Labels: Carbon-Identity-Framwork

Suggested Assignees:

Affected Product Version: EI 6.1.1

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

mefarazath commented 7 years ago

If -Dsetup works that means an outdated default H2 database is being shipped with EI. Would be better to check from where the database that gets shipped is created from.