create_db.cmd Script Fails With "java.sql.SQLException: Io exception: The Network Adapter could not establish the connection" (Doc ID 1272025.1)

Last updated on JULY 10, 2017

Applies to:

Oracle WebLogic Portal - Version 9.2.0 to 10.3.2 [Release Weblogic Platform to AS10gR3]
Information in this document applies to any platform.

Symptoms


The create_db.cmd script fails with the following exception:

[java] Error = SQLException when executing file file:/C:/bea/wlp_10.2/WLSERV~1.0/common/p13n/db/oracle/seq_drop_tables.sql
[java] java.lang.Exception: SQLException when executing file file:/C:/bea/wlp_10.2/WLSERV~1.0/common/p13n/db/oracle/seq_drop_tables.sql
[java] at com.bea.plateng.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:182)
[java] at com.bea.plateng.domain.jdbc.JDBCDataLoader.main(JDBCDataLoader.java:1320)
[java] Caused by: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
[java] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
[java] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
[java] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
[java] at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
[java] at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
[java] Load Failed
[java] at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
[java] at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
[java] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
[java] at com.bea.plateng.domain.jdbc.JDBCConnectionTester.createConnection(JDBCConnectionTester.java:266)
[java] at com.bea.plateng.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:153)
[java] ... 1 more

BUILD FAILED
C:\bea\wlp_10.2\WLSERV~1.0\common\p13n\db\build_createdatabase.xml:17: The following error occurred while executing this line:
C:\bea\wlp_10.2\WLSERV~1.0\common\p13n\db\build_createdatabase.xml:90: The following error occurred while executing this line:
C:\bea\wlp_10.2\WLSERV~1.0\common\p13n\db\build_createdatabase.xml:97: The following error occurred while executing this line:
C:\bea\wlp_10.2\WLSERV~1.0\common\p13n\db\build_createdatabase.xml:62: Java returned: -1
 


 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms