Advertisement
Guest User

Untitled

a guest
Sep 21st, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.65 KB | None | 0 0
  1. dependencies {
  2. // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g.
  3. // runtime 'mysql:mysql-connector-java:5.1.27'
  4. runtime 'mariadb:mariadb-java-client:1.1.5'
  5. // runtime 'org.postgresql:postgresql:9.3-1100-jdbc41'
  6. }
  7.  
  8. production {
  9. dataSource {
  10. dbCreate = "update"
  11. url = "jdbc:mariadb://localhost/gTunes"
  12. driverClassName = "org.mariadb.jdbc.Driver"
  13. username = "root"
  14. password = ""
  15. pooled = true
  16. properties {
  17. maxActive = -1
  18. minEvictableIdleTimeMillis=1800000
  19. timeBetweenEvictionRunsMillis=1800000
  20. numTestsPerEvictionRun=3
  21. testOnBorrow=true
  22. testWhileIdle=true
  23. testOnReturn=true
  24. validationQuery="SELECT 1"
  25. }
  26. }
  27. }
  28.  
  29. Error |
  30. 2014-01-21 14:04:56,120 [localhost-startStop-1] ERROR pool.ConnectionPool - Unable to create initial connections of pool.
  31. Message: org.mariadb.jdbc.Driver
  32. Line | Method
  33. ->> 262 | run in java.util.concurrent.FutureTask
  34. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  35. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  36. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  37. ^ 744 | run in java.lang.Thread
  38. Caused by ClassNotFoundException: org.mariadb.jdbc.Driver
  39. ->> 366 | run in java.net.URLClassLoader$1
  40. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  41. | 355 | run in ''
  42. | 354 | findClass in java.net.URLClassLoader
  43. | 425 | loadClass in java.lang.ClassLoader
  44. | 270 | forName . in java.lang.Class
  45. | 262 | run in java.util.concurrent.FutureTask
  46. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  47. | 615 | run in java.util.concurrent.ThreadPoolExecutor$Worker
  48. ^ 744 | run . . . in java.lang.Thread
  49. Error |
  50. 2014-01-21 14:04:56,232 [localhost-startStop-1] ERROR pool.ConnectionPool - Unable to create initial connections of pool.
  51. Message: org.mariadb.jdbc.Driver
  52. Line | Method
  53. ->> 262 | run in java.util.concurrent.FutureTask
  54. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  55. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  56. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  57. ^ 744 | run in java.lang.Thread
  58. Caused by ClassNotFoundException: org.mariadb.jdbc.Driver
  59. ->> 366 | run in java.net.URLClassLoader$1
  60. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  61. | 355 | run in ''
  62. | 354 | findClass in java.net.URLClassLoader
  63. | 425 | loadClass in java.lang.ClassLoader
  64. | 270 | forName . in java.lang.Class
  65. | 262 | run in java.util.concurrent.FutureTask
  66. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  67. | 615 | run in java.util.concurrent.ThreadPoolExecutor$Worker
  68. ^ 744 | run . . . in java.lang.Thread
  69. Error |
  70. 2014-01-21 14:04:56,382 [localhost-startStop-1] ERROR pool.ConnectionPool - Unable to create initial connections of pool.
  71. Message: org.mariadb.jdbc.Driver
  72. Line | Method
  73. ->> 262 | run in java.util.concurrent.FutureTask
  74. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  75. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  76. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  77. ^ 744 | run in java.lang.Thread
  78. Caused by ClassNotFoundException: org.mariadb.jdbc.Driver
  79. ->> 366 | run in java.net.URLClassLoader$1
  80. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  81. | 355 | run in ''
  82. | 354 | findClass in java.net.URLClassLoader
  83. | 425 | loadClass in java.lang.ClassLoader
  84. | 270 | forName . in java.lang.Class
  85. | 262 | run in java.util.concurrent.FutureTask
  86. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  87. | 615 | run in java.util.concurrent.ThreadPoolExecutor$Worker
  88. ^ 744 | run . . . in java.lang.Thread
  89. Error |
  90. 2014-01-21 14:04:56,404 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing the application: Error creating bean with name 'transactionManagerPostProcessor': Initialization
  91. Message: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean
  92. Line | Method
  93. ->> 262 | run in java.util.concurrent.FutureTask
  94. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  95. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  96. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  97. ^ 744 | run in java.lang.Thread
  98. Caused by BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is
  99. ->> 262 | run in java.util.concurrent.FutureTask
  100. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  101. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  102. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  103. ^ 744 | run in java.lang.Thread
  104. Caused by BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested excepti
  105. ->> 262 | run in java.util.concurrent.FutureTask
  106. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  107. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  108. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  109. ^ 744 | run in java.lang.Thread
  110. Caused by BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dia
  111. ->> 262 | run in java.util.concurrent.FutureTask
  112. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  113. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  114. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  115. ^ 744 | run in java.lang.Thread
  116. Caused by BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error w
  117. ->> 262 | run in java.util.concurrent.FutureTask
  118. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  119. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  120. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  121. ^ 744 | run in java.lang.Thread
  122. Caused by MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is java.sql.SQLException: org.mariadb.jdbc.Driver
  123. ->> 262 | run in java.util.concurrent.FutureTask
  124. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  125. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  126. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  127. ^ 744 | run in java.lang.Thread
  128. Caused by SQLException: org.mariadb.jdbc.Driver
  129. ->> 262 | run in java.util.concurrent.FutureTask
  130. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  131. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  132. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  133. ^ 744 | run in java.lang.Thread
  134. Caused by ClassNotFoundException: org.mariadb.jdbc.Driver
  135. ->> 366 | run in java.net.URLClassLoader$1
  136. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  137. | 355 | run in ''
  138. | 354 | findClass in java.net.URLClassLoader
  139. | 425 | loadClass in java.lang.ClassLoader
  140. | 270 | forName . in java.lang.Class
  141. | 262 | run in java.util.concurrent.FutureTask
  142. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  143. | 615 | run in java.util.concurrent.ThreadPoolExecutor$Worker
  144. ^ 744 | run . . . in java.lang.Thread
  145. Error |
  146. 2014-01-21 14:04:56,461 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing Grails: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean f
  147. Message: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean
  148. Line | Method
  149. ->> 262 | run in java.util.concurrent.FutureTask
  150. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  151. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  152. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  153. ^ 744 | run in java.lang.Thread
  154. Caused by BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is
  155. ->> 262 | run in java.util.concurrent.FutureTask
  156. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  157. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  158. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  159. ^ 744 | run in java.lang.Thread
  160. Caused by BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested excepti
  161. ->> 262 | run in java.util.concurrent.FutureTask
  162. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  163. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  164. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  165. ^ 744 | run in java.lang.Thread
  166. Caused by BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dia
  167. ->> 262 | run in java.util.concurrent.FutureTask
  168. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  169. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  170. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  171. ^ 744 | run in java.lang.Thread
  172. Caused by BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error w
  173. ->> 262 | run in java.util.concurrent.FutureTask
  174. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  175. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  176. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  177. ^ 744 | run in java.lang.Thread
  178. Caused by MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is java.sql.SQLException: org.mariadb.jdbc.Driver
  179. ->> 262 | run in java.util.concurrent.FutureTask
  180. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  181. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  182. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  183. ^ 744 | run in java.lang.Thread
  184. Caused by SQLException: org.mariadb.jdbc.Driver
  185. ->> 262 | run in java.util.concurrent.FutureTask
  186. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  187. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  188. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  189. ^ 744 | run in java.lang.Thread
  190. Caused by ClassNotFoundException: org.mariadb.jdbc.Driver
  191. ->> 366 | run in java.net.URLClassLoader$1
  192. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  193. | 355 | run in ''
  194. | 354 | findClass in java.net.URLClassLoader
  195. | 425 | loadClass in java.lang.ClassLoader
  196. | 270 | forName . in java.lang.Class
  197. | 262 | run in java.util.concurrent.FutureTask
  198. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  199. | 615 | run in java.util.concurrent.ThreadPoolExecutor$Worker
  200. ^ 744 | run . . . in java.lang.Thread
  201. Error |
  202. 2014-01-21 14:04:56,516 [localhost-startStop-1] ERROR [localhost].[/gStore] - Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsCon
  203. Message: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean
  204. Line | Method
  205. ->> 262 | run in java.util.concurrent.FutureTask
  206. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  207. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  208. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  209. ^ 744 | run in java.lang.Thread
  210. Caused by BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is
  211. ->> 262 | run in java.util.concurrent.FutureTask
  212. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  213. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  214. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  215. ^ 744 | run in java.lang.Thread
  216. Caused by BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested excepti
  217. ->> 262 | run in java.util.concurrent.FutureTask
  218. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  219. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  220. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  221. ^ 744 | run in java.lang.Thread
  222. Caused by BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dia
  223. ->> 262 | run in java.util.concurrent.FutureTask
  224. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  225. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  226. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  227. ^ 744 | run in java.lang.Thread
  228. Caused by BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error w
  229. ->> 262 | run in java.util.concurrent.FutureTask
  230. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  231. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  232. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  233. ^ 744 | run in java.lang.Thread
  234. Caused by MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is java.sql.SQLException: org.mariadb.jdbc.Driver
  235. ->> 262 | run in java.util.concurrent.FutureTask
  236. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  237. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  238. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  239. ^ 744 | run in java.lang.Thread
  240. Caused by SQLException: org.mariadb.jdbc.Driver
  241. ->> 262 | run in java.util.concurrent.FutureTask
  242. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  243. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  244. | 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  245. ^ 744 | run in java.lang.Thread
  246. Caused by ClassNotFoundException: org.mariadb.jdbc.Driver
  247. ->> 366 | run in java.net.URLClassLoader$1
  248. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  249. | 355 | run in ''
  250. | 354 | findClass in java.net.URLClassLoader
  251. | 425 | loadClass in java.lang.ClassLoader
  252. | 270 | forName . in java.lang.Class
  253. | 262 | run in java.util.concurrent.FutureTask
  254. | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  255. | 615 | run in java.util.concurrent.ThreadPoolExecutor$Worker
  256. ^ 744 | run . . . in java.lang.Thread
  257. Error |
  258. 2014-01-21 14:04:56,555 [localhost-startStop-1] ERROR core.StandardContext - Error listenerStart
  259. Error |
  260. 2014-01-21 14:04:56,602 [localhost-startStop-1] ERROR core.StandardContext - Context [/gStore] startup failed due to previous errors
  261.  
  262. dependencies {
  263. runtime 'org.mariadb.jdbc: mariadb-java-client:1.5.0-RC1'
  264. /*1.6.0-SNAPSHOT,,,,1.5.0-RC1,,,1.4.6*/
  265. }
  266.  
  267. dependencies {
  268. runtime 'jdbc: mariadb-java-client:1.5.0-RC1'
  269. }
  270.  
  271. <dependency>
  272. <groupId>org.mariadb.jdbc</groupId>
  273. <artifactId>mariadb-java-client</artifactId>
  274. <version>xxx</version>
  275. </dependency>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement