2014-02-03 14:06:57,718 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.0.Final 2014-02-03 14:06:57,905 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.0.CR1 2014-02-03 14:06:57,952 INFO [org.jboss.as] (MSC service thread 1-6) JBAS015899: WildFly 8.0.0.CR1 "WildFly" starting 2014-02-03 14:06:57,952 DEBUG [org.jboss.as.config] (MSC service thread 1-6) Configured system properties: awt.toolkit = sun.awt.windows.WToolkit file.encoding = Cp1252 file.encoding.pkg = sun.io file.separator = \ java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment java.awt.printerjob = sun.awt.windows.WPrinterJob java.class.path = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\jboss-modules.jar java.class.version = 51.0 java.endorsed.dirs = C:\Progra~1\Java\jdk1.7.0_45\jre\lib\endorsed java.ext.dirs = C:\Progra~1\Java\jdk1.7.0_45\jre\lib\ext;C:\windows\Sun\Java\lib\ext java.home = C:\Progra~1\Java\jdk1.7.0_45\jre java.io.tmpdir = C:\Users\Edem\AppData\Local\Temp\ java.library.path = C:\Progra~1\Java\jdk1.7.0_45\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Condusiv Technologies\ExpressCache\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Java\jdk1.7.0_45\bin;C:\Program Files\FileBot\;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Apache Software Foundation\apache-ant-1.9.3/bin;C:\Program Files\TortoiseHg\;C:\Users\Edem\Servers\mybin\forge-distribution-1.4.3.Final\bin;C:\Program Files\Apache Software Foundation\apache-maven-3.0.5\bin;. java.net.preferIPv4Stack = true java.runtime.name = Java(TM) SE Runtime Environment java.runtime.version = 1.7.0_45-b18 java.specification.name = Java Platform API Specification java.specification.vendor = Oracle Corporation java.specification.version = 1.7 java.util.logging.manager = org.jboss.logmanager.LogManager java.vendor = Oracle Corporation java.vendor.url = http://java.oracle.com/ java.vendor.url.bug = http://bugreport.sun.com/bugreport/ java.version = 1.7.0_45 java.vm.info = mixed mode java.vm.name = Java HotSpot(TM) 64-Bit Server VM java.vm.specification.name = Java Virtual Machine Specification java.vm.specification.vendor = Oracle Corporation java.vm.specification.version = 1.7 java.vm.vendor = Oracle Corporation java.vm.version = 24.45-b08 javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory jboss.home.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak jboss.host.name = edemgear jboss.modules.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\modules jboss.modules.system.pkgs = org.jboss.byteman jboss.node.name = edemgear jboss.qualified.host.name = edemgear jboss.server.base.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone jboss.server.config.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\configuration jboss.server.data.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\data jboss.server.deploy.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\data\content jboss.server.log.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\log jboss.server.name = edemgear jboss.server.persist.config = true jboss.server.temp.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\tmp line.separator = logging.configuration = file:C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\configuration/logging.properties module.path = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\modules org.jboss.boot.log.file = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\log\server.log org.jboss.resolver.warning = true org.xml.sax.driver = __redirected.__XMLReaderFactory os.arch = amd64 os.name = Windows 8 os.version = 6.2 path.separator = ; program.name = standalone.bat sun.arch.data.model = 64 sun.boot.class.path = C:\Progra~1\Java\jdk1.7.0_45\jre\lib\resources.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\rt.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\sunrsasign.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\jsse.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\jce.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\charsets.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\jfr.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\classes sun.boot.library.path = C:\Progra~1\Java\jdk1.7.0_45\jre\bin sun.cpu.endian = little sun.cpu.isalist = amd64 sun.desktop = windows sun.io.unicode.encoding = UnicodeLittle sun.java.command = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\jboss-modules.jar -mp C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\modules org.jboss.as.standalone -Djboss.home.dir=C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak sun.java.launcher = SUN_STANDARD sun.jnu.encoding = Cp1252 sun.management.compiler = HotSpot 64-Bit Tiered Compilers sun.os.patch.level = user.country = US user.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\bin user.home = C:\Users\Edem user.language = en user.name = Edem user.script = user.timezone = GMT user.variant = 2014-02-03 14:06:57,968 DEBUG [org.jboss.as.config] (MSC service thread 1-6) VM Arguments: -XX:+UseCompressedOops -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Dorg.jboss.boot.log.file=C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\log\server.log -Dlogging.configuration=file:C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\configuration/logging.properties 2014-02-03 14:06:58,671 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found auth-server.war in deployment directory. To trigger deployment create a file called auth-server.war.dodeploy 2014-02-03 14:06:58,686 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http) 2014-02-03 14:06:58,702 INFO [org.xnio] (MSC service thread 1-15) XNIO version 3.2.0.Beta4 2014-02-03 14:06:58,702 INFO [org.xnio.nio] (MSC service thread 1-15) XNIO NIO Implementation Version 3.2.0.Beta4 2014-02-03 14:06:58,718 INFO [org.jboss.as.security] (ServerService Thread Pool -- 46) JBAS013171: Activating Security Subsystem 2014-02-03 14:06:58,718 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 33) JBAS010280: Activating Infinispan subsystem. 2014-02-03 14:06:58,733 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 41) JBAS011800: Activating Naming Subsystem 2014-02-03 14:06:58,733 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 50) JBAS015537: Activating WebServices Extension 2014-02-03 14:06:58,733 INFO [org.jboss.as.security] (MSC service thread 1-5) JBAS013170: Current PicketBox version=4.0.20.Beta2 2014-02-03 14:06:58,749 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 39) JBAS012615: Activated the following JSF Implementations: [main] 2014-02-03 14:06:58,765 INFO [org.wildfly.extension.undertow] (MSC service thread 1-10) JBAS017502: Undertow 1.0.0.Beta30 starting 2014-02-03 14:06:58,765 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 49) JBAS017502: Undertow 1.0.0.Beta30 starting 2014-02-03 14:06:58,765 INFO [org.jboss.as.connector.logging] (MSC service thread 1-3) JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.2.Final) 2014-02-03 14:06:58,780 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 2014-02-03 14:06:58,780 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-12) JBAS010417: Started Driver service with driver-name = h2 2014-02-03 14:06:58,796 INFO [org.jboss.as.naming] (MSC service thread 1-14) JBAS011802: Starting Naming Service 2014-02-03 14:06:58,796 INFO [org.jboss.as.mail.extension] (MSC service thread 1-14) JBAS015400: Bound mail session [java:jboss/mail/Default] 2014-02-03 14:06:58,796 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.0) 2014-02-03 14:06:58,796 INFO [org.jboss.remoting] (MSC service thread 1-15) JBoss Remoting version (unknown) 2014-02-03 14:06:58,796 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-13) JBAS010417: Started Driver service with driver-name = org.postgresql 2014-02-03 14:06:58,983 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 49) JBAS017527: Creating file handler for path C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak/welcome-content 2014-02-03 14:06:58,999 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) JBAS017525: Started server default-server. 2014-02-03 14:06:58,999 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) JBAS017531: Host default-host starting 2014-02-03 14:06:59,124 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) JBAS015012: Started FileSystemDeploymentService for directory C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\deployments 2014-02-03 14:06:59,124 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "auth-server.war" (runtime-name: "auth-server.war") 2014-02-03 14:06:59,124 INFO [org.jboss.as.server.deployment] (MSC service thread 1-9) JBAS015876: Starting deployment of "keycloak-ds.xml" (runtime-name: "keycloak-ds.xml") 2014-02-03 14:06:59,233 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.deployment.unit."keycloak-ds.xml".FIRST_MODULE_USE: org.jboss.msc.service.StartException in service jboss.deployment.unit."keycloak-ds.xml".FIRST_MODULE_USE: JBAS018733: Failed to process phase FIRST_MODULE_USE of deployment "keycloak-ds.xml" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.0.0.CR1.jar:8.0.0.CR1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45] at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS010464: Exception deploying datasource java:jboss/datasources/KeycloakDS at org.jboss.as.connector.deployers.ds.processors.DsXmlDeploymentInstallProcessor.deploy(DsXmlDeploymentInstallProcessor.java:140) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.0.0.CR1.jar:8.0.0.CR1] ... 5 more Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.data-source.java:jboss/datasources/KeycloakDS is already registered at org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:158) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] at org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:235) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:767) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:223) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2401) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:223) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2401) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:317) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] at org.jboss.as.connector.deployers.ds.processors.DsXmlDeploymentInstallProcessor.startDataSource(DsXmlDeploymentInstallProcessor.java:335) at org.jboss.as.connector.deployers.ds.processors.DsXmlDeploymentInstallProcessor.deploy(DsXmlDeploymentInstallProcessor.java:137) ... 6 more 2014-02-03 14:06:59,343 INFO [org.jboss.as.remoting] (MSC service thread 1-16) JBAS017100: Listening on 127.0.0.1:9999 2014-02-03 14:06:59,343 INFO [org.wildfly.extension.undertow] (MSC service thread 1-13) JBAS017519: Undertow HTTP listener default listening on /127.0.0.1:8080 2014-02-03 14:06:59,452 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS] 2014-02-03 14:06:59,452 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/KeycloakDS] 2014-02-03 14:06:59,483 INFO [org.jboss.ws.common.management] (MSC service thread 1-16) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.2.3.Final 2014-02-03 14:07:00,141 WARN [org.jboss.as.server.deployment] (MSC service thread 1-9) JBAS015960: Class Path entry jaxb-api.jar in /C:/Users/Edem/Servers/keycloak-appliance-dist-all-1.0-alpha-1/keycloak/standalone/deployments/auth-server.war/WEB-INF/lib/jaxb-core-2.2.7.jar does not point to a valid jar for a Class-Path reference. 2014-02-03 14:07:00,156 WARN [org.jboss.as.server.deployment] (MSC service thread 1-9) JBAS015960: Class Path entry jaxb-api.jar in /C:/Users/Edem/Servers/keycloak-appliance-dist-all-1.0-alpha-1/keycloak/standalone/deployments/auth-server.war/WEB-INF/lib/jaxb-impl-2.2.7.jar does not point to a valid jar for a Class-Path reference. 2014-02-03 14:07:00,156 WARN [org.jboss.as.server.deployment] (MSC service thread 1-9) JBAS015960: Class Path entry jaxb-core.jar in /C:/Users/Edem/Servers/keycloak-appliance-dist-all-1.0-alpha-1/keycloak/standalone/deployments/auth-server.war/WEB-INF/lib/jaxb-impl-2.2.7.jar does not point to a valid jar for a Class-Path reference. 2014-02-03 14:07:00,219 INFO [org.jboss.as.jpa] (MSC service thread 1-11) JBAS011401: Read persistence.xml for jpa-keycloak-identity-store 2014-02-03 14:07:00,328 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 52) JBAS011409: Starting Persistence Unit (phase 1 of 2) Service 'auth-server.war#jpa-keycloak-identity-store' 2014-02-03 14:07:00,344 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 52) HHH000204: Processing PersistenceUnitInfo [ name: jpa-keycloak-identity-store ...] 2014-02-03 14:07:00,391 INFO [org.hibernate.Version] (ServerService Thread Pool -- 52) HHH000412: Hibernate Core {4.3.0.Final} 2014-02-03 14:07:00,391 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 52) HHH000206: hibernate.properties not found 2014-02-03 14:07:00,391 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 52) HHH000021: Bytecode provider name : javassist 2014-02-03 14:07:00,531 WARN [org.jboss.as.ee] (MSC service thread 1-7) JBAS011006: Not installing optional component org.jboss.resteasy.plugins.server.servlet.Servlet3AsyncHttpRequest$Servlet3ExecutionContext$Servle3AsychronousResponse due to an exception (enable DEBUG log level to see the cause) 2014-02-03 14:07:00,594 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 52) JBAS011409: Starting Persistence Unit (phase 2 of 2) Service 'auth-server.war#jpa-keycloak-identity-store' 2014-02-03 14:07:00,641 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 52) HCANN000001: Hibernate Commons Annotations {4.0.4.Final} 2014-02-03 14:07:00,859 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 52) HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL9Dialect 2014-02-03 14:07:00,859 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 52) HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException 2014-02-03 14:07:01,000 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 52) HHH000397: Using ASTQueryTranslatorFactory 2014-02-03 14:07:01,047 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 52) HV000001: Hibernate Validator 5.0.2.Final 2014-02-03 14:07:01,375 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000228: Running hbm2ddl schema update 2014-02-03 14:07:01,375 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000102: Fetching database metadata 2014-02-03 14:07:01,391 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000396: Updating schema 2014-02-03 14:07:01,391 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_DEFAULT_ROLES 2014-02-03 14:07:01,391 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_REQUIRED_CREDENTIALS 2014-02-03 14:07:01,391 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_ROLES 2014-02-03 14:07:01,391 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationEntity 2014-02-03 14:07:01,391 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationScopeMappingEntity 2014-02-03 14:07:01,406 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationUserRoleMappingEntity 2014-02-03 14:07:01,406 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: CredentialEntity 2014-02-03 14:07:01,406 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: OAUTH_CLIENT_REQUIRED_CREDENTIALS 2014-02-03 14:07:01,406 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: OAuthClientEntity 2014-02-03 14:07:01,406 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: REALM_DEFAULT_ROLES 2014-02-03 14:07:01,406 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: REALM_ROLES 2014-02-03 14:07:01,422 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity 2014-02-03 14:07:01,422 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_ApplicationEntity 2014-02-03 14:07:01,422 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_smtpConfig 2014-02-03 14:07:01,422 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_socialConfig 2014-02-03 14:07:01,422 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmScopeMappingEntity 2014-02-03 14:07:01,422 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmUserRoleMappingEntity 2014-02-03 14:07:01,422 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RequiredCredentialEntity 2014-02-03 14:07:01,437 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RoleEntity 2014-02-03 14:07:01,437 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: SocialLinkEntity 2014-02-03 14:07:01,437 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: USER_REQUIRED_CREDENTIALS 2014-02-03 14:07:01,437 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity 2014-02-03 14:07:01,437 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_CredentialEntity 2014-02-03 14:07:01,437 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_attributes 2014-02-03 14:07:01,437 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_redirectUris 2014-02-03 14:07:01,437 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_requiredActions 2014-02-03 14:07:01,453 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_webOrigins 2014-02-03 14:07:01,453 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_DEFAULT_ROLES 2014-02-03 14:07:01,453 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_REQUIRED_CREDENTIALS 2014-02-03 14:07:01,453 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_ROLES 2014-02-03 14:07:01,453 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationEntity 2014-02-03 14:07:01,453 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationScopeMappingEntity 2014-02-03 14:07:01,453 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationUserRoleMappingEntity 2014-02-03 14:07:01,453 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: CredentialEntity 2014-02-03 14:07:01,469 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: OAUTH_CLIENT_REQUIRED_CREDENTIALS 2014-02-03 14:07:01,469 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: OAuthClientEntity 2014-02-03 14:07:01,469 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: REALM_DEFAULT_ROLES 2014-02-03 14:07:01,469 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: REALM_ROLES 2014-02-03 14:07:01,469 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity 2014-02-03 14:07:01,469 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_ApplicationEntity 2014-02-03 14:07:01,469 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_smtpConfig 2014-02-03 14:07:01,484 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_socialConfig 2014-02-03 14:07:01,484 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmScopeMappingEntity 2014-02-03 14:07:01,484 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmUserRoleMappingEntity 2014-02-03 14:07:01,484 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RequiredCredentialEntity 2014-02-03 14:07:01,484 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RoleEntity 2014-02-03 14:07:01,484 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: SocialLinkEntity 2014-02-03 14:07:01,484 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: USER_REQUIRED_CREDENTIALS 2014-02-03 14:07:01,500 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity 2014-02-03 14:07:01,500 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_CredentialEntity 2014-02-03 14:07:01,500 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_attributes 2014-02-03 14:07:01,500 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_redirectUris 2014-02-03 14:07:01,500 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_requiredActions 2014-02-03 14:07:01,500 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_webOrigins 2014-02-03 14:07:01,500 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_DEFAULT_ROLES 2014-02-03 14:07:01,516 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_REQUIRED_CREDENTIALS 2014-02-03 14:07:01,516 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_ROLES 2014-02-03 14:07:01,516 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationEntity 2014-02-03 14:07:01,516 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationScopeMappingEntity 2014-02-03 14:07:01,516 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationUserRoleMappingEntity 2014-02-03 14:07:01,516 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: CredentialEntity 2014-02-03 14:07:01,516 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: OAUTH_CLIENT_REQUIRED_CREDENTIALS 2014-02-03 14:07:01,531 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: OAuthClientEntity 2014-02-03 14:07:01,531 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: REALM_DEFAULT_ROLES 2014-02-03 14:07:01,531 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: REALM_ROLES 2014-02-03 14:07:01,531 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity 2014-02-03 14:07:01,531 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_ApplicationEntity 2014-02-03 14:07:01,531 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_smtpConfig 2014-02-03 14:07:01,531 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_socialConfig 2014-02-03 14:07:01,547 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmScopeMappingEntity 2014-02-03 14:07:01,547 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmUserRoleMappingEntity 2014-02-03 14:07:01,547 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RequiredCredentialEntity 2014-02-03 14:07:01,547 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RoleEntity 2014-02-03 14:07:01,547 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: SocialLinkEntity 2014-02-03 14:07:01,547 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: USER_REQUIRED_CREDENTIALS 2014-02-03 14:07:01,547 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity 2014-02-03 14:07:01,547 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_CredentialEntity 2014-02-03 14:07:01,562 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_attributes 2014-02-03 14:07:01,562 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_redirectUris 2014-02-03 14:07:01,562 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_requiredActions 2014-02-03 14:07:01,562 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_webOrigins 2014-02-03 14:07:01,750 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table APPLICATION_DEFAULT_ROLES add constraint FK_drp2eoe21hph4svi7407swsyd foreign key (defaultRoles_id) references RoleEntity 2014-02-03 14:07:01,750 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_drp2eoe21hph4svi7407swsyd" cannot be implemented Detail: Key columns "defaultroles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,750 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table APPLICATION_DEFAULT_ROLES add constraint FK_s4rd4wsid827akdjb0w9ibp34 foreign key (ApplicationEntity_id) references ApplicationEntity 2014-02-03 14:07:01,750 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_s4rd4wsid827akdjb0w9ibp34" cannot be implemented Detail: Key columns "applicationentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,750 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table APPLICATION_REQUIRED_CREDENTIALS add constraint FK_covu9ee5bu9nkvl1vu8hb1ir7 foreign key (requiredApplicationCredentials_id) references RequiredCredentialEntity 2014-02-03 14:07:01,750 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_covu9ee5bu9nkvl1vu8hb1ir7" cannot be implemented Detail: Key columns "requiredapplicationcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,766 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table APPLICATION_ROLES add constraint FK_7l9hpvgdgmc5uejbcop317ib2 foreign key (roles_id) references RoleEntity 2014-02-03 14:07:01,766 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_7l9hpvgdgmc5uejbcop317ib2" cannot be implemented Detail: Key columns "roles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,766 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table APPLICATION_ROLES add constraint FK_60s842yuivcyjem9m1umj0ymh foreign key (ApplicationEntity_id) references ApplicationEntity 2014-02-03 14:07:01,766 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_60s842yuivcyjem9m1umj0ymh" cannot be implemented Detail: Key columns "applicationentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,766 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationEntity add constraint FK_63mhyngq4dy1yx8he7q8ubmop foreign key (applicationUser_id) references UserEntity 2014-02-03 14:07:01,766 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_63mhyngq4dy1yx8he7q8ubmop" cannot be implemented Detail: Key columns "applicationuser_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,766 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_fa7sbalr95rlthhcf9sg8i3r4 foreign key (role_id) references RoleEntity 2014-02-03 14:07:01,766 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_fa7sbalr95rlthhcf9sg8i3r4" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,766 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_nfsdpo5g58c6nqfep9sup3ctp foreign key (user_id) references UserEntity 2014-02-03 14:07:01,766 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_nfsdpo5g58c6nqfep9sup3ctp" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,766 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_4ssreqxn6j2a7up48i1qb2sua foreign key (application_id) references ApplicationEntity 2014-02-03 14:07:01,766 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_4ssreqxn6j2a7up48i1qb2sua" cannot be implemented Detail: Key columns "application_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,766 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_t10o4fp8tk5ba9vkpm98c2yrt foreign key (role_id) references RoleEntity 2014-02-03 14:07:01,766 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_t10o4fp8tk5ba9vkpm98c2yrt" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,781 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_acs25q56goc10xrr4xw9bwsth foreign key (user_id) references UserEntity 2014-02-03 14:07:01,781 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_acs25q56goc10xrr4xw9bwsth" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,781 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_9y39hi5ph6at6ds1krpn0rtpi foreign key (application_id) references ApplicationEntity 2014-02-03 14:07:01,781 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_9y39hi5ph6at6ds1krpn0rtpi" cannot be implemented Detail: Key columns "application_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,781 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table CredentialEntity add constraint FK_pn32x46lgmhlaldchhp47wfgj foreign key (user_id) references UserEntity 2014-02-03 14:07:01,781 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_pn32x46lgmhlaldchhp47wfgj" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,781 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table OAUTH_CLIENT_REQUIRED_CREDENTIALS add constraint FK_76d17rixlrhv6dq5w8vjtcny7 foreign key (requiredOAuthClientCredentials_id) references RequiredCredentialEntity 2014-02-03 14:07:01,781 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_76d17rixlrhv6dq5w8vjtcny7" cannot be implemented Detail: Key columns "requiredoauthclientcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,781 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table OAuthClientEntity add constraint FK_62mly7ecnrpvk39hvtogbfu9l foreign key (agent_id) references UserEntity 2014-02-03 14:07:01,781 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_62mly7ecnrpvk39hvtogbfu9l" cannot be implemented Detail: Key columns "agent_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,781 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table REALM_DEFAULT_ROLES add constraint FK_nm4mf0m1nmi7ub6mjbjy4vfhs foreign key (defaultRoles_id) references RoleEntity 2014-02-03 14:07:01,781 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_nm4mf0m1nmi7ub6mjbjy4vfhs" cannot be implemented Detail: Key columns "defaultroles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,797 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table REALM_ROLES add constraint FK_ianyv4ds3ad2manh3fjgh4qi8 foreign key (roles_id) references RoleEntity 2014-02-03 14:07:01,797 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_ianyv4ds3ad2manh3fjgh4qi8" cannot be implemented Detail: Key columns "roles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,797 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table RealmEntity_ApplicationEntity add constraint FK_lc35hwkvorkg9dmj6e6hi40qn foreign key (applications_id) references ApplicationEntity 2014-02-03 14:07:01,797 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_lc35hwkvorkg9dmj6e6hi40qn" cannot be implemented Detail: Key columns "applications_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,797 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table RealmScopeMappingEntity add constraint FK_5nm8bsgqihl29vbpck1ldg6hf foreign key (role_id) references RoleEntity 2014-02-03 14:07:01,797 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_5nm8bsgqihl29vbpck1ldg6hf" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,812 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table RealmScopeMappingEntity add constraint FK_9pdjxdhf2xi91uqi2smbihxjy foreign key (user_id) references UserEntity 2014-02-03 14:07:01,812 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_9pdjxdhf2xi91uqi2smbihxjy" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,812 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table RealmUserRoleMappingEntity add constraint FK_osxtwgn0r896ttjvjstnrxvm4 foreign key (role_id) references RoleEntity 2014-02-03 14:07:01,812 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_osxtwgn0r896ttjvjstnrxvm4" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,812 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table RealmUserRoleMappingEntity add constraint FK_8tq5oy7c7jw9yl64jvi3f79av foreign key (user_id) references UserEntity 2014-02-03 14:07:01,812 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_8tq5oy7c7jw9yl64jvi3f79av" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,812 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table SocialLinkEntity add constraint FK_of3vi3cc8yo5aavbsq2flfm32 foreign key (user_id) references UserEntity 2014-02-03 14:07:01,812 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_of3vi3cc8yo5aavbsq2flfm32" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,812 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table USER_REQUIRED_CREDENTIALS add constraint FK_5uc73e6cvxmkq5ybruf1jsygv foreign key (requiredCredentials_id) references RequiredCredentialEntity 2014-02-03 14:07:01,828 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_5uc73e6cvxmkq5ybruf1jsygv" cannot be implemented Detail: Key columns "requiredcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,828 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_CredentialEntity add constraint FK_kwlok0nencsu8kuhwervrn2p5 foreign key (credentials_id) references CredentialEntity 2014-02-03 14:07:01,828 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_kwlok0nencsu8kuhwervrn2p5" cannot be implemented Detail: Key columns "credentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,828 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_CredentialEntity add constraint FK_302t29u9komfu7d7qffci0cie foreign key (UserEntity_id) references UserEntity 2014-02-03 14:07:01,828 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_302t29u9komfu7d7qffci0cie" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,828 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_attributes add constraint FK_pv89d7hl2qoyg2dc1b9bupw7l foreign key (UserEntity_id) references UserEntity 2014-02-03 14:07:01,828 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_pv89d7hl2qoyg2dc1b9bupw7l" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,828 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_redirectUris add constraint FK_myu5kr3txep49myg1ejwwy58f foreign key (UserEntity_id) references UserEntity 2014-02-03 14:07:01,828 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_myu5kr3txep49myg1ejwwy58f" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,828 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_requiredActions add constraint FK_eclsk6gyvwy477usdcwu8l1mx foreign key (UserEntity_id) references UserEntity 2014-02-03 14:07:01,828 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_eclsk6gyvwy477usdcwu8l1mx" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,844 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_webOrigins add constraint FK_sn38pjw1v24ahb1d6jrwshoa6 foreign key (UserEntity_id) references UserEntity 2014-02-03 14:07:01,844 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_sn38pjw1v24ahb1d6jrwshoa6" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:01,844 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000232: Schema update complete 2014-02-03 14:07:01,844 WARN [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 52) HHH000008: JTASessionContext being used with JDBCTransactionFactory; auto-flush will not operate correctly with getCurrentSession() 2014-02-03 14:07:02,281 INFO [org.hibernate.jpa.internal.util.LogHelper] (MSC service thread 1-14) HHH000204: Processing PersistenceUnitInfo [ name: jpa-keycloak-identity-store ...] 2014-02-03 14:07:02,312 INFO [org.hibernate.dialect.Dialect] (MSC service thread 1-14) HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL9Dialect 2014-02-03 14:07:02,328 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (MSC service thread 1-14) HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException 2014-02-03 14:07:02,359 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-14) HHH000397: Using ASTQueryTranslatorFactory 2014-02-03 14:07:02,437 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000228: Running hbm2ddl schema update 2014-02-03 14:07:02,437 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000102: Fetching database metadata 2014-02-03 14:07:02,437 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000396: Updating schema 2014-02-03 14:07:02,469 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.application_default_roles 2014-02-03 14:07:02,469 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [defaultroles_id, applicationentity_id] 2014-02-03 14:07:02,469 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [] 2014-02-03 14:07:02,469 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [uk_drp2eoe21hph4svi7407swsyd] 2014-02-03 14:07:02,484 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.application_required_credentials 2014-02-03 14:07:02,484 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [requiredapplicationcredentials_id, realmentity_id] 2014-02-03 14:07:02,484 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [fk_82svc5ipoim52p8271tvdsrqj] 2014-02-03 14:07:02,484 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [uk_covu9ee5bu9nkvl1vu8hb1ir7] 2014-02-03 14:07:02,500 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.application_roles 2014-02-03 14:07:02,500 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [applicationentity_id, roles_id] 2014-02-03 14:07:02,500 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [] 2014-02-03 14:07:02,500 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [uk_7l9hpvgdgmc5uejbcop317ib2] 2014-02-03 14:07:02,516 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.applicationentity 2014-02-03 14:07:02,516 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [id, enabled, managementurl, applicationuser_id, name, baseurl, surrogateauthrequired] 2014-02-03 14:07:02,531 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [] 2014-02-03 14:07:02,531 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [applicationentity_pkey] 2014-02-03 14:07:02,547 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.applicationscopemappingentity 2014-02-03 14:07:02,547 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [id, role_id, user_id, application_id] 2014-02-03 14:07:02,547 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [] 2014-02-03 14:07:02,547 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [applicationscopemappingentity_pkey] 2014-02-03 14:07:02,562 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.applicationuserrolemappingentity 2014-02-03 14:07:02,562 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [id, role_id, user_id, application_id] 2014-02-03 14:07:02,562 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [] 2014-02-03 14:07:02,562 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [applicationuserrolemappingentity_pkey] 2014-02-03 14:07:02,578 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.credentialentity 2014-02-03 14:07:02,578 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [id, value, device, user_id, type] 2014-02-03 14:07:02,578 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [] 2014-02-03 14:07:02,578 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [credentialentity_pkey] 2014-02-03 14:07:02,594 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.oauth_client_required_credentials 2014-02-03 14:07:02,594 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [realmentity_id, requiredoauthclientcredentials_id] 2014-02-03 14:07:02,594 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [fk_axk539p25x0kjtye8jf036fm7] 2014-02-03 14:07:02,594 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [uk_76d17rixlrhv6dq5w8vjtcny7] 2014-02-03 14:07:02,625 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.oauthcliententity 2014-02-03 14:07:02,625 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [id, realm_id, name, agent_id] 2014-02-03 14:07:02,625 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [fk_c7p5k3d5mewb3yym9qypp76uj] 2014-02-03 14:07:02,625 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [oauthcliententity_pkey] 2014-02-03 14:07:02,641 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.realm_default_roles 2014-02-03 14:07:02,641 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [realmentity_id, defaultroles_id] 2014-02-03 14:07:02,641 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [fk_n33klpw4ofkxt71sbuumd5ldo] 2014-02-03 14:07:02,641 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [uk_nm4mf0m1nmi7ub6mjbjy4vfhs] 2014-02-03 14:07:02,656 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.realm_roles 2014-02-03 14:07:02,656 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [realmentity_id, roles_id] 2014-02-03 14:07:02,656 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [fk_ojax2569atkiu2esoxqnj0o4i] 2014-02-03 14:07:02,656 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [uk_ianyv4ds3ad2manh3fjgh4qi8] 2014-02-03 14:07:02,672 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.realmentity 2014-02-03 14:07:02,672 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [enabled, passwordpolicy, publickeypem, registrationallowed, resetpasswordallowed, privatekeypem, accesscodelifespan, accesscodelifespanuseraction, id, sslnotrequired, updateprofileoninitialsociallogin, social, tokenlifespan, name, verifyemail] 2014-02-03 14:07:02,672 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [] 2014-02-03 14:07:02,672 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [realmentity_pkey] 2014-02-03 14:07:02,687 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.realmentity_applicationentity 2014-02-03 14:07:02,703 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [realmentity_id, applications_id] 2014-02-03 14:07:02,703 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [fk_kl5keangpo58h9r3cugwvxu2] 2014-02-03 14:07:02,703 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [uk_lc35hwkvorkg9dmj6e6hi40qn] 2014-02-03 14:07:02,719 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.realmentity_smtpconfig 2014-02-03 14:07:02,719 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [realmentity_id, name, value] 2014-02-03 14:07:02,719 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [fk_hbtlvt068mnrudm3cf0px691h] 2014-02-03 14:07:02,719 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [realmentity_smtpconfig_pkey] 2014-02-03 14:07:02,734 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.realmentity_socialconfig 2014-02-03 14:07:02,734 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [realmentity_id, name, value] 2014-02-03 14:07:02,734 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [fk_18sn19xqpu83b06jv6w8ksvfv] 2014-02-03 14:07:02,734 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [realmentity_socialconfig_pkey] 2014-02-03 14:07:02,750 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.realmscopemappingentity 2014-02-03 14:07:02,750 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [id, realm_id, role_id, user_id] 2014-02-03 14:07:02,750 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [fk_kbre9poi98gu6fwc0llkav9lc] 2014-02-03 14:07:02,750 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [realmscopemappingentity_pkey] 2014-02-03 14:07:02,766 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.realmuserrolemappingentity 2014-02-03 14:07:02,766 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [id, realm_id, role_id, user_id] 2014-02-03 14:07:02,766 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [fk_mmv1fqq7ktpxfgprb7qc3j37o] 2014-02-03 14:07:02,781 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [realmuserrolemappingentity_pkey] 2014-02-03 14:07:02,797 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.requiredcredentialentity 2014-02-03 14:07:02,797 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [id, input, secret, formlabel, type] 2014-02-03 14:07:02,797 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [] 2014-02-03 14:07:02,797 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [requiredcredentialentity_pkey] 2014-02-03 14:07:02,812 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.roleentity 2014-02-03 14:07:02,812 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [id, description, name] 2014-02-03 14:07:02,812 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [] 2014-02-03 14:07:02,812 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [roleentity_pkey] 2014-02-03 14:07:02,828 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.sociallinkentity 2014-02-03 14:07:02,828 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [id, socialusername, realm_id, socialprovider, user_id] 2014-02-03 14:07:02,828 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [fk_jav76o82ob85iuxm2l0gg904h] 2014-02-03 14:07:02,828 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [sociallinkentity_pkey] 2014-02-03 14:07:02,844 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.user_required_credentials 2014-02-03 14:07:02,844 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [realmentity_id, requiredcredentials_id] 2014-02-03 14:07:02,844 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [fk_oxi9ad45ic3e60u94qihx75i3] 2014-02-03 14:07:02,844 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [uk_5uc73e6cvxmkq5ybruf1jsygv] 2014-02-03 14:07:02,859 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.userentity 2014-02-03 14:07:02,875 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [id, loginname, enabled, realm_id, totp, email, emailverified, lastname, firstname] 2014-02-03 14:07:02,875 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [fk_1u1wm7gj4o98kabis6et6klh5] 2014-02-03 14:07:02,875 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [userentity_pkey] 2014-02-03 14:07:02,891 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.userentity_credentialentity 2014-02-03 14:07:02,891 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [credentials_id, userentity_id] 2014-02-03 14:07:02,891 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [] 2014-02-03 14:07:02,891 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [uk_kwlok0nencsu8kuhwervrn2p5] 2014-02-03 14:07:02,906 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.userentity_attributes 2014-02-03 14:07:02,906 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [userentity_id, name, value] 2014-02-03 14:07:02,906 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [] 2014-02-03 14:07:02,906 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [userentity_attributes_pkey] 2014-02-03 14:07:02,922 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.userentity_redirecturis 2014-02-03 14:07:02,922 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [userentity_id, redirecturis] 2014-02-03 14:07:02,922 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [] 2014-02-03 14:07:02,922 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [] 2014-02-03 14:07:02,937 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.userentity_requiredactions 2014-02-03 14:07:02,937 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [userentity_id, requiredactions] 2014-02-03 14:07:02,937 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [] 2014-02-03 14:07:02,937 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [] 2014-02-03 14:07:02,969 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000261: Table found: public.userentity_weborigins 2014-02-03 14:07:02,969 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000037: Columns: [userentity_id, weborigins] 2014-02-03 14:07:02,969 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000108: Foreign keys: [] 2014-02-03 14:07:02,969 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-14) HHH000126: Indexes: [] 2014-02-03 14:07:02,969 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table APPLICATION_DEFAULT_ROLES add constraint FK_drp2eoe21hph4svi7407swsyd foreign key (defaultRoles_id) references RoleEntity 2014-02-03 14:07:02,969 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_drp2eoe21hph4svi7407swsyd" cannot be implemented Detail: Key columns "defaultroles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:02,969 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table APPLICATION_DEFAULT_ROLES add constraint FK_s4rd4wsid827akdjb0w9ibp34 foreign key (ApplicationEntity_id) references ApplicationEntity 2014-02-03 14:07:02,969 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_s4rd4wsid827akdjb0w9ibp34" cannot be implemented Detail: Key columns "applicationentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:02,969 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table APPLICATION_REQUIRED_CREDENTIALS add constraint FK_covu9ee5bu9nkvl1vu8hb1ir7 foreign key (requiredApplicationCredentials_id) references RequiredCredentialEntity 2014-02-03 14:07:02,969 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_covu9ee5bu9nkvl1vu8hb1ir7" cannot be implemented Detail: Key columns "requiredapplicationcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:02,969 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table APPLICATION_ROLES add constraint FK_7l9hpvgdgmc5uejbcop317ib2 foreign key (roles_id) references RoleEntity 2014-02-03 14:07:02,969 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_7l9hpvgdgmc5uejbcop317ib2" cannot be implemented Detail: Key columns "roles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:02,969 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table APPLICATION_ROLES add constraint FK_60s842yuivcyjem9m1umj0ymh foreign key (ApplicationEntity_id) references ApplicationEntity 2014-02-03 14:07:02,969 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_60s842yuivcyjem9m1umj0ymh" cannot be implemented Detail: Key columns "applicationentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:02,969 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table ApplicationEntity add constraint FK_63mhyngq4dy1yx8he7q8ubmop foreign key (applicationUser_id) references UserEntity 2014-02-03 14:07:02,969 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_63mhyngq4dy1yx8he7q8ubmop" cannot be implemented Detail: Key columns "applicationuser_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:02,984 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_fa7sbalr95rlthhcf9sg8i3r4 foreign key (role_id) references RoleEntity 2014-02-03 14:07:02,984 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_fa7sbalr95rlthhcf9sg8i3r4" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:02,984 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_nfsdpo5g58c6nqfep9sup3ctp foreign key (user_id) references UserEntity 2014-02-03 14:07:02,984 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_nfsdpo5g58c6nqfep9sup3ctp" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:02,984 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_4ssreqxn6j2a7up48i1qb2sua foreign key (application_id) references ApplicationEntity 2014-02-03 14:07:02,984 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_4ssreqxn6j2a7up48i1qb2sua" cannot be implemented Detail: Key columns "application_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:02,984 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_t10o4fp8tk5ba9vkpm98c2yrt foreign key (role_id) references RoleEntity 2014-02-03 14:07:02,984 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_t10o4fp8tk5ba9vkpm98c2yrt" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:02,984 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_acs25q56goc10xrr4xw9bwsth foreign key (user_id) references UserEntity 2014-02-03 14:07:02,984 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_acs25q56goc10xrr4xw9bwsth" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:02,984 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_9y39hi5ph6at6ds1krpn0rtpi foreign key (application_id) references ApplicationEntity 2014-02-03 14:07:02,984 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_9y39hi5ph6at6ds1krpn0rtpi" cannot be implemented Detail: Key columns "application_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:02,984 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table CredentialEntity add constraint FK_pn32x46lgmhlaldchhp47wfgj foreign key (user_id) references UserEntity 2014-02-03 14:07:02,984 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_pn32x46lgmhlaldchhp47wfgj" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:02,984 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table OAUTH_CLIENT_REQUIRED_CREDENTIALS add constraint FK_76d17rixlrhv6dq5w8vjtcny7 foreign key (requiredOAuthClientCredentials_id) references RequiredCredentialEntity 2014-02-03 14:07:02,984 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_76d17rixlrhv6dq5w8vjtcny7" cannot be implemented Detail: Key columns "requiredoauthclientcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table OAuthClientEntity add constraint FK_62mly7ecnrpvk39hvtogbfu9l foreign key (agent_id) references UserEntity 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_62mly7ecnrpvk39hvtogbfu9l" cannot be implemented Detail: Key columns "agent_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table REALM_DEFAULT_ROLES add constraint FK_nm4mf0m1nmi7ub6mjbjy4vfhs foreign key (defaultRoles_id) references RoleEntity 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_nm4mf0m1nmi7ub6mjbjy4vfhs" cannot be implemented Detail: Key columns "defaultroles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table REALM_ROLES add constraint FK_ianyv4ds3ad2manh3fjgh4qi8 foreign key (roles_id) references RoleEntity 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_ianyv4ds3ad2manh3fjgh4qi8" cannot be implemented Detail: Key columns "roles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table RealmEntity_ApplicationEntity add constraint FK_lc35hwkvorkg9dmj6e6hi40qn foreign key (applications_id) references ApplicationEntity 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_lc35hwkvorkg9dmj6e6hi40qn" cannot be implemented Detail: Key columns "applications_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table RealmScopeMappingEntity add constraint FK_5nm8bsgqihl29vbpck1ldg6hf foreign key (role_id) references RoleEntity 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_5nm8bsgqihl29vbpck1ldg6hf" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table RealmScopeMappingEntity add constraint FK_9pdjxdhf2xi91uqi2smbihxjy foreign key (user_id) references UserEntity 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_9pdjxdhf2xi91uqi2smbihxjy" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table RealmUserRoleMappingEntity add constraint FK_osxtwgn0r896ttjvjstnrxvm4 foreign key (role_id) references RoleEntity 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_osxtwgn0r896ttjvjstnrxvm4" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table RealmUserRoleMappingEntity add constraint FK_8tq5oy7c7jw9yl64jvi3f79av foreign key (user_id) references UserEntity 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_8tq5oy7c7jw9yl64jvi3f79av" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table SocialLinkEntity add constraint FK_of3vi3cc8yo5aavbsq2flfm32 foreign key (user_id) references UserEntity 2014-02-03 14:07:03,000 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_of3vi3cc8yo5aavbsq2flfm32" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,016 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table USER_REQUIRED_CREDENTIALS add constraint FK_5uc73e6cvxmkq5ybruf1jsygv foreign key (requiredCredentials_id) references RequiredCredentialEntity 2014-02-03 14:07:03,016 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_5uc73e6cvxmkq5ybruf1jsygv" cannot be implemented Detail: Key columns "requiredcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,016 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table UserEntity_CredentialEntity add constraint FK_kwlok0nencsu8kuhwervrn2p5 foreign key (credentials_id) references CredentialEntity 2014-02-03 14:07:03,016 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_kwlok0nencsu8kuhwervrn2p5" cannot be implemented Detail: Key columns "credentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,016 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table UserEntity_CredentialEntity add constraint FK_302t29u9komfu7d7qffci0cie foreign key (UserEntity_id) references UserEntity 2014-02-03 14:07:03,016 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_302t29u9komfu7d7qffci0cie" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,016 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table UserEntity_attributes add constraint FK_pv89d7hl2qoyg2dc1b9bupw7l foreign key (UserEntity_id) references UserEntity 2014-02-03 14:07:03,016 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_pv89d7hl2qoyg2dc1b9bupw7l" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,016 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table UserEntity_redirectUris add constraint FK_myu5kr3txep49myg1ejwwy58f foreign key (UserEntity_id) references UserEntity 2014-02-03 14:07:03,016 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_myu5kr3txep49myg1ejwwy58f" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,016 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table UserEntity_requiredActions add constraint FK_eclsk6gyvwy477usdcwu8l1mx foreign key (UserEntity_id) references UserEntity 2014-02-03 14:07:03,016 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_eclsk6gyvwy477usdcwu8l1mx" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,016 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000388: Unsuccessful: alter table UserEntity_webOrigins add constraint FK_sn38pjw1v24ahb1d6jrwshoa6 foreign key (UserEntity_id) references UserEntity 2014-02-03 14:07:03,016 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) ERROR: foreign key constraint "fk_sn38pjw1v24ahb1d6jrwshoa6" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:07:03,016 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-14) HHH000232: Schema update complete 2014-02-03 14:07:03,125 INFO [org.keycloak.services.managers.ApplianceBootstrap] (MSC service thread 1-14) Initializing keycloak-admin realm 2014-02-03 14:07:03,187 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (MSC service thread 1-14) SQL Error: 0, SQLState: 42883 2014-02-03 14:07:03,187 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (MSC service thread 1-14) ERROR: operator does not exist: integer = character varying Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts. Position: 78 2014-02-03 14:07:03,187 INFO [org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl] (MSC service thread 1-14) HHH000010: On release of batch it still contained JDBC statements 2014-02-03 14:07:03,187 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-14) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45] at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45] Caused by: java.lang.RuntimeException: Failed to construct public org.keycloak.server.KeycloakServerApplication(javax.servlet.ServletContext) throws java.io.FileNotFoundException at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:160) at org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2175) at org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:295) at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:236) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:112) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36) at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:204) at io.undertow.servlet.core.ManagedServlet.start(ManagedServlet.java:112) at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:462) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:87) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:71) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] ... 3 more Caused by: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute statement at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763) at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1677) at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1683) at org.hibernate.jpa.spi.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:1338) at org.keycloak.models.jpa.RealmAdapter.updateCredential(RealmAdapter.java:1064) at org.keycloak.services.managers.RealmManager.setupAccountManagement(RealmManager.java:157) at org.keycloak.services.managers.RealmManager.createRealm(RealmManager.java:82) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:45) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:29) at org.keycloak.services.resources.KeycloakApplication.setupDefaultRealm(KeycloakApplication.java:70) at org.keycloak.services.resources.KeycloakApplication.(KeycloakApplication.java:52) at org.keycloak.server.KeycloakServerApplication.(KeycloakServerApplication.java:23) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_45] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_45] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_45] at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [rt.jar:1.7.0_45] at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:148) ... 15 more Caused by: org.hibernate.exception.SQLGrammarException: could not execute statement at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:123) at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49) at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:126) at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:112) at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:190) at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:62) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3281) at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3183) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3525) at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:158) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:453) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:345) at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350) at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56) at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1218) at org.hibernate.jpa.spi.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:1335) ... 28 more Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: integer = character varying Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts. Position: 78 at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334) at org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:493) at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:187) ... 39 more 2014-02-03 14:07:03,219 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "auth-server.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.undertow.deployment.default-server.default-host./auth" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: Failed to start service Caused by: java.lang.RuntimeException: Failed to construct public org.keycloak.server.KeycloakServerApplication(javax.servlet.ServletContext) throws java.io.FileNotFoundException Caused by: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute statement Caused by: org.hibernate.exception.SQLGrammarException: could not execute statement Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: integer = character varying Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts. Position: 78"}} 2014-02-03 14:07:03,234 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "keycloak-ds.xml")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"keycloak-ds.xml\".FIRST_MODULE_USE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"keycloak-ds.xml\".FIRST_MODULE_USE: JBAS018733: Failed to process phase FIRST_MODULE_USE of deployment \"keycloak-ds.xml\" Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS010464: Exception deploying datasource java:jboss/datasources/KeycloakDS Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.data-source.java:jboss/datasources/KeycloakDS is already registered"}} 2014-02-03 14:07:03,250 INFO [org.jboss.as.server] (ServerService Thread Pool -- 29) JBAS018559: Deployed "keycloak-ds.xml" (runtime-name : "keycloak-ds.xml") 2014-02-03 14:07:03,250 INFO [org.jboss.as.server] (ServerService Thread Pool -- 29) JBAS018559: Deployed "auth-server.war" (runtime-name : "auth-server.war") 2014-02-03 14:07:03,250 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report JBAS014777: Services which failed to start: service jboss.deployment.unit."keycloak-ds.xml".FIRST_MODULE_USE: org.jboss.msc.service.StartException in service jboss.deployment.unit."keycloak-ds.xml".FIRST_MODULE_USE: JBAS018733: Failed to process phase FIRST_MODULE_USE of deployment "keycloak-ds.xml" service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: Failed to start service 2014-02-03 14:07:03,266 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management 2014-02-03 14:07:03,266 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990 2014-02-03 14:07:03,266 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.0.0.CR1 "WildFly" started (with errors) in 5767ms - Started 285 of 343 services (3 services failed or missing dependencies, 89 services are lazy, passive or on-demand) 2014-02-03 14:07:03,516 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015877: Stopped deployment keycloak-ds.xml (runtime-name: keycloak-ds.xml) in 6ms 2014-02-03 14:07:03,516 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 1) JBAS011410: Stopping Persistence Unit (phase 2 of 2) Service 'auth-server.war#jpa-keycloak-identity-store' 2014-02-03 14:07:03,516 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 1) JBAS011410: Stopping Persistence Unit (phase 1 of 2) Service 'auth-server.war#jpa-keycloak-identity-store' 2014-02-03 14:07:03,578 INFO [org.jboss.as.server.deployment] (MSC service thread 1-13) JBAS015877: Stopped deployment auth-server.war (runtime-name: auth-server.war) in 80ms 2014-02-03 14:07:03,609 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "auth-server.war" (runtime-name: "auth-server.war") 2014-02-03 14:07:03,609 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "keycloak-ds.xml" (runtime-name: "keycloak-ds.xml") 2014-02-03 14:07:03,609 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report JBAS014775: New missing/unsatisfied dependencies: service jboss.deployment.unit."auth-server.war".component."javax.faces.webapp.FacetTag".START (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.deployment.unit."auth-server.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.deployment.unit."auth-server.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.deployment.unit."auth-server.war".component."org.jboss.resteasy.plugins.server.servlet.Filter30Dispatcher".START (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.deployment.unit."auth-server.war".component."org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher".START (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.deployment.unit."auth-server.war".component."org.keycloak.services.filters.KeycloakSessionServletFilter".START (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.deployment.unit."auth-server.war".component."org.keycloak.services.listeners.KeycloakSessionDestroyListener".START (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.deployment.unit."auth-server.war".component."org.keycloak.services.tmp.TmpAdminRedirectServlet".START (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.persistenceunit."auth-server.war#jpa-keycloak-identity-store" (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.undertow.deployment.default-server.default-host./auth (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] JBAS014777: Services which failed to start: service jboss.deployment.unit."keycloak-ds.xml".FIRST_MODULE_USE service jboss.undertow.deployment.default-server.default-host./auth 2014-02-03 14:07:08,297 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found auth-server.war in deployment directory. To trigger deployment create a file called auth-server.war.dodeploy 2014-02-03 14:08:02,709 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.0.Final 2014-02-03 14:08:02,850 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.0.CR1 2014-02-03 14:08:02,913 INFO [org.jboss.as] (MSC service thread 1-6) JBAS015899: WildFly 8.0.0.CR1 "WildFly" starting 2014-02-03 14:08:02,913 DEBUG [org.jboss.as.config] (MSC service thread 1-6) Configured system properties: awt.toolkit = sun.awt.windows.WToolkit file.encoding = Cp1252 file.encoding.pkg = sun.io file.separator = \ java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment java.awt.printerjob = sun.awt.windows.WPrinterJob java.class.path = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\jboss-modules.jar java.class.version = 51.0 java.endorsed.dirs = C:\Progra~1\Java\jdk1.7.0_45\jre\lib\endorsed java.ext.dirs = C:\Progra~1\Java\jdk1.7.0_45\jre\lib\ext;C:\windows\Sun\Java\lib\ext java.home = C:\Progra~1\Java\jdk1.7.0_45\jre java.io.tmpdir = C:\Users\Edem\AppData\Local\Temp\ java.library.path = C:\Progra~1\Java\jdk1.7.0_45\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Condusiv Technologies\ExpressCache\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Java\jdk1.7.0_45\bin;C:\Program Files\FileBot\;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Apache Software Foundation\apache-ant-1.9.3/bin;C:\Program Files\TortoiseHg\;C:\Users\Edem\Servers\mybin\forge-distribution-1.4.3.Final\bin;C:\Program Files\Apache Software Foundation\apache-maven-3.0.5\bin;. java.net.preferIPv4Stack = true java.runtime.name = Java(TM) SE Runtime Environment java.runtime.version = 1.7.0_45-b18 java.specification.name = Java Platform API Specification java.specification.vendor = Oracle Corporation java.specification.version = 1.7 java.util.logging.manager = org.jboss.logmanager.LogManager java.vendor = Oracle Corporation java.vendor.url = http://java.oracle.com/ java.vendor.url.bug = http://bugreport.sun.com/bugreport/ java.version = 1.7.0_45 java.vm.info = mixed mode java.vm.name = Java HotSpot(TM) 64-Bit Server VM java.vm.specification.name = Java Virtual Machine Specification java.vm.specification.vendor = Oracle Corporation java.vm.specification.version = 1.7 java.vm.vendor = Oracle Corporation java.vm.version = 24.45-b08 javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory jboss.home.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak jboss.host.name = edemgear jboss.modules.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\modules jboss.modules.system.pkgs = org.jboss.byteman jboss.node.name = edemgear jboss.qualified.host.name = edemgear jboss.server.base.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone jboss.server.config.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\configuration jboss.server.data.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\data jboss.server.deploy.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\data\content jboss.server.log.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\log jboss.server.name = edemgear jboss.server.persist.config = true jboss.server.temp.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\tmp line.separator = logging.configuration = file:C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\configuration/logging.properties module.path = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\modules org.jboss.boot.log.file = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\log\server.log org.jboss.resolver.warning = true org.xml.sax.driver = __redirected.__XMLReaderFactory os.arch = amd64 os.name = Windows 8 os.version = 6.2 path.separator = ; program.name = standalone.bat sun.arch.data.model = 64 sun.boot.class.path = C:\Progra~1\Java\jdk1.7.0_45\jre\lib\resources.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\rt.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\sunrsasign.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\jsse.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\jce.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\charsets.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\jfr.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\classes sun.boot.library.path = C:\Progra~1\Java\jdk1.7.0_45\jre\bin sun.cpu.endian = little sun.cpu.isalist = amd64 sun.desktop = windows sun.io.unicode.encoding = UnicodeLittle sun.java.command = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\jboss-modules.jar -mp C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\modules org.jboss.as.standalone -Djboss.home.dir=C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak sun.java.launcher = SUN_STANDARD sun.jnu.encoding = Cp1252 sun.management.compiler = HotSpot 64-Bit Tiered Compilers sun.os.patch.level = user.country = US user.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\bin user.home = C:\Users\Edem user.language = en user.name = Edem user.script = user.timezone = GMT user.variant = 2014-02-03 14:08:02,913 DEBUG [org.jboss.as.config] (MSC service thread 1-6) VM Arguments: -XX:+UseCompressedOops -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Dorg.jboss.boot.log.file=C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\log\server.log -Dlogging.configuration=file:C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\configuration/logging.properties 2014-02-03 14:08:03,632 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment auth-server.war 2014-02-03 14:08:03,632 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found auth-server.war in deployment directory. To trigger deployment create a file called auth-server.war.dodeploy 2014-02-03 14:08:03,664 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http) 2014-02-03 14:08:03,664 INFO [org.xnio] (MSC service thread 1-5) XNIO version 3.2.0.Beta4 2014-02-03 14:08:03,664 INFO [org.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version 3.2.0.Beta4 2014-02-03 14:08:03,695 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 33) JBAS010280: Activating Infinispan subsystem. 2014-02-03 14:08:03,695 INFO [org.jboss.as.security] (ServerService Thread Pool -- 46) JBAS013171: Activating Security Subsystem 2014-02-03 14:08:03,695 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 41) JBAS011800: Activating Naming Subsystem 2014-02-03 14:08:03,695 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 50) JBAS015537: Activating WebServices Extension 2014-02-03 14:08:03,710 INFO [org.jboss.as.security] (MSC service thread 1-14) JBAS013170: Current PicketBox version=4.0.20.Beta2 2014-02-03 14:08:03,726 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 39) JBAS012615: Activated the following JSF Implementations: [main] 2014-02-03 14:08:03,726 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) JBAS017502: Undertow 1.0.0.Beta30 starting 2014-02-03 14:08:03,726 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 49) JBAS017502: Undertow 1.0.0.Beta30 starting 2014-02-03 14:08:03,726 INFO [org.jboss.as.connector.logging] (MSC service thread 1-6) JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.2.Final) 2014-02-03 14:08:03,757 INFO [org.jboss.as.naming] (MSC service thread 1-12) JBAS011802: Starting Naming Service 2014-02-03 14:08:03,757 INFO [org.jboss.as.mail.extension] (MSC service thread 1-14) JBAS015400: Bound mail session [java:jboss/mail/Default] 2014-02-03 14:08:03,757 INFO [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version (unknown) 2014-02-03 14:08:03,757 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 2014-02-03 14:08:03,773 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-14) JBAS010417: Started Driver service with driver-name = h2 2014-02-03 14:08:03,773 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.0) 2014-02-03 14:08:03,773 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) JBAS010417: Started Driver service with driver-name = org.postgresql 2014-02-03 14:08:03,914 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 49) JBAS017527: Creating file handler for path C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak/welcome-content 2014-02-03 14:08:03,929 INFO [org.wildfly.extension.undertow] (MSC service thread 1-9) JBAS017525: Started server default-server. 2014-02-03 14:08:03,929 INFO [org.wildfly.extension.undertow] (MSC service thread 1-9) JBAS017531: Host default-host starting 2014-02-03 14:08:04,070 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-14) JBAS015012: Started FileSystemDeploymentService for directory C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\deployments 2014-02-03 14:08:04,070 INFO [org.jboss.as.server.deployment] (MSC service thread 1-12) JBAS015876: Starting deployment of "auth-server.war" (runtime-name: "auth-server.war") 2014-02-03 14:08:04,304 INFO [org.jboss.as.remoting] (MSC service thread 1-13) JBAS017100: Listening on 127.0.0.1:9999 2014-02-03 14:08:04,335 INFO [org.wildfly.extension.undertow] (MSC service thread 1-14) JBAS017519: Undertow HTTP listener default listening on /127.0.0.1:8080 2014-02-03 14:08:04,429 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/KeycloakDS] 2014-02-03 14:08:04,429 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-9) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS] 2014-02-03 14:08:04,429 INFO [org.jboss.ws.common.management] (MSC service thread 1-14) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.2.3.Final 2014-02-03 14:08:05,101 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015960: Class Path entry jaxb-api.jar in /C:/Users/Edem/Servers/keycloak-appliance-dist-all-1.0-alpha-1/keycloak/standalone/deployments/auth-server.war/WEB-INF/lib/jaxb-core-2.2.7.jar does not point to a valid jar for a Class-Path reference. 2014-02-03 14:08:05,117 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015960: Class Path entry jaxb-api.jar in /C:/Users/Edem/Servers/keycloak-appliance-dist-all-1.0-alpha-1/keycloak/standalone/deployments/auth-server.war/WEB-INF/lib/jaxb-impl-2.2.7.jar does not point to a valid jar for a Class-Path reference. 2014-02-03 14:08:05,117 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015960: Class Path entry jaxb-core.jar in /C:/Users/Edem/Servers/keycloak-appliance-dist-all-1.0-alpha-1/keycloak/standalone/deployments/auth-server.war/WEB-INF/lib/jaxb-impl-2.2.7.jar does not point to a valid jar for a Class-Path reference. 2014-02-03 14:08:05,179 INFO [org.jboss.as.jpa] (MSC service thread 1-5) JBAS011401: Read persistence.xml for jpa-keycloak-identity-store 2014-02-03 14:08:05,320 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 52) JBAS011409: Starting Persistence Unit (phase 1 of 2) Service 'auth-server.war#jpa-keycloak-identity-store' 2014-02-03 14:08:05,320 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 52) HHH000204: Processing PersistenceUnitInfo [ name: jpa-keycloak-identity-store ...] 2014-02-03 14:08:05,367 INFO [org.hibernate.Version] (ServerService Thread Pool -- 52) HHH000412: Hibernate Core {4.3.0.Final} 2014-02-03 14:08:05,367 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 52) HHH000206: hibernate.properties not found 2014-02-03 14:08:05,367 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 52) HHH000021: Bytecode provider name : javassist 2014-02-03 14:08:05,476 WARN [org.jboss.as.ee] (MSC service thread 1-8) JBAS011006: Not installing optional component org.jboss.resteasy.plugins.server.servlet.Servlet3AsyncHttpRequest$Servlet3ExecutionContext$Servle3AsychronousResponse due to an exception (enable DEBUG log level to see the cause) 2014-02-03 14:08:05,523 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 52) JBAS011409: Starting Persistence Unit (phase 2 of 2) Service 'auth-server.war#jpa-keycloak-identity-store' 2014-02-03 14:08:05,585 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 52) HCANN000001: Hibernate Commons Annotations {4.0.4.Final} 2014-02-03 14:08:05,820 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 52) HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL9Dialect 2014-02-03 14:08:05,820 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 52) HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException 2014-02-03 14:08:05,945 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 52) HHH000397: Using ASTQueryTranslatorFactory 2014-02-03 14:08:05,976 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 52) HV000001: Hibernate Validator 5.0.2.Final 2014-02-03 14:08:06,320 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000228: Running hbm2ddl schema update 2014-02-03 14:08:06,320 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000102: Fetching database metadata 2014-02-03 14:08:06,336 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000396: Updating schema 2014-02-03 14:08:06,367 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.application_default_roles 2014-02-03 14:08:06,367 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [defaultroles_id, applicationentity_id] 2014-02-03 14:08:06,367 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [] 2014-02-03 14:08:06,367 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [uk_drp2eoe21hph4svi7407swsyd] 2014-02-03 14:08:06,382 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.application_required_credentials 2014-02-03 14:08:06,382 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [requiredapplicationcredentials_id, realmentity_id] 2014-02-03 14:08:06,382 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [fk_82svc5ipoim52p8271tvdsrqj] 2014-02-03 14:08:06,382 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [uk_covu9ee5bu9nkvl1vu8hb1ir7] 2014-02-03 14:08:06,398 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.application_roles 2014-02-03 14:08:06,398 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [applicationentity_id, roles_id] 2014-02-03 14:08:06,398 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [] 2014-02-03 14:08:06,398 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [uk_7l9hpvgdgmc5uejbcop317ib2] 2014-02-03 14:08:06,414 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.applicationentity 2014-02-03 14:08:06,414 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [id, enabled, managementurl, applicationuser_id, name, baseurl, surrogateauthrequired] 2014-02-03 14:08:06,414 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [] 2014-02-03 14:08:06,414 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [applicationentity_pkey] 2014-02-03 14:08:06,445 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.applicationscopemappingentity 2014-02-03 14:08:06,445 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [id, role_id, user_id, application_id] 2014-02-03 14:08:06,445 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [] 2014-02-03 14:08:06,445 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [applicationscopemappingentity_pkey] 2014-02-03 14:08:06,461 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.applicationuserrolemappingentity 2014-02-03 14:08:06,461 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [id, role_id, user_id, application_id] 2014-02-03 14:08:06,461 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [] 2014-02-03 14:08:06,461 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [applicationuserrolemappingentity_pkey] 2014-02-03 14:08:06,476 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.credentialentity 2014-02-03 14:08:06,476 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [id, value, device, user_id, type] 2014-02-03 14:08:06,476 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [] 2014-02-03 14:08:06,476 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [credentialentity_pkey] 2014-02-03 14:08:06,492 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.oauth_client_required_credentials 2014-02-03 14:08:06,492 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [realmentity_id, requiredoauthclientcredentials_id] 2014-02-03 14:08:06,492 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [fk_axk539p25x0kjtye8jf036fm7] 2014-02-03 14:08:06,492 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [uk_76d17rixlrhv6dq5w8vjtcny7] 2014-02-03 14:08:06,507 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.oauthcliententity 2014-02-03 14:08:06,507 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [id, realm_id, name, agent_id] 2014-02-03 14:08:06,507 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [fk_c7p5k3d5mewb3yym9qypp76uj] 2014-02-03 14:08:06,507 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [oauthcliententity_pkey] 2014-02-03 14:08:06,539 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.realm_default_roles 2014-02-03 14:08:06,539 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [realmentity_id, defaultroles_id] 2014-02-03 14:08:06,539 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [fk_n33klpw4ofkxt71sbuumd5ldo] 2014-02-03 14:08:06,539 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [uk_nm4mf0m1nmi7ub6mjbjy4vfhs] 2014-02-03 14:08:06,554 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.realm_roles 2014-02-03 14:08:06,554 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [realmentity_id, roles_id] 2014-02-03 14:08:06,554 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [fk_ojax2569atkiu2esoxqnj0o4i] 2014-02-03 14:08:06,554 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [uk_ianyv4ds3ad2manh3fjgh4qi8] 2014-02-03 14:08:06,570 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.realmentity 2014-02-03 14:08:06,570 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [enabled, passwordpolicy, publickeypem, registrationallowed, resetpasswordallowed, privatekeypem, accesscodelifespan, accesscodelifespanuseraction, id, sslnotrequired, updateprofileoninitialsociallogin, social, tokenlifespan, name, verifyemail] 2014-02-03 14:08:06,570 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [] 2014-02-03 14:08:06,570 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [realmentity_pkey] 2014-02-03 14:08:06,586 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.realmentity_applicationentity 2014-02-03 14:08:06,586 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [realmentity_id, applications_id] 2014-02-03 14:08:06,601 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [fk_kl5keangpo58h9r3cugwvxu2] 2014-02-03 14:08:06,601 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [uk_lc35hwkvorkg9dmj6e6hi40qn] 2014-02-03 14:08:06,617 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.realmentity_smtpconfig 2014-02-03 14:08:06,617 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [realmentity_id, name, value] 2014-02-03 14:08:06,617 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [fk_hbtlvt068mnrudm3cf0px691h] 2014-02-03 14:08:06,617 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [realmentity_smtpconfig_pkey] 2014-02-03 14:08:06,632 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.realmentity_socialconfig 2014-02-03 14:08:06,632 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [realmentity_id, name, value] 2014-02-03 14:08:06,648 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [fk_18sn19xqpu83b06jv6w8ksvfv] 2014-02-03 14:08:06,648 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [realmentity_socialconfig_pkey] 2014-02-03 14:08:06,664 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.realmscopemappingentity 2014-02-03 14:08:06,664 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [id, realm_id, role_id, user_id] 2014-02-03 14:08:06,664 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [fk_kbre9poi98gu6fwc0llkav9lc] 2014-02-03 14:08:06,664 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [realmscopemappingentity_pkey] 2014-02-03 14:08:06,695 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.realmuserrolemappingentity 2014-02-03 14:08:06,695 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [id, realm_id, role_id, user_id] 2014-02-03 14:08:06,695 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [fk_mmv1fqq7ktpxfgprb7qc3j37o] 2014-02-03 14:08:06,695 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [realmuserrolemappingentity_pkey] 2014-02-03 14:08:06,726 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.requiredcredentialentity 2014-02-03 14:08:06,726 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [id, input, secret, formlabel, type] 2014-02-03 14:08:06,742 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [] 2014-02-03 14:08:06,742 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [requiredcredentialentity_pkey] 2014-02-03 14:08:06,757 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.roleentity 2014-02-03 14:08:06,757 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [id, description, name] 2014-02-03 14:08:06,757 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [] 2014-02-03 14:08:06,757 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [roleentity_pkey] 2014-02-03 14:08:06,773 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.sociallinkentity 2014-02-03 14:08:06,773 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [id, socialusername, realm_id, socialprovider, user_id] 2014-02-03 14:08:06,789 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [fk_jav76o82ob85iuxm2l0gg904h] 2014-02-03 14:08:06,789 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [sociallinkentity_pkey] 2014-02-03 14:08:06,804 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.user_required_credentials 2014-02-03 14:08:06,804 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [realmentity_id, requiredcredentials_id] 2014-02-03 14:08:06,804 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [fk_oxi9ad45ic3e60u94qihx75i3] 2014-02-03 14:08:06,804 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [uk_5uc73e6cvxmkq5ybruf1jsygv] 2014-02-03 14:08:06,820 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.userentity 2014-02-03 14:08:06,820 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [id, loginname, enabled, realm_id, totp, email, emailverified, lastname, firstname] 2014-02-03 14:08:06,835 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [fk_1u1wm7gj4o98kabis6et6klh5] 2014-02-03 14:08:06,835 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [userentity_pkey] 2014-02-03 14:08:06,851 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.userentity_credentialentity 2014-02-03 14:08:06,851 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [credentials_id, userentity_id] 2014-02-03 14:08:06,851 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [] 2014-02-03 14:08:06,851 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [uk_kwlok0nencsu8kuhwervrn2p5] 2014-02-03 14:08:06,882 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.userentity_attributes 2014-02-03 14:08:06,882 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [userentity_id, name, value] 2014-02-03 14:08:06,882 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [] 2014-02-03 14:08:06,882 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [userentity_attributes_pkey] 2014-02-03 14:08:06,898 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.userentity_redirecturis 2014-02-03 14:08:06,898 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [userentity_id, redirecturis] 2014-02-03 14:08:06,898 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [] 2014-02-03 14:08:06,898 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [] 2014-02-03 14:08:06,914 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.userentity_requiredactions 2014-02-03 14:08:06,914 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [userentity_id, requiredactions] 2014-02-03 14:08:06,929 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [] 2014-02-03 14:08:06,929 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [] 2014-02-03 14:08:06,945 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000261: Table found: public.userentity_weborigins 2014-02-03 14:08:06,945 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000037: Columns: [userentity_id, weborigins] 2014-02-03 14:08:06,945 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000108: Foreign keys: [] 2014-02-03 14:08:06,945 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (ServerService Thread Pool -- 52) HHH000126: Indexes: [] 2014-02-03 14:08:06,945 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table APPLICATION_DEFAULT_ROLES add constraint FK_drp2eoe21hph4svi7407swsyd foreign key (defaultRoles_id) references RoleEntity 2014-02-03 14:08:06,945 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_drp2eoe21hph4svi7407swsyd" cannot be implemented Detail: Key columns "defaultroles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:06,960 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table APPLICATION_DEFAULT_ROLES add constraint FK_s4rd4wsid827akdjb0w9ibp34 foreign key (ApplicationEntity_id) references ApplicationEntity 2014-02-03 14:08:06,960 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_s4rd4wsid827akdjb0w9ibp34" cannot be implemented Detail: Key columns "applicationentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:06,960 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table APPLICATION_REQUIRED_CREDENTIALS add constraint FK_covu9ee5bu9nkvl1vu8hb1ir7 foreign key (requiredApplicationCredentials_id) references RequiredCredentialEntity 2014-02-03 14:08:06,976 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_covu9ee5bu9nkvl1vu8hb1ir7" cannot be implemented Detail: Key columns "requiredapplicationcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:06,976 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table APPLICATION_ROLES add constraint FK_7l9hpvgdgmc5uejbcop317ib2 foreign key (roles_id) references RoleEntity 2014-02-03 14:08:06,976 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_7l9hpvgdgmc5uejbcop317ib2" cannot be implemented Detail: Key columns "roles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:06,976 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table APPLICATION_ROLES add constraint FK_60s842yuivcyjem9m1umj0ymh foreign key (ApplicationEntity_id) references ApplicationEntity 2014-02-03 14:08:06,992 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_60s842yuivcyjem9m1umj0ymh" cannot be implemented Detail: Key columns "applicationentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:06,992 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationEntity add constraint FK_63mhyngq4dy1yx8he7q8ubmop foreign key (applicationUser_id) references UserEntity 2014-02-03 14:08:06,992 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_63mhyngq4dy1yx8he7q8ubmop" cannot be implemented Detail: Key columns "applicationuser_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:06,992 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_fa7sbalr95rlthhcf9sg8i3r4 foreign key (role_id) references RoleEntity 2014-02-03 14:08:07,007 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_fa7sbalr95rlthhcf9sg8i3r4" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,007 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_nfsdpo5g58c6nqfep9sup3ctp foreign key (user_id) references UserEntity 2014-02-03 14:08:07,007 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_nfsdpo5g58c6nqfep9sup3ctp" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,007 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_4ssreqxn6j2a7up48i1qb2sua foreign key (application_id) references ApplicationEntity 2014-02-03 14:08:07,023 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_4ssreqxn6j2a7up48i1qb2sua" cannot be implemented Detail: Key columns "application_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,023 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_t10o4fp8tk5ba9vkpm98c2yrt foreign key (role_id) references RoleEntity 2014-02-03 14:08:07,023 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_t10o4fp8tk5ba9vkpm98c2yrt" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,039 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_acs25q56goc10xrr4xw9bwsth foreign key (user_id) references UserEntity 2014-02-03 14:08:07,039 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_acs25q56goc10xrr4xw9bwsth" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,039 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_9y39hi5ph6at6ds1krpn0rtpi foreign key (application_id) references ApplicationEntity 2014-02-03 14:08:07,054 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_9y39hi5ph6at6ds1krpn0rtpi" cannot be implemented Detail: Key columns "application_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,054 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table CredentialEntity add constraint FK_pn32x46lgmhlaldchhp47wfgj foreign key (user_id) references UserEntity 2014-02-03 14:08:07,054 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_pn32x46lgmhlaldchhp47wfgj" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,054 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table OAUTH_CLIENT_REQUIRED_CREDENTIALS add constraint FK_76d17rixlrhv6dq5w8vjtcny7 foreign key (requiredOAuthClientCredentials_id) references RequiredCredentialEntity 2014-02-03 14:08:07,070 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_76d17rixlrhv6dq5w8vjtcny7" cannot be implemented Detail: Key columns "requiredoauthclientcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,070 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table OAuthClientEntity add constraint FK_62mly7ecnrpvk39hvtogbfu9l foreign key (agent_id) references UserEntity 2014-02-03 14:08:07,070 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_62mly7ecnrpvk39hvtogbfu9l" cannot be implemented Detail: Key columns "agent_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,070 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table REALM_DEFAULT_ROLES add constraint FK_nm4mf0m1nmi7ub6mjbjy4vfhs foreign key (defaultRoles_id) references RoleEntity 2014-02-03 14:08:07,086 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_nm4mf0m1nmi7ub6mjbjy4vfhs" cannot be implemented Detail: Key columns "defaultroles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,086 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table REALM_ROLES add constraint FK_ianyv4ds3ad2manh3fjgh4qi8 foreign key (roles_id) references RoleEntity 2014-02-03 14:08:07,086 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_ianyv4ds3ad2manh3fjgh4qi8" cannot be implemented Detail: Key columns "roles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,101 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table RealmEntity_ApplicationEntity add constraint FK_lc35hwkvorkg9dmj6e6hi40qn foreign key (applications_id) references ApplicationEntity 2014-02-03 14:08:07,101 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_lc35hwkvorkg9dmj6e6hi40qn" cannot be implemented Detail: Key columns "applications_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,101 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table RealmScopeMappingEntity add constraint FK_5nm8bsgqihl29vbpck1ldg6hf foreign key (role_id) references RoleEntity 2014-02-03 14:08:07,101 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_5nm8bsgqihl29vbpck1ldg6hf" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,117 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table RealmScopeMappingEntity add constraint FK_9pdjxdhf2xi91uqi2smbihxjy foreign key (user_id) references UserEntity 2014-02-03 14:08:07,117 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_9pdjxdhf2xi91uqi2smbihxjy" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,117 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table RealmUserRoleMappingEntity add constraint FK_osxtwgn0r896ttjvjstnrxvm4 foreign key (role_id) references RoleEntity 2014-02-03 14:08:07,132 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_osxtwgn0r896ttjvjstnrxvm4" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,132 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table RealmUserRoleMappingEntity add constraint FK_8tq5oy7c7jw9yl64jvi3f79av foreign key (user_id) references UserEntity 2014-02-03 14:08:07,132 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_8tq5oy7c7jw9yl64jvi3f79av" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,132 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table SocialLinkEntity add constraint FK_of3vi3cc8yo5aavbsq2flfm32 foreign key (user_id) references UserEntity 2014-02-03 14:08:07,132 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_of3vi3cc8yo5aavbsq2flfm32" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,148 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table USER_REQUIRED_CREDENTIALS add constraint FK_5uc73e6cvxmkq5ybruf1jsygv foreign key (requiredCredentials_id) references RequiredCredentialEntity 2014-02-03 14:08:07,148 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_5uc73e6cvxmkq5ybruf1jsygv" cannot be implemented Detail: Key columns "requiredcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,148 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_CredentialEntity add constraint FK_kwlok0nencsu8kuhwervrn2p5 foreign key (credentials_id) references CredentialEntity 2014-02-03 14:08:07,164 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_kwlok0nencsu8kuhwervrn2p5" cannot be implemented Detail: Key columns "credentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,164 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_CredentialEntity add constraint FK_302t29u9komfu7d7qffci0cie foreign key (UserEntity_id) references UserEntity 2014-02-03 14:08:07,164 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_302t29u9komfu7d7qffci0cie" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,164 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_attributes add constraint FK_pv89d7hl2qoyg2dc1b9bupw7l foreign key (UserEntity_id) references UserEntity 2014-02-03 14:08:07,164 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_pv89d7hl2qoyg2dc1b9bupw7l" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,179 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_redirectUris add constraint FK_myu5kr3txep49myg1ejwwy58f foreign key (UserEntity_id) references UserEntity 2014-02-03 14:08:07,179 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_myu5kr3txep49myg1ejwwy58f" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,179 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_requiredActions add constraint FK_eclsk6gyvwy477usdcwu8l1mx foreign key (UserEntity_id) references UserEntity 2014-02-03 14:08:07,179 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_eclsk6gyvwy477usdcwu8l1mx" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,179 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_webOrigins add constraint FK_sn38pjw1v24ahb1d6jrwshoa6 foreign key (UserEntity_id) references UserEntity 2014-02-03 14:08:07,179 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_sn38pjw1v24ahb1d6jrwshoa6" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:07,179 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000232: Schema update complete 2014-02-03 14:08:07,179 WARN [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 52) HHH000008: JTASessionContext being used with JDBCTransactionFactory; auto-flush will not operate correctly with getCurrentSession() 2014-02-03 14:08:07,601 INFO [org.hibernate.jpa.internal.util.LogHelper] (MSC service thread 1-7) HHH000204: Processing PersistenceUnitInfo [ name: jpa-keycloak-identity-store ...] 2014-02-03 14:08:07,632 INFO [org.hibernate.dialect.Dialect] (MSC service thread 1-7) HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL9Dialect 2014-02-03 14:08:07,632 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (MSC service thread 1-7) HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException 2014-02-03 14:08:07,664 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-7) HHH000397: Using ASTQueryTranslatorFactory 2014-02-03 14:08:07,742 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000228: Running hbm2ddl schema update 2014-02-03 14:08:07,742 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000102: Fetching database metadata 2014-02-03 14:08:07,742 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000396: Updating schema 2014-02-03 14:08:07,773 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.application_default_roles 2014-02-03 14:08:07,773 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [defaultroles_id, applicationentity_id] 2014-02-03 14:08:07,773 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [] 2014-02-03 14:08:07,773 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [uk_drp2eoe21hph4svi7407swsyd] 2014-02-03 14:08:07,789 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.application_required_credentials 2014-02-03 14:08:07,789 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [requiredapplicationcredentials_id, realmentity_id] 2014-02-03 14:08:07,789 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [fk_82svc5ipoim52p8271tvdsrqj] 2014-02-03 14:08:07,789 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [uk_covu9ee5bu9nkvl1vu8hb1ir7] 2014-02-03 14:08:07,804 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.application_roles 2014-02-03 14:08:07,804 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [applicationentity_id, roles_id] 2014-02-03 14:08:07,804 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [] 2014-02-03 14:08:07,804 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [uk_7l9hpvgdgmc5uejbcop317ib2] 2014-02-03 14:08:07,820 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.applicationentity 2014-02-03 14:08:07,820 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [id, enabled, managementurl, applicationuser_id, name, baseurl, surrogateauthrequired] 2014-02-03 14:08:07,820 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [] 2014-02-03 14:08:07,820 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [applicationentity_pkey] 2014-02-03 14:08:07,836 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.applicationscopemappingentity 2014-02-03 14:08:07,836 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [id, role_id, user_id, application_id] 2014-02-03 14:08:07,836 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [] 2014-02-03 14:08:07,836 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [applicationscopemappingentity_pkey] 2014-02-03 14:08:07,867 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.applicationuserrolemappingentity 2014-02-03 14:08:07,867 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [id, role_id, user_id, application_id] 2014-02-03 14:08:07,867 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [] 2014-02-03 14:08:07,867 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [applicationuserrolemappingentity_pkey] 2014-02-03 14:08:07,882 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.credentialentity 2014-02-03 14:08:07,882 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [id, value, device, user_id, type] 2014-02-03 14:08:07,882 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [] 2014-02-03 14:08:07,882 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [credentialentity_pkey] 2014-02-03 14:08:07,898 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.oauth_client_required_credentials 2014-02-03 14:08:07,898 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [realmentity_id, requiredoauthclientcredentials_id] 2014-02-03 14:08:07,898 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [fk_axk539p25x0kjtye8jf036fm7] 2014-02-03 14:08:07,898 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [uk_76d17rixlrhv6dq5w8vjtcny7] 2014-02-03 14:08:07,914 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.oauthcliententity 2014-02-03 14:08:07,914 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [id, realm_id, name, agent_id] 2014-02-03 14:08:07,914 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [fk_c7p5k3d5mewb3yym9qypp76uj] 2014-02-03 14:08:07,914 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [oauthcliententity_pkey] 2014-02-03 14:08:07,929 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.realm_default_roles 2014-02-03 14:08:07,929 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [realmentity_id, defaultroles_id] 2014-02-03 14:08:07,929 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [fk_n33klpw4ofkxt71sbuumd5ldo] 2014-02-03 14:08:07,929 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [uk_nm4mf0m1nmi7ub6mjbjy4vfhs] 2014-02-03 14:08:07,945 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.realm_roles 2014-02-03 14:08:07,961 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [realmentity_id, roles_id] 2014-02-03 14:08:07,961 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [fk_ojax2569atkiu2esoxqnj0o4i] 2014-02-03 14:08:07,961 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [uk_ianyv4ds3ad2manh3fjgh4qi8] 2014-02-03 14:08:07,976 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.realmentity 2014-02-03 14:08:07,976 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [enabled, passwordpolicy, publickeypem, registrationallowed, resetpasswordallowed, privatekeypem, accesscodelifespan, accesscodelifespanuseraction, id, sslnotrequired, updateprofileoninitialsociallogin, social, tokenlifespan, name, verifyemail] 2014-02-03 14:08:07,976 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [] 2014-02-03 14:08:07,976 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [realmentity_pkey] 2014-02-03 14:08:07,992 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.realmentity_applicationentity 2014-02-03 14:08:07,992 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [realmentity_id, applications_id] 2014-02-03 14:08:07,992 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [fk_kl5keangpo58h9r3cugwvxu2] 2014-02-03 14:08:07,992 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [uk_lc35hwkvorkg9dmj6e6hi40qn] 2014-02-03 14:08:08,007 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.realmentity_smtpconfig 2014-02-03 14:08:08,007 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [realmentity_id, name, value] 2014-02-03 14:08:08,007 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [fk_hbtlvt068mnrudm3cf0px691h] 2014-02-03 14:08:08,007 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [realmentity_smtpconfig_pkey] 2014-02-03 14:08:08,023 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.realmentity_socialconfig 2014-02-03 14:08:08,023 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [realmentity_id, name, value] 2014-02-03 14:08:08,023 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [fk_18sn19xqpu83b06jv6w8ksvfv] 2014-02-03 14:08:08,023 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [realmentity_socialconfig_pkey] 2014-02-03 14:08:08,054 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.realmscopemappingentity 2014-02-03 14:08:08,054 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [id, realm_id, role_id, user_id] 2014-02-03 14:08:08,054 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [fk_kbre9poi98gu6fwc0llkav9lc] 2014-02-03 14:08:08,054 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [realmscopemappingentity_pkey] 2014-02-03 14:08:08,070 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.realmuserrolemappingentity 2014-02-03 14:08:08,070 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [id, realm_id, role_id, user_id] 2014-02-03 14:08:08,070 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [fk_mmv1fqq7ktpxfgprb7qc3j37o] 2014-02-03 14:08:08,070 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [realmuserrolemappingentity_pkey] 2014-02-03 14:08:08,086 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.requiredcredentialentity 2014-02-03 14:08:08,086 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [id, input, secret, formlabel, type] 2014-02-03 14:08:08,086 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [] 2014-02-03 14:08:08,086 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [requiredcredentialentity_pkey] 2014-02-03 14:08:08,101 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.roleentity 2014-02-03 14:08:08,101 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [id, description, name] 2014-02-03 14:08:08,101 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [] 2014-02-03 14:08:08,101 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [roleentity_pkey] 2014-02-03 14:08:08,117 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.sociallinkentity 2014-02-03 14:08:08,117 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [id, socialusername, realm_id, socialprovider, user_id] 2014-02-03 14:08:08,117 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [fk_jav76o82ob85iuxm2l0gg904h] 2014-02-03 14:08:08,132 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [sociallinkentity_pkey] 2014-02-03 14:08:08,148 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.user_required_credentials 2014-02-03 14:08:08,148 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [realmentity_id, requiredcredentials_id] 2014-02-03 14:08:08,148 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [fk_oxi9ad45ic3e60u94qihx75i3] 2014-02-03 14:08:08,148 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [uk_5uc73e6cvxmkq5ybruf1jsygv] 2014-02-03 14:08:08,164 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.userentity 2014-02-03 14:08:08,164 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [id, loginname, enabled, realm_id, totp, email, emailverified, lastname, firstname] 2014-02-03 14:08:08,164 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [fk_1u1wm7gj4o98kabis6et6klh5] 2014-02-03 14:08:08,164 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [userentity_pkey] 2014-02-03 14:08:08,179 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.userentity_credentialentity 2014-02-03 14:08:08,179 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [credentials_id, userentity_id] 2014-02-03 14:08:08,179 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [] 2014-02-03 14:08:08,179 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [uk_kwlok0nencsu8kuhwervrn2p5] 2014-02-03 14:08:08,195 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.userentity_attributes 2014-02-03 14:08:08,195 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [userentity_id, name, value] 2014-02-03 14:08:08,195 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [] 2014-02-03 14:08:08,195 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [userentity_attributes_pkey] 2014-02-03 14:08:08,211 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.userentity_redirecturis 2014-02-03 14:08:08,211 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [userentity_id, redirecturis] 2014-02-03 14:08:08,226 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [] 2014-02-03 14:08:08,226 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [] 2014-02-03 14:08:08,242 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.userentity_requiredactions 2014-02-03 14:08:08,242 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [userentity_id, requiredactions] 2014-02-03 14:08:08,242 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [] 2014-02-03 14:08:08,242 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [] 2014-02-03 14:08:08,257 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000261: Table found: public.userentity_weborigins 2014-02-03 14:08:08,257 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000037: Columns: [userentity_id, weborigins] 2014-02-03 14:08:08,257 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000108: Foreign keys: [] 2014-02-03 14:08:08,257 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-7) HHH000126: Indexes: [] 2014-02-03 14:08:08,257 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table APPLICATION_DEFAULT_ROLES add constraint FK_drp2eoe21hph4svi7407swsyd foreign key (defaultRoles_id) references RoleEntity 2014-02-03 14:08:08,257 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_drp2eoe21hph4svi7407swsyd" cannot be implemented Detail: Key columns "defaultroles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,257 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table APPLICATION_DEFAULT_ROLES add constraint FK_s4rd4wsid827akdjb0w9ibp34 foreign key (ApplicationEntity_id) references ApplicationEntity 2014-02-03 14:08:08,257 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_s4rd4wsid827akdjb0w9ibp34" cannot be implemented Detail: Key columns "applicationentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,257 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table APPLICATION_REQUIRED_CREDENTIALS add constraint FK_covu9ee5bu9nkvl1vu8hb1ir7 foreign key (requiredApplicationCredentials_id) references RequiredCredentialEntity 2014-02-03 14:08:08,257 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_covu9ee5bu9nkvl1vu8hb1ir7" cannot be implemented Detail: Key columns "requiredapplicationcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,257 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table APPLICATION_ROLES add constraint FK_7l9hpvgdgmc5uejbcop317ib2 foreign key (roles_id) references RoleEntity 2014-02-03 14:08:08,257 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_7l9hpvgdgmc5uejbcop317ib2" cannot be implemented Detail: Key columns "roles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,257 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table APPLICATION_ROLES add constraint FK_60s842yuivcyjem9m1umj0ymh foreign key (ApplicationEntity_id) references ApplicationEntity 2014-02-03 14:08:08,257 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_60s842yuivcyjem9m1umj0ymh" cannot be implemented Detail: Key columns "applicationentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,273 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table ApplicationEntity add constraint FK_63mhyngq4dy1yx8he7q8ubmop foreign key (applicationUser_id) references UserEntity 2014-02-03 14:08:08,273 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_63mhyngq4dy1yx8he7q8ubmop" cannot be implemented Detail: Key columns "applicationuser_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,273 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_fa7sbalr95rlthhcf9sg8i3r4 foreign key (role_id) references RoleEntity 2014-02-03 14:08:08,273 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_fa7sbalr95rlthhcf9sg8i3r4" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,273 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_nfsdpo5g58c6nqfep9sup3ctp foreign key (user_id) references UserEntity 2014-02-03 14:08:08,273 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_nfsdpo5g58c6nqfep9sup3ctp" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,273 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_4ssreqxn6j2a7up48i1qb2sua foreign key (application_id) references ApplicationEntity 2014-02-03 14:08:08,273 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_4ssreqxn6j2a7up48i1qb2sua" cannot be implemented Detail: Key columns "application_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,273 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_t10o4fp8tk5ba9vkpm98c2yrt foreign key (role_id) references RoleEntity 2014-02-03 14:08:08,273 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_t10o4fp8tk5ba9vkpm98c2yrt" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,273 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_acs25q56goc10xrr4xw9bwsth foreign key (user_id) references UserEntity 2014-02-03 14:08:08,273 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_acs25q56goc10xrr4xw9bwsth" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,273 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_9y39hi5ph6at6ds1krpn0rtpi foreign key (application_id) references ApplicationEntity 2014-02-03 14:08:08,273 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_9y39hi5ph6at6ds1krpn0rtpi" cannot be implemented Detail: Key columns "application_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,273 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table CredentialEntity add constraint FK_pn32x46lgmhlaldchhp47wfgj foreign key (user_id) references UserEntity 2014-02-03 14:08:08,273 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_pn32x46lgmhlaldchhp47wfgj" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,289 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table OAUTH_CLIENT_REQUIRED_CREDENTIALS add constraint FK_76d17rixlrhv6dq5w8vjtcny7 foreign key (requiredOAuthClientCredentials_id) references RequiredCredentialEntity 2014-02-03 14:08:08,289 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_76d17rixlrhv6dq5w8vjtcny7" cannot be implemented Detail: Key columns "requiredoauthclientcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,289 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table OAuthClientEntity add constraint FK_62mly7ecnrpvk39hvtogbfu9l foreign key (agent_id) references UserEntity 2014-02-03 14:08:08,289 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_62mly7ecnrpvk39hvtogbfu9l" cannot be implemented Detail: Key columns "agent_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,289 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table REALM_DEFAULT_ROLES add constraint FK_nm4mf0m1nmi7ub6mjbjy4vfhs foreign key (defaultRoles_id) references RoleEntity 2014-02-03 14:08:08,289 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_nm4mf0m1nmi7ub6mjbjy4vfhs" cannot be implemented Detail: Key columns "defaultroles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,289 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table REALM_ROLES add constraint FK_ianyv4ds3ad2manh3fjgh4qi8 foreign key (roles_id) references RoleEntity 2014-02-03 14:08:08,289 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_ianyv4ds3ad2manh3fjgh4qi8" cannot be implemented Detail: Key columns "roles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,289 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table RealmEntity_ApplicationEntity add constraint FK_lc35hwkvorkg9dmj6e6hi40qn foreign key (applications_id) references ApplicationEntity 2014-02-03 14:08:08,289 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_lc35hwkvorkg9dmj6e6hi40qn" cannot be implemented Detail: Key columns "applications_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,289 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table RealmScopeMappingEntity add constraint FK_5nm8bsgqihl29vbpck1ldg6hf foreign key (role_id) references RoleEntity 2014-02-03 14:08:08,289 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_5nm8bsgqihl29vbpck1ldg6hf" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,289 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table RealmScopeMappingEntity add constraint FK_9pdjxdhf2xi91uqi2smbihxjy foreign key (user_id) references UserEntity 2014-02-03 14:08:08,289 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_9pdjxdhf2xi91uqi2smbihxjy" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,289 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table RealmUserRoleMappingEntity add constraint FK_osxtwgn0r896ttjvjstnrxvm4 foreign key (role_id) references RoleEntity 2014-02-03 14:08:08,289 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_osxtwgn0r896ttjvjstnrxvm4" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,304 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table RealmUserRoleMappingEntity add constraint FK_8tq5oy7c7jw9yl64jvi3f79av foreign key (user_id) references UserEntity 2014-02-03 14:08:08,304 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_8tq5oy7c7jw9yl64jvi3f79av" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,304 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table SocialLinkEntity add constraint FK_of3vi3cc8yo5aavbsq2flfm32 foreign key (user_id) references UserEntity 2014-02-03 14:08:08,304 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_of3vi3cc8yo5aavbsq2flfm32" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,304 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table USER_REQUIRED_CREDENTIALS add constraint FK_5uc73e6cvxmkq5ybruf1jsygv foreign key (requiredCredentials_id) references RequiredCredentialEntity 2014-02-03 14:08:08,304 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_5uc73e6cvxmkq5ybruf1jsygv" cannot be implemented Detail: Key columns "requiredcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,304 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table UserEntity_CredentialEntity add constraint FK_kwlok0nencsu8kuhwervrn2p5 foreign key (credentials_id) references CredentialEntity 2014-02-03 14:08:08,304 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_kwlok0nencsu8kuhwervrn2p5" cannot be implemented Detail: Key columns "credentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,304 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table UserEntity_CredentialEntity add constraint FK_302t29u9komfu7d7qffci0cie foreign key (UserEntity_id) references UserEntity 2014-02-03 14:08:08,304 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_302t29u9komfu7d7qffci0cie" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,304 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table UserEntity_attributes add constraint FK_pv89d7hl2qoyg2dc1b9bupw7l foreign key (UserEntity_id) references UserEntity 2014-02-03 14:08:08,304 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_pv89d7hl2qoyg2dc1b9bupw7l" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,304 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table UserEntity_redirectUris add constraint FK_myu5kr3txep49myg1ejwwy58f foreign key (UserEntity_id) references UserEntity 2014-02-03 14:08:08,304 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_myu5kr3txep49myg1ejwwy58f" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,304 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table UserEntity_requiredActions add constraint FK_eclsk6gyvwy477usdcwu8l1mx foreign key (UserEntity_id) references UserEntity 2014-02-03 14:08:08,304 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_eclsk6gyvwy477usdcwu8l1mx" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,320 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000388: Unsuccessful: alter table UserEntity_webOrigins add constraint FK_sn38pjw1v24ahb1d6jrwshoa6 foreign key (UserEntity_id) references UserEntity 2014-02-03 14:08:08,320 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) ERROR: foreign key constraint "fk_sn38pjw1v24ahb1d6jrwshoa6" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:08:08,320 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-7) HHH000232: Schema update complete 2014-02-03 14:08:08,414 INFO [org.keycloak.services.managers.ApplianceBootstrap] (MSC service thread 1-7) Initializing keycloak-admin realm 2014-02-03 14:08:08,476 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (MSC service thread 1-7) SQL Error: 0, SQLState: 42883 2014-02-03 14:08:08,476 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (MSC service thread 1-7) ERROR: operator does not exist: integer = character varying Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts. Position: 78 2014-02-03 14:08:08,476 INFO [org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl] (MSC service thread 1-7) HHH000010: On release of batch it still contained JDBC statements 2014-02-03 14:08:08,476 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45] at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45] Caused by: java.lang.RuntimeException: Failed to construct public org.keycloak.server.KeycloakServerApplication(javax.servlet.ServletContext) throws java.io.FileNotFoundException at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:160) at org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2175) at org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:295) at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:236) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:112) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36) at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:204) at io.undertow.servlet.core.ManagedServlet.start(ManagedServlet.java:112) at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:462) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:87) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:71) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] ... 3 more Caused by: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute statement at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763) at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1677) at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1683) at org.hibernate.jpa.spi.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:1338) at org.keycloak.models.jpa.RealmAdapter.updateCredential(RealmAdapter.java:1064) at org.keycloak.services.managers.RealmManager.setupAccountManagement(RealmManager.java:157) at org.keycloak.services.managers.RealmManager.createRealm(RealmManager.java:82) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:45) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:29) at org.keycloak.services.resources.KeycloakApplication.setupDefaultRealm(KeycloakApplication.java:70) at org.keycloak.services.resources.KeycloakApplication.(KeycloakApplication.java:52) at org.keycloak.server.KeycloakServerApplication.(KeycloakServerApplication.java:23) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_45] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_45] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_45] at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [rt.jar:1.7.0_45] at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:148) ... 15 more Caused by: org.hibernate.exception.SQLGrammarException: could not execute statement at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:123) at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49) at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:126) at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:112) at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:190) at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:62) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3281) at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3183) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3525) at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:158) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:453) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:345) at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350) at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56) at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1218) at org.hibernate.jpa.spi.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:1335) ... 28 more Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: integer = character varying Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts. Position: 78 at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334) at org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:493) at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:187) ... 39 more 2014-02-03 14:08:08,523 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "auth-server.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.undertow.deployment.default-server.default-host./auth" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: Failed to start service Caused by: java.lang.RuntimeException: Failed to construct public org.keycloak.server.KeycloakServerApplication(javax.servlet.ServletContext) throws java.io.FileNotFoundException Caused by: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute statement Caused by: org.hibernate.exception.SQLGrammarException: could not execute statement Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: integer = character varying Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts. Position: 78"}} 2014-02-03 14:08:08,554 INFO [org.jboss.as.server] (ServerService Thread Pool -- 29) JBAS018559: Deployed "auth-server.war" (runtime-name : "auth-server.war") 2014-02-03 14:08:08,554 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report JBAS014777: Services which failed to start: service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: Failed to start service 2014-02-03 14:08:08,570 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management 2014-02-03 14:08:08,570 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990 2014-02-03 14:08:08,570 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.0.0.CR1 "WildFly" started (with errors) in 6079ms - Started 273 of 330 services (2 services failed or missing dependencies, 87 services are lazy, passive or on-demand) 2014-02-03 14:08:08,804 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 14) JBAS011410: Stopping Persistence Unit (phase 2 of 2) Service 'auth-server.war#jpa-keycloak-identity-store' 2014-02-03 14:08:08,820 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 14) JBAS011410: Stopping Persistence Unit (phase 1 of 2) Service 'auth-server.war#jpa-keycloak-identity-store' 2014-02-03 14:08:08,898 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment auth-server.war (runtime-name: auth-server.war) in 103ms 2014-02-03 14:08:08,929 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "auth-server.war" (runtime-name: "auth-server.war") 2014-02-03 14:08:08,929 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report JBAS014775: New missing/unsatisfied dependencies: service jboss.deployment.unit."auth-server.war".component."com.sun.faces.config.ConfigureListener".START (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.deployment.unit."auth-server.war".component."javax.faces.webapp.FacetTag".START (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.deployment.unit."auth-server.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.deployment.unit."auth-server.war".component."org.jboss.resteasy.plugins.server.servlet.Filter30Dispatcher".START (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.deployment.unit."auth-server.war".component."org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher".START (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.deployment.unit."auth-server.war".component."org.keycloak.services.filters.KeycloakSessionServletFilter".START (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.deployment.unit."auth-server.war".component."org.keycloak.services.listeners.KeycloakSessionDestroyListener".START (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.deployment.unit."auth-server.war".component."org.keycloak.services.tmp.TmpAdminRedirectServlet".START (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.persistenceunit."auth-server.war#jpa-keycloak-identity-store" (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.undertow.deployment.default-server.default-host./auth (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] JBAS014777: Services which failed to start: service jboss.undertow.deployment.default-server.default-host./auth 2014-02-03 14:08:13,570 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found auth-server.war in deployment directory. To trigger deployment create a file called auth-server.war.dodeploy 2014-02-03 14:12:48,158 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) JBAS017532: Host default-host stopping 2014-02-03 14:12:48,158 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010409: Unbound data source [java:jboss/datasources/ExampleDS] 2014-02-03 14:12:48,158 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-11) JBAS010409: Unbound data source [java:jboss/datasources/KeycloakDS] 2014-02-03 14:12:48,205 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-16) JBAS010418: Stopped Driver service with driver-name = h2 2014-02-03 14:12:48,205 INFO [org.wildfly.extension.undertow] (MSC service thread 1-9) JBAS017521: Undertow HTTP listener default suspending 2014-02-03 14:12:48,205 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) JBAS010418: Stopped Driver service with driver-name = org.postgresql 2014-02-03 14:12:48,205 INFO [org.wildfly.extension.undertow] (MSC service thread 1-9) JBAS017520: Undertow HTTP listener default stopped, was bound to /127.0.0.1:8080 2014-02-03 14:12:48,205 INFO [org.wildfly.extension.undertow] (MSC service thread 1-16) JBAS017506: Undertow 1.0.0.Beta30 stopping 2014-02-03 14:12:48,205 INFO [org.jboss.as] (MSC service thread 1-6) JBAS015950: WildFly 8.0.0.CR1 "WildFly" stopped in 8ms 2014-02-03 14:12:59,847 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.0.Final 2014-02-03 14:13:00,050 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.0.CR1 2014-02-03 14:13:00,097 INFO [org.jboss.as] (MSC service thread 1-6) JBAS015899: WildFly 8.0.0.CR1 "WildFly" starting 2014-02-03 14:13:00,112 DEBUG [org.jboss.as.config] (MSC service thread 1-6) Configured system properties: awt.toolkit = sun.awt.windows.WToolkit file.encoding = Cp1252 file.encoding.pkg = sun.io file.separator = \ java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment java.awt.printerjob = sun.awt.windows.WPrinterJob java.class.path = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\jboss-modules.jar java.class.version = 51.0 java.endorsed.dirs = C:\Progra~1\Java\jdk1.7.0_45\jre\lib\endorsed java.ext.dirs = C:\Progra~1\Java\jdk1.7.0_45\jre\lib\ext;C:\windows\Sun\Java\lib\ext java.home = C:\Progra~1\Java\jdk1.7.0_45\jre java.io.tmpdir = C:\Users\Edem\AppData\Local\Temp\ java.library.path = C:\Progra~1\Java\jdk1.7.0_45\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Condusiv Technologies\ExpressCache\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Java\jdk1.7.0_45\bin;C:\Program Files\FileBot\;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Apache Software Foundation\apache-ant-1.9.3/bin;C:\Program Files\TortoiseHg\;C:\Users\Edem\Servers\mybin\forge-distribution-1.4.3.Final\bin;C:\Program Files\Apache Software Foundation\apache-maven-3.0.5\bin;. java.net.preferIPv4Stack = true java.runtime.name = Java(TM) SE Runtime Environment java.runtime.version = 1.7.0_45-b18 java.specification.name = Java Platform API Specification java.specification.vendor = Oracle Corporation java.specification.version = 1.7 java.util.logging.manager = org.jboss.logmanager.LogManager java.vendor = Oracle Corporation java.vendor.url = http://java.oracle.com/ java.vendor.url.bug = http://bugreport.sun.com/bugreport/ java.version = 1.7.0_45 java.vm.info = mixed mode java.vm.name = Java HotSpot(TM) 64-Bit Server VM java.vm.specification.name = Java Virtual Machine Specification java.vm.specification.vendor = Oracle Corporation java.vm.specification.version = 1.7 java.vm.vendor = Oracle Corporation java.vm.version = 24.45-b08 javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory jboss.home.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak jboss.host.name = edemgear jboss.modules.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\modules jboss.modules.system.pkgs = org.jboss.byteman jboss.node.name = edemgear jboss.qualified.host.name = edemgear jboss.server.base.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone jboss.server.config.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\configuration jboss.server.data.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\data jboss.server.deploy.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\data\content jboss.server.log.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\log jboss.server.name = edemgear jboss.server.persist.config = true jboss.server.temp.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\tmp line.separator = logging.configuration = file:C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\configuration/logging.properties module.path = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\modules org.jboss.boot.log.file = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\log\server.log org.jboss.resolver.warning = true org.xml.sax.driver = __redirected.__XMLReaderFactory os.arch = amd64 os.name = Windows 8 os.version = 6.2 path.separator = ; program.name = standalone.bat sun.arch.data.model = 64 sun.boot.class.path = C:\Progra~1\Java\jdk1.7.0_45\jre\lib\resources.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\rt.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\sunrsasign.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\jsse.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\jce.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\charsets.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\lib\jfr.jar;C:\Progra~1\Java\jdk1.7.0_45\jre\classes sun.boot.library.path = C:\Progra~1\Java\jdk1.7.0_45\jre\bin sun.cpu.endian = little sun.cpu.isalist = amd64 sun.desktop = windows sun.io.unicode.encoding = UnicodeLittle sun.java.command = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\jboss-modules.jar -mp C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\modules org.jboss.as.standalone -Djboss.home.dir=C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak sun.java.launcher = SUN_STANDARD sun.jnu.encoding = Cp1252 sun.management.compiler = HotSpot 64-Bit Tiered Compilers sun.os.patch.level = user.country = US user.dir = C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\bin user.home = C:\Users\Edem user.language = en user.name = Edem user.script = user.timezone = GMT user.variant = 2014-02-03 14:13:00,112 DEBUG [org.jboss.as.config] (MSC service thread 1-6) VM Arguments: -XX:+UseCompressedOops -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Dorg.jboss.boot.log.file=C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\log\server.log -Dlogging.configuration=file:C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\configuration/logging.properties 2014-02-03 14:13:00,768 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment auth-server.war 2014-02-03 14:13:00,784 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found auth-server.war in deployment directory. To trigger deployment create a file called auth-server.war.dodeploy 2014-02-03 14:13:00,800 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http) 2014-02-03 14:13:00,800 INFO [org.xnio] (MSC service thread 1-10) XNIO version 3.2.0.Beta4 2014-02-03 14:13:00,815 INFO [org.xnio.nio] (MSC service thread 1-10) XNIO NIO Implementation Version 3.2.0.Beta4 2014-02-03 14:13:00,831 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 33) JBAS010280: Activating Infinispan subsystem. 2014-02-03 14:13:00,831 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 50) JBAS015537: Activating WebServices Extension 2014-02-03 14:13:00,831 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 41) JBAS011800: Activating Naming Subsystem 2014-02-03 14:13:00,847 INFO [org.jboss.as.security] (ServerService Thread Pool -- 46) JBAS013171: Activating Security Subsystem 2014-02-03 14:13:00,847 INFO [org.jboss.as.connector.logging] (MSC service thread 1-7) JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.2.Final) 2014-02-03 14:13:00,862 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 39) JBAS012615: Activated the following JSF Implementations: [main] 2014-02-03 14:13:00,862 INFO [org.jboss.as.security] (MSC service thread 1-15) JBAS013170: Current PicketBox version=4.0.20.Beta2 2014-02-03 14:13:00,878 INFO [org.jboss.remoting] (MSC service thread 1-10) JBoss Remoting version (unknown) 2014-02-03 14:13:00,878 INFO [org.wildfly.extension.undertow] (MSC service thread 1-13) JBAS017502: Undertow 1.0.0.Beta30 starting 2014-02-03 14:13:00,878 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 49) JBAS017502: Undertow 1.0.0.Beta30 starting 2014-02-03 14:13:00,894 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 2014-02-03 14:13:00,894 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-12) JBAS010417: Started Driver service with driver-name = h2 2014-02-03 14:13:00,894 INFO [org.jboss.as.naming] (MSC service thread 1-9) JBAS011802: Starting Naming Service 2014-02-03 14:13:00,894 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.0) 2014-02-03 14:13:00,894 INFO [org.jboss.as.mail.extension] (MSC service thread 1-13) JBAS015400: Bound mail session [java:jboss/mail/Default] 2014-02-03 14:13:00,909 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) JBAS010417: Started Driver service with driver-name = org.postgresql 2014-02-03 14:13:01,097 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 49) JBAS017527: Creating file handler for path C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak/welcome-content 2014-02-03 14:13:01,112 INFO [org.wildfly.extension.undertow] (MSC service thread 1-9) JBAS017525: Started server default-server. 2014-02-03 14:13:01,112 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) JBAS017531: Host default-host starting 2014-02-03 14:13:01,237 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-9) JBAS015012: Started FileSystemDeploymentService for directory C:\Users\Edem\Servers\keycloak-appliance-dist-all-1.0-alpha-1\keycloak\standalone\deployments 2014-02-03 14:13:01,237 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "auth-server.war" (runtime-name: "auth-server.war") 2014-02-03 14:13:01,441 INFO [org.jboss.as.remoting] (MSC service thread 1-12) JBAS017100: Listening on 127.0.0.1:9999 2014-02-03 14:13:01,457 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) JBAS017519: Undertow HTTP listener default listening on /127.0.0.1:8080 2014-02-03 14:13:01,566 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-13) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS] 2014-02-03 14:13:01,566 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-14) JBAS010400: Bound data source [java:jboss/datasources/KeycloakDS] 2014-02-03 14:13:01,598 INFO [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.2.3.Final 2014-02-03 14:13:02,301 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry jaxb-api.jar in /C:/Users/Edem/Servers/keycloak-appliance-dist-all-1.0-alpha-1/keycloak/standalone/deployments/auth-server.war/WEB-INF/lib/jaxb-core-2.2.7.jar does not point to a valid jar for a Class-Path reference. 2014-02-03 14:13:02,301 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry jaxb-api.jar in /C:/Users/Edem/Servers/keycloak-appliance-dist-all-1.0-alpha-1/keycloak/standalone/deployments/auth-server.war/WEB-INF/lib/jaxb-impl-2.2.7.jar does not point to a valid jar for a Class-Path reference. 2014-02-03 14:13:02,301 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015960: Class Path entry jaxb-core.jar in /C:/Users/Edem/Servers/keycloak-appliance-dist-all-1.0-alpha-1/keycloak/standalone/deployments/auth-server.war/WEB-INF/lib/jaxb-impl-2.2.7.jar does not point to a valid jar for a Class-Path reference. 2014-02-03 14:13:02,379 INFO [org.jboss.as.jpa] (MSC service thread 1-6) JBAS011401: Read persistence.xml for jpa-keycloak-identity-store 2014-02-03 14:13:02,488 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 52) JBAS011409: Starting Persistence Unit (phase 1 of 2) Service 'auth-server.war#jpa-keycloak-identity-store' 2014-02-03 14:13:02,504 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 52) HHH000204: Processing PersistenceUnitInfo [ name: jpa-keycloak-identity-store ...] 2014-02-03 14:13:02,551 INFO [org.hibernate.Version] (ServerService Thread Pool -- 52) HHH000412: Hibernate Core {4.3.0.Final} 2014-02-03 14:13:02,551 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 52) HHH000206: hibernate.properties not found 2014-02-03 14:13:02,551 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 52) HHH000021: Bytecode provider name : javassist 2014-02-03 14:13:02,660 WARN [org.jboss.as.ee] (MSC service thread 1-15) JBAS011006: Not installing optional component org.jboss.resteasy.plugins.server.servlet.Servlet3AsyncHttpRequest$Servlet3ExecutionContext$Servle3AsychronousResponse due to an exception (enable DEBUG log level to see the cause) 2014-02-03 14:13:02,723 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 52) JBAS011409: Starting Persistence Unit (phase 2 of 2) Service 'auth-server.war#jpa-keycloak-identity-store' 2014-02-03 14:13:02,770 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 52) HCANN000001: Hibernate Commons Annotations {4.0.4.Final} 2014-02-03 14:13:02,988 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 52) HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL9Dialect 2014-02-03 14:13:03,020 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 52) HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException 2014-02-03 14:13:03,145 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 52) HHH000397: Using ASTQueryTranslatorFactory 2014-02-03 14:13:03,176 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 52) HV000001: Hibernate Validator 5.0.2.Final 2014-02-03 14:13:03,488 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000228: Running hbm2ddl schema update 2014-02-03 14:13:03,488 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000102: Fetching database metadata 2014-02-03 14:13:03,504 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000396: Updating schema 2014-02-03 14:13:03,504 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_DEFAULT_ROLES 2014-02-03 14:13:03,504 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_REQUIRED_CREDENTIALS 2014-02-03 14:13:03,520 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_ROLES 2014-02-03 14:13:03,520 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationEntity 2014-02-03 14:13:03,520 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationScopeMappingEntity 2014-02-03 14:13:03,520 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationUserRoleMappingEntity 2014-02-03 14:13:03,520 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: CredentialEntity 2014-02-03 14:13:03,520 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: OAUTH_CLIENT_REQUIRED_CREDENTIALS 2014-02-03 14:13:03,520 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: OAuthClientEntity 2014-02-03 14:13:03,535 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: REALM_DEFAULT_ROLES 2014-02-03 14:13:03,535 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: REALM_ROLES 2014-02-03 14:13:03,535 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity 2014-02-03 14:13:03,535 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_ApplicationEntity 2014-02-03 14:13:03,535 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_smtpConfig 2014-02-03 14:13:03,535 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_socialConfig 2014-02-03 14:13:03,535 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmScopeMappingEntity 2014-02-03 14:13:03,535 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmUserRoleMappingEntity 2014-02-03 14:13:03,551 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RequiredCredentialEntity 2014-02-03 14:13:03,551 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RoleEntity 2014-02-03 14:13:03,551 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: SocialLinkEntity 2014-02-03 14:13:03,551 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: USER_REQUIRED_CREDENTIALS 2014-02-03 14:13:03,551 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity 2014-02-03 14:13:03,551 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_CredentialEntity 2014-02-03 14:13:03,551 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_attributes 2014-02-03 14:13:03,551 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_redirectUris 2014-02-03 14:13:03,566 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_requiredActions 2014-02-03 14:13:03,566 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_webOrigins 2014-02-03 14:13:03,566 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_DEFAULT_ROLES 2014-02-03 14:13:03,566 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_REQUIRED_CREDENTIALS 2014-02-03 14:13:03,566 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_ROLES 2014-02-03 14:13:03,566 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationEntity 2014-02-03 14:13:03,566 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationScopeMappingEntity 2014-02-03 14:13:03,582 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationUserRoleMappingEntity 2014-02-03 14:13:03,582 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: CredentialEntity 2014-02-03 14:13:03,582 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: OAUTH_CLIENT_REQUIRED_CREDENTIALS 2014-02-03 14:13:03,582 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: OAuthClientEntity 2014-02-03 14:13:03,582 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: REALM_DEFAULT_ROLES 2014-02-03 14:13:03,582 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: REALM_ROLES 2014-02-03 14:13:03,582 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity 2014-02-03 14:13:03,598 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_ApplicationEntity 2014-02-03 14:13:03,598 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_smtpConfig 2014-02-03 14:13:03,598 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_socialConfig 2014-02-03 14:13:03,598 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmScopeMappingEntity 2014-02-03 14:13:03,598 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmUserRoleMappingEntity 2014-02-03 14:13:03,598 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RequiredCredentialEntity 2014-02-03 14:13:03,598 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RoleEntity 2014-02-03 14:13:03,613 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: SocialLinkEntity 2014-02-03 14:13:03,613 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: USER_REQUIRED_CREDENTIALS 2014-02-03 14:13:03,613 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity 2014-02-03 14:13:03,613 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_CredentialEntity 2014-02-03 14:13:03,613 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_attributes 2014-02-03 14:13:03,613 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_redirectUris 2014-02-03 14:13:03,629 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_requiredActions 2014-02-03 14:13:03,629 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_webOrigins 2014-02-03 14:13:03,629 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_DEFAULT_ROLES 2014-02-03 14:13:03,629 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_REQUIRED_CREDENTIALS 2014-02-03 14:13:03,629 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: APPLICATION_ROLES 2014-02-03 14:13:03,629 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationEntity 2014-02-03 14:13:03,629 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationScopeMappingEntity 2014-02-03 14:13:03,645 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: ApplicationUserRoleMappingEntity 2014-02-03 14:13:03,645 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: CredentialEntity 2014-02-03 14:13:03,645 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: OAUTH_CLIENT_REQUIRED_CREDENTIALS 2014-02-03 14:13:03,645 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: OAuthClientEntity 2014-02-03 14:13:03,645 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: REALM_DEFAULT_ROLES 2014-02-03 14:13:03,645 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: REALM_ROLES 2014-02-03 14:13:03,645 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity 2014-02-03 14:13:03,645 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_ApplicationEntity 2014-02-03 14:13:03,660 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_smtpConfig 2014-02-03 14:13:03,660 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmEntity_socialConfig 2014-02-03 14:13:03,660 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmScopeMappingEntity 2014-02-03 14:13:03,660 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RealmUserRoleMappingEntity 2014-02-03 14:13:03,660 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RequiredCredentialEntity 2014-02-03 14:13:03,660 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: RoleEntity 2014-02-03 14:13:03,676 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: SocialLinkEntity 2014-02-03 14:13:03,676 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: USER_REQUIRED_CREDENTIALS 2014-02-03 14:13:03,676 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity 2014-02-03 14:13:03,676 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_CredentialEntity 2014-02-03 14:13:03,676 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_attributes 2014-02-03 14:13:03,676 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_redirectUris 2014-02-03 14:13:03,676 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_requiredActions 2014-02-03 14:13:03,691 INFO [java.sql.DatabaseMetaData] (ServerService Thread Pool -- 52) HHH000262: Table not found: UserEntity_webOrigins 2014-02-03 14:13:03,988 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table APPLICATION_DEFAULT_ROLES add constraint FK_drp2eoe21hph4svi7407swsyd foreign key (defaultRoles_id) references RoleEntity 2014-02-03 14:13:03,988 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_drp2eoe21hph4svi7407swsyd" cannot be implemented Detail: Key columns "defaultroles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:03,988 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table APPLICATION_DEFAULT_ROLES add constraint FK_s4rd4wsid827akdjb0w9ibp34 foreign key (ApplicationEntity_id) references ApplicationEntity 2014-02-03 14:13:04,004 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_s4rd4wsid827akdjb0w9ibp34" cannot be implemented Detail: Key columns "applicationentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,004 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table APPLICATION_REQUIRED_CREDENTIALS add constraint FK_covu9ee5bu9nkvl1vu8hb1ir7 foreign key (requiredApplicationCredentials_id) references RequiredCredentialEntity 2014-02-03 14:13:04,004 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_covu9ee5bu9nkvl1vu8hb1ir7" cannot be implemented Detail: Key columns "requiredapplicationcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,020 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table APPLICATION_ROLES add constraint FK_7l9hpvgdgmc5uejbcop317ib2 foreign key (roles_id) references RoleEntity 2014-02-03 14:13:04,020 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_7l9hpvgdgmc5uejbcop317ib2" cannot be implemented Detail: Key columns "roles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,035 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table APPLICATION_ROLES add constraint FK_60s842yuivcyjem9m1umj0ymh foreign key (ApplicationEntity_id) references ApplicationEntity 2014-02-03 14:13:04,035 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_60s842yuivcyjem9m1umj0ymh" cannot be implemented Detail: Key columns "applicationentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,035 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationEntity add constraint FK_63mhyngq4dy1yx8he7q8ubmop foreign key (applicationUser_id) references UserEntity 2014-02-03 14:13:04,035 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_63mhyngq4dy1yx8he7q8ubmop" cannot be implemented Detail: Key columns "applicationuser_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,051 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_fa7sbalr95rlthhcf9sg8i3r4 foreign key (role_id) references RoleEntity 2014-02-03 14:13:04,051 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_fa7sbalr95rlthhcf9sg8i3r4" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,051 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_nfsdpo5g58c6nqfep9sup3ctp foreign key (user_id) references UserEntity 2014-02-03 14:13:04,051 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_nfsdpo5g58c6nqfep9sup3ctp" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,066 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_4ssreqxn6j2a7up48i1qb2sua foreign key (application_id) references ApplicationEntity 2014-02-03 14:13:04,066 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_4ssreqxn6j2a7up48i1qb2sua" cannot be implemented Detail: Key columns "application_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,066 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_t10o4fp8tk5ba9vkpm98c2yrt foreign key (role_id) references RoleEntity 2014-02-03 14:13:04,082 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_t10o4fp8tk5ba9vkpm98c2yrt" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,082 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_acs25q56goc10xrr4xw9bwsth foreign key (user_id) references UserEntity 2014-02-03 14:13:04,082 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_acs25q56goc10xrr4xw9bwsth" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,098 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_9y39hi5ph6at6ds1krpn0rtpi foreign key (application_id) references ApplicationEntity 2014-02-03 14:13:04,098 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_9y39hi5ph6at6ds1krpn0rtpi" cannot be implemented Detail: Key columns "application_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,098 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table CredentialEntity add constraint FK_pn32x46lgmhlaldchhp47wfgj foreign key (user_id) references UserEntity 2014-02-03 14:13:04,098 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_pn32x46lgmhlaldchhp47wfgj" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,113 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table OAUTH_CLIENT_REQUIRED_CREDENTIALS add constraint FK_76d17rixlrhv6dq5w8vjtcny7 foreign key (requiredOAuthClientCredentials_id) references RequiredCredentialEntity 2014-02-03 14:13:04,113 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_76d17rixlrhv6dq5w8vjtcny7" cannot be implemented Detail: Key columns "requiredoauthclientcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,113 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table OAuthClientEntity add constraint FK_62mly7ecnrpvk39hvtogbfu9l foreign key (agent_id) references UserEntity 2014-02-03 14:13:04,113 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_62mly7ecnrpvk39hvtogbfu9l" cannot be implemented Detail: Key columns "agent_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,129 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table REALM_DEFAULT_ROLES add constraint FK_nm4mf0m1nmi7ub6mjbjy4vfhs foreign key (defaultRoles_id) references RoleEntity 2014-02-03 14:13:04,129 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_nm4mf0m1nmi7ub6mjbjy4vfhs" cannot be implemented Detail: Key columns "defaultroles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,129 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table REALM_ROLES add constraint FK_ianyv4ds3ad2manh3fjgh4qi8 foreign key (roles_id) references RoleEntity 2014-02-03 14:13:04,129 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_ianyv4ds3ad2manh3fjgh4qi8" cannot be implemented Detail: Key columns "roles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,145 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table RealmEntity_ApplicationEntity add constraint FK_lc35hwkvorkg9dmj6e6hi40qn foreign key (applications_id) references ApplicationEntity 2014-02-03 14:13:04,145 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_lc35hwkvorkg9dmj6e6hi40qn" cannot be implemented Detail: Key columns "applications_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,160 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table RealmScopeMappingEntity add constraint FK_5nm8bsgqihl29vbpck1ldg6hf foreign key (role_id) references RoleEntity 2014-02-03 14:13:04,160 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_5nm8bsgqihl29vbpck1ldg6hf" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,160 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table RealmScopeMappingEntity add constraint FK_9pdjxdhf2xi91uqi2smbihxjy foreign key (user_id) references UserEntity 2014-02-03 14:13:04,160 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_9pdjxdhf2xi91uqi2smbihxjy" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,176 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table RealmUserRoleMappingEntity add constraint FK_osxtwgn0r896ttjvjstnrxvm4 foreign key (role_id) references RoleEntity 2014-02-03 14:13:04,176 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_osxtwgn0r896ttjvjstnrxvm4" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,176 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table RealmUserRoleMappingEntity add constraint FK_8tq5oy7c7jw9yl64jvi3f79av foreign key (user_id) references UserEntity 2014-02-03 14:13:04,191 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_8tq5oy7c7jw9yl64jvi3f79av" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,191 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table SocialLinkEntity add constraint FK_of3vi3cc8yo5aavbsq2flfm32 foreign key (user_id) references UserEntity 2014-02-03 14:13:04,207 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_of3vi3cc8yo5aavbsq2flfm32" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,207 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table USER_REQUIRED_CREDENTIALS add constraint FK_5uc73e6cvxmkq5ybruf1jsygv foreign key (requiredCredentials_id) references RequiredCredentialEntity 2014-02-03 14:13:04,207 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_5uc73e6cvxmkq5ybruf1jsygv" cannot be implemented Detail: Key columns "requiredcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,223 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_CredentialEntity add constraint FK_kwlok0nencsu8kuhwervrn2p5 foreign key (credentials_id) references CredentialEntity 2014-02-03 14:13:04,223 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_kwlok0nencsu8kuhwervrn2p5" cannot be implemented Detail: Key columns "credentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,238 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_CredentialEntity add constraint FK_302t29u9komfu7d7qffci0cie foreign key (UserEntity_id) references UserEntity 2014-02-03 14:13:04,238 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_302t29u9komfu7d7qffci0cie" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,238 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_attributes add constraint FK_pv89d7hl2qoyg2dc1b9bupw7l foreign key (UserEntity_id) references UserEntity 2014-02-03 14:13:04,238 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_pv89d7hl2qoyg2dc1b9bupw7l" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,238 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_redirectUris add constraint FK_myu5kr3txep49myg1ejwwy58f foreign key (UserEntity_id) references UserEntity 2014-02-03 14:13:04,238 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_myu5kr3txep49myg1ejwwy58f" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,238 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_requiredActions add constraint FK_eclsk6gyvwy477usdcwu8l1mx foreign key (UserEntity_id) references UserEntity 2014-02-03 14:13:04,254 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_eclsk6gyvwy477usdcwu8l1mx" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,254 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000388: Unsuccessful: alter table UserEntity_webOrigins add constraint FK_sn38pjw1v24ahb1d6jrwshoa6 foreign key (UserEntity_id) references UserEntity 2014-02-03 14:13:04,254 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) ERROR: foreign key constraint "fk_sn38pjw1v24ahb1d6jrwshoa6" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:04,254 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 52) HHH000232: Schema update complete 2014-02-03 14:13:04,254 WARN [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 52) HHH000008: JTASessionContext being used with JDBCTransactionFactory; auto-flush will not operate correctly with getCurrentSession() 2014-02-03 14:13:04,676 INFO [org.hibernate.jpa.internal.util.LogHelper] (MSC service thread 1-12) HHH000204: Processing PersistenceUnitInfo [ name: jpa-keycloak-identity-store ...] 2014-02-03 14:13:04,723 INFO [org.hibernate.dialect.Dialect] (MSC service thread 1-12) HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL9Dialect 2014-02-03 14:13:04,723 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (MSC service thread 1-12) HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException 2014-02-03 14:13:04,754 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-12) HHH000397: Using ASTQueryTranslatorFactory 2014-02-03 14:13:04,848 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000228: Running hbm2ddl schema update 2014-02-03 14:13:04,848 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000102: Fetching database metadata 2014-02-03 14:13:04,848 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000396: Updating schema 2014-02-03 14:13:04,863 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.application_default_roles 2014-02-03 14:13:04,863 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [defaultroles_id, applicationentity_id] 2014-02-03 14:13:04,863 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [] 2014-02-03 14:13:04,863 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [uk_drp2eoe21hph4svi7407swsyd] 2014-02-03 14:13:04,879 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.application_required_credentials 2014-02-03 14:13:04,895 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [requiredapplicationcredentials_id, realmentity_id] 2014-02-03 14:13:04,895 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [fk_82svc5ipoim52p8271tvdsrqj] 2014-02-03 14:13:04,895 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [uk_covu9ee5bu9nkvl1vu8hb1ir7] 2014-02-03 14:13:04,910 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.application_roles 2014-02-03 14:13:04,910 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [applicationentity_id, roles_id] 2014-02-03 14:13:04,910 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [] 2014-02-03 14:13:04,910 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [uk_7l9hpvgdgmc5uejbcop317ib2] 2014-02-03 14:13:04,926 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.applicationentity 2014-02-03 14:13:04,926 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [id, enabled, managementurl, applicationuser_id, name, baseurl, surrogateauthrequired] 2014-02-03 14:13:04,926 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [] 2014-02-03 14:13:04,926 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [applicationentity_pkey] 2014-02-03 14:13:04,941 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.applicationscopemappingentity 2014-02-03 14:13:04,941 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [id, role_id, user_id, application_id] 2014-02-03 14:13:04,941 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [] 2014-02-03 14:13:04,941 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [applicationscopemappingentity_pkey] 2014-02-03 14:13:04,973 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.applicationuserrolemappingentity 2014-02-03 14:13:04,973 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [id, role_id, user_id, application_id] 2014-02-03 14:13:04,973 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [] 2014-02-03 14:13:04,973 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [applicationuserrolemappingentity_pkey] 2014-02-03 14:13:04,988 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.credentialentity 2014-02-03 14:13:04,988 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [id, value, device, user_id, type] 2014-02-03 14:13:04,988 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [] 2014-02-03 14:13:04,988 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [credentialentity_pkey] 2014-02-03 14:13:05,004 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.oauth_client_required_credentials 2014-02-03 14:13:05,004 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [realmentity_id, requiredoauthclientcredentials_id] 2014-02-03 14:13:05,004 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [fk_axk539p25x0kjtye8jf036fm7] 2014-02-03 14:13:05,004 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [uk_76d17rixlrhv6dq5w8vjtcny7] 2014-02-03 14:13:05,020 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.oauthcliententity 2014-02-03 14:13:05,020 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [id, realm_id, name, agent_id] 2014-02-03 14:13:05,020 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [fk_c7p5k3d5mewb3yym9qypp76uj] 2014-02-03 14:13:05,020 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [oauthcliententity_pkey] 2014-02-03 14:13:05,051 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.realm_default_roles 2014-02-03 14:13:05,051 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [realmentity_id, defaultroles_id] 2014-02-03 14:13:05,051 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [fk_n33klpw4ofkxt71sbuumd5ldo] 2014-02-03 14:13:05,051 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [uk_nm4mf0m1nmi7ub6mjbjy4vfhs] 2014-02-03 14:13:05,066 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.realm_roles 2014-02-03 14:13:05,066 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [realmentity_id, roles_id] 2014-02-03 14:13:05,066 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [fk_ojax2569atkiu2esoxqnj0o4i] 2014-02-03 14:13:05,066 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [uk_ianyv4ds3ad2manh3fjgh4qi8] 2014-02-03 14:13:05,082 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.realmentity 2014-02-03 14:13:05,082 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [enabled, passwordpolicy, publickeypem, registrationallowed, resetpasswordallowed, privatekeypem, accesscodelifespan, accesscodelifespanuseraction, id, sslnotrequired, updateprofileoninitialsociallogin, social, tokenlifespan, name, verifyemail] 2014-02-03 14:13:05,082 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [] 2014-02-03 14:13:05,082 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [realmentity_pkey] 2014-02-03 14:13:05,098 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.realmentity_applicationentity 2014-02-03 14:13:05,098 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [realmentity_id, applications_id] 2014-02-03 14:13:05,113 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [fk_kl5keangpo58h9r3cugwvxu2] 2014-02-03 14:13:05,113 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [uk_lc35hwkvorkg9dmj6e6hi40qn] 2014-02-03 14:13:05,129 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.realmentity_smtpconfig 2014-02-03 14:13:05,129 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [realmentity_id, name, value] 2014-02-03 14:13:05,129 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [fk_hbtlvt068mnrudm3cf0px691h] 2014-02-03 14:13:05,129 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [realmentity_smtpconfig_pkey] 2014-02-03 14:13:05,145 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.realmentity_socialconfig 2014-02-03 14:13:05,145 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [realmentity_id, name, value] 2014-02-03 14:13:05,145 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [fk_18sn19xqpu83b06jv6w8ksvfv] 2014-02-03 14:13:05,145 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [realmentity_socialconfig_pkey] 2014-02-03 14:13:05,160 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.realmscopemappingentity 2014-02-03 14:13:05,160 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [id, realm_id, role_id, user_id] 2014-02-03 14:13:05,160 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [fk_kbre9poi98gu6fwc0llkav9lc] 2014-02-03 14:13:05,160 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [realmscopemappingentity_pkey] 2014-02-03 14:13:05,176 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.realmuserrolemappingentity 2014-02-03 14:13:05,176 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [id, realm_id, role_id, user_id] 2014-02-03 14:13:05,191 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [fk_mmv1fqq7ktpxfgprb7qc3j37o] 2014-02-03 14:13:05,191 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [realmuserrolemappingentity_pkey] 2014-02-03 14:13:05,207 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.requiredcredentialentity 2014-02-03 14:13:05,207 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [id, input, secret, formlabel, type] 2014-02-03 14:13:05,207 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [] 2014-02-03 14:13:05,207 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [requiredcredentialentity_pkey] 2014-02-03 14:13:05,223 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.roleentity 2014-02-03 14:13:05,223 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [id, description, name] 2014-02-03 14:13:05,223 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [] 2014-02-03 14:13:05,223 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [roleentity_pkey] 2014-02-03 14:13:05,238 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.sociallinkentity 2014-02-03 14:13:05,238 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [id, socialusername, realm_id, socialprovider, user_id] 2014-02-03 14:13:05,238 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [fk_jav76o82ob85iuxm2l0gg904h] 2014-02-03 14:13:05,238 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [sociallinkentity_pkey] 2014-02-03 14:13:05,254 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.user_required_credentials 2014-02-03 14:13:05,254 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [realmentity_id, requiredcredentials_id] 2014-02-03 14:13:05,254 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [fk_oxi9ad45ic3e60u94qihx75i3] 2014-02-03 14:13:05,254 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [uk_5uc73e6cvxmkq5ybruf1jsygv] 2014-02-03 14:13:05,285 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.userentity 2014-02-03 14:13:05,285 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [id, loginname, enabled, realm_id, totp, email, emailverified, lastname, firstname] 2014-02-03 14:13:05,285 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [fk_1u1wm7gj4o98kabis6et6klh5] 2014-02-03 14:13:05,285 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [userentity_pkey] 2014-02-03 14:13:05,301 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.userentity_credentialentity 2014-02-03 14:13:05,301 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [credentials_id, userentity_id] 2014-02-03 14:13:05,301 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [] 2014-02-03 14:13:05,301 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [uk_kwlok0nencsu8kuhwervrn2p5] 2014-02-03 14:13:05,316 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.userentity_attributes 2014-02-03 14:13:05,316 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [userentity_id, name, value] 2014-02-03 14:13:05,316 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [] 2014-02-03 14:13:05,316 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [userentity_attributes_pkey] 2014-02-03 14:13:05,332 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.userentity_redirecturis 2014-02-03 14:13:05,332 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [userentity_id, redirecturis] 2014-02-03 14:13:05,332 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [] 2014-02-03 14:13:05,332 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [] 2014-02-03 14:13:05,348 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.userentity_requiredactions 2014-02-03 14:13:05,348 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [userentity_id, requiredactions] 2014-02-03 14:13:05,363 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [] 2014-02-03 14:13:05,363 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [] 2014-02-03 14:13:05,379 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000261: Table found: public.userentity_weborigins 2014-02-03 14:13:05,379 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000037: Columns: [userentity_id, weborigins] 2014-02-03 14:13:05,379 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000108: Foreign keys: [] 2014-02-03 14:13:05,379 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] (MSC service thread 1-12) HHH000126: Indexes: [] 2014-02-03 14:13:05,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table APPLICATION_DEFAULT_ROLES add constraint FK_drp2eoe21hph4svi7407swsyd foreign key (defaultRoles_id) references RoleEntity 2014-02-03 14:13:05,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_drp2eoe21hph4svi7407swsyd" cannot be implemented Detail: Key columns "defaultroles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table APPLICATION_DEFAULT_ROLES add constraint FK_s4rd4wsid827akdjb0w9ibp34 foreign key (ApplicationEntity_id) references ApplicationEntity 2014-02-03 14:13:05,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_s4rd4wsid827akdjb0w9ibp34" cannot be implemented Detail: Key columns "applicationentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table APPLICATION_REQUIRED_CREDENTIALS add constraint FK_covu9ee5bu9nkvl1vu8hb1ir7 foreign key (requiredApplicationCredentials_id) references RequiredCredentialEntity 2014-02-03 14:13:05,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_covu9ee5bu9nkvl1vu8hb1ir7" cannot be implemented Detail: Key columns "requiredapplicationcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table APPLICATION_ROLES add constraint FK_7l9hpvgdgmc5uejbcop317ib2 foreign key (roles_id) references RoleEntity 2014-02-03 14:13:05,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_7l9hpvgdgmc5uejbcop317ib2" cannot be implemented Detail: Key columns "roles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table APPLICATION_ROLES add constraint FK_60s842yuivcyjem9m1umj0ymh foreign key (ApplicationEntity_id) references ApplicationEntity 2014-02-03 14:13:05,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_60s842yuivcyjem9m1umj0ymh" cannot be implemented Detail: Key columns "applicationentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table ApplicationEntity add constraint FK_63mhyngq4dy1yx8he7q8ubmop foreign key (applicationUser_id) references UserEntity 2014-02-03 14:13:05,379 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_63mhyngq4dy1yx8he7q8ubmop" cannot be implemented Detail: Key columns "applicationuser_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_fa7sbalr95rlthhcf9sg8i3r4 foreign key (role_id) references RoleEntity 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_fa7sbalr95rlthhcf9sg8i3r4" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_nfsdpo5g58c6nqfep9sup3ctp foreign key (user_id) references UserEntity 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_nfsdpo5g58c6nqfep9sup3ctp" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table ApplicationScopeMappingEntity add constraint FK_4ssreqxn6j2a7up48i1qb2sua foreign key (application_id) references ApplicationEntity 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_4ssreqxn6j2a7up48i1qb2sua" cannot be implemented Detail: Key columns "application_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_t10o4fp8tk5ba9vkpm98c2yrt foreign key (role_id) references RoleEntity 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_t10o4fp8tk5ba9vkpm98c2yrt" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_acs25q56goc10xrr4xw9bwsth foreign key (user_id) references UserEntity 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_acs25q56goc10xrr4xw9bwsth" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table ApplicationUserRoleMappingEntity add constraint FK_9y39hi5ph6at6ds1krpn0rtpi foreign key (application_id) references ApplicationEntity 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_9y39hi5ph6at6ds1krpn0rtpi" cannot be implemented Detail: Key columns "application_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table CredentialEntity add constraint FK_pn32x46lgmhlaldchhp47wfgj foreign key (user_id) references UserEntity 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_pn32x46lgmhlaldchhp47wfgj" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table OAUTH_CLIENT_REQUIRED_CREDENTIALS add constraint FK_76d17rixlrhv6dq5w8vjtcny7 foreign key (requiredOAuthClientCredentials_id) references RequiredCredentialEntity 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_76d17rixlrhv6dq5w8vjtcny7" cannot be implemented Detail: Key columns "requiredoauthclientcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table OAuthClientEntity add constraint FK_62mly7ecnrpvk39hvtogbfu9l foreign key (agent_id) references UserEntity 2014-02-03 14:13:05,395 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_62mly7ecnrpvk39hvtogbfu9l" cannot be implemented Detail: Key columns "agent_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table REALM_DEFAULT_ROLES add constraint FK_nm4mf0m1nmi7ub6mjbjy4vfhs foreign key (defaultRoles_id) references RoleEntity 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_nm4mf0m1nmi7ub6mjbjy4vfhs" cannot be implemented Detail: Key columns "defaultroles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table REALM_ROLES add constraint FK_ianyv4ds3ad2manh3fjgh4qi8 foreign key (roles_id) references RoleEntity 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_ianyv4ds3ad2manh3fjgh4qi8" cannot be implemented Detail: Key columns "roles_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table RealmEntity_ApplicationEntity add constraint FK_lc35hwkvorkg9dmj6e6hi40qn foreign key (applications_id) references ApplicationEntity 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_lc35hwkvorkg9dmj6e6hi40qn" cannot be implemented Detail: Key columns "applications_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table RealmScopeMappingEntity add constraint FK_5nm8bsgqihl29vbpck1ldg6hf foreign key (role_id) references RoleEntity 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_5nm8bsgqihl29vbpck1ldg6hf" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table RealmScopeMappingEntity add constraint FK_9pdjxdhf2xi91uqi2smbihxjy foreign key (user_id) references UserEntity 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_9pdjxdhf2xi91uqi2smbihxjy" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table RealmUserRoleMappingEntity add constraint FK_osxtwgn0r896ttjvjstnrxvm4 foreign key (role_id) references RoleEntity 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_osxtwgn0r896ttjvjstnrxvm4" cannot be implemented Detail: Key columns "role_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table RealmUserRoleMappingEntity add constraint FK_8tq5oy7c7jw9yl64jvi3f79av foreign key (user_id) references UserEntity 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_8tq5oy7c7jw9yl64jvi3f79av" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table SocialLinkEntity add constraint FK_of3vi3cc8yo5aavbsq2flfm32 foreign key (user_id) references UserEntity 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_of3vi3cc8yo5aavbsq2flfm32" cannot be implemented Detail: Key columns "user_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table USER_REQUIRED_CREDENTIALS add constraint FK_5uc73e6cvxmkq5ybruf1jsygv foreign key (requiredCredentials_id) references RequiredCredentialEntity 2014-02-03 14:13:05,410 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_5uc73e6cvxmkq5ybruf1jsygv" cannot be implemented Detail: Key columns "requiredcredentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,426 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table UserEntity_CredentialEntity add constraint FK_kwlok0nencsu8kuhwervrn2p5 foreign key (credentials_id) references CredentialEntity 2014-02-03 14:13:05,426 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_kwlok0nencsu8kuhwervrn2p5" cannot be implemented Detail: Key columns "credentials_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,426 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table UserEntity_CredentialEntity add constraint FK_302t29u9komfu7d7qffci0cie foreign key (UserEntity_id) references UserEntity 2014-02-03 14:13:05,426 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_302t29u9komfu7d7qffci0cie" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,426 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table UserEntity_attributes add constraint FK_pv89d7hl2qoyg2dc1b9bupw7l foreign key (UserEntity_id) references UserEntity 2014-02-03 14:13:05,426 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_pv89d7hl2qoyg2dc1b9bupw7l" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,426 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table UserEntity_redirectUris add constraint FK_myu5kr3txep49myg1ejwwy58f foreign key (UserEntity_id) references UserEntity 2014-02-03 14:13:05,426 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_myu5kr3txep49myg1ejwwy58f" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,426 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table UserEntity_requiredActions add constraint FK_eclsk6gyvwy477usdcwu8l1mx foreign key (UserEntity_id) references UserEntity 2014-02-03 14:13:05,426 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_eclsk6gyvwy477usdcwu8l1mx" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,426 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000388: Unsuccessful: alter table UserEntity_webOrigins add constraint FK_sn38pjw1v24ahb1d6jrwshoa6 foreign key (UserEntity_id) references UserEntity 2014-02-03 14:13:05,426 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) ERROR: foreign key constraint "fk_sn38pjw1v24ahb1d6jrwshoa6" cannot be implemented Detail: Key columns "userentity_id" and "id" are of incompatible types: character varying and integer. 2014-02-03 14:13:05,426 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-12) HHH000232: Schema update complete 2014-02-03 14:13:05,520 INFO [org.keycloak.services.managers.ApplianceBootstrap] (MSC service thread 1-12) Initializing keycloak-admin realm 2014-02-03 14:13:05,598 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (MSC service thread 1-12) SQL Error: 0, SQLState: 42883 2014-02-03 14:13:05,598 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (MSC service thread 1-12) ERROR: operator does not exist: integer = character varying Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts. Position: 78 2014-02-03 14:13:05,598 INFO [org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl] (MSC service thread 1-12) HHH000010: On release of batch it still contained JDBC statements 2014-02-03 14:13:05,598 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-12) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45] at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45] Caused by: java.lang.RuntimeException: Failed to construct public org.keycloak.server.KeycloakServerApplication(javax.servlet.ServletContext) throws java.io.FileNotFoundException at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:160) at org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2175) at org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:295) at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:236) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:112) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36) at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:204) at io.undertow.servlet.core.ManagedServlet.start(ManagedServlet.java:112) at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:462) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:87) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:71) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1] ... 3 more Caused by: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute statement at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763) at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1677) at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1683) at org.hibernate.jpa.spi.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:1338) at org.keycloak.models.jpa.RealmAdapter.updateCredential(RealmAdapter.java:1064) at org.keycloak.services.managers.RealmManager.setupAccountManagement(RealmManager.java:157) at org.keycloak.services.managers.RealmManager.createRealm(RealmManager.java:82) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:45) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:29) at org.keycloak.services.resources.KeycloakApplication.setupDefaultRealm(KeycloakApplication.java:70) at org.keycloak.services.resources.KeycloakApplication.(KeycloakApplication.java:52) at org.keycloak.server.KeycloakServerApplication.(KeycloakServerApplication.java:23) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_45] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_45] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_45] at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [rt.jar:1.7.0_45] at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:148) ... 15 more Caused by: org.hibernate.exception.SQLGrammarException: could not execute statement at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:123) at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49) at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:126) at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:112) at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:190) at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:62) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3281) at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3183) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3525) at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:158) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:453) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:345) at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350) at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56) at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1218) at org.hibernate.jpa.spi.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:1335) ... 28 more Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: integer = character varying Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts. Position: 78 at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334) at org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:493) at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:187) ... 39 more 2014-02-03 14:13:05,629 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "auth-server.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.undertow.deployment.default-server.default-host./auth" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: Failed to start service Caused by: java.lang.RuntimeException: Failed to construct public org.keycloak.server.KeycloakServerApplication(javax.servlet.ServletContext) throws java.io.FileNotFoundException Caused by: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute statement Caused by: org.hibernate.exception.SQLGrammarException: could not execute statement Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: integer = character varying Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts. Position: 78"}} 2014-02-03 14:13:05,660 INFO [org.jboss.as.server] (ServerService Thread Pool -- 29) JBAS018559: Deployed "auth-server.war" (runtime-name : "auth-server.war") 2014-02-03 14:13:05,660 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report JBAS014777: Services which failed to start: service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: Failed to start service 2014-02-03 14:13:05,707 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management 2014-02-03 14:13:05,707 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990 2014-02-03 14:13:05,707 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.0.0.CR1 "WildFly" started (with errors) in 6079ms - Started 273 of 330 services (2 services failed or missing dependencies, 87 services are lazy, passive or on-demand) 2014-02-03 14:13:05,973 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011410: Stopping Persistence Unit (phase 2 of 2) Service 'auth-server.war#jpa-keycloak-identity-store' 2014-02-03 14:13:05,988 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011410: Stopping Persistence Unit (phase 1 of 2) Service 'auth-server.war#jpa-keycloak-identity-store' 2014-02-03 14:13:06,082 INFO [org.jboss.as.server.deployment] (MSC service thread 1-10) JBAS015877: Stopped deployment auth-server.war (runtime-name: auth-server.war) in 140ms 2014-02-03 14:13:06,113 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "auth-server.war" (runtime-name: "auth-server.war") 2014-02-03 14:13:06,113 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report JBAS014775: New missing/unsatisfied dependencies: service jboss.persistenceunit."auth-server.war#jpa-keycloak-identity-store" (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] service jboss.undertow.deployment.default-server.default-host./auth (missing) dependents: [service jboss.deployment.unit."auth-server.war".deploymentCompleteService] JBAS014777: Services which failed to start: service jboss.undertow.deployment.default-server.default-host./auth 2014-02-03 14:13:10,723 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found auth-server.war in deployment directory. To trigger deployment create a file called auth-server.war.dodeploy