HTTP Status 500 - java.sql.SQLException: Cannot open database "PortalClientes_prod" requested by the login. The login failed.

type Exception report

message java.sql.SQLException: Cannot open database "PortalClientes_prod" requested by the login. The login failed.

description The server encountered an internal error that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: java.sql.SQLException: Cannot open database "PortalClientes_prod" requested by the login. The login failed.
	at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:365)
	at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2781)
	at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2224)
	at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:599)
	at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:331)
	at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50)
	at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:178)
	at java.sql.DriverManager.getConnection(DriverManager.java:664)
	at java.sql.DriverManager.getConnection(DriverManager.java:208)
	at com.genexus.db.driver.GXConnection$1.run(Unknown Source)
	at com.genexus.platform.NativeFunctions11.executeWithPermissions(Unknown Source)
	at com.genexus.db.driver.GXConnection.connectJDBCDriver(Unknown Source)
	at com.genexus.db.driver.GXConnection.connect(Unknown Source)
	at com.genexus.db.driver.GXConnection.<init>(Unknown Source)
	at com.genexus.db.driver.GXConnection.<init>(Unknown Source)
	at com.genexus.db.driver.GXConnection.<init>(Unknown Source)
	at com.genexus.db.driver.ReadWriteConnectionPool.createConnection(Unknown Source)
	at com.genexus.db.driver.ConnectionPool.checkOut(Unknown Source)
	at com.genexus.db.driver.DataSourceConnectionPool.checkOut(Unknown Source)
	at com.genexus.db.ServerUserInformation.getConnection(Unknown Source)
	at com.genexus.db.ServerDBConnectionManager.getConnection(Unknown Source)
	at com.genexus.db.DefaultConnectionProvider.getConnection(Unknown Source)
	at com.genexus.db.DataStoreProviderBase.getConnection(Unknown Source)
	at com.genexus.db.SentenceProvider.acquireConnection(Unknown Source)
	at com.genexus.db.SentenceProvider.getPreparedStatement(Unknown Source)
	at com.genexus.db.ForEachCursor.preExecute(Unknown Source)
	at com.genexus.db.DataStoreProvider.execute(Unknown Source)
	at com.genexus.db.DataStoreProvider.execute(Unknown Source)
	at artech.security.api.gamrepconnectiondecrypt.privateExecute(gamrepconnectiondecrypt.java:57)
	at artech.security.api.gamrepconnectiondecrypt.execute_int(gamrepconnectiondecrypt.java:51)
	at artech.security.api.gamrepconnectiondecrypt.execute(gamrepconnectiondecrypt.java:41)
	at artech.security.api.gamgetfileconnectiongam.privateExecute(gamgetfileconnectiongam.java:85)
	at artech.security.api.gamgetfileconnectiongam.execute_int(gamgetfileconnectiongam.java:49)
	at artech.security.api.gamgetfileconnectiongam.execute(gamgetfileconnectiongam.java:40)
	at artech.security.api.gamgetconnectionsfromfile.privateExecute(gamgetconnectionsfromfile.java:56)
	at artech.security.api.gamgetconnectionsfromfile.execute_int(gamgetconnectionsfromfile.java:49)
	at artech.security.api.gamgetconnectionsfromfile.execute(gamgetconnectionsfromfile.java:40)
	at artech.security.GAM.GetConnections(GAM.java:198)
	at com.portalclientes.SdtGAM.getconnections(SdtGAM.java:330)
	at com.portalclientes.gamlogin_impl.e13052(gamlogin_impl.java:776)
	at com.portalclientes.gamlogin_impl.strup050(gamlogin_impl.java:736)
	at com.portalclientes.gamlogin_impl.start052(gamlogin_impl.java:513)
	at com.portalclientes.gamlogin_impl.ws052(gamlogin_impl.java:518)
	at com.portalclientes.gamlogin_impl.webExecute(gamlogin_impl.java:124)
	at com.genexus.webpanels.GXWebPanel.webExecuteEx(Unknown Source)
	at com.genexus.webpanels.GXWebPanel.doExecute(Unknown Source)
	at com.portalclientes.gamlogin.doExecute(gamlogin.java:32)
	at com.genexus.webpanels.GXWebObjectStub.callDoExecute(Unknown Source)
	at com.genexus.webpanels.GXWebObjectStub.callExecute(Unknown Source)
	at com.genexus.webpanels.GXWebObjectStub.doGet(Unknown Source)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.genexus.filters.ExpiresFilter.doFilter(Unknown Source)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
	at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:877)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2521)
	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2510)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

	com.genexus.webpanels.GXWebObjectStub.callExecute(Unknown Source)
	com.genexus.webpanels.GXWebObjectStub.doGet(Unknown Source)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.genexus.filters.ExpiresFilter.doFilter(Unknown Source)

note The full stack trace of the root cause is available in the Apache Tomcat/8.0.45 logs.


Apache Tomcat/8.0.45