[info] application - Starting HikariCP connection pool...
[info] application - Creating Pool for datasource 'default'
[info] application - Loading Hikari configuration from Play configuration.
[info] application - Loading from file configured by db.default.hikaricp.file that is Some(conf/hikaricp.prod.properties)
[info] application - Loading Hikari configuration from conf/hikaricp.prod.properties
[info] application - Properties: minimumIdle=5, idleTimeout=300000, driverClassName=org.postgresql.Driver, maximumPoolSize=10, jdbcUrl=postgres://<redacted>, maxLifetime=900000
[info] application - Registering driver org.postgresql.Driver
Oops, cannot start the server.
java.lang.RuntimeException: Unable to get driver for JDBC URL postgres://<redacted>
at com.zaxxer.hikari.util.DriverDataSource.<init>(DriverDataSource.java:51)
at com.zaxxer.hikari.pool.HikariPool.initializeDataSource(HikariPool.java:523)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:137)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:102)
at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:80)
at com.edulify.play.hikaricp.HikariCPDBApi$$anonfun$1.apply(HikariCPDBApi.scala:37)
at com.edulify.play.hikaricp.HikariCPDBApi$$anonfun$1.apply(HikariCPDBApi.scala:32)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.immutable.Set$Set1.foreach(Set.scala:74)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
at scala.collection.SetLike$class.map(SetLike.scala:93)
at scala.collection.AbstractSet.map(Set.scala:47)
at com.edulify.play.hikaricp.HikariCPDBApi.<init>(HikariCPDBApi.scala:32)
at com.edulify.play.hikaricp.HikariCPPlugin.com$edulify$play$hikaricp$HikariCPPlugin$$hikariCPDBApi$lzycompute(HikariCPPlugin.scala:32)
at com.edulify.play.hikaricp.HikariCPPlugin.com$edulify$play$hikaricp$HikariCPPlugin$$hikariCPDBApi(HikariCPPlugin.scala:32)
at com.edulify.play.hikaricp.HikariCPPlugin.onStart(HikariCPPlugin.scala:38)
at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91)
at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91)
at scala.collection.immutable.List.foreach(List.scala:318)
at play.api.Play$$anonfun$start$1.apply$mcV$sp(Play.scala:91)
at play.api.Play$$anonfun$start$1.apply(Play.scala:91)
at play.api.Play$$anonfun$start$1.apply(Play.scala:91)
at play.utils.Threads$.withContextClassLoader(Threads.scala:21)
at play.api.Play$.start(Play.scala:90)
at play.core.StaticApplication.<init>(ApplicationProvider.scala:55)
at play.core.server.NettyServer$.createServer(NettyServer.scala:244)
at play.core.server.NettyServer$$anonfun$main$3.apply(NettyServer.scala:280)
at play.core.server.NettyServer$$anonfun$main$3.apply(NettyServer.scala:275)
at scala.Option.map(Option.scala:145)
at play.core.server.NettyServer$.main(NettyServer.scala:275)
at play.core.server.NettyServer.main(NettyServer.scala)
Process exited with status 255
State changed from starting to crashed
jdbcUrl=${env:DATABASE_URL}
driverClassName=org.postgresql.Driver
connectionTestQuery=SELECT 1
registerMbeans=true
# 15 minutes
maxLifetime=900000
# 5 minutes
idleTimeout=300000
maximumPoolSize=20
minimumIdle=5
Hi,
I'm using Edulify's HikariCP plugin with a Play 2.3.4 app on Heroku. The initial deploy worked fine, but once I made some changes to some view code and pushed to heroku the app fails with the following error:
If I role back to the previous version, it works correctly again.
If I roll back to the previous Heroku version, it works. The only things that have changed are a couple of view classes. All db config, app config, etc, are the same.
--
You received this message because you are subscribed to a topic in the Google Groups "play-framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/play-framework/cmUXYk14G0o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to play-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
jdbcUrl=jdbc:${env:DATABASE_URL}
It's the JDBC URL that comes from Heroku, and it works correctly in some cases. I'll try prefixing the connection string to see if that makes a difference.
On Sun, Sep 28, 2014 at 6:51 AM, Brett Wooldridge <brett.wo...@gmail.com> wrote:
Is postgres:// a valid URL for the PostgreSQL driver? The documentation seems to indicate "jdbc:postgresql:// ...
On Sunday, September 28, 2014 3:18:48 AM UTC+9, Steve Chaloner wrote:Sorry for the lack of detail!If I roll back to the previous Heroku version, it works. The only things that have changed are a couple of view classes. All db config, app config, etc, are the same.
--
You received this message because you are subscribed to a topic in the Google Groups "play-framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/play-framework/cmUXYk14G0o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to play-framework+unsubscribe@googlegroups.com.
DriverManager.getDriver(jdbcUrl)
Which is caught as a SQLException, and rethrown as a RuntimeException. It's our bad for not including the original exception in the rethrow. That is fixed in the dev branch, and might provide more information.
Brett
Changed the properties to
jdbcUrl=jdbc:${env:DATABASE_URL}
Pushed to Heroku, but the same problem again.
On Monday, 29 September 2014 07:38:37 UTC+2, Steve Chaloner wrote:
It's the JDBC URL that comes from Heroku, and it works correctly in some cases. I'll try prefixing the connection string to see if that makes a difference.
On Sun, Sep 28, 2014 at 6:51 AM, Brett Wooldridge <brett.wo...@gmail.com> wrote:
Is postgres:// a valid URL for the PostgreSQL driver? The documentation seems to indicate "jdbc:postgresql:// ...
On Sunday, September 28, 2014 3:18:48 AM UTC+9, Steve Chaloner wrote:Sorry for the lack of detail!If I roll back to the previous Heroku version, it works. The only things that have changed are a couple of view classes. All db config, app config, etc, are the same.
--
You received this message because you are subscribed to a topic in the Google Groups "play-framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/play-framework/cmUXYk14G0o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to play-framewor...@googlegroups.com.
val dbUri = new URI(System.getenv("DATABASE_URL")) |
val username = dbUri.getUserInfo.split(":")(0) |
val password = dbUri.getUserInfo.split(":")(1) |
val dbUrl = "jdbc:postgresql://" + dbUri.getHost + dbUri.getPath |
DriverManager.getConnection(dbUrl, username, password) |
200:com.edulify.play.hikaricp.HikariCPPlugin
1500:com.typesafe.plugin.CommonsMailerPlugin
10000:be.objectify.deadbolt.java.DeadboltPlugin
20000:com.fashiontonic.security.MyUserServicePlugin
20010:com.feth.play.module.pa.providers.oauth1.twitter.TwitterAuthProvider
2014-09-29T20:08:06.301412+00:00 heroku[web.1]: State changed from starting to crashed
2014-09-29T20:08:06.302058+00:00 heroku[web.1]: State changed from crashed to starting
2014-09-29T20:08:13.361587+00:00 heroku[web.1]: Starting process with command `target/universal/stage/bin/fashiontonic -Dhttp.port=${PORT} -Dplay.version=2.3.4 -Devolutionplugin=disabled -Ddb.default.driver=org.postgresql.Driver -Ddb.default.url=postgres://najredactpvg:y42Q2gho8Mr...@ec2-54-83-204-85.compute-1.amazonaws.com:5432/d3bj74a2etf0ua`
2014-09-29T20:08:14.305444+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Djava.rmi.server.useCodebaseOnly=true
2014-09-29T20:08:14.762952+00:00 app[web.1]: Play server process ID is 2
2014-09-29T20:08:15.710194+00:00 app[web.1]: [debug] play - Plugin [play.api.db.BoneCPPlugin] is disabled
2014-09-29T20:08:15.736558+00:00 app[web.1]: [debug] play - Plugin [play.api.db.evolutions.EvolutionsPlugin] is disabled
2014-09-29T20:08:16.436676+00:00 app[web.1]: [info] application - Starting HikariCP connection pool...
2014-09-29T20:08:16.441213+00:00 app[web.1]: [info] application - Creating Pool for datasource 'default'
2014-09-29T20:08:17.196515+00:00 app[web.1]: [info] application - Loading Hikari configuration from Play configuration.
2014-09-29T20:08:17.197851+00:00 app[web.1]: [info] application - Loading from file configured by db.default.hikaricp.file that is Some(conf/hikaricp.prod.properties)
2014-09-29T20:08:17.198582+00:00 app[web.1]: [info] application - Loading Hikari configuration from conf/hikaricp.prod.properties
2014-09-29T20:08:17.221339+00:00 app[web.1]: [debug] o.a.c.c.PropertiesConfiguration - FileName set to hikaricp.prod.properties
2014-09-29T20:08:17.221707+00:00 app[web.1]: [debug] o.a.c.c.PropertiesConfiguration - Base path set to /app/target/universal/stage/conf
2014-09-29T20:08:17.228411+00:00 app[web.1]: [debug] o.a.c.c.ConfigurationUtils - ConfigurationUtils.locate(): base is /app/target/universal/stage/conf, name is hikaricp.prod.properties
2014-09-29T20:08:17.228850+00:00 app[web.1]: [debug] o.a.c.c.DefaultFileSystem - Could not locate file hikaricp.prod.properties at /app/target/universal/stage/conf: no protocol: /app/target/universal/stage/conf
2014-09-29T20:08:17.229252+00:00 app[web.1]: [debug] o.a.c.c.ConfigurationUtils - Loading configuration from the path /app/target/universal/stage/conf/hikaricp.prod.properties
2014-09-29T20:08:17.275029+00:00 app[web.1]: [info] application - Properties: connectionTestQuery=SELECT 1, minimumIdle=5, idleTimeout=300000, driverClassName=org.postgresql.Driver, registerMbeans=true, maximumPoolSize=20, jdbcUrl=postgres://najiredactpvg:y42Q2redac...@ec2-54-83-204-85.compute-1.amazonaws.com:5432/d3bredact0ua, maxLifetime=900000
2014-09-29T20:08:17.285977+00:00 app[web.1]: [info] application - Registering driver org.postgresql.Driver
2014-09-29T20:08:17.289198+00:00 app[web.1]: [debug] c.z.h.HikariConfig - HikariCP pool HikariPool-0 configuration:
2014-09-29T20:08:17.295728+00:00 app[web.1]: [debug] c.z.h.HikariConfig - autoCommit......................true
2014-09-29T20:08:17.295887+00:00 app[web.1]: [debug] c.z.h.HikariConfig - catalog.........................
2014-09-29T20:08:17.296036+00:00 app[web.1]: [debug] c.z.h.HikariConfig - connectionCustomizer............com.zaxxer.hikari.HikariConfig$1@57a6a9f4
2014-09-29T20:08:17.296139+00:00 app[web.1]: [debug] c.z.h.HikariConfig - connectionCustomizerClassName...
2014-09-29T20:08:17.296281+00:00 app[web.1]: [debug] c.z.h.HikariConfig - connectionInitSql...............
2014-09-29T20:08:17.296384+00:00 app[web.1]: [debug] c.z.h.HikariConfig - connectionTestQuery.............SELECT 1
2014-09-29T20:08:17.296503+00:00 app[web.1]: [debug] c.z.h.HikariConfig - connectionTimeout...............30000
2014-09-29T20:08:17.296610+00:00 app[web.1]: [debug] c.z.h.HikariConfig - dataSource......................
2014-09-29T20:08:17.296713+00:00 app[web.1]: [debug] c.z.h.HikariConfig - dataSourceClassName.............
2014-09-29T20:08:17.296819+00:00 app[web.1]: [debug] c.z.h.HikariConfig - dataSourceJNDI..................
2014-09-29T20:08:17.29716
2014-09-29T20:08:17.297329+00:00 app[web.1]: [debug] c.z.h.HikariConfig - driverClassName.................
2014-09-29T20:08:17.297449+00:00 app[web.1]: [debug] c.z.h.HikariConfig - idleTimeout.....................300000
2014-09-29T20:08:17.297588+00:00 app[web.1]: [debug] c.z.h.HikariConfig - initializationFailFast..........false
2014-09-29T20:08:17.297725+00:00 app[web.1]: [debug] c.z.h.HikariConfig - isolateInternalQueries..........false
2014-09-29T20:08:17.297896+00:00 app[web.1]: [debug] c.z.h.HikariConfig - jdbc4ConnectionTest.............false
2014-09-29T20:08:17.298019+00:00 app[web.1]: [debug] c.z.h.HikariConfig - jdbcUrl.........................postgres://najredactpvg:y42Q2ghored...@ec2-54-83-204-85.compute-1.amazonaws.com:5432/d3bredact0ua
2014-09-29T20:08:17.298169+00:00 app[web.1]: [debug] c.z.h.HikariConfig - leakDetectionThreshold..........0
2014-09-29T20:08:17.298235+00:00 app[web.1]: [debug] c.z.h.HikariConfig - maxLifetime.....................900000
2014-09-29T20:08:17.298356+00:00 app[web.1]: [debug] c.z.h.HikariConfig - maximumPoolSize.................20
2014-09-29T20:08:17.298454+00:00 app[web.1]: [debug] c.z.h.HikariConfig - metricsTrackerClassName.........com.zaxxer.hikari.metrics.CodaHaleMetricsTracker
2014-09-29T20:08:17.298557+00:00 app[web.1]: [debug] c.z.h.HikariConfig - minimumIdle.....................5
2014-09-29T20:08:17.298661+00:00 app[web.1]: [debug] c.z.h.HikariConfig - password........................<masked>
2014-09-29T20:08:17.298770+00:00 app[web.1]: [debug] c.z.h.HikariConfig - poolName........................HikariPool-0
2014-09-29T20:08:17.298907+00:00 app[web.1]: [debug] c.z.h.HikariConfig - readOnly........................false
2014-09-29T20:08:17.299041+00:00 app[web.1]: [debug] c.z.h.HikariConfig - recordMetrics...................false
2014-09-29T20:08:17.299187+00:00 app[web.1]: [debug] c.z.h.HikariConfig - registerMbeans..................true
2014-09-29T20:08:17.299368+00:00 app[web.1]: [debug] c.z.h.HikariConfig - threadFactory...................
2014-09-29T20:08:17.299491+00:00 app[web.1]: [debug] c.z.h.HikariConfig - transactionIsolation............-1
2014-09-29T20:08:17.299597+00:00 app[web.1]: [debug] c.z.h.HikariConfig - username........................
2014-09-29T20:08:17.301725+00:00 app[web.1]: [info] c.z.h.HikariDataSource - HikariCP pool HikariPool-0 is starting.
2014-09-29T20:08:17.311135+00:00 app[web.1]: Oops, cannot start the server.
2014-09-29T20:08:17.311614+00:00 app[web.1]: java.lang.RuntimeException: Unable to get driver for JDBC URL postgres://naredactpvg:y42QredactX...@ec2-54-83-204-85.compute-1.amazonaws.com:5432/d3bredact0ua
2014-09-29T20:08:17.311823+00:00 app[web.1]: at com.zaxxer.hikari.util.DriverDataSource.<init>(DriverDataSource.java:51)
2014-09-29T20:08:17.311865+00:00 app[web.1]: at com.zaxxer.hikari.pool.HikariPool.initializeDataSource(HikariPool.java:523)
2014-09-29T20:08:17.311906+00:00 app[web.1]: at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:137)
2014-09-29T20:08:17.311947+00:00 app[web.1]: at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:102)
2014-09-29T20:08:17.312006+00:00 app[web.1]: at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:80)
2014-09-29T20:08:17.312048+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPDBApi$$anonfun$1.apply(HikariCPDBApi.scala:37)
2014-09-29T20:08:17.312089+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPDBApi$$anonfun$1.apply(HikariCPDBApi.scala:32)
2014-09-29T20:08:17.312130+00:00 app[web.1]: at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
2014-09-29T20:08:17.312170+00:00 app[web.1]: at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
2014-09-29T20:08:17.312210+00:00 app[web.1]: at scala.collection.immutable.Set$Set1.foreach(Set.scala:74)
2014-09-29T20:08:17.312250+00:00 app[web.1]: at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
2014-09-29T20:08:17.312291+00:00 app[web.1]: at scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
2014-09-29T20:08:17.312330+00:00 app[web.1]: at scala.collection.SetLike$class.map(SetLike.scala:93)
2014-09-29T20:08:17.312369+00:00 app[web.1]: at scala.collection.AbstractSet.map(Set.scala:47)
2014-09-29T20:08:17.312410+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPDBApi.<init>(HikariCPDBApi.scala:32)
2014-09-29T20:08:17.312452+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPPlugin.com$edulify$play$hikaricp$HikariCPPlugin$$hikariCPDBApi$lzycompute(HikariCPPlugin.scala:32)
2014-09-29T20:08:17.312494+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPPlugin.com$edulify$play$hikaricp$HikariCPPlugin$$hikariCPDBApi(HikariCPPlugin.scala:32)
2014-09-29T20:08:17.312534+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPPlugin.onStart(HikariCPPlugin.scala:38)
2014-09-29T20:08:17.312574+00:00 app[web.1]: at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91)
2014-09-29T20:08:17.312614+00:00 app[web.1]: at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91)
2014-09-29T20:08:17.312653+00:00 app[web.1]: at scala.collection.immutable.List.foreach(List.scala:318)
2014-09-29T20:08:17.312710+00:00 app[web.1]: at play.api.Play$$anonfun$start$1.apply$mcV$sp(Play.scala:91)
2014-09-29T20:08:17.312750+00:00 app[web.1]: at play.api.Play$$anonfun$start$1.apply(Play.scala:91)
2014-09-29T20:08:17.312802+00:00 app[web.1]: at play.api.Play$$anonfun$start$1.apply(Play.scala:91)
2014-09-29T20:08:17.312829+00:00 app[web.1]: at play.utils.Threads$.withContextClassLoader(Threads.scala:21)
2014-09-29T20:08:17.312871+00:00 app[web.1]: at play.api.Play$.start(Play.scala:90)
2014-09-29T20:08:17.312907+00:00 app[web.1]: at play.core.StaticApplication.<init>(ApplicationProvider.scala:55)
2014-09-29T20:08:17.312952+00:00 app[web.1]: at play.core.server.NettyServer$.createServer(NettyServer.scala:244)
2014-09-29T20:08:17.312990+00:00 app[web.1]: at play.core.server.NettyServer$$anonfun$main$3.apply(NettyServer.scala:280)
2014-09-29T20:08:17.313029+00:00 app[web.1]: at play.core.server.NettyServer$$anonfun$main$3.apply(NettyServer.scala:275)
2014-09-29T20:08:17.313072+00:00 app[web.1]: at scala.Option.map(Option.scala:145)
2014-09-29T20:08:17.313108+00:00 app[web.1]: at play.core.server.NettyServer$.main(NettyServer.scala:275)
2014-09-29T20:08:17.313146+00:00 app[web.1]: at play.core.server.NettyServer.main(NettyServer.scala)
2014-09-29T20:08:18.071717+00:00 heroku[web.1]: Process exited with status 255
2014-09-29T20:08:18.082197+00:00 heroku[web.1]: State changed from starting to crashed
jdbcUrl=${env:DATABASE_URL}username=XXXpassword=XXXdriverClassName=org.postgresql.Driver
registerMbeans=true# 15 minutesmaxLifetime=900000# 5 minutesidleTimeout=300000maximumPoolSize=20minimumIdle=5
2015-02-07T08:51:36.535338+00:00 app[web.1]: 08:51:36 [info] application - Loading Hikari configuration from conf/hikaricp.prod.properties2015-02-07T08:51:36.667842+00:00 app[web.1]: 08:51:36 [info] application - Registering driver org.postgresql.Driver2015-02-07T08:51:36.706186+00:00 app[web.1]: java.lang.RuntimeException: Unable to get driver for JDBC URL postgres://XXX:X...@ec2-23-21-154-37.compute-1.amazonaws.com:5432/XXX2015-02-07T08:51:36.712989+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPPlugin.com$edulify$play$hikaricp$HikariCPPlugin$$hikariCPDBApi$lzycompute(HikariCPPlugin.scala:32)2015-02-07T08:51:36.713127+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPPlugin.com$edulify$play$hikaricp$HikariCPPlugin$$hikariCPDBApi(HikariCPPlugin.scala:32)2015-02-07T08:51:36.713246+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPPlugin.onStart(HikariCPPlugin.scala:38)2015-02-07T08:51:36.713364+00:00 app[web.1]: at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91)2015-02-07T08:51:36.713485+00:00 app[web.1]: at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91)2015-02-07T08:51:36.713605+00:00 app[web.1]: at scala.collection.immutable.List.foreach(List.scala:381)2015-02-07T08:51:36.713724+00:00 app[web.1]: at play.api.Play$$anonfun$start$1.apply$mcV$sp(Play.scala:91)2015-02-07T08:51:36.713842+00:00 app[web.1]: at play.api.Play$$anonfun$start$1.apply(Play.scala:91)2015-02-07T08:51:36.713961+00:00 app[web.1]: at play.api.Play$$anonfun$start$1.apply(Play.scala:91)2015-02-07T08:51:36.714101+00:00 app[web.1]: at play.utils.Threads$.withContextClassLoader(Threads.scala:21)2015-02-07T08:51:36.718455+00:00 app[web.1]: at play.api.Play$.start(Play.scala:90)
Hi,
1. Check the end of this post for the full debug output
2. I don't have them to hand any more - will roll back to an earlier deploy on heroku and get them
3. play.plugins:
200:com.edulify.play.hikaricp.HikariCPPlugin
1500:com.typesafe.plugin.CommonsMailerPlugin
10000:be.objectify.deadbolt.java.DeadboltPlugin
20000:com.fashiontonic.security.MyUserServicePlugin
20010:com.feth.play.module.pa.providers.oauth1.twitter.TwitterAuthProvider
Heroku logs:
2014-09-29T20:08:06.301412+00:00 heroku[web.1]: State changed from starting to crashed
2014-09-29T20:08:06.302058+00:00 heroku[web.1]: State changed from crashed to starting
2014-09-29T20:08:13.361587+00:00 heroku[web.1]: Starting process with command `target/universal/stage/bin/fashiontonic -Dhttp.port=${PORT} -Dplay.version=2.3.4 -Devolutionplugin=disabled -Ddb.default.driver=org.postgresql.Driver -Ddb.default.url=postgres://najredactpvg:y42Q2gho8MredactrMfd0jz@ec2-54-83-204-85.compute-1.amazonaws.com:5432/d3bj74a2etf0ua`
2014-09-29T20:08:14.305444+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Djava.rmi.server.useCodebaseOnly=true
2014-09-29T20:08:14.762952+00:00 app[web.1]: Play server process ID is 2
2014-09-29T20:08:15.710194+00:00 app[web.1]: [debug] play - Plugin [play.api.db.BoneCPPlugin] is disabled
2014-09-29T20:08:15.736558+00:00 app[web.1]: [debug] play - Plugin [play.api.db.evolutions.EvolutionsPlugin] is disabled
2014-09-29T20:08:16.436676+00:00 app[web.1]: [info] application - Starting HikariCP connection pool...
2014-09-29T20:08:16.441213+00:00 app[web.1]: [info] application - Creating Pool for datasource 'default'
2014-09-29T20:08:17.196515+00:00 app[web.1]: [info] application - Loading Hikari configuration from Play configuration.
2014-09-29T20:08:17.197851+00:00 app[web.1]: [info] application - Loading from file configured by db.default.hikaricp.file that is Some(conf/hikaricp.prod.properties)
2014-09-29T20:08:17.198582+00:00 app[web.1]: [info] application - Loading Hikari configuration from conf/hikaricp.prod.properties
2014-09-29T20:08:17.221339+00:00 app[web.1]: [debug] o.a.c.c.PropertiesConfiguration - FileName set to hikaricp.prod.properties
2014-09-29T20:08:17.221707+00:00 app[web.1]: [debug] o.a.c.c.PropertiesConfiguration - Base path set to /app/target/universal/stage/conf
2014-09-29T20:08:17.228411+00:00 app[web.1]: [debug] o.a.c.c.ConfigurationUtils - ConfigurationUtils.locate(): base is /app/target/universal/stage/conf, name is hikaricp.prod.properties
2014-09-29T20:08:17.228850+00:00 app[web.1]: [debug] o.a.c.c.DefaultFileSystem - Could not locate file hikaricp.prod.properties at /app/target/universal/stage/conf: no protocol: /app/target/universal/stage/conf
2014-09-29T20:08:17.229252+00:00 app[web.1]: [debug] o.a.c.c.ConfigurationUtils - Loading configuration from the path /app/target/universal/stage/conf/hikaricp.prod.properties
2014-09-29T20:08:17.275029+00:00 app[web.1]: [info] application - Properties: connectionTestQuery=SELECT 1, minimumIdle=5, idleTimeout=300000, driverClassName=org.postgresql.Driver, registerMbeans=true, maximumPoolSize=20, jdbcUrl=postgres://najiredactpvg:y42Q2redactN4mrMfd0jz@ec2-54-83-204-85.compute-1.amazonaws.com:5432/d3bredact0ua, maxLifetime=900000
2014-09-29T20:08:17.285977+00:00 app[web.1]: [info] application - Registering driver org.postgresql.Driver
2014-09-29T20:08:17.289198+00:00 app[web.1]: [debug] c.z.h.HikariConfig - HikariCP pool HikariPool-0 configuration:
2014-09-29T20:08:17.295728+00:00 app[web.1]: [debug] c.z.h.HikariConfig - autoCommit......................true
2014-09-29T20:08:17.295887+00:00 app[web.1]: [debug] c.z.h.HikariConfig - catalog.........................
2014-09-29T20:08:17.296036+00:00 app[web.1]: [debug] c.z.h.HikariConfig - connectionCustomizer............com.zaxxer.hikari.HikariConfig$1@57a6a9f4
2014-09-29T20:08:17.296139+00:00 app[web.1]: [debug] c.z.h.HikariConfig - connectionCustomizerClassName...
2014-09-29T20:08:17.296281+00:00 app[web.1]: [debug] c.z.h.HikariConfig - connectionInitSql...............
2014-09-29T20:08:17.296384+00:00 app[web.1]: [debug] c.z.h.HikariConfig - connectionTestQuery.............SELECT 1
2014-09-29T20:08:17.296503+00:00 app[web.1]: [debug] c.z.h.HikariConfig - connectionTimeout...............30000
2014-09-29T20:08:17.296610+00:00 app[web.1]: [debug] c.z.h.HikariConfig - dataSource......................
2014-09-29T20:08:17.296713+00:00 app[web.1]: [debug] c.z.h.HikariConfig - dataSourceClassName.............
2014-09-29T20:08:17.296819+00:00 app[web.1]: [debug] c.z.h.HikariConfig - dataSourceJNDI..................
2014-09-29T20:08:17.29716
2014-09-29T20:08:17.297329+00:00 app[web.1]: [debug] c.z.h.HikariConfig - driverClassName.................
2014-09-29T20:08:17.297449+00:00 app[web.1]: [debug] c.z.h.HikariConfig - idleTimeout.....................300000
2014-09-29T20:08:17.297588+00:00 app[web.1]: [debug] c.z.h.HikariConfig - initializationFailFast..........false
2014-09-29T20:08:17.297725+00:00 app[web.1]: [debug] c.z.h.HikariConfig - isolateInternalQueries..........false
2014-09-29T20:08:17.297896+00:00 app[web.1]: [debug] c.z.h.HikariConfig - jdbc4ConnectionTest.............false
2014-09-29T20:08:17.298019+00:00 app[web.1]: [debug] c.z.h.HikariConfig - jdbcUrl.........................postgres://najredactpvg:y42Q2ghoredact4mrMfd0jz@ec2-54-83-204-85.compute-1.amazonaws.com:5432/d3bredact0ua
2014-09-29T20:08:17.298169+00:00 app[web.1]: [debug] c.z.h.HikariConfig - leakDetectionThreshold..........0
2014-09-29T20:08:17.298235+00:00 app[web.1]: [debug] c.z.h.HikariConfig - maxLifetime.....................900000
2014-09-29T20:08:17.298356+00:00 app[web.1]: [debug] c.z.h.HikariConfig - maximumPoolSize.................20
2014-09-29T20:08:17.298454+00:00 app[web.1]: [debug] c.z.h.HikariConfig - metricsTrackerClassName.........com.zaxxer.hikari.metrics.CodaHaleMetricsTracker
2014-09-29T20:08:17.298557+00:00 app[web.1]: [debug] c.z.h.HikariConfig - minimumIdle.....................5
2014-09-29T20:08:17.298661+00:00 app[web.1]: [debug] c.z.h.HikariConfig - password........................<masked>
2014-09-29T20:08:17.298770+00:00 app[web.1]: [debug] c.z.h.HikariConfig - poolName........................HikariPool-0
2014-09-29T20:08:17.298907+00:00 app[web.1]: [debug] c.z.h.HikariConfig - readOnly........................false
2014-09-29T20:08:17.299041+00:00 app[web.1]: [debug] c.z.h.HikariConfig - recordMetrics...................false
2014-09-29T20:08:17.299187+00:00 app[web.1]: [debug] c.z.h.HikariConfig - registerMbeans..................true
2014-09-29T20:08:17.299368+00:00 app[web.1]: [debug] c.z.h.HikariConfig - threadFactory...................
2014-09-29T20:08:17.299491+00:00 app[web.1]: [debug] c.z.h.HikariConfig - transactionIsolation............-1
2014-09-29T20:08:17.299597+00:00 app[web.1]: [debug] c.z.h.HikariConfig - username........................
2014-09-29T20:08:17.301725+00:00 app[web.1]: [info] c.z.h.HikariDataSource - HikariCP pool HikariPool-0 is starting.
2014-09-29T20:08:17.311135+00:00 app[web.1]: Oops, cannot start the server.
2014-09-29T20:08:17.311614+00:00 app[web.1]: java.lang.RuntimeException: Unable to get driver for JDBC URL postgres://naredactpvg:y42QredactXjN4mrMfd0jz@ec2-54-83-204-85.compute-1.amazonaws.com:5432/d3bredact0ua
Steve, did you ever manage to solve this on Heroku? I'm running into the same error message.All that's in my configuration is:
jdbcUrl=${env:DATABASE_URL}username=XXXpassword=XXXdriverClassName=org.postgresql.DriverregisterMbeans=true# 15 minutesmaxLifetime=900000# 5 minutesidleTimeout=300000maximumPoolSize=20minimumIdle=5Heroku log output:
2015-02-07T08:51:36.535338+00:00 app[web.1]: 08:51:36 [info] application - Loading Hikari configuration from conf/hikaricp.prod.properties2015-02-07T08:51:36.667842+00:00 app[web.1]: 08:51:36 [info] application - Registering driver org.postgresql.Driver
2015-02-07T08:51:36.706186+00:00 app[web.1]: java.lang.RuntimeException: Unable to get driver for JDBC URL postgres://XXX:XXX@ec2-23-21-154-37.compute-1.amazonaws.com:5432/XXX
...
...
val dbUri = new URI(System.getenv("DATABASE_URL")) |
val username = dbUri.getUserInfo.split(":")(0) |
val password = dbUri.getUserInfo.split(":")(1) |
val dbUrl = "jdbc:postgresql://" + dbUri.getHost + dbUri.getPath |
DriverManager.getConnection(dbUrl, username, password) |
...
2015-02-07T08:51:36.706186+00:00 app[web.1]: java.lang.RuntimeException: Unable to get driver for JDBC URL postgres://XXX:X...@ec2-23-21-154-37.compute-1.amazonaws.com:5432/XXX
2015-02-07T08:51:36.712989+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPPlugin.com$edulify$play$hikaricp$HikariCPPlugin$$hikariCPDBApi$lzycompute(HikariCPPlugin.scala:32)2015-02-07T08:51:36.713127+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPPlugin.com$edulify$play$hikaricp$HikariCPPlugin$$hikariCPDBApi(HikariCPPlugin.scala:32)2015-02-07T08:51:36.713246+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPPlugin.onStart(HikariCPPlugin.scala:38)2015-02-07T08:51:36.713364+00:00 app[web.1]: at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91)2015-02-07T08:51:36.713485+00:00 app[web.1]: at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91)2015-02-07T08:51:36.713605+00:00 app[web.1]: at scala.collection.immutable.List.foreach(List.scala:381)2015-02-07T08:51:36.713724+00:00 app[web.1]: at play.api.Play$$anonfun$start$1.apply$mcV$sp(Play.scala:91)2015-02-07T08:51:36.713842+00:00 app[web.1]: at play.api.Play$$anonfun$start$1.apply(Play.scala:91)2015-02-07T08:51:36.713961+00:00 app[web.1]: at play.api.Play$$anonfun$start$1.apply(Play.scala:91)2015-02-07T08:51:36.714101+00:00 app[web.1]: at play.utils.Threads$.withContextClassLoader(Threads.scala:21)2015-02-07T08:51:36.718455+00:00 app[web.1]: at play.api.Play$.start(Play.scala:90)
Den måndag 29 september 2014 kl. 22:31:05 UTC+2 skrev Steve Chaloner:
Hi,
1. Check the end of this post for the full debug output
2. I don't have them to hand any more - will roll back to an earlier deploy on heroku and get them
3. play.plugins:
200:com.edulify.play.hikaricp.HikariCPPlugin
1500:com.typesafe.plugin.CommonsMailerPlugin
10000:be.objectify.deadbolt.java.DeadboltPlugin
20000:com.fashiontonic.security.MyUserServicePlugin
20010:com.feth.play.module.pa.providers.oauth1.twitter.TwitterAuthProvider
Heroku logs:
2014-09-29T20:08:06.301412+00:00 heroku[web.1]: State changed from starting to crashed
2014-09-29T20:08:06.302058+00:00 heroku[web.1]: State changed from crashed to starting
2014-09-29T20:08:13.361587+00:00 heroku[web.1]: Starting process with command `target/universal/stage/bin/fashiontonic -Dhttp.port=${PORT} -Dplay.version=2.3.4 -Devolutionplugin=disabled -Ddb.default.driver=org.postgresql.Driver -Ddb.default.url=postgres://najredactpvg:y42Q2gho8Mr...@ec2-54-83-204-85.compute-1.amazonaws.com:5432/d3bj74a2etf0ua`
2014-09-29T20:08:14.305444+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Djava.rmi.server.useCodebaseOnly=true
2014-09-29T20:08:14.762952+00:00 app[web.1]: Play server process ID is 2
2014-09-29T20:08:15.710194+00:00 app[web.1]: [debug] play - Plugin [play.api.db.BoneCPPlugin] is disabled
2014-09-29T20:08:15.736558+00:00 app[web.1]: [debug] play - Plugin [play.api.db.evolutions.EvolutionsPlugin] is disabled
2014-09-29T20:08:16.436676+00:00 app[web.1]: [info] application - Starting HikariCP connection pool...
2014-09-29T20:08:16.441213+00:00 app[web.1]: [info] application - Creating Pool for datasource 'default'
2014-09-29T20:08:17.196515+00:00 app[web.1]: [info] application - Loading Hikari configuration from Play configuration.
2014-09-29T20:08:17.197851+00:00 app[web.1]: [info] application - Loading from file configured by db.default.hikaricp.file that is Some(conf/hikaricp.prod.properties)
2014-09-29T20:08:17.198582+00:00 app[web.1]: [info] application - Loading Hikari configuration from conf/hikaricp.prod.properties
2014-09-29T20:08:17.221339+00:00 app[web.1]: [debug] o.a.c.c.PropertiesConfiguration - FileName set to hikaricp.prod.properties
2014-09-29T20:08:17.221707+00:00 app[web.1]: [debug] o.a.c.c.PropertiesConfiguration - Base path set to /app/target/universal/stage/conf
2014-09-29T20:08:17.228411+00:00 app[web.1]: [debug] o.a.c.c.ConfigurationUtils - ConfigurationUtils.locate(): base is /app/target/universal/stage/conf, name is hikaricp.prod.properties
2014-09-29T20:08:17.228850+00:00 app[web.1]: [debug] o.a.c.c.DefaultFileSystem - Could not locate file hikaricp.prod.properties at /app/target/universal/stage/conf: no protocol: /app/target/universal/stage/conf
2014-09-29T20:08:17.229252+00:00 app[web.1]: [debug] o.a.c.c.ConfigurationUtils - Loading configuration from the path /app/target/universal/stage/conf/hikaricp.prod.properties
2014-09-29T20:08:17.275029+00:00 app[web.1]: [info] application - Properties: connectionTestQuery=SELECT 1, minimumIdle=5, idleTimeout=300000, driverClassName=org.postgresql.Driver, registerMbeans=true, maximumPoolSize=20, jdbcUrl=postgres://najiredactpvg:y42Q2redac...@ec2-54-83-204-85.compute-1.amazonaws.com:5432/d3bredact0ua, maxLifetime=900000
2014-09-29T20:08:17.285977+00:00 app[web.1]: [info] application - Registering driver org.postgresql.Driver
2014-09-29T20:08:17.289198+00:00 app[web.1]: [debug] c.z.h.HikariConfig - HikariCP pool HikariPool-0 configuration:
2014-09
--...
2015-02-07T08:51:36.706186+00:00 app[web.1]: java.lang.RuntimeException: Unable to get driver for JDBC URL postgres://XXX:XXX@ec2-23-21-154-37.compute-1.amazonaws.com:5432/XXX
2015-02-07T08:51:36.712989+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPPlugin.com$edulify$play$hikaricp$HikariCPPlugin$$hikariCPDBApi$lzycompute(HikariCPPlugin.scala:32)2015-02-07T08:51:36.713127+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPPlugin.com$edulify$play$hikaricp$HikariCPPlugin$$hikariCPDBApi(HikariCPPlugin.scala:32)2015-02-07T08:51:36.713246+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPPlugin.onStart(HikariCPPlugin.scala:38)2015-02-07T08:51:36.713364+00:00 app[web.1]: at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91)2015-02-07T08:51:36.713485+00:00 app[web.1]: at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91)2015-02-07T08:51:36.713605+00:00 app[web.1]: at scala.collection.immutable.List.foreach(List.scala:381)2015-02-07T08:51:36.713724+00:00 app[web.1]: at play.api.Play$$anonfun$start$1.apply$mcV$sp(Play.scala:91)2015-02-07T08:51:36.713842+00:00 app[web.1]: at play.api.Play$$anonfun$start$1.apply(Play.scala:91)2015-02-07T08:51:36.713961+00:00 app[web.1]: at play.api.Play$$anonfun$start$1.apply(Play.scala:91)2015-02-07T08:51:36.714101+00:00 app[web.1]: at play.utils.Threads$.withContextClassLoader(Threads.scala:21)2015-02-07T08:51:36.718455+00:00 app[web.1]: at play.api.Play$.start(Play.scala:90)
Den måndag 29 september 2014 kl. 22:31:05 UTC+2 skrev Steve Chaloner:
Hi,
1. Check the end of this post for the full debug output
2. I don't have them to hand any more - will roll back to an earlier deploy on heroku and get them
3. play.plugins:
200:com.edulify.play.hikaricp.HikariCPPlugin
1500:com.typesafe.plugin.CommonsMailerPlugin
10000:be.objectify.deadbolt.java.DeadboltPlugin
20000:com.fashiontonic.security.MyUserServicePlugin
20010:com.feth.play.module.pa.providers.oauth1.twitter.TwitterAuthProvider
Heroku logs:
2014-09-29T20:08:06.301412+00:00 heroku[web.1]: State changed from starting to crashed
2014-09-29T20:08:06.302058+00:00 heroku[web.1]: State changed from crashed to starting
2014-09-29T20:08:13.361587+00:00 heroku[web.1]: Starting process with command `target/universal/stage/bin/fashiontonic -Dhttp.port=${PORT} -Dplay.version=2.3.4 -Devolutionplugin=disabled -Ddb.default.driver=org.postgresql.Driver -Ddb.default.url=postgres://najredactpvg:y42Q2gho8MredactrMfd0jz@ec2-54-83-204-85.compute-1.amazonaws.com:5432/d3bj74a2etf0ua`
2014-09-29T20:08:14.305444+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Djava.rmi.server.useCodebaseOnly=true
2014-09-29T20:08:14.762952+00:00 app[web.1]: Play server process ID is 2
2014-09-29T20:08:15.710194+00:00 app[web.1]: [debug] play - Plugin [play.api.db.BoneCPPlugin] is disabled
2014-09-29T20:08:15.736558+00:00 app[web.1]: [debug] play - Plugin [play.api.db.evolutions.EvolutionsPlugin] is disabled
2014-09-29T20:08:16.436676+00:00 app[web.1]: [info] application - Starting HikariCP connection pool...
2014-09-29T20:08:16.441213+00:00 app[web.1]: [info] application - Creating Pool for datasource 'default'
2014-09-29T20:08:17.196515+00:00 app[web.1]: [info] application - Loading Hikari configuration from Play configuration.
2014-09-29T20:08:17.197851+00:00 app[web.1]: [info] application - Loading from file configured by db.default.hikaricp.file that is Some(conf/hikaricp.prod.properties)
2014-09-29T20:08:17.198582+00:00 app[web.1]: [info] application - Loading Hikari configuration from conf/hikaricp.prod.properties
2014-09-29T20:08:17.221339+00:00 app[web.1]: [debug] o.a.c.c.PropertiesConfiguration - FileName set to hikaricp.prod.properties
2014-09-29T20:08:17.221707+00:00 app[web.1]: [debug] o.a.c.c.PropertiesConfiguration - Base path set to /app/target/universal/stage/conf
2014-09-29T20:08:17.228411+00:00 app[web.1]: [debug] o.a.c.c.ConfigurationUtils - ConfigurationUtils.locate(): base is /app/target/universal/stage/conf, name is hikaricp.prod.properties
2014-09-29T20:08:17.228850+00:00 app[web.1]: [debug] o.a.c.c.DefaultFileSystem - Could not locate file hikaricp.prod.properties at /app/target/universal/stage/conf: no protocol: /app/target/universal/stage/conf
2014-09-29T20:08:17.229252+00:00 app[web.1]: [debug] o.a.c.c.ConfigurationUtils - Loading configuration from the path /app/target/universal/stage/conf/hikaricp.prod.properties
2014-09-29T20:08:17.275029+00:00 app[web.1]: [info] application - Properties: connectionTestQuery=SELECT 1, minimumIdle=5, idleTimeout=300000, driverClassName=org.postgresql.Driver, registerMbeans=true, maximumPoolSize=20, jdbcUrl=postgres://najiredactpvg:y42Q2redactN4mrMfd0jz@ec2-54-83-204-85.compute-1.amazonaws.com:5432/d3bredact0ua, maxLifetime=900000
2014-09-29T20:08:17.285977+00:00 app[web.1]: [info] application - Registering driver org.postgresql.Driver
2014-09-29T20:08:17.289198+00:00 app[web.1]: [debug] c.z.h.HikariConfig - HikariCP pool HikariPool-0 configuration:
2014-09
...
--
You received this message because you are subscribed to a topic in the Google Groups "play-framewor
...
DATABASE_URL: jdbc:postgresql://ec2-50-16-190-77.compute-1.amazonaws.com:5432/db1mgpaienncui
evolutionplugin = disabled
dbplugin=disabled
ebean.default="models.data.*, models.listener.*"
db.default.driver=org.postgresql.Driver
db.default.url=${?DATABASE_URL}
db.default.user=${?DATABASE_USER}
db.default.password=${?DATABASE_PASS}
"org.postgresql" % "postgresql" % "9.3-1102-jdbc41"
props.setProperty("dataSource.logWriter", new PrintWriter(System.out)); HikariConfig config = new HikariConfig(props); HikariDataSource ds = new HikariDataSource(config);
Log Statement Text / Slow Query Logging
Like Statement caching, most major database vendors support statement logging through properties of their own driver. This includes Oracle, MySQL, Derby, MSSQL, and others. Some even support slow query logging. We consider this a "development-time" feature. For those few databases that do not support it, jdbcdslog-exp is a good option. Great stuff during development and pre-Production.
2015-02-07T08:51:36.706186+00:00 app[web.1]: java.lang.RuntimeException: Unable to get driver for JDBC URL postgres://XXX:XXX@ec2-23-21-154-37.compute-1.amazonaws.com:5432/XXX
2015-02-07T08:51:36.712989+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPPlugin.com$edulify$play$hikaricp$HikariCPPlugin$$hikariCPDBApi$lzycompute(HikariCPPlugin.scala:32)2015-02-07T08:51:36.713127+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPPlugin.com$edulify$play$hikaricp$HikariCPPlugin$$hikariCPDBApi(HikariCPPlugin.scala:32)2015-02-07T08:51:36.713246+00:00 app[web.1]: at com.edulify.play.hikaricp.HikariCPPlugin.onStart(HikariCPPlugin.scala:38)2015-02-07T08:51:36.713364+00:00 app[web.1]: at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91)2015-02-07T08:51:36.713485+00:00 app[web.1]: at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91)2015-02-07T08:51:36.713605+00:00 app[web.1]: at scala.collection.immutable.List.foreach(List.scala:381)2015-02-07T08:51:36.713724+00:00 app[web.1]: at play.api.Play$$anonfun$start$1.apply$mcV$sp(Play.scala:91)2015-02-07T08:51:36.713842+00:00 app[web.1]: at play.api.Play$$anonfun$start$1.apply(Play.scala:91)2015-02-07T08:51:36.713961+00:00 app[web.1]: at play.api.Play$$anonfun$start$1.apply(Play.scala:91)2015-02-07T08:51:36.714101+00:00 app[web.1]: at play.utils.Threads$.withContextClassLoader(Threads.scala:21)2015-02-07T08:51:36.718455+00:00 app[web.1]: at play.api.Play$.start(Play.scala:90)
Den måndag 29 september 2014 kl. 22:31:05 UTC+2 skrev Steve Chaloner:
Hi,
1. Check the end of this post for the full debug output
2. I don't have them to hand any more - will roll back to an earlier deploy on heroku and get them
3. play.plugins:
200:com.edulify.play.hikaricp.HikariCPPlugin
1500:com.typesafe.plugin.CommonsMailerPlugin
10000:be.objectify.deadbolt.java.DeadboltPlugin
20000:com.fashiontonic.security.MyUserServicePlugin
20010:com.feth.play.module.pa.providers.oauth1.twitter.TwitterAuthProvider
Heroku logs:
2014-09-29T20:08:06.301412+00:00 heroku[web.1]: State changed from starting to crashed
2014-09-29T20:08:06.302058+00:00 heroku[web.1]: State changed from crashed to starting
2014-09-29T20:08:13.361587+00:00 heroku[web.1]: Starting process with command `target/universal/stage/bin/fashiontonic -Dhttp.port=${PORT} -Dplay.version=2.3.4 -Devolutionplugin=disabled -Ddb.default.driver=org.postgresql.Driver -Ddb.default.url=postgres://najredactpvg:y42Q2gho8MredactrMfd0jz@ec2-54-83-204-85.compute-1.amazonaws.com:5432/d3bj74a2etf0ua`
2014-09-29T20:08:14.305444+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Djava.rmi.server.useCodebaseOnly=true
2014-09-29T20:08:14.762952+00:00 app[web.1]: Play server process ID is 2
2014-09-29T20:08:15.710194+00:00 app[web.1]: [debug] play - Plugin [play.api.db.BoneCPPlugin] is disabled
2014-09-29T20:08:15.736558+00:00 app[web.1]: [debug] play - Plugin [play.api.db.evolutions.EvolutionsPlugin] is disabled
2014-09-29T20:08:16.436676+00:00 app[web.1]: [info] application - Starting HikariCP connection pool...
2014-09-29T20:08:16.441213+00:00 app[web.1]: [info] application - Creating Pool for datasource 'default'
2014-09-29T20:08:17.196515+00:00 app[web.1]: [info] application - Loading Hikari configuration from Play configuration.
2014-09-29T20:08:17.197851+00:00 app[web.1]: [info] application - Loading from file configured by db.default.hikaricp.file that is Some(conf/hikaricp.prod.properties)
2014-09-29T20:08:17.198582+00:00 app[web.1]: [info] application - Loading Hikari configuration from conf/hikaricp.prod.properties
2014-09-29T20:08:17.221339+00:00 app[web.1]: [debug] o.a.c.c.PropertiesConfiguration - FileName set to hikaricp.prod.properties
2014-09-29T20:08:17.221707+00:00 app[web.1]: [debug] o.a.c.c.PropertiesConfiguration - Base path set to /app/target/universal/stage/conf
2014-09-29T20:08:17.228411+00:00 app[web.1]: [debug] o.a.c.c.ConfigurationUtils - ConfigurationUtils.locate(): base is /app/target/universal/stage/conf, name is hikaricp.prod.properties
2014-09-29T20:08:17.228850+00:00 app[web.1]: [debug] o.a.c.c.DefaultFileSystem - Could not locate file hikaricp.prod.properties at /app/target/universal/stage/conf: no protocol: /app/target/universal/stage/conf
2014-09-29T20:08:17.229252+00:00 app[web.1]: [debug] o.a.c.c.ConfigurationUtils - Loading configuration from the path /app/target/universal/stage/conf/hikaricp.prod.properties
2014-09-29T20:08:17.275029+00:00 app[web.1]: [info] application - Properties: connectionTestQuery=SELECT 1, minimumIdle=5, idleTimeout=300000, driverClassName=org.postgresql.Driver, registerMbeans=true, maximumPoolSize=20, jdbcUrl=postgres://najiredactpvg:y42Q2redactN4mrMfd0jz@ec2-54-83-204-85.compute-1.amazonaws.com:5432/d3bredact0ua, maxLifetime=900000
2014-09-29T20:08:17.285977+00:00 app[web.1]: [info] application - Registering driver org.postgresql.Driver
2014-09-29T20:08:17.289198+00:00 app[web.1]: [debug] c.z.h.HikariConfig - HikariCP pool HikariPool-0 configuration:
2014-09
...
--
You received this message because you are subscribed to a topic in the Google Groups "play-framewor
...