Question

2
Replies
157
Views
Close popover
Alan Tong (TONGA)
PEGA
Lead Technical Architect
Pegasystems Inc.
GB
TONGA Member since 2008 1 post
PEGA
Posted: November 9, 2016
Last activity: April 6, 2018
Closed

Pega 7.2.1 migrate script for PRPC62SP1 failing

Dear Upgrade community

Upgrading PRPC62SP1 on Oracle 11.2.0.3 on same database using out-of-place approach.
The migrate script is failing during SchemaGenerator.main(SchemaGenerator.java:1652), with Connection reset exception.

Have independently checked in SQL Developer that Deployment user, new RULES schema and existing PRPC62SP1 user can all connect with no problems.

Would like to check if anyone has seen a similar issue.

_callDDLUtilitySource:
[echo] Call DDL Generation Source XML Utility...
[echo] /explsauve/tomcat/PP1/media/115143_Pega721/scripts/lib/xercesImpl.jar;/explsauve/tomcat/PP1/media/115143_Pega721/scripts/lib/xml-apis.jar;/explsauve/tomcat/PP1/media/115143_Pega721/scripts/lib/resolver.jar;
[echo] archive_dir: /explsauve/tomcat/PP1/media/115143_Pega721/scripts/lib
[java] Exception in thread "main" java.lang.RuntimeException: Error during execution of source on platform oracledate using schemas PEGA, PEGA
[java] at com.pega.pegarules.data.ddl.SchemaGenerator.main(SchemaGenerator.java:1652)
[java] Caused by: java.sql.SQLRecoverableException: Erreur d'E/S: Connection reset
[java] at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:467)
[java] at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)
[java] at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:236)
[java] at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
[java] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
[java] at com.pega.pegarules.util.deploy.JDBCUtils$ClassLoaderDriverProxy.connect(JDBCUtils.java:56)
[java] at java.sql.DriverManager.getConnection(DriverManager.java:664)
[java] at java.sql.DriverManager.getConnection(DriverManager.java:208)
[java] at com.pega.pegarules.data.ddl.SchemaGenerator.getDBConnection(SchemaGenerator.java:1321)
[java] at com.pega.pegarules.data.ddl.SchemaGenerator.getConnectionFromArguments(SchemaGenerator.java:2257)
[java] at com.pega.pegarules.data.ddl.SchemaGenerator.main(SchemaGenerator.java:1589)
[java] Caused by: java.net.SocketException: Connection reset
[java] at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
[java] at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
[java] at oracle.net.ns.DataPacket.send(DataPacket.java:210)
[java] at oracle.net.ns.NetOutputStream.flush(NetOutputStream.java:230)
[java] at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:312)
[java] at oracle.net.ns.NetInputStream.read(NetInputStream.java:260)
[java] at oracle.net.ns.NetInputStream.read(NetInputStream.java:185)
[java] at oracle.net.ns.NetInputStream.read(NetInputStream.java:102)
[java] at oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:124)
[java] at oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:80)
[java] at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1137)
[java] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:290)
[java] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
[java] at oracle.jdbc.driver.T4CTTIoauthenticate.doOSESSKEY(T4CTTIoauthenticate.java:404)
[java] at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:385)
[java] ... 10 more

BUILD FAILED
/explsauve/tomcat/PP1/media/115143_Pega721/scripts/migrateSystem.xml:507: The following error occurred while executing this line:
/explsauve/tomcat/PP1/media/115143_Pega721/scripts/setupDDL.xml:406: Java returned: 1

Total time: 3 minutes 54 seconds
Ant Process returned a non 0 value

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

System Administration Upgrades
Moderation Team has archived post