{"action":"created","issue":{"url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/620","repository_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm","labels_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/620/labels{/name}","comments_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/620/comments","events_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/620/events","html_url":"https://github.com/ebean-orm/avaje-ebeanorm/issues/620","id":143394705,"number":620,"title":"Interrupted getting connection from pool java.lang.InterruptedException","user":{"login":"greenlaw110","id":216930,"avatar_url":"https://avatars.githubusercontent.com/u/216930?v=3","gravatar_id":"","url":"https://api.github.com/users/greenlaw110","html_url":"https://github.com/greenlaw110","followers_url":"https://api.github.com/users/greenlaw110/followers","following_url":"https://api.github.com/users/greenlaw110/following{/other_user}","gists_url":"https://api.github.com/users/greenlaw110/gists{/gist_id}","starred_url":"https://api.github.com/users/greenlaw110/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenlaw110/subscriptions","organizations_url":"https://api.github.com/users/greenlaw110/orgs","repos_url":"https://api.github.com/users/greenlaw110/repos","events_url":"https://api.github.com/users/greenlaw110/events{/privacy}","received_events_url":"https://api.github.com/users/greenlaw110/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"rbygrave","id":208973,"avatar_url":"https://avatars.githubusercontent.com/u/208973?v=3","gravatar_id":"","url":"https://api.github.com/users/rbygrave","html_url":"https://github.com/rbygrave","followers_url":"https://api.github.com/users/rbygrave/followers","following_url":"https://api.github.com/users/rbygrave/following{/other_user}","gists_url":"https://api.github.com/users/rbygrave/gists{/gist_id}","starred_url":"https://api.github.com/users/rbygrave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbygrave/subscriptions","organizations_url":"https://api.github.com/users/rbygrave/orgs","repos_url":"https://api.github.com/users/rbygrave/repos","events_url":"https://api.github.com/users/rbygrave/events{/privacy}","received_events_url":"https://api.github.com/users/rbygrave/received_events","type":"User","site_admin":false},"milestone":null,"comments":19,"created_at":"2016-03-25T00:29:36Z","updated_at":"2016-03-25T02:09:50Z","closed_at":null,"body":"Ebean version: 7.3.1\r\nEbean datasource version: 1.1.1\r\n\r\nReproduce steps:\r\n\r\n1. create an ebean server and use it, all good so far\r\n2. shutdown the ebean server with shutdownDatasource set to true\r\n3. create an new ebean server. You get the error stack:\r\n\r\n```\r\njavax.persistence.PersistenceException: java.sql.SQLException: Interrupted getting connection from pool java.lang.InterruptedException\r\n\tat com.avaje.ebeaninternal.server.core.DefaultContainer.checkDataSource(DefaultContainer.java:361)\r\n\tat com.avaje.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:102)\r\n\tat com.avaje.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:41)\r\n\tat com.avaje.ebean.EbeanServerFactory.createInternal(EbeanServerFactory.java:108)\r\n\tat com.avaje.ebean.EbeanServerFactory.create(EbeanServerFactory.java:67)\r\n\tat act.db.ebean.EbeanService$2.on(EbeanService.java:61)\r\n\tat act.event.EventBus.callOn(EventBus.java:134)\r\n\tat act.event.EventBus.callOn(EventBus.java:155)\r\n\tat act.event.EventBus.callOn(EventBus.java:171)\r\n\tat act.event.EventBus.emit(EventBus.java:189)\r\n\tat act.event.EventBus.emit(EventBus.java:180)\r\n\tat act.app.App.emit(App.java:504)\r\n\tat act.app.App.refresh(App.java:273)\r\n\tat act.app.CliSession.run(CliSession.java:90)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.sql.SQLException: Interrupted getting connection from pool java.lang.InterruptedException\r\n\tat org.avaje.datasource.pool.PooledConnectionQueue.getPooledConnection(PooledConnectionQueue.java:277)\r\n\tat org.avaje.datasource.pool.ConnectionPool.getPooledConnection(ConnectionPool.java:712)\r\n\tat org.avaje.datasource.pool.ConnectionPool.getConnection(ConnectionPool.java:700)\r\n\tat com.avaje.ebeaninternal.server.core.DefaultContainer.checkDataSource(DefaultContainer.java:351)\r\n\t... 20 more\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/comments/201108620","html_url":"https://github.com/ebean-orm/avaje-ebeanorm/issues/620#issuecomment-201108620","issue_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/620","id":201108620,"user":{"login":"greenlaw110","id":216930,"avatar_url":"https://avatars.githubusercontent.com/u/216930?v=3","gravatar_id":"","url":"https://api.github.com/users/greenlaw110","html_url":"https://github.com/greenlaw110","followers_url":"https://api.github.com/users/greenlaw110/followers","following_url":"https://api.github.com/users/greenlaw110/following{/other_user}","gists_url":"https://api.github.com/users/greenlaw110/gists{/gist_id}","starred_url":"https://api.github.com/users/greenlaw110/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenlaw110/subscriptions","organizations_url":"https://api.github.com/users/greenlaw110/orgs","repos_url":"https://api.github.com/users/greenlaw110/repos","events_url":"https://api.github.com/users/greenlaw110/events{/privacy}","received_events_url":"https://api.github.com/users/greenlaw110/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T02:09:50Z","updated_at":"2016-03-25T02:09:50Z","body":"Found this:\r\n\r\n```\r\njava.lang.InterruptedException\r\n\tat java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1220)\r\n\tat java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:335)\r\n\tat org.avaje.datasource.pool.PooledConnectionQueue._getPooledConnection(PooledConnectionQueue.java:294)\r\n\tat org.avaje.datasource.pool.PooledConnectionQueue.getPooledConnection(PooledConnectionQueue.java:271)\r\n\tat org.avaje.datasource.pool.ConnectionPool.getPooledConnection(ConnectionPool.java:712)\r\n\tat org.avaje.datasource.pool.ConnectionPool.getConnection(ConnectionPool.java:700)\r\n\tat com.avaje.ebeaninternal.server.core.DefaultContainer.checkDataSource(DefaultContainer.java:351)\r\n\tat com.avaje.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:102)\r\n\tat com.avaje.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:41)\r\n\tat com.avaje.ebean.EbeanServerFactory.createInternal(EbeanServerFactory.java:108)\r\n\tat com.avaje.ebean.EbeanServerFactory.create(EbeanServerFactory.java:67)\r\n\tat act.db.ebean.EbeanService$2.on(EbeanService.java:61)\r\n\tat act.event.EventBus.callOn(EventBus.java:134)\r\n\tat act.event.EventBus.callOn(EventBus.java:155)\r\n\tat act.event.EventBus.callOn(EventBus.java:171)\r\n\tat act.event.EventBus.emit(EventBus.java:189)\r\n\tat act.event.EventBus.emit(EventBus.java:180)\r\n\tat act.app.App.emit(App.java:504)\r\n\tat act.app.App.refresh(App.java:273)\r\n\tat act.app.CliSession.run(CliSession.java:90)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```"}}