Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.51 KB | None | 0 0
  1. package test
  2.  
  3. class User {
  4.  
  5. Integer id
  6. String firstName
  7. String lastName
  8.  
  9. static constraints = {
  10. id(blank:false, unique:true)
  11. firstName(blank:false)
  12. lastName(blank:false)
  13. }
  14. }
  15.  
  16. runtime mysql:mysql-connector-java:5.1.29
  17.  
  18. grails.servlet.version = "3.0" // Change depending on target container compliance (2.5 or 3.0)
  19. grails.project.class.dir = "target/classes"
  20. grails.project.test.class.dir = "target/test-classes"
  21. grails.project.test.reports.dir = "target/test-reports"
  22. grails.project.work.dir = "target/work"
  23. grails.project.target.level = 1.6
  24. grails.project.source.level = 1.6
  25. //grails.project.war.file = "target/${appName}-${appVersion}.war"
  26.  
  27. grails.project.fork = [
  28. // configure settings for compilation JVM, note that if you alter the Groovy version forked compilation is required
  29. // compile: [maxMemory: 256, minMemory: 64, debug: false, maxPerm: 256, daemon:true],
  30.  
  31. // configure settings for the test-app JVM, uses the daemon by default
  32. test: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, daemon:true],
  33. // configure settings for the run-app JVM
  34. run: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, forkReserve:false],
  35. // configure settings for the run-war JVM
  36. war: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, forkReserve:false],
  37. // configure settings for the Console UI JVM
  38. console: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256]
  39. ]
  40.  
  41. grails.project.dependency.resolver = "maven" // or ivy
  42. grails.project.dependency.resolution = {
  43. // inherit Grails' default dependencies
  44. inherits("global") {
  45. // specify dependency exclusions here; for example, uncomment this to disable ehcache:
  46. // excludes 'ehcache'
  47. }
  48. log "error" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
  49. checksums true // Whether to verify checksums on resolve
  50. legacyResolve false // whether to do a secondary resolve on plugin installation, not advised and here for backwards compatibility
  51.  
  52. repositories {
  53. inherits true // Whether to inherit repository definitions from plugins
  54.  
  55. grailsPlugins()
  56. grailsHome()
  57. mavenLocal()
  58. grailsCentral()
  59. mavenCentral()
  60. // uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
  61. //mavenRepo "http://repository.codehaus.org"
  62. //mavenRepo "http://download.java.net/maven/2/"
  63. //mavenRepo "http://repository.jboss.com/maven2/"
  64. }
  65.  
  66. dependencies {
  67. // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g.
  68. runtime 'mysql:mysql-connector-java:5.1.29'
  69. // runtime 'org.postgresql:postgresql:9.3-1101-jdbc41'
  70. //test "org.grails:grails-datastore-test-support:1.0.2-grails-2.4"
  71. }
  72.  
  73. plugins {
  74. // plugins for the build system only
  75. build ":tomcat:7.0.55"
  76.  
  77. // plugins for the compile step
  78. compile ":scaffolding:2.1.2"
  79. compile ':cache:1.1.8'
  80. compile ":asset-pipeline:1.9.9"
  81.  
  82. // plugins needed at runtime but not for compilation
  83. runtime ":hibernate4:4.3.6.1" // or ":hibernate:3.6.10.18"
  84. runtime ":database-migration:1.4.0"
  85. runtime ":jquery:1.11.1"
  86.  
  87. // Uncomment these to enable additional asset-pipeline capabilities
  88. //compile ":sass-asset-pipeline:1.9.0"
  89. //compile ":less-asset-pipeline:1.10.0"
  90. //compile ":coffee-asset-pipeline:1.8.0"
  91. //compile ":handlebars-asset-pipeline:1.3.0.3"
  92. }
  93. }
  94.  
  95. driverClassName = "org.h2.Driver"
  96.  
  97. driverClassName = "com.mysql.jdbc.Driver"
  98.  
  99. url = "jdbc:h2:devDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE"
  100.  
  101. url = "jdbc:mysql://localhost/test"
  102.  
  103. driverClassName = "com.mysql.jdbc.Driver"
  104. username = "root"
  105. password = ""
  106.  
  107. dataSource {
  108. pooled = true
  109. jmxExport = true
  110. //driverClassName = "org.h2.Driver"
  111. driverClassName = "com.mysql.jdbc.Driver"
  112. username = "sa"
  113. password = ""
  114. }
  115. hibernate {
  116. cache.use_second_level_cache = true
  117. cache.use_query_cache = false
  118. // cache.region.factory_class = 'net.sf.ehcache.hibernate.EhCacheRegionFactory' // Hibernate 3
  119. cache.region.factory_class = 'org.hibernate.cache.ehcache.EhCacheRegionFactory' // Hibernate 4
  120. singleSession = true // configure OSIV singleSession mode
  121. flush.mode = 'manual' // OSIV session flush mode outside of transactional context
  122. }
  123.  
  124. // environment specific settings
  125. environments {
  126. development {
  127. dataSource {
  128. dbCreate = "update" // one of 'create', 'create-drop', 'update', 'validate', ''
  129. //url = "jdbc:h2:mem:devDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE"
  130. url = "jdbc:mysql://localhost/test"
  131. driverClassName = "com.mysql.jdbc.Driver"
  132. username = "root"
  133. password = ""
  134. }
  135. }
  136. test {
  137. dataSource {
  138. dbCreate = "update"
  139. //url = "jdbc:h2:mem:testDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE"
  140. url = "jdbc:mysql://localhost/test"
  141. driverClassName = "com.mysql.jdbc.Driver"
  142. username = "root"
  143. password = ""
  144. }
  145. }
  146. production {
  147. dataSource {
  148. dbCreate = "update"
  149. //url = "jdbc:h2:prodDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE"
  150. url = "jdbc:mysql://localhost/test"
  151. driverClassName = "com.mysql.jdbc.Driver"
  152. username = "root"
  153. password = ""
  154. properties {
  155. // See http://grails.org/doc/latest/guide/conf.html#dataSource for documentation
  156. jmxEnabled = true
  157. initialSize = 5
  158. maxActive = 50
  159. minIdle = 5
  160. maxIdle = 25
  161. maxWait = 10000
  162. maxAge = 10 * 60000
  163. timeBetweenEvictionRunsMillis = 5000
  164. minEvictableIdleTimeMillis = 60000
  165. validationQuery = "SELECT 1"
  166. validationQueryTimeout = 3
  167. validationInterval = 15000
  168. testOnBorrow = true
  169. testWhileIdle = true
  170. testOnReturn = false
  171. jdbcInterceptors = "ConnectionState"
  172. defaultTransactionIsolation = java.sql.Connection.TRANSACTION_READ_COMMITTED
  173. }
  174. }
  175. }
  176. }
  177.  
  178. ERROR pool.ConnectionPool - Unable to create initial connections of pool.
  179.  
  180. 2016-08-23 16:18:58,040 [localhost-startStop-1] ERROR pool.ConnectionPool - Unable to create initial connections of pool.
  181. Message: Communications link failure
  182. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  183. Line | Method
  184. ->> 411 | handleNewInstance in com.mysql.jdbc.Util
  185. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  186. | 1129 | createCommunicationsException in com.mysql.jdbc.SQLError
  187. | 358 | <init> . . . . . . . . . . . in com.mysql.jdbc.MysqlIO
  188. | 2498 | coreConnect in com.mysql.jdbc.ConnectionImpl
  189. | 2535 | connectOneTryOnly . . . . . . in ''
  190. | 2320 | createNewIO in ''
  191. | 834 | <init> . . . . . . . . . . . in ''
  192. | 46 | <init> in com.mysql.jdbc.JDBC4Connection
  193. | 411 | handleNewInstance . . . . . . in com.mysql.jdbc.Util
  194. | 416 | getInstance in com.mysql.jdbc.ConnectionImpl
  195. | 347 | connect . . . . . . . . . . . in com.mysql.jdbc.NonRegisteringDriver
  196. | 266 | run in java.util.concurrent.FutureTask
  197. | 1142 | runWorker . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor
  198. | 617 | run in java.util.concurrent.ThreadPoolExecutor$Worker
  199. ^ 745 | run . . . . . . . . . . . . . in java.lang.Thread
  200. Caused by ConnectException: Connection refused: connect
  201. ->> 79 | socketConnect in java.net.DualStackPlainSocketImpl
  202. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  203. | 345 | doConnect in java.net.AbstractPlainSocketImpl
  204. | 206 | connectToAddress . . . . . . in ''
  205. | 188 | connect in ''
  206. | 172 | connect . . . . . . . . . . . in java.net.PlainSocketImpl
  207. | 392 | connect in java.net.SocksSocketImpl
  208. | 589 | connect . . . . . . . . . . . in java.net.Socket
  209. | 538 | connect in ''
  210. | 434 | <init> . . . . . . . . . . . in ''
  211. | 244 | <init> in ''
  212. | 256 | connect . . . . . . . . . . . in com.mysql.jdbc.StandardSocketFactory
  213. | 308 | <init> in com.mysql.jdbc.MysqlIO
  214. | 2498 | coreConnect . . . . . . . . . in com.mysql.jdbc.ConnectionImpl
  215. | 2535 | connectOneTryOnly in ''
  216. | 2320 | createNewIO . . . . . . . . . in ''
  217. | 834 | <init> in ''
  218. | 46 | <init> . . . . . . . . . . . in com.mysql.jdbc.JDBC4Connection
  219. | 411 | handleNewInstance in com.mysql.jdbc.Util
  220. | 416 | getInstance . . . . . . . . . in com.mysql.jdbc.ConnectionImpl
  221. | 347 | connect in com.mysql.jdbc.NonRegisteringDriver
  222. | 266 | run . . . . . . . . . . . . . in java.util.concurrent.FutureTask
  223. | 1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
  224. | 617 | run . . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  225. ^ 745 | run in java.lang.Thread
  226. Error |
  227. 2016-08-23 16:19:00,132 [localhost-startStop-1] ERROR pool.ConnectionPool - Unable to create initial connections of pool.
  228. Message: Communications link failure
  229. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  230. Line | Method
  231. ->> 411 | handleNewInstance in com.mysql.jdbc.Util
  232. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  233. | 1129 | createCommunicationsException in com.mysql.jdbc.SQLError
  234. | 358 | <init> . . . . . . . . . . . in com.mysql.jdbc.MysqlIO
  235. | 2498 | coreConnect in com.mysql.jdbc.ConnectionImpl
  236. | 2535 | connectOneTryOnly . . . . . . in ''
  237. | 2320 | createNewIO in ''
  238. | 834 | <init> . . . . . . . . . . . in ''
  239. | 46 | <init> in com.mysql.jdbc.JDBC4Connection
  240. | 411 | handleNewInstance . . . . . . in com.mysql.jdbc.Util
  241. | 416 | getInstance in com.mysql.jdbc.ConnectionImpl
  242. | 347 | connect . . . . . . . . . . . in com.mysql.jdbc.NonRegisteringDriver
  243. | 266 | run in java.util.concurrent.FutureTask
  244. | 1142 | runWorker . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor
  245. | 617 | run in java.util.concurrent.ThreadPoolExecutor$Worker
  246. ^ 745 | run . . . . . . . . . . . . . in java.lang.Thread
  247. Caused by ConnectException: Connection refused: connect
  248. ->> 79 | socketConnect in java.net.DualStackPlainSocketImpl
  249. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  250. | 345 | doConnect in java.net.AbstractPlainSocketImpl
  251. | 206 | connectToAddress . . . . . . in ''
  252. | 188 | connect in ''
  253. | 172 | connect . . . . . . . . . . . in java.net.PlainSocketImpl
  254. | 392 | connect in java.net.SocksSocketImpl
  255. | 589 | connect . . . . . . . . . . . in java.net.Socket
  256. | 538 | connect in ''
  257. | 434 | <init> . . . . . . . . . . . in ''
  258. | 244 | <init> in ''
  259. | 256 | connect . . . . . . . . . . . in com.mysql.jdbc.StandardSocketFactory
  260. | 308 | <init> in com.mysql.jdbc.MysqlIO
  261. | 2498 | coreConnect . . . . . . . . . in com.mysql.jdbc.ConnectionImpl
  262. | 2535 | connectOneTryOnly in ''
  263. | 2320 | createNewIO . . . . . . . . . in ''
  264. | 834 | <init> in ''
  265. | 46 | <init> . . . . . . . . . . . in com.mysql.jdbc.JDBC4Connection
  266. | 411 | handleNewInstance in com.mysql.jdbc.Util
  267. | 416 | getInstance . . . . . . . . . in com.mysql.jdbc.ConnectionImpl
  268. | 347 | connect in com.mysql.jdbc.NonRegisteringDriver
  269. | 266 | run . . . . . . . . . . . . . in java.util.concurrent.FutureTask
  270. | 1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
  271. | 617 | run . . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  272. ^ 745 | run in java.lang.Thread
  273. Error |
  274. 2016-08-23 16:19:02,194 [localhost-startStop-1] ERROR pool.ConnectionPool - Unable to create initial connections of pool.
  275. Message: Communications link failure
  276. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  277. Line | Method
  278. ->> 411 | handleNewInstance in com.mysql.jdbc.Util
  279. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  280. | 1129 | createCommunicationsException in com.mysql.jdbc.SQLError
  281. | 358 | <init> . . . . . . . . . . . in com.mysql.jdbc.MysqlIO
  282. | 2498 | coreConnect in com.mysql.jdbc.ConnectionImpl
  283. | 2535 | connectOneTryOnly . . . . . . in ''
  284. | 2320 | createNewIO in ''
  285. | 834 | <init> . . . . . . . . . . . in ''
  286. | 46 | <init> in com.mysql.jdbc.JDBC4Connection
  287. | 411 | handleNewInstance . . . . . . in com.mysql.jdbc.Util
  288. | 416 | getInstance in com.mysql.jdbc.ConnectionImpl
  289. | 347 | connect . . . . . . . . . . . in com.mysql.jdbc.NonRegisteringDriver
  290. | 266 | run in java.util.concurrent.FutureTask
  291. | 1142 | runWorker . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor
  292. | 617 | run in java.util.concurrent.ThreadPoolExecutor$Worker
  293. ^ 745 | run . . . . . . . . . . . . . in java.lang.Thread
  294. Caused by ConnectException: Connection refused: connect
  295. ->> 79 | socketConnect in java.net.DualStackPlainSocketImpl
  296. Error |
  297. 2016-08-23 16:19:02,205 [localhost-startStop-1] ERROR context.GrailsContextLoaderListener - Error initializing the application: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
  298. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  299. Message: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
  300. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  301. Line | Method
  302. ->> 266 | run in java.util.concurrent.FutureTask
  303. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  304. | 1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
  305. | 617 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  306. ^ 745 | run in java.lang.Thread
  307. Caused by BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
  308. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  309. ->> 266 | run in java.util.concurrent.FutureTask
  310. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  311. | 1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
  312. | 617 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  313. ^ 745 | run in java.lang.Thread
  314. Caused by BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
  315. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  316. ->> 266 | run in java.util.concurrent.FutureTask
  317. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  318. | 1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
  319. | 617 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  320. ^ 745 | run in java.lang.Thread
  321. Caused by BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
  322. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  323. ->> 266 | run in java.util.concurrent.FutureTask
  324. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  325. | 1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
  326. | 617 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  327. ^ 745 | run in java.lang.Thread
  328. Caused by BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
  329. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  330. ->> 266 | run in java.util.concurrent.FutureTask
  331. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  332. | 1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
  333. | 617 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  334. ^ 745 | run in java.lang.Thread
  335. Caused by MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
  336. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  337. ->> 266 | run in java.util.concurrent.FutureTask
  338. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  339. | 1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
  340. | 617 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  341. ^ 745 | run in java.lang.Thread
  342. Caused by CommunicationsException: Communications link failure
  343. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  344. ->> 411 | handleNewInstance in com.mysql.jdbc.Util
  345. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  346. | 1129 | createCommunicationsException in com.mysql.jdbc.SQLError
  347. | 358 | <init> . in com.mysql.jdbc.MysqlIO
  348. | 2498 | coreConnect in com.mysql.jdbc.ConnectionImpl
  349. | 2535 | connectOneTryOnly in ''
  350. | 2320 | createNewIO in ''
  351. | 834 | <init> . in ''
  352. | 46 | <init> in com.mysql.jdbc.JDBC4Connection
  353. | 411 | handleNewInstance in com.mysql.jdbc.Util
  354. | 416 | getInstance in com.mysql.jdbc.ConnectionImpl
  355. | 347 | connect . in com.mysql.jdbc.NonRegisteringDriver
  356. | 266 | run in java.util.concurrent.FutureTask
  357. | 1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
  358. | 617 | run in java.util.concurrent.ThreadPoolExecutor$Worker
  359. ^ 745 | run . . . in java.lang.Thread
  360. Caused by ConnectException: Connection refused: connect
  361. ->> 79 | socketConnect in java.net.DualStackPlainSocketImpl
  362. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  363. | 345 | doConnect in java.net.AbstractPlainSocketImpl
  364. | 206 | connectToAddress in ''
  365. | 188 | connect in ''
  366. | 172 | connect . in java.net.PlainSocketImpl
  367. | 392 | connect in java.net.SocksSocketImpl
  368. | 589 | connect . in java.net.Socket
  369. | 538 | connect in ''
  370. | 434 | <init> . in ''
  371. | 244 | <init> in ''
  372. | 256 | connect . in com.mysql.jdbc.StandardSocketFactory
  373. | 308 | <init> in com.mysql.jdbc.MysqlIO
  374. | 2498 | coreConnect in com.mysql.jdbc.ConnectionImpl
  375. | 2535 | connectOneTryOnly in ''
  376. | 2320 | createNewIO in ''
  377. | 834 | <init> in ''
  378. | 46 | <init> . in com.mysql.jdbc.JDBC4Connection
  379. | 411 | handleNewInstance in com.mysql.jdbc.Util
  380. | 416 | getInstance in com.mysql.jdbc.ConnectionImpl
  381. | 347 | connect in com.mysql.jdbc.NonRegisteringDriver
  382. | 266 | run . . . in java.util.concurrent.FutureTask
  383. | 1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
  384. | 617 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  385. ^ 745 | run in java.lang.Thread
  386. Error |
  387. Forked Grails VM exited with errorJava HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement