timyates / vertx-example-jdbc-webapp

The example webapp from the vert.x examples changed to run with the mod-jdbc-persistor
3 stars 2 forks source link

Test the sample #2

Open pprados opened 9 years ago

pprados commented 9 years ago

After a git clone, I run

vertx runmod io.vertx~example-web-app~1.0

But the pool can not be initialized.

Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 5, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, au
toCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null,
connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgfbb5951dfvi310vci97|193ba4c, debugUnreturnedConnec
tionStackTraces -> false, description -> null, driverClass -> org.hsqldb.jdbcDriver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -
> false, identityToken -> 1hgfbb5951dfvi310vci97|193ba4c, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:hsqldb:mem:test?shutdow
n=true, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -
> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, numHelperThreads -> 3, preferredTestQuery -> null, properties -> {user=******, password=******
}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConn
ectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]
timyates commented 9 years ago

Is that all it says?

pprados commented 9 years ago

The exact console :

C:\Users\pprados\workspace.intellij\vertx-example-jdbc-webapp>vertx runmod io.vertx~example-web-app~1.0 Succeeded in deploying module MLog clients using java 1.4+ standard logging. Initializing c3p0-0.9.5-pre3 [built 22-May-2013 08:30:06 -0700; debug? true; trace: 10] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Static Data Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 5, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, au toCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgfbb5952dd97a8lrb8d|8afe83a, debugUnreturnedConnect ionStackTraces -> false, description -> null, driverClass -> org.hsqldb.jdbcDriver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgfbb5952dd97a8lrb8d|8afe83a, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:hsqldb:mem:test?shutdown= true, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, numHelperThreads -> 3, preferredTestQuery -> null, properties -> {user=_, password=_}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnec tionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ] Terminer le programme de commandes (O/N) ? o

C:\Users\pprados\workspace.intellij\vertx-example-jdbc-webapp>java -version java version "1.8.0_20-ea" Java(TM) SE Runtime Environment (build 1.8.0_20-ea-b05) Java HotSpot(TM) 64-Bit Server VM (build 25.20-b05, mixed mode)

Thanks

Salutations

Philippe Prados

2014-10-12 18:20 GMT+02:00 Tim Yates notifications@github.com:

Is that all it says?

— Reply to this email directly or view it on GitHub https://github.com/timyates/vertx-example-jdbc-webapp/issues/2#issuecomment-58807598 .

timyates commented 9 years ago

Looks like it initialises the pool... Can't see an error... I need to update thus project to use the later versions of the jdbc mod and the metrics mod. I'll have a look tonight if I get a chance