Weblogic 12c java lang arrayindexoutofboundsexception
Database Error.throw Sql Exception(Database Error.java:255) at driver.
T4CConnection.logon(T4CConnection.java:387) at driver. Physical Connection.” clearly indicates the root cause of this issue.
“We get the following error “Got minus one from a read call” if the Database goes under Maintenance….Database is in inconsistent State (Due to any reason like Database Maintenance or Database unmounting…etc ).
WLS is asking a JDBC driver for a connection and getting that exception, which means the DBMS or network dropped the socket during the driver-DBMS handshake.
Some very basic and common tools and simple Jdbc programs helps us a lot in debugging the JDBC issues.You can also refer to the Web Logic JDBC related some very common tips: If you get the following Error: Degugging the root Cause of above Issue: The Above Exception: IOException: The Network Adapter could not establish the connection It simply suggest that the Database URL may not be correct in the Data Source XML file locatied inside “ Add JDBC Driver also in the Classpath or Better run “../set WLSEnv.sh” (NOTE: While running the above script please use two DOTs like mentioned above. ./set WLSEnv.sh” after that try to echo the values of $CLASSPATH and $PATH to make sure that the env is set properly) Try doing a telnet to connect to the Database Box on the Database Listen Port like following Just to make sure that the Database has started listening on the Mentioned Listen Port or Not …..: telnet database Host Name 1521 ————————————————————————– Many times we see that Data Source configured on Web Logic Server was running fine sometimes back and suddenly we start seeing the following Error: Caused by: The first DOT represents that set the Environment in the Current Shell and the second DOT (./) Slash represents that pick up the Script from the current Location. SQLException: Io exception: Got minus one from a read call at driver.