com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: 

** BEGIN NESTED EXCEPTION ** 

java.net.ConnectException
MESSAGE: Connection refused

STACKTRACE:

java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.(Unknown Source)
	at java.net.Socket.(Unknown Source)
	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:173)
	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:267)
	at com.mysql.jdbc.Connection.createNewIO(Connection.java:2739)
	at com.mysql.jdbc.Connection.(Connection.java:1553)
	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at com.cleareyed.db.DBConnection.getConnection(db:DBConnection.java):103)
	at com.cleareyed.db.DBConnection.executeTask(db:DBConnection.java):39)
	at com.cleareyed.db.DBConnection.executeTask(db:DBConnection.java):51)
	at com.cleareyed.db.DBConnection.executeTask(db:DBConnection.java):66)
	at com.actadept.db.DBLoader.loadUserPhotosByGroup(DBLoader.java:338)
	at com.actadept.builders.PhotoBuilder.addCategory(PhotoBuilder.java:174)
	at com.actadept.builders.PhotoBuilder.addExistingCategories(PhotoBuilder.java:236)
	at com.actadept.builders.PhotoBuilder.buildIndex(PhotoBuilder.java:264)
	at com.actadept.Profile.viewAllPhotos(Profile.java:321)
	at com.actadept.Profile.processBody(Profile.java:457)
	at com.actadept.ActAdeptPageServlet.processRequest(ActAdeptPageServlet.java:313)
	at com.actadept.Profile.doGet(Profile.java:554)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.actadept.CharsetFilter.doFilter(CharsetFilter.java:35)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
	at java.lang.Thread.run(Unknown Source)


** END NESTED EXCEPTION **



Last packet sent to the server was 0 ms ago.
	at com.mysql.jdbc.Connection.createNewIO(Connection.java:2814)
	at com.mysql.jdbc.Connection.(Connection.java:1553)
	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at com.cleareyed.db.DBConnection.getConnection(db:DBConnection.java):103)
	at com.cleareyed.db.DBConnection.executeTask(db:DBConnection.java):39)
	at com.cleareyed.db.DBConnection.executeTask(db:DBConnection.java):51)
	at com.cleareyed.db.DBConnection.executeTask(db:DBConnection.java):66)
	at com.actadept.db.DBLoader.loadUserPhotosByGroup(DBLoader.java:338)
	at com.actadept.builders.PhotoBuilder.addCategory(PhotoBuilder.java:174)
	at com.actadept.builders.PhotoBuilder.addExistingCategories(PhotoBuilder.java:236)
	at com.actadept.builders.PhotoBuilder.buildIndex(PhotoBuilder.java:264)
	at com.actadept.Profile.viewAllPhotos(Profile.java:321)
	at com.actadept.Profile.processBody(Profile.java:457)
	at com.actadept.ActAdeptPageServlet.processRequest(ActAdeptPageServlet.java:313)
	at com.actadept.Profile.doGet(Profile.java:554)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.actadept.CharsetFilter.doFilter(CharsetFilter.java:35)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
	at java.lang.Thread.run(Unknown Source)


Actor Website by ActAdept.com, Copyright © 2010 Cleareyed LLC