Advertisement
Guest User

Untitled

a guest
Oct 21st, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.10 KB | None | 0 0
  1. 17:53:34,909 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 62) MSC000001: Failed to start service jboss.persistenceunit."RPGo.war#RPGo": org.jboss.msc.service.StartException in service jboss.persistenceunit."RPGo.war#RPGo": org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
  2. at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:195)
  3. at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:125)
  4. at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:640)
  5. at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:209)
  6. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  7. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  8. at java.lang.Thread.run(Unknown Source)
  9. at org.jboss.threads.JBossThread.run(JBossThread.java:320)
  10. Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
  11. at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:264)
  12. at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:228)
  13. at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:207)
  14. at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:51)
  15. at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:94)
  16. at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237)
  17. at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:207)
  18. at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.handleTypes(MetadataBuildingProcess.java:352)
  19. at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:111)
  20. at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:848)
  21. at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:875)
  22. at org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
  23. at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:167)
  24. ... 7 more
  25. Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
  26. at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:100)
  27. at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:54)
  28. at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:137)
  29. at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)
  30. at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:88)
  31. at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:254)
  32. ... 19 more
  33.  
  34. 17:53:34,909 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "RPGo.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.persistenceunit."RPGo.war#RPGo"" => "org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
  35. Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
  36. Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set"}}
  37. 17:53:34,940 INFO [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "RPGo.war" (runtime-name : "RPGo.war")
  38. 17:53:34,940 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
  39. WFLYCTL0186: Services which failed to start: service jboss.persistenceunit."RPGo.war#RPGo": org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
  40.  
  41. <?xml version="1.0" encoding="UTF-8"?>
  42. <persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
  43. <persistence-unit name="RPGo">
  44. <provider>org.hibernate.ejb.HibernatePersistence</provider>
  45. <jta-data-source>java:jboss/datasources/RPGo</jta-data-source>
  46. <exclude-unlisted-classes>false</exclude-unlisted-classes>
  47. <properties>
  48. <property name="hibernate.hbm2ddl.auto" value="update" />
  49. </properties>
  50. </persistence-unit>
  51. </persistence>
  52.  
  53. <subsystem xmlns="urn:jboss:domain:datasources:5.0">
  54. <datasources>
  55. <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
  56. <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE</connection-url>
  57. <driver>h2</driver>
  58. <security>
  59. <user-name>sa</user-name>
  60. <password>sa</password>
  61. </security>
  62. </datasource>
  63. <datasource jta="true" jndi-name="java:jboss/datasources/RPGo" pool-name="RPGoPool" enabled="true" use-java-context="true">
  64. <connection-url>jdbc:mysql://localhost:3306/rpgo</connection-url>
  65. <driver>mysql</driver>
  66. <security>
  67. <user-name>master</user-name>
  68. <password>master</password>
  69. </security>
  70. </datasource>
  71. <drivers>
  72. <driver name="h2" module="com.h2database.h2">
  73. <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
  74. </driver>
  75. <driver name="mysql" module="com.mysql">
  76. <driver-class>com.mysql.jdbc.Driver</driver-class>
  77. </driver>
  78. </drivers>
  79. </datasources>
  80. </subsystem>
  81.  
  82. <!-- JSF -->
  83. <dependency>
  84. <groupId>com.sun.faces</groupId>
  85. <artifactId>jsf-api</artifactId>
  86. <version>2.2.13</version>
  87. </dependency>
  88.  
  89. <!-- JSF -->
  90. <dependency>
  91. <groupId>com.sun.faces</groupId>
  92. <artifactId>jsf-impl</artifactId>
  93. <version>2.2.13</version>
  94. </dependency>
  95.  
  96. <!-- PrimeFaces -->
  97. <dependency>
  98. <groupId>org.primefaces</groupId>
  99. <artifactId>primefaces</artifactId>
  100. <version>5.3</version>
  101. </dependency>
  102.  
  103. <!-- CDI -->
  104. <dependency>
  105. <groupId>javax.enterprise</groupId>
  106. <artifactId>cdi-api</artifactId>
  107. <version>1.2</version>
  108. <scope>provided</scope>
  109. </dependency>
  110.  
  111. <!-- Métodos uteis para manipulação de String, métodos e etc -->
  112. <dependency>
  113. <groupId>org.apache.commons</groupId>
  114. <artifactId>commons-lang3</artifactId>
  115. <version>3.4</version>
  116. </dependency>
  117.  
  118. <!-- PROVIDER JPA(HIBERNATE) -->
  119. <dependency>
  120. <groupId>org.hibernate</groupId>
  121. <artifactId>hibernate-entitymanager</artifactId>
  122. <version>4.3.0.Final</version>
  123. </dependency>
  124.  
  125. <!-- DEPENDENCIA MYSQL -->
  126. <dependency>
  127. <groupId>mysql</groupId>
  128. <artifactId>mysql-connector-java</artifactId>
  129. <version>5.1.44</version>
  130. </dependency>
  131.  
  132. <!-- Manipulação de XML -->
  133. <dependency>
  134. <groupId>jdom</groupId>
  135. <artifactId>jdom</artifactId>
  136. <version>1.1</version>
  137. </dependency>
  138.  
  139. <dependency>
  140. <groupId>br.ufes.inf.nemo</groupId>
  141. <artifactId>jbutler-wp</artifactId>
  142. <version>1.2.4</version>
  143. </dependency>
  144.  
  145. <dependency>
  146. <groupId>org.primefaces.themes</groupId>
  147. <artifactId>bootstrap</artifactId>
  148. <version>1.0.10</version>
  149. </dependency>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement