1 Reply Latest reply on Dec 22, 2015 4:29 AM by mayerw01

    I cant deploy my project wildFly 9.0.x

    maydinbil

      12:53:27,667 INFO  [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 58) HHH000204: Processing PersistenceUnitInfo [

        name: nbysisg

        ...]

      12:53:27,714 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 58) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider

      12:53:27,917 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 58) HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect

      12:53:27,917 WARN  [org.hibernate.service.jta.platform.internal.JtaPlatformInitiator] (ServerService Thread Pool -- 58) HHH000427: Using deprecated org.hibernate.transaction.TransactionManagerLookup strategy [hibernate.transaction.manager_lookup_class], use newer org.hibernate.service.jta.platform.spi.JtaPlatform strategy instead [hibernate.transaction.jta.platform]

      12:53:27,917 INFO  [org.hibernate.service.jta.platform.internal.JtaPlatformInitiator] (ServerService Thread Pool -- 58) HHH000428: Encountered legacy TransactionManagerLookup specified; convert to newer org.hibernate.service.jta.platform.spi.JtaPlatform contract specified via hibernate.transaction.jta.platform setting

      12:53:27,917 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 58) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory

      12:53:27,932 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 58) HHH000397: Using ASTQueryTranslatorFactory

      12:53:27,948 INFO  [org.hibernate.validator.util.Version] (ServerService Thread Pool -- 58) Hibernate Validator 4.2.0.Final

      12:53:27,995 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 58) MSC000001: Failed to start service jboss.persistenceunit."web.war#nbysisg": org.jboss.msc.service.StartException in service jboss.persistenceunit."web.war#nbysisg": javax.persistence.PersistenceException: [PersistenceUnit: nbysisg] Unable to build EntityManagerFactory

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:172)

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117)

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

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        at java.lang.Thread.run(Thread.java:745)

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

      Caused by: javax.persistence.PersistenceException: [PersistenceUnit: nbysisg] Unable to build EntityManagerFactory

        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)

        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)

        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:318)

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$1100(PersistenceUnitServiceImpl.java:67)

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:167)

        ... 7 more

      Caused by: org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.boot.registry.classloading.spi.ClassLoaderService]

        at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:126)

        at org.hibernate.envers.event.spi.EnversIntegrator.integrate(EnversIntegrator.java:76)

        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:294)

        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737)

        at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84)

        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)

        ... 12 more

       

       

      12:53:27,995 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "web.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"web.war#nbysisg\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"web.war#nbysisg\": javax.persistence.PersistenceException: [PersistenceUnit: nbysisg] Unable to build EntityManagerFactory

          Caused by: javax.persistence.PersistenceException: [PersistenceUnit: nbysisg] Unable to build EntityManagerFactory

          Caused by: org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.boot.registry.classloading.spi.ClassLoaderService]"}}

      12:53:28,042 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "web.war" (runtime-name : "web.war")

      12:53:28,042 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report

      WFLYCTL0186:   Services which failed to start:      service jboss.persistenceunit."web.war#nbysisg": org.jboss.msc.service.StartException in service jboss.persistenceunit."web.war#nbysisg": javax.persistence.PersistenceException: [PersistenceUnit: nbysisg] Unable to build EntityManagerFactory

       

       

      12:53:28,214 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management

      12:53:28,214 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990

      12:53:28,214 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 9.0.0.CR1 (WildFly Core 1.0.0.CR1) started (with errors) in 6607ms - Started 221 of 400 services (2 services failed or missing dependencies, 212 services are lazy, passive or on-demand)

      12:53:28,354 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment web.war (runtime-name: web.war) in 113ms

      12:53:28,395 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: Undeployed "web.war" (runtime-name: "web.war")

      12:53:28,395 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report

      WFLYCTL0184:    New missing/unsatisfied dependencies:

            service jboss.persistenceunit."web.war#nbysisg" (missing) dependents: [service jboss.deployment.unit."web.war".POST_MODULE]

      WFLYCTL0186:   Services which failed to start:      service jboss.persistenceunit."web.war#nbysisg"

       

       

      12:53:33,080 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found web.war in deployment directory. To trigger deployment create a file called web.war.dodeploy