{"action":"closed","issue":{"url":"https://api.github.com/repos/actframework/act-ebean/issues/18","repository_url":"https://api.github.com/repos/actframework/act-ebean","labels_url":"https://api.github.com/repos/actframework/act-ebean/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/actframework/act-ebean/issues/18/comments","events_url":"https://api.github.com/repos/actframework/act-ebean/issues/18/events","html_url":"https://github.com/actframework/act-ebean/issues/18","id":367807771,"node_id":"MDU6SXNzdWUzNjc4MDc3NzE=","number":18,"title":"Error connecting to sqlserver2008","user":{"login":"wenbin151","id":1330245,"node_id":"MDQ6VXNlcjEzMzAyNDU=","avatar_url":"https://avatars2.githubusercontent.com/u/1330245?v=4","gravatar_id":"","url":"https://api.github.com/users/wenbin151","html_url":"https://github.com/wenbin151","followers_url":"https://api.github.com/users/wenbin151/followers","following_url":"https://api.github.com/users/wenbin151/following{/other_user}","gists_url":"https://api.github.com/users/wenbin151/gists{/gist_id}","starred_url":"https://api.github.com/users/wenbin151/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenbin151/subscriptions","organizations_url":"https://api.github.com/users/wenbin151/orgs","repos_url":"https://api.github.com/users/wenbin151/repos","events_url":"https://api.github.com/users/wenbin151/events{/privacy}","received_events_url":"https://api.github.com/users/wenbin151/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-08T14:07:48Z","updated_at":"2018-10-09T08:52:00Z","closed_at":"2018-10-09T08:52:00Z","author_association":"NONE","body":"Configuration:\r\n\r\n```\r\ndb.db2.impl=act.db.ebean.EbeanPlugin\r\ndb.db2.url=jdbc:sqlserver://172.168.1.110;databasename=erpdb;autoReconnect=true;selectmethod=cursor\r\ndb.db2.username=sa\r\ndb.db2.password=1234\r\ndb.db2.databasePlatformName=sqlserver17\r\n```\r\n\r\nError log:\r\n\r\n```\r\norg.osgl.exception.ConfigurationException: Error init SQL db service\r\n\tat org.osgl.util.E.invalidConfiguration(E.java:300)\r\n\tat act.db.sql.SqlDbService$1.run(SqlDbService.java:121)\r\n\tat act.db.sql.SqlDbService$1.on(SqlDbService.java:82)\r\n\tat act.event.EventBus.callOn(EventBus.java:1312)\r\n\tat act.event.EventBus.access$1400(EventBus.java:53)\r\n\tat act.event.EventBus$4.run(EventBus.java:1341)\r\n\tat act.job.JobManager$ContextualJob$1.apply(JobManager.java:460)\r\n\tat act.job.Job.doJob(Job.java:350)\r\n\tat act.job.Job.run(Job.java:287)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java)\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:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\nCaused by: javax.persistence.PersistenceException: java.lang.IllegalArgumentException: For SqlServer please explicitly choose either sqlserver16 or sqlserver17 as the platform via ServerConfig.setDatabasePlatformName. Refer to issue #1340 for more details\r\n\tat io.ebeaninternal.server.core.DatabasePlatformFactory.create(DatabasePlatformFactory.java:66)\r\n\tat io.ebeaninternal.server.core.DefaultContainer.setDatabasePlatform(DefaultContainer.java:270)\r\n\tat io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:130)\r\n\tat io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:45)\r\n\tat io.ebean.EbeanServerFactory.createInternal(EbeanServerFactory.java:109)\r\n\tat io.ebean.EbeanServerFactory.create(EbeanServerFactory.java:70)\r\n\tat act.db.ebean.EbeanService.dataSourceProvided(EbeanService.java:114)\r\n\tat act.db.sql.SqlDbService.doInitDataSource(SqlDbService.java:263)\r\n\tat act.db.sql.SqlDbService.initDataSource(SqlDbService.java:245)\r\n\tat act.db.sql.SqlDbService.access$000(SqlDbService.java:54)\r\n\tat act.db.sql.SqlDbService$1.run(SqlDbService.java:95)\r\n\t... 15 common frames omitted\r\nCaused by: java.lang.IllegalArgumentException: For SqlServer please explicitly choose either sqlserver16 or sqlserver17 as the platform via ServerConfig.setDatabasePlatformName. Refer to issue #1340 for more details\r\n\tat io.ebeaninternal.server.core.DatabasePlatformFactory.byDatabaseMeta(DatabasePlatformFactory.java:144)\r\n\tat io.ebeaninternal.server.core.DatabasePlatformFactory.byDataSource(DatabasePlatformFactory.java:123)\r\n\tat io.ebeaninternal.server.core.DatabasePlatformFactory.create(DatabasePlatformFactory.java:63)\r\n\t... 25 common frames omitted\r\n```"}}
{"actor":{"display_login":"wenbin151"}}