WEB-INF\lib\servlet-api.jar

The Tomcat Libs are getting into your web-app.... they must not.

When you make a servlet, you will see that it adds a folder to your libs Tomcat5.5 or whatever. Its special, because it allows you do write code and debug, but it actually never puts them into the web/libs. Its kinda like, the servlet app just borrows a piece of Tomcat, so you can write your code.

I think whats happened is somewhere, you may have deleted that special folder and then, it complained, and you added the class in.
But now Tomcat is effectively trying to load itself from your web app....

You need to take those libs out of your lib, and I have no idea how, but I think if you just swap from say the external tomcat to the internal tomcat, in right click->properties->run.... it may put that special folder back.

Anyway when you get that many errors, good new its normally a stupid little thing ;) .... I think


----- Original Message ----- From: "Soumya" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Thursday, June 21, 2007 8:38 AM
Subject: Error while starting the Tomcat



Hi all,
I get the following error message when i try to start the Tomcat.
Due to which i cannot run my application
My application includes struts , hibernate and Tomcat 6 as the application
server
Please help me out in fixing this issue


Jun 20, 2007 11:54:39 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: D:\My
Eclipse 5.5\bin;E:\Program Files\Apache Software Foundation\Tomcat 6.0\bin
Jun 20, 2007 11:54:39 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 20, 2007 11:54:39 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3409 ms
Jun 20, 2007 11:54:40 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 20, 2007 11:54:40 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
Jun 20, 2007 11:54:40 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive srs.war
Jun 20, 2007 11:54:56 PM org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO: validateJarFile(E:\Program Files\Apache Software Foundation\Tomcat
6.0\webapps\srs\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet
Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
log4j:WARN No such property [maxFileSize] in
org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxBackupIndex] in
org.apache.log4j.DailyRollingFileAppender.
Initializing filter...
Obtaining SessionFactory from static HibernateUtil singleton
[SRS] INFO [main] Environment.<clinit>(479) | Hibernate 3.1.3
[SRS] INFO [main] Environment.<clinit>(509) | hibernate.properties not found
[SRS] INFO [main] Environment.<clinit>(525) | using CGLIB reflection
optimizer
[SRS] INFO [main] Environment.<clinit>(555) | using JDK 1.4
java.sql.Timestamp handling
[SRS] INFO [main] Configuration.configure(1308) | configuring from resource:
/ca/systemarchitects/srs/HibernateSession/hibernate.cfg.xml
[SRS] INFO [main] Configuration.getConfigurationInputStream(1285) |
Configuration resource:
/ca/systemarchitects/srs/HibernateSession/hibernate.cfg.xml
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/Faculties.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.Faculties -> faculties
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/Programs.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.Programs -> programs
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/ProgramNotes.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.ProgramNotes -> program_notes
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/ProgramFiles.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.ProgramFiles -> program_files
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/GradeScale.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.GradeScale -> grade_scale
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/Exams.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.Exams -> exams
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/ExamFees.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.ExamFees -> exam_fees
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/ExamFiles.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.ExamFiles -> exam_files
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/ExamNotes.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.ExamNotes -> exam_notes
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/Semesters.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.Semesters -> semesters
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/Locations.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.Locations -> locations
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/LocationTypes.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.LocationTypes ->
location_types
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/LocationCompensation.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.LocationCompensation ->
location_compensation
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/ProspectiveStudents.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.ProspectiveStudents ->
prospective_students
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/Salutations.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.Salutations -> salutations
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/ProspectiveStudentNotes.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.ProspectiveStudentNotes ->
prospective_student_notes
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/CountryCodes.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.CountryCodes -> country_codes
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/StateCodes.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.StateCodes -> state_codes
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/Users.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.Users -> users
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/LeadSource.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.LeadSource -> lead_source
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/UsersLocationsXref.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.UsersLocationsXref ->
users_locations_xref
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/UsersModuleXref.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.UsersModuleXref ->
users_module_xref
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/Modules.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.Modules -> modules
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/ProgramFees.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.ProgramFees -> program_fees
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/Courses.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.Courses -> courses
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/CourseType.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.CourseType -> course_type
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/Example.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.Example -> example
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/CourseNotes.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.CourseNotes -> course_notes
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/CourseFiles.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.CourseFiles -> course_files
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/CourseFees.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.CourseFees -> course_fees
[SRS] INFO [main] Configuration.addResource(469) | Reading mappings from
resource: ca/systemarchitects/srs/entity/Students.hbm.xml
[SRS] INFO [main] HbmBinder.bindRootPersistentClassCommonValues(309) |
Mapping class: ca.systemarchitects.srs.entity.Students -> students
[SRS] INFO [main] Configuration.doConfigure(1419) | Configured
SessionFactory: null
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.Faculties.programses -> programs
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.Programs.programNoteses ->
program_notes
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.Programs.programFileses ->
program_files
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.GradeScale.examses -> exams
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.Exams.examNoteses -> exam_notes
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.Exams.examFeeses -> exam_fees
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.Exams.examFileses -> exam_files
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.Locations.usersLocationsXrefs ->
users_locations_xref
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.LocationTypes.locationses ->
locations
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.LocationCompensation.locationses
-> locations
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection:
ca.systemarchitects.srs.entity.ProspectiveStudents.prospectiveStudentNoteses
-> prospective_student_notes
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.Salutations.prospectiveStudentses
-> prospective_students
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection:
ca.systemarchitects.srs.entity.CountryCodes.prospectiveStudentses ->
prospective_students
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.StateCodes.prospectiveStudentses
-> prospective_students
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.Users.prospectiveStudentNoteses
-> prospective_student_notes
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.Users.prospectiveStudentses ->
prospective_students
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.Users.usersLocationsXrefs ->
users_locations_xref
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.Users.usersModuleXrefs ->
users_module_xref
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.LeadSource.prospectiveStudentses
-> prospective_students
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.Modules.usersModuleXrefs ->
users_module_xref
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.Courses.courseNoteses ->
course_notes
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.Courses.courseFileses ->
course_files
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.Courses.courseFeeses ->
course_fees
[SRS] INFO [main] HbmBinder.bindCollectionSecondPass(2349) | Mapping
collection: ca.systemarchitects.srs.entity.CourseType.courseses -> courses
[SRS] INFO [main] C3P0ConnectionProvider.configure(50) | C3P0 using driver:
com.mysql.jdbc.Driver at URL: jdbc:mysql://192.168.182.55:3306/srs
[SRS] INFO [main] C3P0ConnectionProvider.configure(51) | Connection
properties: {user=Axxonet1, password=****}
[SRS] INFO [main] C3P0ConnectionProvider.configure(54) | autocommit mode:
false
[SRS] INFO [main] MLog.<clinit>(80) | MLog clients using log4j logging.
[SRS] INFO [main] C3P0Registry.banner(204) | Initializing c3p0-0.9.1.1
[built 15-March-2007 01:32:31; debug? true; trace: 10]
[SRS] INFO [main] AbstractPoolBackedDataSource.getPoolManager(462) |
Initializing c3p0 pool... [EMAIL PROTECTED]
[ connectionPoolDataSource ->
[EMAIL PROTECTED] [
acquireIncrement -> 2, 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 ->
1hgf0y27nldrkan1nedbwr|109dcbb, idleConnectionTestPeriod -> 100,
initialPoolSize -> 4, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0,
maxIdleTime -> 500, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 12,
maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 4,
nestedDataSource -> [EMAIL PROTECTED] [
description -> null, driverClass -> null, factoryClassLocation -> null,
identityToken -> 1hgf0y27nldrkan1nedbwr|f1f34a, jdbcUrl ->
jdbc:mysql://192.168.182.55:3306/srs, properties -> {user=******,
password=******} ], preferredTestQuery -> null, propertyCycle -> 0,
testConnectionOnCheckin -> false, testConnectionOnCheckout -> false,
unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false;
userOverrides: {} ], dataSourceName -> null, factoryClassLocation -> null,
identityToken -> 1hgf0y27nldrkan1nedbwr|82c23d, numHelperThreads -> 3 ]
[SRS] WARN [Timer-0] ThreadPoolAsynchronousRunner.run(608) |
[EMAIL PROTECTED] --
APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending
tasks!
[SRS] WARN [Timer-0] ThreadPoolAsynchronousRunner.run(624) |
[EMAIL PROTECTED] --
APPARENT DEADLOCK!!! Complete Status:
Managed Threads: 3
Active Threads: 3
Active Tasks:
[EMAIL PROTECTED]
(com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)
[EMAIL PROTECTED]
(com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)
[EMAIL PROTECTED]
(com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)
Pending Tasks:
[EMAIL PROTECTED]
Pool thread stack traces:

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main]
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.PlainSocketImpl.doConnect(Unknown Source)
java.net.PlainSocketImpl.connectToAddress(Unknown Source)
java.net.PlainSocketImpl.connect(Unknown Source)
java.net.SocksSocketImpl.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.<init>(Unknown Source)
java.net.Socket.<init>(Unknown Source)

com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:147)
com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
com.mysql.jdbc.Connection.createNewIO(Connection.java:2641)
com.mysql.jdbc.Connection.<init>(Connection.java:1531)
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)

com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)

com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)

com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)

com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main]
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.PlainSocketImpl.doConnect(Unknown Source)
java.net.PlainSocketImpl.connectToAddress(Unknown Source)
java.net.PlainSocketImpl.connect(Unknown Source)
java.net.SocksSocketImpl.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.<init>(Unknown Source)
java.net.Socket.<init>(Unknown Source)

com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:147)
com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
com.mysql.jdbc.Connection.createNewIO(Connection.java:2641)
com.mysql.jdbc.Connection.<init>(Connection.java:1531)
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)

com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)

com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)

com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)

com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main]
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.PlainSocketImpl.doConnect(Unknown Source)
java.net.PlainSocketImpl.connectToAddress(Unknown Source)
java.net.PlainSocketImpl.connect(Unknown Source)
java.net.SocksSocketImpl.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.<init>(Unknown Source)
java.net.Socket.<init>(Unknown Source)

com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:147)
com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
com.mysql.jdbc.Connection.createNewIO(Connection.java:2641)
com.mysql.jdbc.Connection.<init>(Connection.java:1531)
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)

com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)

com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)

com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)

com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)


[SRS] WARN [Timer-0]
ThreadPoolAsynchronousRunner.processReplacedThreads(416) | Task
[EMAIL PROTECTED] (in
deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying
interrupt().
[SRS] WARN [Timer-0]
ThreadPoolAsynchronousRunner.processReplacedThreads(416) | Task
[EMAIL PROTECTED] (in
deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying
interrupt().
[SRS] WARN [Timer-0]
ThreadPoolAsynchronousRunner.processReplacedThreads(416) | Task
[EMAIL PROTECTED] (in
deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying
interrupt().
[SRS] WARN [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2]
BasicResourcePool.run(1876) |
[EMAIL PROTECTED] -- Thread unexpectedly
interrupted while performing an acquisition attempt.
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
[SRS] WARN [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0]
BasicResourcePool.run(1876) |
[EMAIL PROTECTED] -- Thread unexpectedly
interrupted while performing an acquisition attempt.
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
[SRS] WARN [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1]
BasicResourcePool.run(1876) |
[EMAIL PROTECTED] -- Thread unexpectedly
interrupted while performing an acquisition attempt.
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
[SRS] WARN
[EMAIL PROTECTED]
BasicResourcePool.run(1841) |
[EMAIL PROTECTED] --
Acquisition Attempt Failed!!! Clearing pending acquires. While trying to
acquire a needed new resource, we failed to succeed more than the maximum
number of allowed acquisition attempts (30). Last acquisition attempt
exception:
com.mysql.jdbc.CommunicationsException: Communications link failure due to
underlying exception:

** BEGIN NESTED EXCEPTION **

java.net.SocketException
MESSAGE: java.net.ConnectException: Connection timed out: connect

STACKTRACE:

java.net.SocketException: java.net.ConnectException: Connection timed out:
connect
at
com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2641)
at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
at
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at
com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
at
com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
at
com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
at
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
at
com.mchange.v2.async.ThreadPerTaskAsynchronousRunner$TaskThread.run(ThreadPerTaskAsynchronousRunner.java:255)


** END NESTED EXCEPTION **



Last packet sent to the server was 0 ms ago.
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2707)
at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
at
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at
com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
at
com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
at
com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
at
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
at
com.mchange.v2.async.ThreadPerTaskAsynchronousRunner$TaskThread.run(ThreadPerTaskAsynchronousRunner.java:255)
[SRS] WARN [main] SettingsFactory.buildSettings(103) | Could not obtain
connection metadata
java.sql.SQLException: Connections could not be acquired from the underlying
database!
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)
at
com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
at
org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:35)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1881)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1174)
at
ca.systemarchitects.srs.HibernateSession.HibernateUtil.<clinit>(HibernateUtil.java:13)
at
ca.systemarchitects.srs.HibernateSession.HibernateSessionRequestFilter.init(HibernateSessionRequestFilter.java:74)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A
ResourcePool could not acquire a resource from its primary factory or
source.
at
com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
at
com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
at
com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
... 34 more
[SRS] INFO [main] Dialect.<init>(103) | Using dialect:
org.hibernate.dialect.MySQLDialect
[SRS] INFO [main] TransactionFactoryFactory.buildTransactionFactory(31) |
Using default transaction strategy (direct JDBC transactions)
[SRS] INFO [main]
TransactionManagerLookupFactory.getTransactionManagerLookup(33) | No
TransactionManagerLookup configured (in JTA environment, use of read-write
or transactional second-level cache is not recommended)
[SRS] INFO [main] SettingsFactory.buildSettings(125) | Automatic flush
during beforeCompletion(): enabled
[SRS] INFO [main] SettingsFactory.buildSettings(129) | Automatic session
close at end of transaction: disabled
[SRS] INFO [main] SettingsFactory.buildSettings(144) | Scrollable result
sets: disabled
[SRS] INFO [main] SettingsFactory.buildSettings(152) | JDBC3
getGeneratedKeys(): disabled
[SRS] INFO [main] SettingsFactory.buildSettings(160) | Connection release
mode: auto
[SRS] INFO [main] SettingsFactory.buildSettings(184) | Maximum outer join
fetch depth: 2
[SRS] INFO [main] SettingsFactory.buildSettings(187) | Default batch fetch
size: 1
[SRS] INFO [main] SettingsFactory.buildSettings(191) | Generate SQL with
comments: disabled
[SRS] INFO [main] SettingsFactory.buildSettings(195) | Order SQL updates by
primary key: disabled
[SRS] INFO [main] SettingsFactory.createQueryTranslatorFactory(338) | Query
translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
[SRS] INFO [main] ASTQueryTranslatorFactory.<init>(24) | Using
ASTQueryTranslatorFactory
[SRS] INFO [main] SettingsFactory.buildSettings(203) | Query language
substitutions: {}
[SRS] INFO [main] SettingsFactory.buildSettings(209) | Second-level cache:
enabled
[SRS] INFO [main] SettingsFactory.buildSettings(213) | Query cache: enabled [SRS] INFO [main] SettingsFactory.createCacheProvider(325) | Cache provider:
org.hibernate.cache.EhCacheProvider
[SRS] INFO [main] SettingsFactory.buildSettings(228) | Optimize cache for
minimal puts: disabled
[SRS] INFO [main] SettingsFactory.buildSettings(237) | Structured
second-level cache entries: disabled
[SRS] INFO [main] SettingsFactory.createQueryCacheFactory(312) | Query cache
factory: org.hibernate.cache.StandardQueryCacheFactory
[SRS] INFO [main] SettingsFactory.buildSettings(257) | Echoing all SQL to
stdout
[SRS] INFO [main] SettingsFactory.buildSettings(264) | Statistics: disabled
[SRS] INFO [main] SettingsFactory.buildSettings(268) | Deleted entity
synthetic identifier rollback: disabled
[SRS] INFO [main] SettingsFactory.buildSettings(283) | Default entity-mode:
pojo
[SRS] INFO [main] SessionFactoryImpl.<init>(154) | building session factory
[SRS] WARN [main] Configurator.configure(126) | No configuration found.
Configuring ehcache from ehcache-failsafe.xml found in the classpath:
jar:file:/E:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/srs/WEB-INF/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
[SRS] WARN [main] EhCacheProvider.buildCache(103) | Could not find
configuration [ca.systemarchitects.srs.entity.CourseType]; using defaults.
[SRS] WARN [main] EhCacheProvider.buildCache(103) | Could not find
configuration [ca.systemarchitects.srs.entity.StateCodes]; using defaults.
[SRS] WARN [main] EhCacheProvider.buildCache(103) | Could not find
configuration [ca.systemarchitects.srs.entity.Modules]; using defaults.
[SRS] WARN [main] EhCacheProvider.buildCache(103) | Could not find
configuration [ca.systemarchitects.srs.entity.LocationCompensation]; using
defaults.
[SRS] WARN [main] EhCacheProvider.buildCache(103) | Could not find
configuration [ca.systemarchitects.srs.entity.Locations]; using defaults.
[SRS] WARN [main] EhCacheProvider.buildCache(103) | Could not find
configuration [ca.systemarchitects.srs.entity.Salutations]; using defaults.
[SRS] WARN [main] EhCacheProvider.buildCache(103) | Could not find
configuration [ca.systemarchitects.srs.entity.LocationTypes]; using
defaults.
[SRS] WARN [main] EhCacheProvider.buildCache(103) | Could not find
configuration [ca.systemarchitects.srs.entity.Users]; using defaults.
[SRS] WARN [main] EhCacheProvider.buildCache(103) | Could not find
configuration [ca.systemarchitects.srs.entity.CountryCodes]; using defaults. [SRS] INFO [main] SessionFactoryObjectFactory.addInstance(82) | Not binding
factory to JNDI, no JNDI name configured
[SRS] INFO [main] UpdateTimestampsCache.<init>(43) | starting update
timestamps cache at region: org.hibernate.cache.UpdateTimestampsCache
[SRS] WARN [main] EhCacheProvider.buildCache(103) | Could not find
configuration [org.hibernate.cache.UpdateTimestampsCache]; using defaults.
[SRS] INFO [main] StandardQueryCache.<init>(51) | starting query cache at
region: org.hibernate.cache.StandardQueryCache
[SRS] WARN [main] EhCacheProvider.buildCache(103) | Could not find
configuration [org.hibernate.cache.StandardQueryCache]; using defaults.
Filter Initalized...
[SRS] INFO [main] PropertyMessageResources.<init>(127) | Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
[SRS] INFO [main] PropertyMessageResources.<init>(127) | Initializing,
config='org.apache.struts.action.ActionResources', returnNull=true
[SRS] INFO [main] PropertyMessageResources.<init>(127) | Initializing,
config='ca.systemarchitects.srs.properties.ApplicationResources',
returnNull=true
Jun 21, 2007 12:07:21 AM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Jun 21, 2007 12:07:21 AM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Jun 21, 2007 12:07:23 AM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='com.yourcompany.struts.ApplicationResources',
returnNull=true
Jun 21, 2007 12:07:23 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jun 21, 2007 12:07:24 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jun 21, 2007 12:07:24 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/180  config=null
Jun 21, 2007 12:07:24 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 764539 ms
[SRS] WARN [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0]
BasicResourcePool.run(1841) |
[EMAIL PROTECTED] --
Acquisition Attempt Failed!!! Clearing pending acquires. While trying to
acquire a needed new resource, we failed to succeed more than the maximum
number of allowed acquisition attempts (30). Last acquisition attempt
exception:
com.mysql.jdbc.CommunicationsException: Communications link failure due to
underlying exception:

** BEGIN NESTED EXCEPTION **

java.net.SocketException
MESSAGE: java.net.ConnectException: Connection timed out: connect

STACKTRACE:

java.net.SocketException: java.net.ConnectException: Connection timed out:
connect
at
com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2641)
at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
at
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at
com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
at
com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
at
com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
at
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)


** END NESTED EXCEPTION **



Last packet sent to the server was 0 ms ago.
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2707)
at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
at
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at
com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
at
com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
at
com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
at
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
[SRS] WARN [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1]
BasicResourcePool.run(1841) |
[EMAIL PROTECTED] --
Acquisition Attempt Failed!!! Clearing pending acquires. While trying to
acquire a needed new resource, we failed to succeed more than the maximum
number of allowed acquisition attempts (30). Last acquisition attempt
exception:
com.mysql.jdbc.CommunicationsException: Communications link failure due to
underlying exception:

** BEGIN NESTED EXCEPTION **

java.net.SocketException
MESSAGE: java.net.ConnectException: Connection timed out: connect

STACKTRACE:

java.net.SocketException: java.net.ConnectException: Connection timed out:
connect
at
com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2641)
at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
at
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at
com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
at
com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
at
com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
at
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)


** END NESTED EXCEPTION **



Last packet sent to the server was 0 ms ago.
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2707)
at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
at
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at
com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
at
com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
at
com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
at
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
[SRS] WARN [Timer-0] ThreadPoolAsynchronousRunner.run(608) |
[EMAIL PROTECTED] --
APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending
tasks!
[SRS] WARN [Timer-0] ThreadPoolAsynchronousRunner.run(624) |
[EMAIL PROTECTED] --
APPARENT DEADLOCK!!! Complete Status:
Managed Threads: 3
Active Threads: 3
Active Tasks:
[EMAIL PROTECTED]
(com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)
[EMAIL PROTECTED]
(com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)
[EMAIL PROTECTED]
(com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)
Pending Tasks:
[EMAIL PROTECTED]
Pool thread stack traces:

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main]
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.PlainSocketImpl.doConnect(Unknown Source)
java.net.PlainSocketImpl.connectToAddress(Unknown Source)
java.net.PlainSocketImpl.connect(Unknown Source)
java.net.SocksSocketImpl.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.<init>(Unknown Source)
java.net.Socket.<init>(Unknown Source)

com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:147)
com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
com.mysql.jdbc.Connection.createNewIO(Connection.java:2641)
com.mysql.jdbc.Connection.<init>(Connection.java:1531)
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)

com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)

com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)

com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)

com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main]
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.PlainSocketImpl.doConnect(Unknown Source)
java.net.PlainSocketImpl.connectToAddress(Unknown Source)
java.net.PlainSocketImpl.connect(Unknown Source)
java.net.SocksSocketImpl.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.<init>(Unknown Source)
java.net.Socket.<init>(Unknown Source)

com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:147)
com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
com.mysql.jdbc.Connection.createNewIO(Connection.java:2641)
com.mysql.jdbc.Connection.<init>(Connection.java:1531)
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)

com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)

com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)

com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)

com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main]
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.PlainSocketImpl.doConnect(Unknown Source)
java.net.PlainSocketImpl.connectToAddress(Unknown Source)
java.net.PlainSocketImpl.connect(Unknown Source)
java.net.SocksSocketImpl.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.connect(Unknown Source)
java.net.Socket.<init>(Unknown Source)
java.net.Socket.<init>(Unknown Source)

com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:147)
com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
com.mysql.jdbc.Connection.createNewIO(Connection.java:2641)
com.mysql.jdbc.Connection.<init>(Connection.java:1531)
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)

com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)

com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)

com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)

com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)

com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)


Thanks in advance
Soumya
--
View this message in context: http://www.nabble.com/Error-while-starting-the-Tomcat-tf3956825.html#a11227482
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to