Open bminvincible opened 7 years ago
I followed the instructions in the README file, still the code does not run:
ava -jar traffic-engine-app.jar [main] INFO org.hibernate.annotations.common.Version - HCANN000001: Hibernate Commons Annotations {4.0.4.Final} [main] INFO org.hibernate.Version - HHH000412: Hibernate Core {4.3.4.Final} [main] INFO org.hibernate.cfg.Environment - HHH000206: hibernate.properties not found [main] INFO org.hibernate.cfg.Environment - HHH000021: Bytecode provider name : javassist [main] INFO org.hibernate.cfg.Configuration - HHH000043: Configuring from resource: /hibernate.cfg.xml [main] INFO org.hibernate.cfg.Configuration - HHH000040: Configuration resource: /hibernate.cfg.xml [main] WARN org.hibernate.internal.util.xml.DTDEntityResolver - HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide! [main] INFO org.hibernate.cfg.Configuration - HHH000041: Configured SessionFactory: null [main] INFO org.hibernate.engine.jdbc.connections.internal.ConnectionProviderInitiator - HHH000130: Instantiating explicit connection provider: org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider [main] INFO org.hibernate.c3p0.internal.C3P0ConnectionProvider - HHH010002: C3P0 using driver: org.postgresql.Driver at URL: jdbc:postgresql://ec2-52-90-88-198.compute-1.amazonaws.com/opentraffic [main] INFO org.hibernate.c3p0.internal.C3P0ConnectionProvider - HHH000046: Connection properties: {user=postgres, password=*} [main] INFO org.hibernate.c3p0.internal.C3P0ConnectionProvider - HHH000006: Autocommit mode: false Oct 18, 2016 6:59:13 PM com.mchange.v2.log.MLog INFO: MLog clients using java 1.4+ standard logging. Oct 18, 2016 6:59:13 PM com.mchange.v2.c3p0.C3P0Registry banner INFO: Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10] Oct 18, 2016 6:59:13 PM com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@65d3e97e [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@1341b0ed [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> z8kflt9j1ohqq5hcznx7f|74e52303, idleConnectionTestPeriod -> 1000, initialPoolSize -> 7, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 100, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 53, maxStatements -> 50, maxStatementsPerConnection -> 0, minPoolSize -> 7, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@83aeff4e [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> z8kflt9j1ohqq5hcznx7f|72a7c7e0, jdbcUrl -> jdbc:postgresql://ec2-52-90-88-198.compute-1.amazonaws.com/opentraffic, properties -> {user=**_, password=_*} ], preferredTestQuery -> null, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, factoryClassLocation -> null, identityToken -> z8kflt9j1ohqq5hcznx7f|294425a7, numHelperThreads -> 3 ] Oct 18, 2016 6:59:33 PM com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector run WARNING: com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@150435b8 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks! Oct 18, 2016 6:59:33 PM com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector run WARNING: com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@150435b8 -- APPARENT DEADLOCK!!! Complete Status: Managed Threads: 3 Active Threads: 3 Active Tasks: com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@5afec353 on thread: C3P0PooledConnectionPoolManager[identityToken->z8kflt9j1ohqq5hcznx7f|294425a7]-HelperThread-#0 com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@6e638441 on thread: C3P0PooledConnectionPoolManager[identityToken->z8kflt9j1ohqq5hcznx7f|294425a7]-HelperThread-#2 com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@6b6e986c on thread: C3P0PooledConnectionPoolManager[identityToken->z8kflt9j1ohqq5hcznx7f|294425a7]-HelperThread-#1 Pending Tasks: com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@161981d7 com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@3ad13c1c com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@4862f68b com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@57d0ba13 Pool thread stack traces: Thread[C3P0PooledConnectionPoolManager[identityToken->z8kflt9j1ohqq5hcznx7f|294425a7]-HelperThread-#0,5,main]
also, what should I put in the osm, cache and tiles folders? inside the osm folder, I put an .osm file, what about the others?
I followed the instructions in the README file, still the code does not run:
ava -jar traffic-engine-app.jar [main] INFO org.hibernate.annotations.common.Version - HCANN000001: Hibernate Commons Annotations {4.0.4.Final} [main] INFO org.hibernate.Version - HHH000412: Hibernate Core {4.3.4.Final} [main] INFO org.hibernate.cfg.Environment - HHH000206: hibernate.properties not found [main] INFO org.hibernate.cfg.Environment - HHH000021: Bytecode provider name : javassist [main] INFO org.hibernate.cfg.Configuration - HHH000043: Configuring from resource: /hibernate.cfg.xml [main] INFO org.hibernate.cfg.Configuration - HHH000040: Configuration resource: /hibernate.cfg.xml [main] WARN org.hibernate.internal.util.xml.DTDEntityResolver - HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide! [main] INFO org.hibernate.cfg.Configuration - HHH000041: Configured SessionFactory: null [main] INFO org.hibernate.engine.jdbc.connections.internal.ConnectionProviderInitiator - HHH000130: Instantiating explicit connection provider: org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider [main] INFO org.hibernate.c3p0.internal.C3P0ConnectionProvider - HHH010002: C3P0 using driver: org.postgresql.Driver at URL: jdbc:postgresql://ec2-52-90-88-198.compute-1.amazonaws.com/opentraffic [main] INFO org.hibernate.c3p0.internal.C3P0ConnectionProvider - HHH000046: Connection properties: {user=postgres, password=*} [main] INFO org.hibernate.c3p0.internal.C3P0ConnectionProvider - HHH000006: Autocommit mode: false Oct 18, 2016 6:59:13 PM com.mchange.v2.log.MLog
INFO: MLog clients using java 1.4+ standard logging.
Oct 18, 2016 6:59:13 PM com.mchange.v2.c3p0.C3P0Registry banner
INFO: Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10]
Oct 18, 2016 6:59:13 PM com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager
INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@65d3e97e [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@1341b0ed [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> z8kflt9j1ohqq5hcznx7f|74e52303, idleConnectionTestPeriod -> 1000, initialPoolSize -> 7, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 100, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 53, maxStatements -> 50, maxStatementsPerConnection -> 0, minPoolSize -> 7, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@83aeff4e [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> z8kflt9j1ohqq5hcznx7f|72a7c7e0, jdbcUrl -> jdbc:postgresql://ec2-52-90-88-198.compute-1.amazonaws.com/opentraffic, properties -> {user=** _, password=_*} ], preferredTestQuery -> null, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, factoryClassLocation -> null, identityToken -> z8kflt9j1ohqq5hcznx7f|294425a7, numHelperThreads -> 3 ]
Oct 18, 2016 6:59:33 PM com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector run
WARNING: com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@150435b8 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
Oct 18, 2016 6:59:33 PM com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector run
WARNING: com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@150435b8 -- APPARENT DEADLOCK!!! Complete Status:
Managed Threads: 3
Active Threads: 3
Active Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@5afec353
on thread: C3P0PooledConnectionPoolManager[identityToken->z8kflt9j1ohqq5hcznx7f|294425a7]-HelperThread-#0
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@6e638441
on thread: C3P0PooledConnectionPoolManager[identityToken->z8kflt9j1ohqq5hcznx7f|294425a7]-HelperThread-#2
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@6b6e986c
on thread: C3P0PooledConnectionPoolManager[identityToken->z8kflt9j1ohqq5hcznx7f|294425a7]-HelperThread-#1
Pending Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@161981d7
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@3ad13c1c
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@4862f68b
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@57d0ba13
Pool thread stack traces:
Thread[C3P0PooledConnectionPoolManager[identityToken->z8kflt9j1ohqq5hcznx7f|294425a7]-HelperThread-#0,5,main]
also, what should I put in the osm, cache and tiles folders? inside the osm folder, I put an .osm file, what about the others?