Hi all!
I've created h2-datasource in WebSphere AS. It seems to be created
successfully, at least Test connection works well. (Though is says that
there was 1 warning that I can't find in any log).
After that I try to use this datasource in my application and get the
following exception:
java.sql.SQLClientInfoException: null DSRA0010E: State SQL = null, Code = 0
at org.h2.jdbc.JdbcConnection.getClientInfo(JdbcConnection.java:1624)
at
com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper.gatherAndDisplayMetaDataInfo(InternalGenericDataStoreHelper.java:1228)
at
com.ibm.ws.rsadapter.spi.WSRdbDataSource.postGetConnectionHandling(WSRdbDataSource.java:2297)
at
com.ibm.ws.rsadapter.spi.WSRdbDataSource.getConnection(WSRdbDataSource.java:2229)
at
com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.getConnection(WSManagedConnectionFactoryImpl.java:1778)
at
com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java:1546)
at
com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java:1102)
at
com.ibm.ejs.j2c.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:2151)
at
com.ibm.ejs.j2c.FreePool.createOrWaitForConnection(FreePool.java:1830)
at com.ibm.ejs.j2c.PoolManager.reserve(PoolManager.java:3357)
at com.ibm.ejs.j2c.PoolManager.reserve(PoolManager.java:2643)
at
com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:1545)
at
com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:1028)
at
com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:644)
at
com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:611)
at
com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getContainerManagedConnection(WSJdbcDataSource.java:958)
at
com.ibm.ws.jpa.management.JPACMDataSource.getConnection(JPACMDataSource.java:44)
at
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:70)
at
org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:281)
at
org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:297)
I see in H2 Javadoc that getClientInfo method is not supported. What does
it mean& How can I tell WebSphere to not use this not supported method?
I tried to set JDBC Connection pool property: JDBC30DataSource
<http://localhost:9060/ibm/console/propertyCollection.do?csrfid=-1511447702&EditAction=true&refId=Property_1372352740605&contextId=cells%3AVRNWS-PRC030Node01Cell%3Anodes%3AVRNWS-PRC030%3Aservers%3Aserver1&resourceUri=resources.xml&perspective=tab.configuration>=
true (read it in some forum), it does not help.
Can anybody advice me anything, please.
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.