My Oracle Support Banner

Select Statement Hangs From Java Program on Solaris (Doc ID 412351.1)

Last updated on AUGUST 03, 2016

Applies to:

JDBC - Version 10.2.0 and later
Oracle Solaris on SPARC (64-bit)
***Checked for relevance on 26-May-2011***


A JDBC thin or JDBC OCI program hangs on selects when connecting to a Server running on the Solaris 64-bit operating system. Thread dumps similar to the below are seen from the JDBC process:

Thin Driver

at Method) 
at Source) 
at Source) 
at Source) 
at Source) 
at Source) 
at Source)
at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(
at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(
at oracle.jdbc.driver.T4C8Oall.receive(
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(
at oracle.jdbc.driver.T4CPreparedStatement.fetch(
at  oracle.jdbc.driver.OracleResultSetImpl.close_or_fetch_from_next(
- locked <0xf1f26a20> (a oracle.jdbc.driver.T4CConnection)
- locked <0xf181b258> (a oracle.jdbc.driver.OracleResultSetImpl)

OCI Driver

oracle.jdbc.driver.T2CStatement.t2cDefineFetch(Native Method)
at oracle.jdbc.driver.T2CStatement.doDefineFetch(
at oracle.jdbc.driver.T2CStatement.executeForRows(
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(
at oracle.jdbc.driver.OracleStatement.executeQuery(
at oracle.jdbc.driver.T2CStatement.t2cFetch(Native Method)
at oracle.jdbc.driver.T2CPreparedStatement.fetch(
at oracle.jdbc.driver.OracleResultSetImpl.close_or_fetch_from_next(
- locked <0xf1f23100> (a oracle.jdbc.driver.T2CConnection)
- locked <0xf1868a30> (a oracle.jdbc.driver.OracleResultSetImpl)


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.