Ant Export-Params and Ant Import-Params Commands are Throwing Exception

(Doc ID 1294967.1)

Last updated on AUGUST 28, 2017

Applies to:

Oracle Enterprise Service Bus - Version 10.1.3.4.8 and later
Information in this document applies to any platform.

Symptoms

You are trying to export ESB parameters from a SOA environment running the following commands:


cd $ORACLE_HOME/integration/esb/bin
./esbsetenv.sh
ant export-params -Dparamfile=/var/tmp/test.properties -DDB_URL=jdbc:oracle:thin:@//MyServer:1525/sqa1d1 -DDB_USER=oraesb
-DDB_PASSWORD=******* -DDB_DRIVER=oracle.jdbc.driver.OracleDriver



But you get the following error:
--
Buildfile: build.xml
[echo] ${env.PCHOME}
export-params:
[java] Creating database connection with DB_URL=jdbc:oracle:thin:@//MyServer:1525/s10deh, DB_USER=oraesb DB_PASSWORD=password1 DB_DRIVER=oracle.jdbc.driver.OracleDriver.
[java] Exception in thread "main" java.lang.NoSuchFieldError: sslServerCertDN
[java] at oracle.net.resolver.NavDescription.closeNVPair(Unknown Source)
[java] at oracle.net.resolver.NavDescription.navigate(Unknown Source)
[java] at oracle.net.resolver.NavServiceAlias.navigate(Unknown Source)
[java] at oracle.net.resolver.AddrResolution.resolveAddrTree(Unknown Source)
[java] at oracle.net.resolver.AddrResolution.resolveAndExecute(Unknown Source)
[java] at oracle.net.ns.NSProtocol.establishConnection(Unknown Source)
[java] at oracle.net.ns.NSProtocol.connect(Unknown Source)
[java] at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:858)
[java] at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:268)
[java] at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:520)
[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:816)
[java] at oracle.tip.esb.install.db.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:220)
...

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