Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 843840, 2 years ago
Could not open a connection to the database.
javax.servlet.UnavailableException: Could not open a connection to the database. at SearchServlet.init(SearchServlet.java:865) at javax.servlet.GenericServlet.init(GenericServlet.java:266) at com.sun.web.core.ServletWrapper.loadServlet(ServletWrapper.java:91) at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:109) at com.sun.web.core.InvokerServlet.service(InvokerServlet.java:169) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:140) at com.sun.web.core.Context.handleRequest(Context.java:375) at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:135)