11 Replies Latest reply on Aug 5, 2015 9:58 AM by sreenathac

    Hibernate NamedQuery Exception while migrating from Jboss 5.1 to WildFly 8.2

    sreenathac

      When migrating my application from JBoss 5.1 to WildFly 8.2, while checking the named queries in my xml file I am getting the below exception.

       

      14:13:40,274 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 48) HCANN000001: Hibernate Commons Annotations {4.0.4.Final}

      14:13:41,353 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 48) HHH000400: Using dialect: org.hibernate.dialect.Oracle10gDialect

      14:13:46,243 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 48) HHH000397: Using ASTQueryTranslatorFactory

      14:13:46,246 WARN  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Unrecognized value for "hibernate.hbm2ddl.auto": none

      14:13:46,302 INFO  [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 48) HV000001: Hibernate Validator 5.1.3.Final

      14:14:14,543 ERROR [org.hibernate.hql.internal.ast.ErrorCounter] (ServerService Thread Pool -- 48) line 1:280: unexpected token: ,

      14:14:14,544 ERROR [org.hibernate.hql.internal.ast.ErrorCounter] (ServerService Thread Pool -- 48) line 1:280: unexpected token: ,: line 1:280: unexpected token: ,

        at org.hibernate.hql.internal.antlr.HqlBaseParser.castFunction(HqlBaseParser.java:4176) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.primaryExpression(HqlBaseParser.java:975) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.atom(HqlBaseParser.java:3609) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.unaryExpression(HqlBaseParser.java:3387) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.multiplyExpression(HqlBaseParser.java:3259) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.additiveExpression(HqlBaseParser.java:2964) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.concatenation(HqlBaseParser.java:597) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.relationalExpression(HqlBaseParser.java:2730) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.equalityExpression(HqlBaseParser.java:2591) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.negatedExpression(HqlBaseParser.java:2555) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.logicalAndExpression(HqlBaseParser.java:2481) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.logicalOrExpression(HqlBaseParser.java:2436) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.expression(HqlBaseParser.java:2146) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.logicalExpression(HqlBaseParser.java:1922) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.whereClause(HqlBaseParser.java:481) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.queryRule(HqlBaseParser.java:737) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.selectStatement(HqlBaseParser.java:323) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.statement(HqlBaseParser.java:186) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:295) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:203) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:158) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:131) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:93) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:167) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.NamedQueryRepository.checkNamedQueries(NamedQueryRepository.java:161) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1090) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:536) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1859) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:852) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:845) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:398) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:844) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.jboss.as.jpa.hibernate4.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44) [jipijapa-hibernate4-3-1.0.1.Final.jar:]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

        at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474) [wildfly-security-manager-1.0.0.Final.jar:1.0.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

       

      14:14:14,550 WARN  [org.hibernate.hql.internal.ast.HqlParser] (ServerService Thread Pool -- 48) HHH000203: processEqualityExpression() : No expression to process!

      14:14:14,550 ERROR [org.hibernate.hql.internal.ast.ErrorCounter] (ServerService Thread Pool -- 48) line 1:282: unexpected token: string

      14:14:14,550 ERROR [org.hibernate.hql.internal.ast.ErrorCounter] (ServerService Thread Pool -- 48) line 1:282: unexpected token: string: line 1:282: unexpected token: string

        at org.hibernate.hql.internal.antlr.HqlBaseParser.queryRule(HqlBaseParser.java:772) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.selectStatement(HqlBaseParser.java:323) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.statement(HqlBaseParser.java:186) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:295) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:203) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:158) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:131) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:93) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:167) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.NamedQueryRepository.checkNamedQueries(NamedQueryRepository.java:161) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1090) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:536) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1859) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:852) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:845) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:398) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:844) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.jboss.as.jpa.hibernate4.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44) [jipijapa-hibernate4-3-1.0.1.Final.jar:]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

        at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474) [wildfly-security-manager-1.0.0.Final.jar:1.0.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

       

      14:14:30,425 ERROR [org.hibernate.hql.internal.ast.ErrorCounter] (ServerService Thread Pool -- 48) line 1:452: unexpected token: ,

      14:14:30,426 ERROR [org.hibernate.hql.internal.ast.ErrorCounter] (ServerService Thread Pool -- 48) line 1:452: unexpected token: ,: line 1:452: unexpected token: ,

        at org.hibernate.hql.internal.antlr.HqlBaseParser.castFunction(HqlBaseParser.java:4176) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.primaryExpression(HqlBaseParser.java:975) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.atom(HqlBaseParser.java:3609) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.unaryExpression(HqlBaseParser.java:3387) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.multiplyExpression(HqlBaseParser.java:3259) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.additiveExpression(HqlBaseParser.java:2964) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.concatenation(HqlBaseParser.java:597) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.relationalExpression(HqlBaseParser.java:2730) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.equalityExpression(HqlBaseParser.java:2686) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.negatedExpression(HqlBaseParser.java:2555) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.logicalAndExpression(HqlBaseParser.java:2481) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.logicalOrExpression(HqlBaseParser.java:2436) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.expression(HqlBaseParser.java:2146) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.logicalExpression(HqlBaseParser.java:1922) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.whereClause(HqlBaseParser.java:481) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.queryRule(HqlBaseParser.java:737) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.selectStatement(HqlBaseParser.java:323) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.statement(HqlBaseParser.java:186) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:295) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:203) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:158) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:131) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:93) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:167) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.NamedQueryRepository.checkNamedQueries(NamedQueryRepository.java:161) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1090) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:536) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1859) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:852) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:845) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:398) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:844) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.jboss.as.jpa.hibernate4.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44) [jipijapa-hibernate4-3-1.0.1.Final.jar:]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

        at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474) [wildfly-security-manager-1.0.0.Final.jar:1.0.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

       

      14:14:30,428 ERROR [org.hibernate.hql.internal.ast.ErrorCounter] (ServerService Thread Pool -- 48) line 1:454: unexpected token: string

      14:14:30,428 ERROR [org.hibernate.hql.internal.ast.ErrorCounter] (ServerService Thread Pool -- 48) line 1:454: unexpected token: string: line 1:454: unexpected token: string

        at org.hibernate.hql.internal.antlr.HqlBaseParser.queryRule(HqlBaseParser.java:772) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.selectStatement(HqlBaseParser.java:323) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.statement(HqlBaseParser.java:186) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:295) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:203) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:158) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:131) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:93) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:167) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.NamedQueryRepository.checkNamedQueries(NamedQueryRepository.java:161) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1090) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:536) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1859) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:852) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:845) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:398) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:844) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.jboss.as.jpa.hibernate4.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44) [jipijapa-hibernate4-3-1.0.1.Final.jar:]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

        at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474) [wildfly-security-manager-1.0.0.Final.jar:1.0.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

       

      14:14:30,551 ERROR [org.hibernate.hql.internal.ast.ErrorCounter] (ServerService Thread Pool -- 48) line 1:391: unexpected token: ,

      14:14:30,552 ERROR [org.hibernate.hql.internal.ast.ErrorCounter] (ServerService Thread Pool -- 48) line 1:391: unexpected token: ,: line 1:391: unexpected token: ,

        at org.hibernate.hql.internal.antlr.HqlBaseParser.castFunction(HqlBaseParser.java:4176) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.primaryExpression(HqlBaseParser.java:975) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.atom(HqlBaseParser.java:3609) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.unaryExpression(HqlBaseParser.java:3387) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.multiplyExpression(HqlBaseParser.java:3259) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.additiveExpression(HqlBaseParser.java:2964) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.concatenation(HqlBaseParser.java:597) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.relationalExpression(HqlBaseParser.java:2730) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.equalityExpression(HqlBaseParser.java:2686) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.negatedExpression(HqlBaseParser.java:2555) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.logicalAndExpression(HqlBaseParser.java:2481) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.logicalOrExpression(HqlBaseParser.java:2436) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.expression(HqlBaseParser.java:2146) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.logicalExpression(HqlBaseParser.java:1922) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.whereClause(HqlBaseParser.java:481) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.queryRule(HqlBaseParser.java:737) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.selectStatement(HqlBaseParser.java:323) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.statement(HqlBaseParser.java:186) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:295) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:203) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:158) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:131) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:93) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:167) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.NamedQueryRepository.checkNamedQueries(NamedQueryRepository.java:161) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1090) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:536) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1859) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:852) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:845) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:398) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:844) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.jboss.as.jpa.hibernate4.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44) [jipijapa-hibernate4-3-1.0.1.Final.jar:]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

        at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474) [wildfly-security-manager-1.0.0.Final.jar:1.0.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

       

      14:14:30,554 ERROR [org.hibernate.hql.internal.ast.ErrorCounter] (ServerService Thread Pool -- 48) line 1:393: unexpected token: string

      14:14:30,554 ERROR [org.hibernate.hql.internal.ast.ErrorCounter] (ServerService Thread Pool -- 48) line 1:393: unexpected token: string: line 1:393: unexpected token: string

        at org.hibernate.hql.internal.antlr.HqlBaseParser.queryRule(HqlBaseParser.java:772) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.selectStatement(HqlBaseParser.java:323) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.antlr.HqlBaseParser.statement(HqlBaseParser.java:186) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:295) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:203) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:158) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:131) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:93) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:167) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.NamedQueryRepository.checkNamedQueries(NamedQueryRepository.java:161) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1090) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:536) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1859) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:852) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:845) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:398) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:844) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.jboss.as.jpa.hibernate4.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44) [jipijapa-hibernate4-3-1.0.1.Final.jar:]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

        at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474) [wildfly-security-manager-1.0.0.Final.jar:1.0.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

       

      14:14:30,724 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 48) HHH000177: Error in named query: getCompanyt: org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: , near line 1, column 280 [select c from com.sample.project.entity.Company c, com.sample.project.entity.LinkData o where o.company.companyId = :companyId and c.company.companyId = :companyId and o.mainObjectType.objectTypeId = :objectTypeId and o.mainObjectId = :objectId and cast(c.objectId, string) = o.relatedObjectId]

        at org.hibernate.hql.internal.ast.QuerySyntaxException.convert(QuerySyntaxException.java:91) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.ErrorCounter.throwQueryException(ErrorCounter.java:109) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:304) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:203) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:158) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:131) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:93) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:167) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.NamedQueryRepository.checkNamedQueries(NamedQueryRepository.java:161) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1090) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:536) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1859) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:852) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:845) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:398) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:844) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.jboss.as.jpa.hibernate4.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44) [jipijapa-hibernate4-3-1.0.1.Final.jar:]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

        at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474) [wildfly-security-manager-1.0.0.Final.jar:1.0.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

       

      14:14:30,728 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 48) HHH000177: Error in named query: getUserByCompany: org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: , near line 1, column 391 [select s from com.sample.project.entity.User s, com.sample.project.entity.UserIntense p, com.sample.project.entity.LinkData ol where s.activeSupplier = true and s.company.companyId = :companyId and p.company.companyId = :companyId and p.provider.supplierId = s.supplierId and ol.relatedObjectId = :orgId and p.validityToDate is null and ol.mainObjectId = cast(s.supplierId, string)]

        at org.hibernate.hql.internal.ast.QuerySyntaxException.convert(QuerySyntaxException.java:91) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.ErrorCounter.throwQueryException(ErrorCounter.java:109) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:304) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:203) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:158) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:131) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:93) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:167) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.NamedQueryRepository.checkNamedQueries(NamedQueryRepository.java:161) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1090) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:536) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1859) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:852) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:845) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:398) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:844) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.jboss.as.jpa.hibernate4.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44) [jipijapa-hibernate4-3-1.0.1.Final.jar:]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

        at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474) [wildfly-security-manager-1.0.0.Final.jar:1.0.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

       

      14:14:30,730 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 48) HHH000177: Error in named query: getValidUser: org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: , near line 1, column 452 [select s from com.sample.project.entity.User s, com.sample.project.entity.UserIntensity p, com.sample.project.entity.LinkData ol where s.activeSupplier = true and s.company.companyId = :companyId and p.company.companyId = :companyId and p.provider.supplierId = s.supplierId and p.consumptionType.consumptionTypeId = :consumptionTypeId and ol.relatedObjectId = :orgId and p.validityToDate is null and ol.mainObjectId = cast(s.supplierId, string)]

        at org.hibernate.hql.internal.ast.QuerySyntaxException.convert(QuerySyntaxException.java:91) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.ErrorCounter.throwQueryException(ErrorCounter.java:109) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:304) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:203) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:158) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:131) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:93) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:167) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.NamedQueryRepository.checkNamedQueries(NamedQueryRepository.java:161) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1090) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:536) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1859) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:852) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:845) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:398) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:844) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.jboss.as.jpa.hibernate4.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44) [jipijapa-hibernate4-3-1.0.1.Final.jar:]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

        at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474) [wildfly-security-manager-1.0.0.Final.jar:1.0.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

       

      14:14:30,732 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 48) MSC000001: Failed to start service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": org.jboss.msc.service.StartException in service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": org.hibernate.HibernateException: Errors in named queries: getCompanyt, getUserByCompany, getValidUser

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:172) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

        at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474)

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Caused by: org.hibernate.HibernateException: Errors in named queries: getCompanyt, getUserByCompany, getValidUser

        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:545) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1859) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:852) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:845) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:398) [hibernate-core-4.3.7.Final.jar:4.3.7.Final]

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:844) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]

        at org.jboss.as.jpa.hibernate4.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44) [jipijapa-hibernate4-3-1.0.1.Final.jar:]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        ... 8 more

       

       

      14:14:30,764 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "project-ear.ear")]) - failure description: {

          "JBAS014671: Failed services" => {"jboss.persistenceunit.\"project-ear.ear/project-ejb.jar#project\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"project-ear.ear/project-ejb.jar#project\": org.hibernate.HibernateException: Errors in named queries: getCompanyt, getUserByCompany, getValidUser

          Caused by: org.hibernate.HibernateException: Errors in named queries: getCompanyt, getUserByCompany, getValidUser"},

          "JBAS014771: Services with missing/unavailable dependencies" => [

              "jboss.deployment.subunit.\"project-ear.ear\".\"project-ejb.jar\".component.BookingSumMessageProcessor.CREATE is missing [jboss.ra.hornetq-ra, jboss.ejb.pool-config.StrictMaxPool]",

              "jboss.deployment.subunit.\"project-ear.ear\".\"project-ejb.jar\".component.AsyncReportQueueProcessor.CREATE is missing [jboss.ra.hornetq-ra, jboss.ejb.pool-config.StrictMaxPool]"

          ]

      }

      14:14:30,784 WARN  [org.jboss.as.jpa] (Controller Boot Thread) JBAS011411: Unexpected problem gathering statistics: java.lang.IllegalStateException: JBAS011477: Persistence unit 'project-ear.ear/project-ejb.jar#project' is not available

        at org.jboss.as.jpa.management.EntityManagerFactoryLookup.entityManagerFactory(EntityManagerFactoryLookup.java:44)

        at org.jboss.as.jpa.hibernate4.management.HibernateEntityCacheStatistics.getDynamicChildrenNames(HibernateEntityCacheStatistics.java:72)

        at org.jboss.as.jpa.management.DynamicManagementStatisticsResource.getChildren(DynamicManagementStatisticsResource.java:204)

        at org.jboss.as.controller.registry.AbstractModelResource$DelegateResource.getChildren(AbstractModelResource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:252) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:213) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.ModelControllerImpl.writeModel(ModelControllerImpl.java:580) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.OperationContextImpl.createPersistenceResource(OperationContextImpl.java:229) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:543) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:298) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.finishStep(AbstractOperationContext.java:752) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:727) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:501) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:298) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:293) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:346) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:297) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.server.ServerService.boot(ServerService.java:356) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.server.ServerService.boot(ServerService.java:331) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:259) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

       

       

      14:14:30,788 WARN  [org.jboss.as.jpa] (Controller Boot Thread) JBAS011411: Unexpected problem gathering statistics: java.lang.IllegalStateException: JBAS011477: Persistence unit 'project-ear.ear/project-ejb.jar#project' is not available

        at org.jboss.as.jpa.management.EntityManagerFactoryLookup.entityManagerFactory(EntityManagerFactoryLookup.java:44)

        at org.jboss.as.jpa.hibernate4.management.HibernateCollectionStatistics.getDynamicChildrenNames(HibernateCollectionStatistics.java:72)

        at org.jboss.as.jpa.management.DynamicManagementStatisticsResource.getChildren(DynamicManagementStatisticsResource.java:204)

        at org.jboss.as.controller.registry.AbstractModelResource$DelegateResource.getChildren(AbstractModelResource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:252) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:213) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.ModelControllerImpl.writeModel(ModelControllerImpl.java:580) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.OperationContextImpl.createPersistenceResource(OperationContextImpl.java:229) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:543) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:298) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.finishStep(AbstractOperationContext.java:752) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:727) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:501) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:298) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:293) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:346) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:297) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.server.ServerService.boot(ServerService.java:356) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.server.ServerService.boot(ServerService.java:331) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:259) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

       

       

      14:14:30,792 WARN  [org.jboss.as.jpa] (Controller Boot Thread) JBAS011411: Unexpected problem gathering statistics: java.lang.IllegalStateException: JBAS011477: Persistence unit 'project-ear.ear/project-ejb.jar#project' is not available

        at org.jboss.as.jpa.management.EntityManagerFactoryLookup.entityManagerFactory(EntityManagerFactoryLookup.java:44)

        at org.jboss.as.jpa.hibernate4.management.HibernateQueryCacheStatistics.getDynamicChildrenNames(HibernateQueryCacheStatistics.java:85)

        at org.jboss.as.jpa.management.DynamicManagementStatisticsResource.getChildren(DynamicManagementStatisticsResource.java:204)

        at org.jboss.as.controller.registry.AbstractModelResource$DelegateResource.getChildren(AbstractModelResource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:252) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:213) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.ModelControllerImpl.writeModel(ModelControllerImpl.java:580) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.OperationContextImpl.createPersistenceResource(OperationContextImpl.java:229) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:543) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:298) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.finishStep(AbstractOperationContext.java:752) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:727) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:501) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:298) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:293) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:346) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:297) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.server.ServerService.boot(ServerService.java:356) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.server.ServerService.boot(ServerService.java:331) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:259) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

       

       

      14:14:30,795 WARN  [org.jboss.as.jpa] (Controller Boot Thread) JBAS011411: Unexpected problem gathering statistics: java.lang.IllegalStateException: JBAS011477: Persistence unit 'project-ear.ear/project-ejb.jar#project' is not available

        at org.jboss.as.jpa.management.EntityManagerFactoryLookup.entityManagerFactory(EntityManagerFactoryLookup.java:44)

        at org.jboss.as.jpa.hibernate4.management.HibernateEntityStatistics.getDynamicChildrenNames(HibernateEntityStatistics.java:145)

        at org.jboss.as.jpa.management.DynamicManagementStatisticsResource.getChildren(DynamicManagementStatisticsResource.java:204)

        at org.jboss.as.controller.registry.AbstractModelResource$DelegateResource.getChildren(AbstractModelResource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:252) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:254) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:239) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:225) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.registry.Resource$Tools.readModel(Resource.java:213) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.ModelControllerImpl.writeModel(ModelControllerImpl.java:580) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.OperationContextImpl.createPersistenceResource(OperationContextImpl.java:229) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:543) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:298) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.finishStep(AbstractOperationContext.java:752) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:727) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:501) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:298) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:293) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:346) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:297) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.server.ServerService.boot(ServerService.java:356) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.server.ServerService.boot(ServerService.java:331) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:259) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

       

       

      14:14:30,836 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "ojdbc6.jar" (runtime-name : "ojdbc6.jar")

      14:14:30,853 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "project-ear.ear" (runtime-name : "project-ear.ear")

      14:14:34,042 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.ejb.pool-config.StrictMaxPool (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."project-ejb.jar".component.BookingSumMessageProcessor.CREATE, service jboss.deployment.subunit."project-ear.ear"."project-ejb.jar".component.AsyncReportQueueProcessor.CREATE]

            service jboss.ra.hornetq-ra (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."project-ejb.jar".component.BookingSumMessageProcessor.CREATE, service jboss.deployment.subunit."project-ear.ear"."project-ejb.jar".component.AsyncReportQueueProcessor.CREATE]

      JBAS014777:   Services which failed to start:      service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": org.jboss.msc.service.StartException in service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": org.hibernate.HibernateException: Errors in named queries: getCompanyt, getUserByCompany, getValidUser

       

       

      14:14:34,225 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:10190/management

      14:14:34,225 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:

       

       

      The above queries are successfully checked in my old application i.e hibernate 3.x.

       

      The below is my Jboss-deployment-structure.xml file.

       

      <?xml version="1.0" encoding="UTF-8"?>

      <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">

        <deployment>

        <exclusions>

            <module name="org.hibernate" slot="main"/>

          </exclusions>

        <dependencies>

                <module name="org.dom4j" export="true"/>

                <module name="javax.faces.api" export="true"/>

                <module name="com.sun.jsf-impl" export="true"/>

                <module name="org.javassist" export="true"/>

                <module name="org.hibernate" export="true"/>

                <module name="org.hibernate.envers" export="true"/>

                <module name="org.hibernate.validator" export="true"/>

                <module name="org.apache.commons.logging" export="true"/>

                <module name="org.apache.commons.collections" export="true"/>

        </dependencies>

        </deployment>

       

        <sub-deployment name="project-ejb.jar">

           <dependencies>

                <module name="org.hibernate"/>

                  <module name="org.hibernate.validator" export="true"/>

              </dependencies>

        </sub-deployment>

      </jboss-deployment-structure>

       

      Also I have included hibernate jar's to EAR's lib folder.

        • 1. Re: Hibernate NamedQuery Exception while migrating from Jboss 5.1 to WildFly 8.2
          lafr

          Your jboss-deployment-structure.xml looks weird.

          What's your goal? Do you want to use the hibernate version provided by WildFly 8.2 or another version you supply along with your deployment?

          Unless there is no strong need for an own version of hibernate I'd strongly recommend to use the the one coming along with the applications server already.

          This means, remove hibernate jars from your EAR's lib folder.

           

          Then you should start over with a stripped down jboss-deployment-structure.xml first.

          You need all these dependencies?

          Many of the dependencies should be provided by default already.

          If you see any missing classes on deployment you can add dependencies.

           

          "and cast(c.objectId, string) = o.relatedObjectId": c.objectId and o.relatedObjectId are of different datatype? Or why you use the cast function hear?

          If really necessary the syntax is, according the hibernate docs: cast( ... as ... ), e.g. "cast(c.objectId as string)".

          • 2. Re: Hibernate NamedQuery Exception while migrating from Jboss 5.1 to WildFly 8.2
            sreenathac

            My goal is to use hibernate version which I supply along with my deployment. I am migrating my old application to run on WildFly 8.2 and the cast function is there in my old application. I solved this hibernate issue by using cast(..as..).

            • 3. Re: Hibernate NamedQuery Exception while migrating from Jboss 5.1 to WildFly 8.2
              lafr

              But currently you're using the provided hibernate version as you can see in your stacktrace: hibernate-core-4.3.7.Final.jar: 4.3.7.Final.

              Otherwise you would not have to change your statements because of different case function.

              Possibly the dependency or org.hibernate wins over the exclusion of org.hibernate.

              But as said, for me it's the favorite scenario and the most simple one.

              • 4. Re: Hibernate NamedQuery Exception while migrating from Jboss 5.1 to WildFly 8.2
                sreenathac

                Hi Frank,

                 

                You are correct, using the hibernate supplied by WildFly is recommended, but in my application I am using JBPM 3.2 and WildFly 8.2 provided default hibernate will not support JBPM 3.2. So I should use another version of hibernate which I am including as part of my deployment ear file. But WildFly 8.2 server still loading the default hibernate though I have excluded from my jboss-deployment-structure.xml.

                 

                Please let me know if I am missing anything in my jboss-deployment-structure.xml.

                • 5. Re: Hibernate NamedQuery Exception while migrating from Jboss 5.1 to WildFly 8.2
                  lafr

                  According to JPA Reference Guide - WildFly 8 - Project Documentation Editor the jboss-deployment-structure.xml should not be necessary. But you need an addition to persistence.xml.

                  • 6. Re: Hibernate NamedQuery Exception while migrating from Jboss 5.1 to WildFly 8.2
                    sreenathac

                    Hi Frank,

                    Thank you for your reply, I have tried as per the JPA reference guide and now wildfly is loading the hibernate which I have updated, but while starting the server I am getting the below exception.

                     

                    16:17:27,542 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final

                    16:17:27,956 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final

                    16:17:28,094 INFO  [org.jboss.as] (MSC service thread 1-1) JBAS015899: WildFly 8.2.0.Final "Tweek" starting

                    16:17:32,847 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment project-ear.ear

                    16:17:34,050 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found project-ear.ear in deployment directory. To trigger deployment create a file called project-ear.ear.dodeploy

                    16:17:34,097 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)

                    16:17:34,171 INFO  [org.xnio] (MSC service thread 1-3) XNIO version 3.3.0.Final

                    16:17:34,188 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.3.0.Final

                    16:17:34,300 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 39) JBAS011800: Activating Naming Subsystem

                    16:17:34,294 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 37) JBAS012615: Activated the following JSF Implementations: [main]

                    16:17:34,402 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 30) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors

                    16:17:34,472 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 47) JBAS015537: Activating WebServices Extension

                    16:17:34,479 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.

                    16:17:34,320 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 45) JBAS010153: Node identifier property is set to the default value. Please make sure it is unique.

                    16:17:34,468 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013171: Activating Security Subsystem

                    16:17:35,189 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 46) JBAS017502: Undertow 1.1.0.Final starting

                    16:17:35,219 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 4.0.6.Final

                    16:17:35,250 INFO  [org.jboss.as.security] (MSC service thread 1-3) JBAS013170: Current PicketBox version=4.0.21.Final

                    16:17:35,260 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) JBAS017502: Undertow 1.1.0.Final starting

                    16:17:35,395 INFO  [org.jboss.as.naming] (MSC service thread 1-3) JBAS011802: Starting Naming Service

                    16:17:35,436 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 26) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

                    16:17:35,904 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-3) JBAS015400: Bound mail session [java:jboss/mail/Default]

                    16:17:36,726 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.9.Final)

                    16:17:37,793 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 46) JBAS017527: Creating file handler for path D:\Migration_Workspace\Jboss\Jboss-8\wildfly-8.2.0.Final/welcome-content

                    16:17:37,798 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) JBAS010417: Started Driver service with driver-name = h2

                    16:17:38,076 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) JBAS017525: Started server default-server.

                    16:17:38,102 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) JBAS017531: Host default-host starting

                    16:17:38,241 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "ojdbc6.jar" (runtime-name: "ojdbc6.jar")

                    16:17:38,244 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "project-ear.ear" (runtime-name: "project-ear.ear")

                    16:17:38,311 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory D:\Migration_Workspace\Jboss\Jboss-8\wildfly-8.2.0.Final\standalone\deployments

                    16:17:38,343 WARN  [org.jboss.metadata.parser.jboss.JBossAppMetaDataParser] (MSC service thread 1-2) loader-repository element in jboss-app.xml is deprecated and has been ignored

                    16:17:42,012 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) JBAS017519: Undertow HTTP listener default listening on localhost/127.0.0.1:8280

                    16:17:42,894 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

                    16:17:43,708 INFO  [org.jboss.ws.common.management] (MSC service thread 1-4) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.3.2.Final

                    16:17:44,238 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) JBAS010403: Deploying JDBC-compliant driver class oracle.jdbc.OracleDriver (version 11.2)

                    16:17:44,372 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) JBAS010417: Started Driver service with driver-name = ojdbc6.jar

                    16:17:44,391 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:/projectDatasource]

                    16:17:45,450 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry iText-toolbox.jar in /D:/Migration_Workspace/Jboss/Jboss-8/wildfly-8.2.0.Final/standalone/deployments/project-ear.ear/lib/itext.jar  does not point to a valid jar for a Class-Path reference.

                    16:17:45,456 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry iText-toolbox-2.1.2.jar in /D:/Migration_Workspace/Jboss/Jboss-8/wildfly-8.2.0.Final/standalone/deployments/project-ear.ear/lib/itext.jar  does not point to a valid jar for a Class-Path reference.

                    16:17:45,456 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry bcmail-jdk14-138.jar in /D:/Migration_Workspace/Jboss/Jboss-8/wildfly-8.2.0.Final/standalone/deployments/project-ear.ear/lib/itext.jar  does not point to a valid jar for a Class-Path reference.

                    16:17:45,457 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry bcprov-jdk14-138.jar in /D:/Migration_Workspace/Jboss/Jboss-8/wildfly-8.2.0.Final/standalone/deployments/project-ear.ear/lib/itext.jar  does not point to a valid jar for a Class-Path reference.

                    16:17:45,479 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015973: Starting subdeployment (runtime-name: "project-gen.jar")

                    16:17:45,479 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015973: Starting subdeployment (runtime-name: "jboss-seam.jar")

                    16:17:45,478 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015973: Starting subdeployment (runtime-name: "project.war")

                    16:17:45,479 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015973: Starting subdeployment (runtime-name: "project-ejb.jar")

                    16:17:45,634 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015960: Class Path entry jboss-seam-pdf.jar in /D:/Migration_Workspace/Jboss/Jboss-8/wildfly-8.2.0.Final/standalone/deployments/project-ear.ear/project.war  does not point to a valid jar for a Class-Path reference.

                    16:17:45,836 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011401: Read persistence.xml for project

                    16:17:47,310 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("com.sun.jsf-impl:main") which may be changed or removed in future versions without notice.

                    16:17:47,317 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("com.sun.jsf-impl:main") which may be changed or removed in future versions without notice.

                    16:17:47,318 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("org.javassist:main") which may be changed or removed in future versions without notice.

                    16:17:47,321 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("org.javassist:main") which may be changed or removed in future versions without notice.

                    16:17:47,322 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("org.apache.commons.collections:main") which may be changed or removed in future versions without notice.

                    16:17:47,322 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("org.apache.commons.collections:main") which may be changed or removed in future versions without notice.

                    16:17:47,353 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 48) JBAS011402: Starting Persistence Unit Service 'project-ear.ear/project-ejb.jar#project'

                    16:17:47,380 INFO  [org.hibernate.cfg.annotations.Version] (ServerService Thread Pool -- 48) Hibernate Annotations 3.4.0.GA

                    16:17:47,390 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 48) Hibernate 3.3.1.GA

                    16:17:47,394 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 48) hibernate.properties not found

                    16:17:47,397 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 48) Bytecode provider name : javassist

                    16:17:47,399 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 48) using JDK 1.4 java.sql.Timestamp handling

                    16:17:47,439 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 48) Hibernate Commons Annotations 3.1.0.GA

                    16:17:47,442 INFO  [org.hibernate.ejb.Version] (ServerService Thread Pool -- 48) Hibernate EntityManager 3.5.0-Final

                    16:17:47,446 WARN  [org.jboss.modules] (ServerService Thread Pool -- 48) Failed to define class org.hibernate.engine.EJB3CascadeStyle in Module "org.hibernate:main" from local module loader @736e9adb (finder: local module finder @6d21714c (roots: D:\Migration_Workspace\Jboss\Jboss-8\wildfly-8.2.0.Final\modules,D:\Migration_Workspace\Jboss\Jboss-8\wildfly-8.2.0.Final\modules\system\layers\base)): java.lang.SecurityException: class "org.hibernate.engine.EJB3CascadeStyle"'s signer information does not match signer information of other classes in the same package

                      at java.lang.ClassLoader.checkCerts(ClassLoader.java:895) [rt.jar:1.8.0_11]

                      at java.lang.ClassLoader.preDefineClass(ClassLoader.java:665) [rt.jar:1.8.0_11]

                      at java.lang.ClassLoader.defineClass(ClassLoader.java:758) [rt.jar:1.8.0_11]

                      at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361) [jboss-modules.jar:1.3.3.Final]

                      at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482) [jboss-modules.jar:1.3.3.Final]

                      at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277) [jboss-modules.jar:1.3.3.Final]

                      at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92) [jboss-modules.jar:1.3.3.Final]

                      at org.jboss.modules.Module.loadModuleClass(Module.java:568) [jboss-modules.jar:1.3.3.Final]

                      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205) [jboss-modules.jar:1.3.3.Final]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.3.Final]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.3.Final]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.3.Final]

                      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.3.Final]

                      at org.hibernate.ejb.event.EJB3PersistEventListener.<clinit>(EJB3PersistEventListener.java:39) [hibernate-entitymanager-3.5.0-Final.jar:3.5.0-Final]

                      at org.hibernate.ejb.EventListenerConfigurator.<init>(EventListenerConfigurator.java:101) [hibernate-entitymanager-3.5.0-Final.jar:3.5.0-Final]

                      at org.hibernate.ejb.Ejb3Configuration.<init>(Ejb3Configuration.java:156) [hibernate-entitymanager-3.5.0-Final.jar:3.5.0-Final]

                      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:71) [hibernate-entitymanager-3.5.0-Final.jar:3.5.0-Final]

                      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:318) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$1100(PersistenceUnitServiceImpl.java:67) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:167) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                      at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

                      at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474)

                      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

                     

                     

                    16:17:47,451 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 48) MSC000001: Failed to start service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": org.jboss.msc.service.StartException in service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": java.lang.NoClassDefFoundError: org/hibernate/engine/EJB3CascadeStyle

                      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:172) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                      at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

                      at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474)

                      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

                    Caused by: java.lang.NoClassDefFoundError: org/hibernate/engine/EJB3CascadeStyle

                      at org.hibernate.ejb.event.EJB3PersistEventListener.<clinit>(EJB3PersistEventListener.java:39) [hibernate-entitymanager-3.5.0-Final.jar:3.5.0-Final]

                      at org.hibernate.ejb.EventListenerConfigurator.<init>(EventListenerConfigurator.java:101) [hibernate-entitymanager-3.5.0-Final.jar:3.5.0-Final]

                      at org.hibernate.ejb.Ejb3Configuration.<init>(Ejb3Configuration.java:156) [hibernate-entitymanager-3.5.0-Final.jar:3.5.0-Final]

                      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:71) [hibernate-entitymanager-3.5.0-Final.jar:3.5.0-Final]

                      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:318) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$1100(PersistenceUnitServiceImpl.java:67) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:167) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                      ... 8 more

                    Caused by: java.lang.ClassNotFoundException: org.hibernate.engine.EJB3CascadeStyle from [Module "org.hibernate:main" from local module loader @736e9adb (finder: local module finder @6d21714c (roots: D:\Migration_Workspace\Jboss\Jboss-8\wildfly-8.2.0.Final\modules,D:\Migration_Workspace\Jboss\Jboss-8\wildfly-8.2.0.Final\modules\system\layers\base))]

                      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.3.Final]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.3.Final]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.3.Final]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.3.Final]

                      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.3.Final]

                      ... 15 more

                     

                     

                    16:17:48,938 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named EjbSynchronizations in deployment unit subdeployment "jboss-seam.jar" of deployment "project-ear.ear" are as follows:

                     

                     

                      java:global/project-ear/jboss-seam/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations

                      java:app/jboss-seam/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations

                      java:module/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations

                      java:global/project-ear/jboss-seam/EjbSynchronizations

                      java:app/jboss-seam/EjbSynchronizations

                      java:module/EjbSynchronizations

                     

                     

                    16:17:48,952 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named TimerServiceDispatcher in deployment unit subdeployment "jboss-seam.jar" of deployment "project-ear.ear" are as follows:

                     

                     

                      java:global/project-ear/jboss-seam/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher

                      java:app/jboss-seam/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher

                      java:module/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher

                      java:global/project-ear/jboss-seam/TimerServiceDispatcher

                      java:app/jboss-seam/TimerServiceDispatcher

                      java:module/TimerServiceDispatcher

                     

                     

                    16:17:49,007 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "project-ear.ear")]) - failure description: {

                        "JBAS014671: Failed services" => {"jboss.persistenceunit.\"project-ear.ear/project-ejb.jar#project\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"project-ear.ear/project-ejb.jar#project\": java.lang.NoClassDefFoundError: org/hibernate/engine/EJB3CascadeStyle

                        Caused by: java.lang.NoClassDefFoundError: org/hibernate/engine/EJB3CascadeStyle

                        Caused by: java.lang.ClassNotFoundException: org.hibernate.engine.EJB3CascadeStyle from [Module \"org.hibernate:main\" from local module loader @736e9adb (finder: local module finder @6d21714c (roots: D:\\Migration_Workspace\\Jboss\\Jboss-8\\wildfly-8.2.0.Final\\modules,D:\\Migration_Workspace\\Jboss\\Jboss-8\\wildfly-8.2.0.Final\\modules\\system\\layers\\base))]"},

                        "JBAS014771: Services with missing/unavailable dependencies" => [

                            "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InAppClientContainer is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

                            "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InstanceName is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

                            "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.Validator is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

                            "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.Validator is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]",

                            "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InstanceName is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]",

                            "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.ValidatorFactory is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

                            "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InAppClientContainer is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]",

                            "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.ValidatorFactory is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]"

                        ]

                    }

                    16:17:49,110 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "ojdbc6.jar" (runtime-name : "ojdbc6.jar")

                    16:17:49,137 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "project-ear.ear" (runtime-name : "project-ear.ear")

                    16:17:49,140 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

                    JBAS014775:    New missing/unsatisfied dependencies:

                          service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations (missing) dependents: [service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InstanceName, service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InAppClientContainer, service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.ValidatorFactory, service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.Validator]

                          service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher (missing) dependents: [service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.Validator, service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InstanceName, service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InAppClientContainer, service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.ValidatorFactory]

                    JBAS014777:   Services which failed to start:      service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": org.jboss.msc.service.StartException in service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": java.lang.NoClassDefFoundError: org/hibernate/engine/EJB3CascadeStyle

                     

                     

                    As per the exception the class org.hibernate.engine.EJB3CascadeStyle is not loading, but the class is available in hibernate-entitymanager-3.5.0-Final.jar which is showing in the log.

                    The below is my persistence.xml file.

                     

                    <?xml version="1.0" encoding="UTF-8"?>

                    <!-- Persistence deployment descriptor for dev profile -->

                    <persistence xmlns="http://java.sun.com/xml/ns/persistence"

                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                      xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"

                      version="1.0">

                     

                     

                      <persistence-unit name="project" >

                      <provider>org.hibernate.ejb.HibernatePersistence</provider>

                      <jta-data-source>java:/projectDatasource</jta-data-source>

                     

                     

                      <properties>

                      <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect" />

                      <property name="hibernate.hbm2ddl.auto" value="none" />

                      <property name="hibernate.show_sql" value="true" />

                      <property name="hibernate.format_sql" value="true" />

                      <property name="hibernate.jdbc.batch_size" value="20" />

                      <property name="transaction.flush_before_completion" value="true" />

                      <property name="jboss.entity.manager.factory.jndi.name"

                      value="java:/projectEntityManagerFactory" />

                      <property name="jboss.as.jpa.providerModule" value="hibernate3-bundled" />

                      </properties>

                      </persistence-unit>

                    </persistence>

                     

                    Please let me know if I am missing anything.

                    • 7. Re: Hibernate NamedQuery Exception while migrating from Jboss 5.1 to WildFly 8.2
                      sreenathac

                      Hi Frank, I resolved the above issue, after this I am facing one more exception

                       

                      17:54:32,394 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final

                      17:54:33,043 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final

                      17:54:33,551 INFO  [org.jboss.as] (MSC service thread 1-4) JBAS015899: WildFly 8.2.0.Final "Tweek" starting

                      17:54:39,197 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment project-ear.ear

                      17:54:40,354 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found project-ear.ear in deployment directory. To trigger deployment create a file called project-ear.ear.dodeploy

                      17:54:40,391 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)

                      17:54:40,453 INFO  [org.xnio] (MSC service thread 1-1) XNIO version 3.3.0.Final

                      17:54:40,515 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 47) JBAS015537: Activating WebServices Extension

                      17:54:40,527 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 39) JBAS011800: Activating Naming Subsystem

                      17:54:40,559 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 30) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors

                      17:54:40,516 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 45) JBAS010153: Node identifier property is set to the default value. Please make sure it is unique.

                      17:54:40,592 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.3.0.Final

                      17:54:40,578 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013171: Activating Security Subsystem

                      17:54:40,693 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.

                      17:54:40,804 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 46) JBAS017502: Undertow 1.1.0.Final starting

                      17:54:40,784 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 37) JBAS012615: Activated the following JSF Implementations: [main]

                      17:54:40,886 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 4.0.6.Final

                      17:54:41,066 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) JBAS017502: Undertow 1.1.0.Final starting

                      17:54:41,112 INFO  [org.jboss.as.security] (MSC service thread 1-1) JBAS013170: Current PicketBox version=4.0.21.Final

                      17:54:41,162 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 26) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

                      17:54:42,288 INFO  [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service

                      17:54:42,330 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]

                      17:54:43,072 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.9.Final)

                      17:54:43,451 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 46) JBAS017527: Creating file handler for path D:\Migration_Workspace\Jboss\Jboss-8\wildfly-8.2.0.Final/welcome-content

                      17:54:44,002 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) JBAS010417: Started Driver service with driver-name = h2

                      17:54:44,032 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) JBAS017525: Started server default-server.

                      17:54:44,036 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) JBAS017531: Host default-host starting

                      17:54:44,172 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory D:\Migration_Workspace\Jboss\Jboss-8\wildfly-8.2.0.Final\standalone\deployments

                      17:54:44,185 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "project-ear.ear" (runtime-name: "project-ear.ear")

                      17:54:44,188 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "ojdbc6.jar" (runtime-name: "ojdbc6.jar")

                      17:54:44,358 WARN  [org.jboss.metadata.parser.jboss.JBossAppMetaDataParser] (MSC service thread 1-1) loader-repository element in jboss-app.xml is deprecated and has been ignored

                      17:54:49,178 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015960: Class Path entry iText-toolbox.jar in /D:/Migration_Workspace/Jboss/Jboss-8/wildfly-8.2.0.Final/standalone/deployments/project-ear.ear/lib/itext.jar  does not point to a valid jar for a Class-Path reference.

                      17:54:49,178 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015960: Class Path entry iText-toolbox-2.1.2.jar in /D:/Migration_Workspace/Jboss/Jboss-8/wildfly-8.2.0.Final/standalone/deployments/project-ear.ear/lib/itext.jar  does not point to a valid jar for a Class-Path reference.

                      17:54:49,178 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015960: Class Path entry bcmail-jdk14-138.jar in /D:/Migration_Workspace/Jboss/Jboss-8/wildfly-8.2.0.Final/standalone/deployments/project-ear.ear/lib/itext.jar  does not point to a valid jar for a Class-Path reference.

                      17:54:49,179 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015960: Class Path entry bcprov-jdk14-138.jar in /D:/Migration_Workspace/Jboss/Jboss-8/wildfly-8.2.0.Final/standalone/deployments/project-ear.ear/lib/itext.jar  does not point to a valid jar for a Class-Path reference.

                      17:54:49,216 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015973: Starting subdeployment (runtime-name: "project-gen.jar")

                      17:54:49,221 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015973: Starting subdeployment (runtime-name: "project-ejb.jar")

                      17:54:49,222 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015973: Starting subdeployment (runtime-name: "project.war")

                      17:54:49,222 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015973: Starting subdeployment (runtime-name: "jboss-seam.jar")

                      17:54:49,330 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015960: Class Path entry jboss-seam-pdf.jar in /D:/Migration_Workspace/Jboss/Jboss-8/wildfly-8.2.0.Final/standalone/deployments/project-ear.ear/project.war  does not point to a valid jar for a Class-Path reference.

                      17:54:49,515 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for project

                      17:54:50,476 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("com.sun.jsf-impl:main") which may be changed or removed in future versions without notice.

                      17:54:50,476 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("com.sun.jsf-impl:main") which may be changed or removed in future versions without notice.

                      17:54:50,477 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("org.javassist:main") which may be changed or removed in future versions without notice.

                      17:54:50,477 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("org.javassist:main") which may be changed or removed in future versions without notice.

                      17:54:50,481 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("org.apache.commons.collections:main") which may be changed or removed in future versions without notice.

                      17:54:50,481 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("org.apache.commons.collections:main") which may be changed or removed in future versions without notice.

                      17:54:52,094 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named EjbSynchronizations in deployment unit subdeployment "jboss-seam.jar" of deployment "project-ear.ear" are as follows:

                       

                       

                        java:global/project-ear/jboss-seam/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations

                        java:app/jboss-seam/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations

                        java:module/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations

                        java:global/project-ear/jboss-seam/EjbSynchronizations

                        java:app/jboss-seam/EjbSynchronizations

                        java:module/EjbSynchronizations

                       

                       

                      17:54:52,125 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named TimerServiceDispatcher in deployment unit subdeployment "jboss-seam.jar" of deployment "project-ear.ear" are as follows:

                       

                       

                        java:global/project-ear/jboss-seam/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher

                        java:app/jboss-seam/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher

                        java:module/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher

                        java:global/project-ear/jboss-seam/TimerServiceDispatcher

                        java:app/jboss-seam/TimerServiceDispatcher

                        java:module/TimerServiceDispatcher

                       

                       

                      17:54:53,240 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) JBAS017519: Undertow HTTP listener default listening on localhost/127.0.0.1:8280

                      17:54:53,345 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

                      17:54:53,711 INFO  [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.3.2.Final

                      17:54:53,828 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) JBAS010403: Deploying JDBC-compliant driver class oracle.jdbc.OracleDriver (version 11.2)

                      17:54:53,842 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) JBAS010417: Started Driver service with driver-name = ojdbc6.jar

                      17:54:53,870 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:/projectDatasource]

                      17:54:53,884 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 48) JBAS011402: Starting Persistence Unit Service 'project-ear.ear/project-ejb.jar#project'

                      17:54:53,928 INFO  [org.hibernate.cfg.annotations.Version] (ServerService Thread Pool -- 48) Hibernate Annotations 3.5.6-Final

                      17:54:53,942 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 48) Hibernate 3.5.6-Final

                      17:54:53,946 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 48) hibernate.properties not found

                      17:54:53,949 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 48) Bytecode provider name : javassist

                      17:54:53,967 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 48) using JDK 1.4 java.sql.Timestamp handling

                      17:54:54,042 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 48) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}

                      17:54:54,052 INFO  [org.hibernate.ejb.Version] (ServerService Thread Pool -- 48) Hibernate EntityManager 3.6.3.Final

                      17:54:54,063 INFO  [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 48) Processing PersistenceUnitInfo [

                        name: project

                        ...]

                      17:55:01,345 INFO  [org.hibernate.cfg.AnnotationConfiguration] (ServerService Thread Pool -- 48) Mapping package com.project.integration.intuit

                      17:55:01,349 WARN  [org.hibernate.cfg.AnnotationBinder] (ServerService Thread Pool -- 48) Package not found or wo package-info.java: com.project.integration.intuit

                      17:55:02,598 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 48) MSC000001: Failed to start service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": org.jboss.msc.service.StartException in service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.getPersisterClassProvider()Lorg/hibernate/persister/PersisterClassProvider;

                        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:172) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

                        at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474)

                        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

                      Caused by: java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.getPersisterClassProvider()Lorg/hibernate/persister/PersisterClassProvider;

                        at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:1055) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

                        at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:689) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

                        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

                        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:318) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$1100(PersistenceUnitServiceImpl.java:67) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:167) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                        ... 8 more

                       

                       

                      17:55:02,688 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "project-ear.ear")]) - failure description: {

                          "JBAS014671: Failed services" => {"jboss.persistenceunit.\"project-ear.ear/project-ejb.jar#project\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"project-ear.ear/project-ejb.jar#project\": java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.getPersisterClassProvider()Lorg/hibernate/persister/PersisterClassProvider;

                          Caused by: java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.getPersisterClassProvider()Lorg/hibernate/persister/PersisterClassProvider;"},

                          "JBAS014771: Services with missing/unavailable dependencies" => [

                              "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.Validator is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]",

                              "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.Validator is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

                              "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InstanceName is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]",

                              "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InstanceName is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

                              "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.ValidatorFactory is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

                              "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InAppClientContainer is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

                              "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.ValidatorFactory is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]",

                              "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InAppClientContainer is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]"

                          ]

                      }

                      17:55:03,787 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "ojdbc6.jar" (runtime-name : "ojdbc6.jar")

                      17:55:03,788 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "project-ear.ear" (runtime-name : "project-ear.ear")

                      17:55:03,805 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

                      JBAS014775:    New missing/unsatisfied dependencies:

                            service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations (missing) dependents: [service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InstanceName, service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.ValidatorFactory, service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InAppClientContainer, service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.Validator]

                            service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher (missing) dependents: [service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.Validator, service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InstanceName, service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.ValidatorFactory, service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InAppClientContainer]

                      JBAS014777:   Services which failed to start:      service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": org.jboss.msc.service.StartException in service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.getPersisterClassProvider()Lorg/hibernate/persister/PersisterClassProvider;

                       

                       

                      17:55:03,944 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:10190/management

                      17:55:03,944 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:10190

                      17:55:03,944 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.2.0.Final "Tweek" started (with errors) in 32561ms - Started 328 of 398 services (15 services failed or missing dependencies, 99 services are lazy, passive or on-demand)

                      17:55:04,160 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-2) HV000001: Hibernate Validator 5.1.3.Final

                      17:55:04,436 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010409: Unbound data source [java:/projectDatasource]

                      17:55:04,446 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) JBAS010418: Stopped Driver service with driver-name = ojdbc6.jar

                      17:55:04,487 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment ojdbc6.jar (runtime-name: ojdbc6.jar) in 406ms

                      17:55:04,518 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015974: Stopped subdeployment (runtime-name: jboss-seam.jar) in 435ms

                      17:55:04,529 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015974: Stopped subdeployment (runtime-name: project.war) in 447ms

                      17:55:04,530 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015974: Stopped subdeployment (runtime-name: project-ejb.jar) in 447ms

                      17:55:04,947 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015974: Stopped subdeployment (runtime-name: project-gen.jar) in 864ms

                      17:55:05,300 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment project-ear.ear (runtime-name: project-ear.ear) in 1219ms

                      17:55:05,596 INFO  [org.jboss.as.repository] (DeploymentScanner-threads - 2) JBAS014901: Content removed from location D:\Migration_Workspace\Jboss\Jboss-8\wildfly-8.2.0.Final\standalone\data\content\5b\371965872f89ed74702ceec901b12f0074081e\content

                      17:55:05,597 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "ojdbc6.jar" (runtime-name: "ojdbc6.jar")

                      17:55:05,597 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "project-ear.ear" (runtime-name: "project-ear.ear")

                      17:55:05,597 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

                      JBAS014775:    New missing/unsatisfied dependencies:

                            service jboss.jdbc-driver.ojdbc6_jar (missing) dependents: [service jboss.driver-demander.java:/projectDatasource, service jboss.data-source.java:/projectDatasource]

                            service jboss.naming.context.java.module.project-ear.project (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."project.war".INSTALL]

                            service jboss.naming.context.java.module.project-ear.project-gen (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."project-gen.jar".INSTALL]

                            service jboss.naming.context.java.module.project-ear.jboss-seam (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."jboss-seam.jar".INSTALL]

                            service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project" (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."project-ejb.jar".POST_MODULE, service jboss.naming.context.java.projectEntityManagerFactory]

                      JBAS014777:   Services which failed to start:      service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project"

                       

                       

                      17:55:08,864 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found project-ear.ear in deployment directory. To trigger deployment create a file called project-ear.ear.dodeploy

                       

                      As per my understanding the method getPersisterClassProvider() is available in org.hibernate.cfg.Configuration which is super class of  AnnotationConfiguration.

                      I am suspecting that this issue is because of unsupported JAR versions.

                       

                      Could you please suggest me the supported JAR versions for 3.5.6 or 3.6.0 as I am getting the same exception for both versions.

                      • 8. Re: Hibernate NamedQuery Exception while migrating from Jboss 5.1 to WildFly 8.2
                        lafr

                        According to Hibernate Compatibility Matrix starting with version 3.5.x Core, Annotations and EntityManager are released together.

                        So you should use the same version of alls the hibernate jars.

                        But currently you seem to have version 3.5.6 for Core and annotations and 3.6.3 for EntityManager.

                        • 9. Re: Hibernate NamedQuery Exception while migrating from Jboss 5.1 to WildFly 8.2
                          teacurran

                          Can you post your queries?  Newer versions of Hibernate are stricter at making sure queries conform to the JPA standard.

                          • 10. Re: Hibernate NamedQuery Exception while migrating from Jboss 5.1 to WildFly 8.2
                            sreenathac

                            Hi Frank,

                            Thanks for the reply, I have changed my hibernate version, now I am using

                            Hibernate Commons Annotations {4.0.1.Final}

                            Hibernate 3.6.3.Final

                            Hibernate EntityManager 3.6.3.Final.

                             

                            After changing the jar that exception was gone away, but I am facing the below exception.

                             

                            15:34:20,402 WARN  [org.hibernate.cfg.Configuration] (ServerService Thread Pool -- 48) Unable to apply constraints on DDL for com.project.entity.Company: java.lang.reflect.InvocationTargetException

                              at sun.reflect.GeneratedConstructorAccessor35.newInstance(Unknown Source) [:1.8.0_11]

                              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_11]

                              at java.lang.reflect.Constructor.newInstance(Constructor.java:408) [rt.jar:1.8.0_11]

                              at org.hibernate.cfg.Configuration.applyHibernateValidatorLegacyConstraintsOnDDL(Configuration.java:1662) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                              at org.hibernate.cfg.Configuration.applyConstraintsToDDL(Configuration.java:1626) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                              at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1418) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                              at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1829) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                              at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

                              at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

                              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:318) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$1100(PersistenceUnitServiceImpl.java:67) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:167) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                              at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

                              at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474)

                              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                              at org.jboss.threads.JBossThread.run(JBossThread.java:122)

                            Caused by: java.lang.IncompatibleClassChangeError: Class org.hibernate.annotations.common.reflection.java.JavaXMethod does not implement the requested interface org.hibernate.annotations.common.reflection.XMember

                              at org.hibernate.validator.ClassValidator.createMemberValidator(ClassValidator.java:303) [hibernate-validator.jar:3.1.0.GA]

                              at org.hibernate.validator.ClassValidator.initValidator(ClassValidator.java:217) [hibernate-validator.jar:3.1.0.GA]

                              at org.hibernate.validator.ClassValidator.<init>(ClassValidator.java:133) [hibernate-validator.jar:3.1.0.GA]

                              ... 20 more

                             

                             

                            15:34:20,419 WARN  [org.hibernate.cfg.Configuration] (ServerService Thread Pool -- 48) Unable to apply constraints on DDL for com.project.entity.CompanySetting: java.lang.reflect.InvocationTargetException

                              at sun.reflect.GeneratedConstructorAccessor35.newInstance(Unknown Source) [:1.8.0_11]

                              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_11]

                              at java.lang.reflect.Constructor.newInstance(Constructor.java:408) [rt.jar:1.8.0_11]

                              at org.hibernate.cfg.Configuration.applyHibernateValidatorLegacyConstraintsOnDDL(Configuration.java:1662) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                              at org.hibernate.cfg.Configuration.applyConstraintsToDDL(Configuration.java:1626) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                              at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1418) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                              at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1829) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                              at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

                              at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

                              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:318) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$1100(PersistenceUnitServiceImpl.java:67) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:167) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                              at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

                              at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474)

                              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                              at org.jboss.threads.JBossThread.run(JBossThread.java:122)

                            Caused by: java.lang.IncompatibleClassChangeError: Class org.hibernate.annotations.common.reflection.java.JavaXMethod does not implement the requested interface org.hibernate.annotations.common.reflection.XMember

                              at org.hibernate.validator.ClassValidator.createMemberValidator(ClassValidator.java:303) [hibernate-validator.jar:3.1.0.GA]

                              at org.hibernate.validator.ClassValidator.initValidator(ClassValidator.java:217) [hibernate-validator.jar:3.1.0.GA]

                              at org.hibernate.validator.ClassValidator.<init>(ClassValidator.java:133) [hibernate-validator.jar:3.1.0.GA]

                              ... 20 more

                             

                             

                            15:34:23,128 INFO  [org.hibernate.cfg.search.HibernateSearchEventListenerRegister] (ServerService Thread Pool -- 48) Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.

                            15:34:23,190 INFO  [org.hibernate.connection.ConnectionProviderFactory] (ServerService Thread Pool -- 48) Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider

                            15:34:23,199 INFO  [org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider] (ServerService Thread Pool -- 48) Using provided datasource

                            15:34:23,605 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 48) Using dialect: org.hibernate.dialect.Oracle10gDialect

                            15:34:23,635 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Database ->

                                   name : Oracle

                                version : Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production

                            With the Partitioning, OLAP, Data Mining and Real Application Testing options

                                  major : 11

                                  minor : 2

                            15:34:23,636 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Driver ->

                                   name : Oracle JDBC driver

                                version : 11.2.0.1.0

                                  major : 11

                                  minor : 2

                            15:34:23,643 INFO  [org.hibernate.transaction.TransactionFactoryFactory] (ServerService Thread Pool -- 48) Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory

                            15:34:23,648 INFO  [org.hibernate.transaction.TransactionManagerLookupFactory] (ServerService Thread Pool -- 48) instantiating TransactionManagerLookup: org.jboss.as.jpa.hibernate3.JBossAppServerJtaPlatform

                            15:34:23,648 INFO  [org.hibernate.transaction.TransactionManagerLookupFactory] (ServerService Thread Pool -- 48) instantiated TransactionManagerLookup

                            15:34:23,648 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Automatic flush during beforeCompletion(): disabled

                            15:34:23,648 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Automatic session close at end of transaction: disabled

                            15:34:23,648 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) JDBC batch size: 20

                            15:34:23,648 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) JDBC batch updates for versioned data: disabled

                            15:34:23,649 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Scrollable result sets: enabled

                            15:34:23,650 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) JDBC3 getGeneratedKeys(): disabled

                            15:34:23,650 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Connection release mode: auto

                            15:34:23,650 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Default batch fetch size: 1

                            15:34:23,650 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Generate SQL with comments: disabled

                            15:34:23,650 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Order SQL updates by primary key: disabled

                            15:34:23,650 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Order SQL inserts for batching: disabled

                            15:34:23,653 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory

                            15:34:23,655 INFO  [org.hibernate.hql.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 48) Using ASTQueryTranslatorFactory

                            15:34:23,655 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Query language substitutions: {}

                            15:34:23,656 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) JPA-QL strict compliance: enabled

                            15:34:23,656 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Second-level cache: enabled

                            15:34:23,656 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Query cache: disabled

                            15:34:23,656 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory

                            15:34:23,657 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Optimize cache for minimal puts: disabled

                            15:34:23,658 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Structured second-level cache entries: disabled

                            15:34:23,663 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Echoing all SQL to stdout

                            15:34:23,664 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Statistics: disabled

                            15:34:23,664 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Deleted entity synthetic identifier rollback: disabled

                            15:34:23,664 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Default entity-mode: pojo

                            15:34:23,665 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Named query checking : enabled

                            15:34:23,665 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Check Nullability in Core (should be disabled when Bean Validation is on): disabled

                            15:34:23,702 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 48) MSC000001: Failed to start service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": org.jboss.msc.service.StartException in service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": java.lang.IncompatibleClassChangeError: Class org.hibernate.annotations.common.reflection.java.JavaXMethod does not implement the requested interface org.hibernate.annotations.common.reflection.XMember

                              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:172) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                              at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

                              at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474)

                              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                              at org.jboss.threads.JBossThread.run(JBossThread.java:122)

                            Caused by: java.lang.IncompatibleClassChangeError: Class org.hibernate.annotations.common.reflection.java.JavaXMethod does not implement the requested interface org.hibernate.annotations.common.reflection.XMember

                              at org.hibernate.validator.ClassValidator.createMemberValidator(ClassValidator.java:303) [hibernate-validator.jar:3.1.0.GA]

                              at org.hibernate.validator.ClassValidator.initValidator(ClassValidator.java:217) [hibernate-validator.jar:3.1.0.GA]

                              at org.hibernate.validator.ClassValidator.<init>(ClassValidator.java:133) [hibernate-validator.jar:3.1.0.GA]

                              at org.hibernate.validator.event.ValidateEventListener.initialize(ValidateEventListener.java:91) [hibernate-validator.jar:3.1.0.GA]

                              at org.hibernate.event.EventListeners$1.processListener(EventListeners.java:198) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                              at org.hibernate.event.EventListeners.processListeners(EventListeners.java:181) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                              at org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:194) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                              at org.hibernate.cfg.Configuration.getInitializedEventListeners(Configuration.java:1983) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                              at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1845) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                              at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

                              at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

                              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:318) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$1100(PersistenceUnitServiceImpl.java:67) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:167) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                              ... 8 more

                             

                             

                            15:34:23,723 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "project-ear.ear")]) - failure description: {

                                "JBAS014671: Failed services" => {"jboss.persistenceunit.\"project-ear.ear/project-ejb.jar#project\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"project-ear.ear/project-ejb.jar#project\": java.lang.IncompatibleClassChangeError: Class org.hibernate.annotations.common.reflection.java.JavaXMethod does not implement the requested interface org.hibernate.annotations.common.reflection.XMember

                                Caused by: java.lang.IncompatibleClassChangeError: Class org.hibernate.annotations.common.reflection.java.JavaXMethod does not implement the requested interface org.hibernate.annotations.common.reflection.XMember"},

                                "JBAS014771: Services with missing/unavailable dependencies" => [

                                    "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InAppClientContainer is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]",

                                    "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.ValidatorFactory is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]",

                                    "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.Validator is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]",

                                    "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InstanceName is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

                                    "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InAppClientContainer is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

                                    "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.ValidatorFactory is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

                                    "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.Validator is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

                                    "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InstanceName is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]"

                                ]

                            }

                            15:34:24,014 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "ojdbc6.jar" (runtime-name : "ojdbc6.jar")

                            15:34:24,014 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "project-ear.ear" (runtime-name : "project-ear.ear")

                            15:34:25,695 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

                            JBAS014775:    New missing/unsatisfied dependencies:

                                  service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations (missing) dependents: [service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InstanceName, service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InAppClientContainer, service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.ValidatorFactory, service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.Validator]

                                  service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher (missing) dependents: [service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.Validator, service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InstanceName, service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InAppClientContainer, service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.ValidatorFactory]

                            JBAS014777:   Services which failed to start:      service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": org.jboss.msc.service.StartException in service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": java.lang.IncompatibleClassChangeError: Class org.hibernate.annotations.common.reflection.java.JavaXMethod does not implement the requested interface org.hibernate.annotations.common.reflection.XMember

                             

                             

                            15:34:26,227 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015892: Deployment unit processor org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer@38939abb unexpectedly threw an exception during undeploy phase POST_MODULE of subdeployment "jboss-seam.jar" of deployment "project-ear.ear": java.lang.AbstractMethodError: org.hibernate.validator.engine.ValidatorFactoryImpl.close()V

                              at org.jboss.as.ee.beanvalidation.LazyValidatorFactory.close(LazyValidatorFactory.java:126)

                              at org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer.undeploy(BeanValidationFactoryDeployer.java:120)

                              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.safeUndeploy(DeploymentUnitPhaseService.java:272) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.stop(DeploymentUnitPhaseService.java:230) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                              at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                             

                             

                            15:34:26,238 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015892: Deployment unit processor org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer@38939abb unexpectedly threw an exception during undeploy phase POST_MODULE of subdeployment "project.war" of deployment "project-ear.ear": java.lang.AbstractMethodError: org.hibernate.validator.engine.ValidatorFactoryImpl.close()V

                              at org.jboss.as.ee.beanvalidation.LazyValidatorFactory.close(LazyValidatorFactory.java:126)

                              at org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer.undeploy(BeanValidationFactoryDeployer.java:120)

                              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.safeUndeploy(DeploymentUnitPhaseService.java:272) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.stop(DeploymentUnitPhaseService.java:230) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                              at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                             

                             

                            15:34:26,246 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015892: Deployment unit processor org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer@38939abb unexpectedly threw an exception during undeploy phase POST_MODULE of subdeployment "project-gen.jar" of deployment "project-ear.ear": java.lang.AbstractMethodError: org.hibernate.validator.engine.ValidatorFactoryImpl.close()V

                              at org.jboss.as.ee.beanvalidation.LazyValidatorFactory.close(LazyValidatorFactory.java:126)

                              at org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer.undeploy(BeanValidationFactoryDeployer.java:120)

                              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.safeUndeploy(DeploymentUnitPhaseService.java:272) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.stop(DeploymentUnitPhaseService.java:230) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                              at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                             

                             

                            15:34:26,253 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010409: Unbound data source [java:/projectDatasource]

                            15:34:26,261 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015892: Deployment unit processor org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer@38939abb unexpectedly threw an exception during undeploy phase POST_MODULE of deployment "project-ear.ear": java.lang.AbstractMethodError: org.hibernate.validator.engine.ValidatorFactoryImpl.close()V

                              at org.jboss.as.ee.beanvalidation.LazyValidatorFactory.close(LazyValidatorFactory.java:126)

                              at org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer.undeploy(BeanValidationFactoryDeployer.java:120)

                              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.safeUndeploy(DeploymentUnitPhaseService.java:272) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.stop(DeploymentUnitPhaseService.java:230) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                              at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                             

                             

                            15:34:26,329 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015974: Stopped subdeployment (runtime-name: project-gen.jar) in 129ms

                            15:34:26,329 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015974: Stopped subdeployment (runtime-name: jboss-seam.jar) in 130ms

                            15:34:26,331 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015974: Stopped subdeployment (runtime-name: project.war) in 131ms

                            15:34:26,331 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015974: Stopped subdeployment (runtime-name: project-ejb.jar) in 132ms

                            15:34:26,549 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) JBAS010418: Stopped Driver service with driver-name = ojdbc6.jar

                            15:34:26,549 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment project-ear.ear (runtime-name: project-ear.ear) in 352ms

                            15:34:26,562 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015892: Deployment unit processor org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer@38939abb unexpectedly threw an exception during undeploy phase POST_MODULE of deployment "ojdbc6.jar": java.lang.AbstractMethodError: org.hibernate.validator.engine.ValidatorFactoryImpl.close()V

                              at org.jboss.as.ee.beanvalidation.LazyValidatorFactory.close(LazyValidatorFactory.java:126)

                              at org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer.undeploy(BeanValidationFactoryDeployer.java:120)

                              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.safeUndeploy(DeploymentUnitPhaseService.java:272) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.stop(DeploymentUnitPhaseService.java:230) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                              at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                              at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                             

                             

                            15:34:26,578 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment ojdbc6.jar (runtime-name: ojdbc6.jar) in 380ms

                            15:34:26,762 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:10190/management

                            15:34:26,762 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:10190

                            15:34:26,762 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.2.0.Final "Tweek" started (with errors) in 58157ms - Started 188 of 241 services (4 services failed or missing dependencies, 81 services are lazy, passive or on-demand)

                            15:34:26,817 INFO  [org.jboss.as.repository] (DeploymentScanner-threads - 2) JBAS014901: Content removed from location D:\Migration_Workspace\Jboss\Jboss-8\wildfly-8.2.0.Final\standalone\data\content\5b\371965872f89ed74702ceec901b12f0074081e\content

                            15:34:26,817 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "ojdbc6.jar" (runtime-name: "ojdbc6.jar")

                            15:34:26,820 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "project-ear.ear" (runtime-name: "project-ear.ear")

                            15:34:26,821 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

                            JBAS014775:    New missing/unsatisfied dependencies:

                                  service jboss.jdbc-driver.ojdbc6_jar (missing) dependents: [service jboss.driver-demander.java:/projectDatasource, service jboss.data-source.java:/projectDatasource]

                                  service jboss.naming.context.java.module.project-ear.project (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."project.war".INSTALL]

                                  service jboss.naming.context.java.module.project-ear.project-gen (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."project-gen.jar".INSTALL]

                                  service jboss.naming.context.java.module.project-ear.jboss-seam (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."jboss-seam.jar".INSTALL]

                                  service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project" (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."project-ejb.jar".POST_MODULE, service jboss.naming.context.java.projectEntityManagerFactory]

                            JBAS014777:   Services which failed to start:      service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project"

                             

                             

                            15:34:30,935 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found project-ear.ear in deployment directory. To trigger deployment create a file called project-ear.ear.dodeploy

                             

                             

                             

                            As per my analysis the exception is showing

                            org.hibernate.annotations.common.reflection.java.JavaXMethod does not implement the requested interface org.hibernate.annotations.common.reflection.XMember. But I observed that the class decleration for JavaXMethod  is as follows

                             

                            public class JavaXMethod extends JavaXMember implements XMethod and JavaXMember  is implementing XMember, so this should not cause any issue.

                             

                            I am suspecting that I am using Hibernate Commons Annotations {4.0.1.Final} and remaining hibernate is from 3.6, but we don't have hibernate commons annotations jar for hibernate 3.6.

                            • 11. Re: Hibernate NamedQuery Exception while migrating from Jboss 5.1 to WildFly 8.2
                              sreenathac

                              Hi Frank,

                              Thanks for the reply, I have changed my hibernate version, now I am using

                              Hibernate Commons Annotations {4.0.1.Final}

                              Hibernate 3.6.3.Final

                              Hibernate EntityManager 3.6.3.Final.

                               

                              After changing the jar that exception was gone away, but I am facing the below exception.

                               

                              15:34:20,402 WARN  [org.hibernate.cfg.Configuration] (ServerService Thread Pool -- 48) Unable to apply constraints on DDL for com.project.entity.Company: java.lang.reflect.InvocationTargetException

                                at sun.reflect.GeneratedConstructorAccessor35.newInstance(Unknown Source) [:1.8.0_11]

                                at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_11]

                                at java.lang.reflect.Constructor.newInstance(Constructor.java:408) [rt.jar:1.8.0_11]

                                at org.hibernate.cfg.Configuration.applyHibernateValidatorLegacyConstraintsOnDDL(Configuration.java:1662) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                                at org.hibernate.cfg.Configuration.applyConstraintsToDDL(Configuration.java:1626) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                                at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1418) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                                at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1829) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                                at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

                                at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:318) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$1100(PersistenceUnitServiceImpl.java:67) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:167) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                                at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

                                at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474)

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                                at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                                at org.jboss.threads.JBossThread.run(JBossThread.java:122)

                              Caused by: java.lang.IncompatibleClassChangeError: Class org.hibernate.annotations.common.reflection.java.JavaXMethod does not implement the requested interface org.hibernate.annotations.common.reflection.XMember

                                at org.hibernate.validator.ClassValidator.createMemberValidator(ClassValidator.java:303) [hibernate-validator.jar:3.1.0.GA]

                                at org.hibernate.validator.ClassValidator.initValidator(ClassValidator.java:217) [hibernate-validator.jar:3.1.0.GA]

                                at org.hibernate.validator.ClassValidator.<init>(ClassValidator.java:133) [hibernate-validator.jar:3.1.0.GA]

                                ... 20 more

                               

                               

                              15:34:20,419 WARN  [org.hibernate.cfg.Configuration] (ServerService Thread Pool -- 48) Unable to apply constraints on DDL for com.project.entity.CompanySetting: java.lang.reflect.InvocationTargetException

                                at sun.reflect.GeneratedConstructorAccessor35.newInstance(Unknown Source) [:1.8.0_11]

                                at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_11]

                                at java.lang.reflect.Constructor.newInstance(Constructor.java:408) [rt.jar:1.8.0_11]

                                at org.hibernate.cfg.Configuration.applyHibernateValidatorLegacyConstraintsOnDDL(Configuration.java:1662) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                                at org.hibernate.cfg.Configuration.applyConstraintsToDDL(Configuration.java:1626) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                                at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1418) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                                at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1829) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                                at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

                                at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:318) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$1100(PersistenceUnitServiceImpl.java:67) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:167) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                                at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

                                at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474)

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                                at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                                at org.jboss.threads.JBossThread.run(JBossThread.java:122)

                              Caused by: java.lang.IncompatibleClassChangeError: Class org.hibernate.annotations.common.reflection.java.JavaXMethod does not implement the requested interface org.hibernate.annotations.common.reflection.XMember

                                at org.hibernate.validator.ClassValidator.createMemberValidator(ClassValidator.java:303) [hibernate-validator.jar:3.1.0.GA]

                                at org.hibernate.validator.ClassValidator.initValidator(ClassValidator.java:217) [hibernate-validator.jar:3.1.0.GA]

                                at org.hibernate.validator.ClassValidator.<init>(ClassValidator.java:133) [hibernate-validator.jar:3.1.0.GA]

                                ... 20 more

                               

                               

                              15:34:23,128 INFO  [org.hibernate.cfg.search.HibernateSearchEventListenerRegister] (ServerService Thread Pool -- 48) Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.

                              15:34:23,190 INFO  [org.hibernate.connection.ConnectionProviderFactory] (ServerService Thread Pool -- 48) Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider

                              15:34:23,199 INFO  [org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider] (ServerService Thread Pool -- 48) Using provided datasource

                              15:34:23,605 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 48) Using dialect: org.hibernate.dialect.Oracle10gDialect

                              15:34:23,635 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Database ->

                                     name : Oracle

                                  version : Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production

                              With the Partitioning, OLAP, Data Mining and Real Application Testing options

                                    major : 11

                                    minor : 2

                              15:34:23,636 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Driver ->

                                     name : Oracle JDBC driver

                                  version : 11.2.0.1.0

                                    major : 11

                                    minor : 2

                              15:34:23,643 INFO  [org.hibernate.transaction.TransactionFactoryFactory] (ServerService Thread Pool -- 48) Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory

                              15:34:23,648 INFO  [org.hibernate.transaction.TransactionManagerLookupFactory] (ServerService Thread Pool -- 48) instantiating TransactionManagerLookup: org.jboss.as.jpa.hibernate3.JBossAppServerJtaPlatform

                              15:34:23,648 INFO  [org.hibernate.transaction.TransactionManagerLookupFactory] (ServerService Thread Pool -- 48) instantiated TransactionManagerLookup

                              15:34:23,648 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Automatic flush during beforeCompletion(): disabled

                              15:34:23,648 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Automatic session close at end of transaction: disabled

                              15:34:23,648 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) JDBC batch size: 20

                              15:34:23,648 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) JDBC batch updates for versioned data: disabled

                              15:34:23,649 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Scrollable result sets: enabled

                              15:34:23,650 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) JDBC3 getGeneratedKeys(): disabled

                              15:34:23,650 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Connection release mode: auto

                              15:34:23,650 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Default batch fetch size: 1

                              15:34:23,650 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Generate SQL with comments: disabled

                              15:34:23,650 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Order SQL updates by primary key: disabled

                              15:34:23,650 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Order SQL inserts for batching: disabled

                              15:34:23,653 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory

                              15:34:23,655 INFO  [org.hibernate.hql.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 48) Using ASTQueryTranslatorFactory

                              15:34:23,655 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Query language substitutions: {}

                              15:34:23,656 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) JPA-QL strict compliance: enabled

                              15:34:23,656 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Second-level cache: enabled

                              15:34:23,656 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Query cache: disabled

                              15:34:23,656 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory

                              15:34:23,657 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Optimize cache for minimal puts: disabled

                              15:34:23,658 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Structured second-level cache entries: disabled

                              15:34:23,663 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Echoing all SQL to stdout

                              15:34:23,664 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Statistics: disabled

                              15:34:23,664 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Deleted entity synthetic identifier rollback: disabled

                              15:34:23,664 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Default entity-mode: pojo

                              15:34:23,665 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Named query checking : enabled

                              15:34:23,665 INFO  [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 48) Check Nullability in Core (should be disabled when Bean Validation is on): disabled

                              15:34:23,702 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 48) MSC000001: Failed to start service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": org.jboss.msc.service.StartException in service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": java.lang.IncompatibleClassChangeError: Class org.hibernate.annotations.common.reflection.java.JavaXMethod does not implement the requested interface org.hibernate.annotations.common.reflection.XMember

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:172) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                                at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

                                at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474)

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                                at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                                at org.jboss.threads.JBossThread.run(JBossThread.java:122)

                              Caused by: java.lang.IncompatibleClassChangeError: Class org.hibernate.annotations.common.reflection.java.JavaXMethod does not implement the requested interface org.hibernate.annotations.common.reflection.XMember

                                at org.hibernate.validator.ClassValidator.createMemberValidator(ClassValidator.java:303) [hibernate-validator.jar:3.1.0.GA]

                                at org.hibernate.validator.ClassValidator.initValidator(ClassValidator.java:217) [hibernate-validator.jar:3.1.0.GA]

                                at org.hibernate.validator.ClassValidator.<init>(ClassValidator.java:133) [hibernate-validator.jar:3.1.0.GA]

                                at org.hibernate.validator.event.ValidateEventListener.initialize(ValidateEventListener.java:91) [hibernate-validator.jar:3.1.0.GA]

                                at org.hibernate.event.EventListeners$1.processListener(EventListeners.java:198) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                                at org.hibernate.event.EventListeners.processListeners(EventListeners.java:181) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                                at org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:194) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                                at org.hibernate.cfg.Configuration.getInitializedEventListeners(Configuration.java:1983) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                                at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1845) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]

                                at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

                                at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:318) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$1100(PersistenceUnitServiceImpl.java:67) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:167) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

                                ... 8 more

                               

                               

                              15:34:23,723 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "project-ear.ear")]) - failure description: {

                                  "JBAS014671: Failed services" => {"jboss.persistenceunit.\"project-ear.ear/project-ejb.jar#project\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"project-ear.ear/project-ejb.jar#project\": java.lang.IncompatibleClassChangeError: Class org.hibernate.annotations.common.reflection.java.JavaXMethod does not implement the requested interface org.hibernate.annotations.common.reflection.XMember

                                  Caused by: java.lang.IncompatibleClassChangeError: Class org.hibernate.annotations.common.reflection.java.JavaXMethod does not implement the requested interface org.hibernate.annotations.common.reflection.XMember"},

                                  "JBAS014771: Services with missing/unavailable dependencies" => [

                                      "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InAppClientContainer is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]",

                                      "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.ValidatorFactory is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]",

                                      "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.Validator is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]",

                                      "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InstanceName is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

                                      "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InAppClientContainer is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

                                      "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.ValidatorFactory is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

                                      "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.Validator is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

                                      "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InstanceName is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]"

                                  ]

                              }

                              15:34:24,014 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "ojdbc6.jar" (runtime-name : "ojdbc6.jar")

                              15:34:24,014 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "project-ear.ear" (runtime-name : "project-ear.ear")

                              15:34:25,695 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

                              JBAS014775:    New missing/unsatisfied dependencies:

                                    service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations (missing) dependents: [service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InstanceName, service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InAppClientContainer, service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.ValidatorFactory, service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.Validator]

                                    service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher (missing) dependents: [service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.Validator, service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InstanceName, service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InAppClientContainer, service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.ValidatorFactory]

                              JBAS014777:   Services which failed to start:      service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": org.jboss.msc.service.StartException in service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": java.lang.IncompatibleClassChangeError: Class org.hibernate.annotations.common.reflection.java.JavaXMethod does not implement the requested interface org.hibernate.annotations.common.reflection.XMember

                               

                               

                              15:34:26,227 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015892: Deployment unit processor org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer@38939abb unexpectedly threw an exception during undeploy phase POST_MODULE of subdeployment "jboss-seam.jar" of deployment "project-ear.ear": java.lang.AbstractMethodError: org.hibernate.validator.engine.ValidatorFactoryImpl.close()V

                                at org.jboss.as.ee.beanvalidation.LazyValidatorFactory.close(LazyValidatorFactory.java:126)

                                at org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer.undeploy(BeanValidationFactoryDeployer.java:120)

                                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.safeUndeploy(DeploymentUnitPhaseService.java:272) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.stop(DeploymentUnitPhaseService.java:230) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                                at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                                at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                               

                               

                              15:34:26,238 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015892: Deployment unit processor org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer@38939abb unexpectedly threw an exception during undeploy phase POST_MODULE of subdeployment "project.war" of deployment "project-ear.ear": java.lang.AbstractMethodError: org.hibernate.validator.engine.ValidatorFactoryImpl.close()V

                                at org.jboss.as.ee.beanvalidation.LazyValidatorFactory.close(LazyValidatorFactory.java:126)

                                at org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer.undeploy(BeanValidationFactoryDeployer.java:120)

                                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.safeUndeploy(DeploymentUnitPhaseService.java:272) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.stop(DeploymentUnitPhaseService.java:230) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                                at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                                at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                               

                               

                              15:34:26,246 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015892: Deployment unit processor org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer@38939abb unexpectedly threw an exception during undeploy phase POST_MODULE of subdeployment "project-gen.jar" of deployment "project-ear.ear": java.lang.AbstractMethodError: org.hibernate.validator.engine.ValidatorFactoryImpl.close()V

                                at org.jboss.as.ee.beanvalidation.LazyValidatorFactory.close(LazyValidatorFactory.java:126)

                                at org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer.undeploy(BeanValidationFactoryDeployer.java:120)

                                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.safeUndeploy(DeploymentUnitPhaseService.java:272) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.stop(DeploymentUnitPhaseService.java:230) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                                at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                                at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                               

                               

                              15:34:26,253 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010409: Unbound data source [java:/projectDatasource]

                              15:34:26,261 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015892: Deployment unit processor org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer@38939abb unexpectedly threw an exception during undeploy phase POST_MODULE of deployment "project-ear.ear": java.lang.AbstractMethodError: org.hibernate.validator.engine.ValidatorFactoryImpl.close()V

                                at org.jboss.as.ee.beanvalidation.LazyValidatorFactory.close(LazyValidatorFactory.java:126)

                                at org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer.undeploy(BeanValidationFactoryDeployer.java:120)

                                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.safeUndeploy(DeploymentUnitPhaseService.java:272) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.stop(DeploymentUnitPhaseService.java:230) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                                at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                                at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                               

                               

                              15:34:26,329 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015974: Stopped subdeployment (runtime-name: project-gen.jar) in 129ms

                              15:34:26,329 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015974: Stopped subdeployment (runtime-name: jboss-seam.jar) in 130ms

                              15:34:26,331 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015974: Stopped subdeployment (runtime-name: project.war) in 131ms

                              15:34:26,331 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015974: Stopped subdeployment (runtime-name: project-ejb.jar) in 132ms

                              15:34:26,549 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) JBAS010418: Stopped Driver service with driver-name = ojdbc6.jar

                              15:34:26,549 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment project-ear.ear (runtime-name: project-ear.ear) in 352ms

                              15:34:26,562 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015892: Deployment unit processor org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer@38939abb unexpectedly threw an exception during undeploy phase POST_MODULE of deployment "ojdbc6.jar": java.lang.AbstractMethodError: org.hibernate.validator.engine.ValidatorFactoryImpl.close()V

                                at org.jboss.as.ee.beanvalidation.LazyValidatorFactory.close(LazyValidatorFactory.java:126)

                                at org.jboss.as.ee.beanvalidation.BeanValidationFactoryDeployer.undeploy(BeanValidationFactoryDeployer.java:120)

                                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.safeUndeploy(DeploymentUnitPhaseService.java:272) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.stop(DeploymentUnitPhaseService.java:230) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

                                at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                                at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

                                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

                                at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

                               

                               

                              15:34:26,578 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment ojdbc6.jar (runtime-name: ojdbc6.jar) in 380ms

                              15:34:26,762 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:10190/management

                              15:34:26,762 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:10190

                              15:34:26,762 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.2.0.Final "Tweek" started (with errors) in 58157ms - Started 188 of 241 services (4 services failed or missing dependencies, 81 services are lazy, passive or on-demand)

                              15:34:26,817 INFO  [org.jboss.as.repository] (DeploymentScanner-threads - 2) JBAS014901: Content removed from location D:\Migration_Workspace\Jboss\Jboss-8\wildfly-8.2.0.Final\standalone\data\content\5b\371965872f89ed74702ceec901b12f0074081e\content

                              15:34:26,817 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "ojdbc6.jar" (runtime-name: "ojdbc6.jar")

                              15:34:26,820 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "project-ear.ear" (runtime-name: "project-ear.ear")

                              15:34:26,821 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

                              JBAS014775:    New missing/unsatisfied dependencies:

                                    service jboss.jdbc-driver.ojdbc6_jar (missing) dependents: [service jboss.driver-demander.java:/projectDatasource, service jboss.data-source.java:/projectDatasource]

                                    service jboss.naming.context.java.module.project-ear.project (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."project.war".INSTALL]

                                    service jboss.naming.context.java.module.project-ear.project-gen (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."project-gen.jar".INSTALL]

                                    service jboss.naming.context.java.module.project-ear.jboss-seam (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."jboss-seam.jar".INSTALL]

                                    service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project" (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."project-ejb.jar".POST_MODULE, service jboss.naming.context.java.projectEntityManagerFactory]

                              JBAS014777:   Services which failed to start:      service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project"

                               

                               

                              15:34:30,935 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found project-ear.ear in deployment directory. To trigger deployment create a file called project-ear.ear.dodeploy

                               

                               

                               

                              As per my analysis the exception is showing

                              org.hibernate.annotations.common.reflection.java.JavaXMethod does not implement the requested interface org.hibernate.annotations.common.reflection.XMember. But I observed that the class decleration for JavaXMethod  is as follows

                               

                              public class JavaXMethod extends JavaXMember implements XMethod and JavaXMember  is implementing XMember, so this should not cause any issue.

                               

                              I am suspecting that I am using Hibernate Commons Annotations {4.0.1.Final} and remaining hibernate is from 3.6, but we don't have hibernate commons annotations jar for hibernate.