Closed Daniel22Val closed 1 year ago
sumber https://programmingsharing.com/configuring-c3p0-in-spring-boot-d05f92d96838
2023-07-05 17:15:52.686 INFO 22912 --- [g-Init-Reporter] com.mchange.v2.log.MLog : MLog clients using slf4j logging. 2023-07-05 17:15:52.766 INFO 22912 --- [ restartedMain] com.mchange.v2.c3p0.C3P0Registry : Initializing c3p0-0.9.5.5 [built 11-December-2019 22:18:33 -0800; debug? true; trace: 10] 2023-07-05 17:15:52.923 INFO 22912 --- [ restartedMain] c.m.v.c.i.AbstractPoolBackedDataSource : Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1hge0yvaxaf379fq51o15|2a9b8793, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.nle.config.c3p0.C3P0DataSourceProperties, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge0yvaxaf379fq51o15|2a9b8793, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://210.247.245.143:3308/nlebackend?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 1800, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, numHelperThreads -> 3, preferredTestQuery -> null, privilegeSpawnedThreads -> false, properties -> {password=******, user=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ] 2023-07-05 17:15:52.932 WARN 22912 --- [ restartedMain] c.m.v2.resourcepool.BasicResourcePool : Bad pool size config, start 3 < min 5. Using 5 as start. 2023-07-05 17:15:53.319 INFO 22912 --- [ restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
sumber https://programmingsharing.com/configuring-c3p0-in-spring-boot-d05f92d96838