15217 - Error validating JDBC connection (BI)
Problema:
(...)
[#|2015-06-03T13:53:39.683-0300|INFO|glassfish3.1.2|com.senior.dbc.impl.connection.AbstractConnectionProvider|_ThreadID=63;_ThreadName=Thread-2;|JDBC driver class oracle.jdbc.OracleDriver loaded from file:/C:/Java/jdk1.7.0_51/jre/lib/ext/ojdbc5.jar.|#]
(...)
[#|2015-06-03T13:53:40.465-0300|SEVERE|glassfish3.1.2|com.senior.dbc.impl.connection.JdbcConnectionManager|_ThreadID=63;_ThreadName=Thread-2;|Error validating JDBC connection.
java.lang.AbstractMethodError: oracle.jdbc.driver.T4CConnection.isValid(I)Z
at com.senior.dbc.impl.connection.JdbcConnectionManager.validateConnection(JdbcConnectionManager.java:230)
at com.senior.dbc.impl.connection.JdbcConnectionManager.access$0(JdbcConnectionManager.java:228)
at com.senior.dbc.impl.connection.JdbcConnectionManager$JdbcConnectionFactory.validateObject(JdbcConnectionManager.java:204)
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1205)
at com.senior.dbc.impl.connection.JdbcConnectionManager.borrowConnection(JdbcConnectionManager.java:386)
at com.senior.dbc.impl.connection.ConnectionProviderImpl.openConnection(ConnectionProviderImpl.java:150)
at com.senior.dbc.impl.SessionImpl.<init>(SessionImpl.java:54)
at com.senior.dbc.impl.DBCenterImpl.newSession(DBCenterImpl.java:144)
at com.senior.dbc.impl.DBCenterImpl.newSession(DBCenterImpl.java:1)
at com.senior.security.ldap.server.dataSource.sgu.SGUDataSource.getSession(SGUDataSource.java:88)
at com.senior.security.ldap.server.dataSource.sgu.SGUDataSource.createInitialGroups(SGUDataSource.java:67)
at com.senior.security.ldap.server.dataSource.sgu.SGUDataSource.<init>(SGUDataSource.java:62)
at com.senior.security.ldap.server.standalone.SGULDAPServer.<init>(SGULDAPServer.java:66)
at com.senior.security.ldap.server.standalone.SGULDAPServer.<init>(SGULDAPServer.java:36)
at com.senior.security.ldap.server.standalone.SGULDAPServer.<init>(SGULDAPServer.java:32)
at com.senior.security.web.ldap.SGULDAPContextListner$SGULDAPThread.run(SGULDAPContextListner.java:55)
|#]
(...)
Solução: Verificar se existem arquivos JDBC na pasta de instalação do Java que está sendo utilizado pelo Glassfish do BI.
Exemplo da localização desses arquivos:
* Pasta Java: C:/Program Files/Java/jdk1.7.0_51/jre/lib/ext (verificar se existe o arquivo 'sqljdbc' ou 'ojdbc' conforme log)
* Java utilizado pelo Glassfish: C:/glassfish3/glassfish/config/asenv.bat (parâmetro: 'set AS_JAVA=')
Para solucionar essa situação, deve-se reinstalar o Java, removendo através do Painel de Controle e instalado o Java JDK 7 Update 51 novamente.
Durante a atualização/instalação do MicroStrategy é apresentada a mensagem: Não foi possível conectar com o SERVIDOR:10389 Tentando novamente.. Foram seguidos todos os passos do banco de solução 13796 - Porta 10389 MicroStrategy porém o problema persistia.
No log do domínio do Glassfish (server.log) são apresentadas as seguintes mensagens:(...)
[#|2015-06-03T13:53:39.683-0300|INFO|glassfish3.1.2|com.senior.dbc.impl.connection.AbstractConnectionProvider|_ThreadID=63;_ThreadName=Thread-2;|JDBC driver class oracle.jdbc.OracleDriver loaded from file:/C:/Java/jdk1.7.0_51/jre/lib/ext/ojdbc5.jar.|#]
(...)
[#|2015-06-03T13:53:40.465-0300|SEVERE|glassfish3.1.2|com.senior.dbc.impl.connection.JdbcConnectionManager|_ThreadID=63;_ThreadName=Thread-2;|Error validating JDBC connection.
java.lang.AbstractMethodError: oracle.jdbc.driver.T4CConnection.isValid(I)Z
at com.senior.dbc.impl.connection.JdbcConnectionManager.validateConnection(JdbcConnectionManager.java:230)
at com.senior.dbc.impl.connection.JdbcConnectionManager.access$0(JdbcConnectionManager.java:228)
at com.senior.dbc.impl.connection.JdbcConnectionManager$JdbcConnectionFactory.validateObject(JdbcConnectionManager.java:204)
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1205)
at com.senior.dbc.impl.connection.JdbcConnectionManager.borrowConnection(JdbcConnectionManager.java:386)
at com.senior.dbc.impl.connection.ConnectionProviderImpl.openConnection(ConnectionProviderImpl.java:150)
at com.senior.dbc.impl.SessionImpl.<init>(SessionImpl.java:54)
at com.senior.dbc.impl.DBCenterImpl.newSession(DBCenterImpl.java:144)
at com.senior.dbc.impl.DBCenterImpl.newSession(DBCenterImpl.java:1)
at com.senior.security.ldap.server.dataSource.sgu.SGUDataSource.getSession(SGUDataSource.java:88)
at com.senior.security.ldap.server.dataSource.sgu.SGUDataSource.createInitialGroups(SGUDataSource.java:67)
at com.senior.security.ldap.server.dataSource.sgu.SGUDataSource.<init>(SGUDataSource.java:62)
at com.senior.security.ldap.server.standalone.SGULDAPServer.<init>(SGULDAPServer.java:66)
at com.senior.security.ldap.server.standalone.SGULDAPServer.<init>(SGULDAPServer.java:36)
at com.senior.security.ldap.server.standalone.SGULDAPServer.<init>(SGULDAPServer.java:32)
at com.senior.security.web.ldap.SGULDAPContextListner$SGULDAPThread.run(SGULDAPContextListner.java:55)
|#]
(...)
Solução: Verificar se existem arquivos JDBC na pasta de instalação do Java que está sendo utilizado pelo Glassfish do BI.
Exemplo da localização desses arquivos:
* Pasta Java: C:/Program Files/Java/jdk1.7.0_51/jre/lib/ext (verificar se existe o arquivo 'sqljdbc' ou 'ojdbc' conforme log)
* Java utilizado pelo Glassfish: C:/glassfish3/glassfish/config/asenv.bat (parâmetro: 'set AS_JAVA=')
Para solucionar essa situação, deve-se reinstalar o Java, removendo através do Painel de Controle e instalado o Java JDK 7 Update 51 novamente.