We are getting following when try to starting the store. publisher nodes in
Docker containers by using docker compose.  Also this is happened
intermittently.

store1         | [2016-05-19 12:37:06,845] ERROR - DatabaseUtil Database
Error - Duplicate entry 'http://wso2.org/oidc/claim--1234' for key
'UM_DIALECT_URI'
store1         |
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException:
Duplicate entry 'http://wso2.org/oidc/claim--1234' for key 'UM_DIALECT_URI'
store1         | at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
store1         | at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
store1         | at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
store1         | at
java.lang.reflect.Constructor.newInstance(Constructor.java:526)
store1         | at com.mysql.jdbc.Util.handleNewInstance(Util.java:377)
store1         | at com.mysql.jdbc.Util.getInstance(Util.java:360)
store1         | at
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:971)
store1         | at
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887)
store1         | at
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823)
store1         | at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2435)
store1         | at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2582)
store1         | at
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2530)
store1         | at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1907)
store1         | at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2141)
store1         | at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2077)
store1         | at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2062)
store1         | at
org.wso2.carbon.user.core.claim.dao.ClaimDAO.addDialect(ClaimDAO.java:442)
store1         | at
org.wso2.carbon.user.core.claim.dao.ClaimDAO.addClaimMapping(ClaimDAO.java:186)
store1         | at
org.wso2.carbon.user.core.claim.dao.ClaimDAO.addCliamMappings(ClaimDAO.java:140)
store1         | at
org.wso2.carbon.user.core.common.DefaultRealm.populateProfileAndClaimMaps(DefaultRealm.java:438)
store1         | at
org.wso2.carbon.user.core.common.DefaultRealm.init(DefaultRealm.java:105)
store1         | at
org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:262)
store1         | at
org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:99)
store1         | at
org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:112)
store1         | at
org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:68)
store1         | at
org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
store1         | at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)

Any idea why is that happen? Is that happened as we starting the containers
at the same time?

Thanks,
Gayan
-- 

Gayan Gunarathne
Technical Lead, WSO2 Inc. (http://wso2.com)
Committer & PMC Member, Apache Stratos
email : [email protected]  | mobile : +94 775030545 <%2B94%20766819985>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to