SQL Exception: No current connection. at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.noCurrentConnection(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.setupContextStack(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source) at org.apache.commons.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:185) at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:278) at net.lukeMurphey.nsia.eventLog.EventLog.writeEventToDatabase(EventLog.java:666) at net.lukeMurphey.nsia.eventLog.EventLog.logEvent(EventLog.java:594) at net.lukeMurphey.nsia.eventLog.EventLog.logEvent(EventLog.java:582) at net.lukeMurphey.nsia.eventLog.EventLog.logExceptionEvent(EventLog.java:744) at net.lukeMurphey.nsia.Application.logExceptionEvent(Application.java:1538) at net.lukeMurphey.nsia.htmlInterface.WebConsoleServlet.renderPage(WebConsoleServlet.java:179) at net.lukeMurphey.nsia.htmlInterface.WebConsoleServlet.doRequest(WebConsoleServlet.java:76) at net.lukeMurphey.nsia.htmlInterface.WebConsoleServlet.doPost(WebConsoleServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:154) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) at org.mortbay.http.HttpServer.service(HttpServer.java:909) at org.mortbay.http.HttpConnection.service(HttpConnection.java:820) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) java.sql.SQLException: Already closed. at org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:77) at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.close(PoolingDataSource.java:180) at net.lukeMurphey.nsia.eventLog.EventLog.writeEventToDatabase(EventLog.java:689) at net.lukeMurphey.nsia.eventLog.EventLog.logEvent(EventLog.java:594) at net.lukeMurphey.nsia.eventLog.EventLog.logEvent(EventLog.java:582) at net.lukeMurphey.nsia.eventLog.EventLog.logExceptionEvent(EventLog.java:744) at net.lukeMurphey.nsia.Application.logExceptionEvent(Application.java:1538) at net.lukeMurphey.nsia.htmlInterface.WebConsoleServlet.renderPage(WebConsoleServlet.java:179) at net.lukeMurphey.nsia.htmlInterface.WebConsoleServlet.doRequest(WebConsoleServlet.java:76) at net.lukeMurphey.nsia.htmlInterface.WebConsoleServlet.doPost(WebConsoleServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:154) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) at org.mortbay.http.HttpServer.service(HttpServer.java:909) at org.mortbay.http.HttpConnection.service(HttpConnection.java:820) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)