OVD 11g syncovdconfig.bat Returns ODL-52040: failure to in itialize class oracle.core.ojdl.logging.impl.LoggingConfigurationImpl: property oracle.core.ojdl.logging.config.file must be defined; Or, Same Error Preceded By: No argument is allowed: <value>

(Doc ID 1382121.1)

Last updated on MARCH 15, 2017

Applies to:

Oracle Virtual Directory - Version 11.1.1.2.0 and later
Information in this document applies to any platform.

Symptoms

Using Oracle Virtual Directory (OVD) 11g syncovdconfig script to sync adapter configuration files, mappings and plugins.

Scenario 1

Running syncovdconfig.bat:

C:\oracle\product\fmw\Oracle_OVD1\ovd\bin>syncovdconfig.bat -srcHost myovdhost1 -srcPort 8899 -srcUserName cn=orcladmin -dstHost myovdhost2 -dstPort 8899 -dstUserName cn=orcladmin -isSrcAdminSSL true -isDstAdminSSL true


Fails with:

C:\oracle\product\fmw\Oracle_OVD1\ovd\bin>if "C:\oracle\product\fmw\Oracle_OVD1" == "" GOTO NO_ORACLE_HOME

C:\oracle\product\fmw\Oracle_OVD1\ovd\bin>set JRE="C:\oracle\product\fmw\Oracle_OVD1\jdk\bin"

C:\oracle\product\fmw\Oracle_OVD1\ovd\bin>set VDE_JLIB="C:\oracle\product\fmw\Oracle_OVD1\ovd\jlib"

C:\oracle\product\fmw\Oracle_OVD1\ovd\bin>set CLASSPATH=""C:\oracle\product\fmw\Oracle_OVD1\ovd\jlib"\vde.jar;"C:\oracle\product\fmw\Oracle_OVD1\ovd\jlib"\javax.xml.rpc_1.2.1.jar;"C:\oracle\product\fmw\Oracle_OVD1\ovd\jlib"\axis.jar;"C:\oracle\product\fmw\Oracle_OVD1\ovd\jlib"\commons-discovery.jar;
C:\oracle\product\fmw\Oracle_OVD1\lib\java\shared\args4j\2.0.9\args4j-2.0.9.jar;C:\oracle\product\fmw\Oracle_OVD1\modules\oracle.webservices_11.1.1\orawsdl.jar;C:\oracle\product\fmw\Oracle_OVD1\modules\oracle.odl_11.1.1\ojdl.jar;C:\oracle\product\fmw\Oracle_OVD1\modules\org.apache.commons.logging_1.0.4.jar;"

C:\oracle\product\fmw\Oracle_OVD1\ovd\bin>"C:\oracle\product\fmw\Oracle_OVD1\jdk\bin"\java -classpath ""C:\oracle\product\fmw\Oracle_OVD1\ovd\jlib"\
vde.jar;"C:\oracle\product\fmw\Oracle_OVD1\ovd\jlib"\javax.xml.rpc_1.2.1.jar;"C:\oracle\product\fmw\Oracle_OVD1\ovd\jlib"\axis.jar;"C:\oracle\product\fmw\Oracle_OVD1\ovd\jlib"\commons-discovery.jar;C:\oracle\product\fmw\Oracle_OVD1\lib\java\shared\args4j\2.0.9\args4j-2.0.9.jar;C:\oracle\product\fmw\Oracle_OVD1\modules\oracle.webservices_11.1.1\orawsdl.jar;C:\oracle\product\fmw\Oracle_OVD1\modules\oracle.odl_11.1.1\ojdl.jar;C:\oracle\product\fmw\Oracle_OVD1\modules\org.apache.commons.logging_1.0.4.jar;" com.octetstring.vde.admin.services.client.SyncOVD -srcHost myovdhost1 -srcPort 8899 -srcUserName cn=orcladmin -dstHost myovdhost2 -dstPort 8899 -dstUserName cn=orcladmin -isSrcAdminSSL true -isDstAdminSSL true
Source Admin Password:
Destination Admin Password:
Logging configuration class "oracle.core.ojdl.logging.LoggingConfiguration" failed
oracle.core.ojdl.logging.LoggingConfigurationException: ODL-52040: failure to initialize class oracle.core.ojdl.logging.impl.LoggingConfigurationImpl: property oracle.core.ojdl.logging.config.file must be defined.
Oct 28, 2011 1:32:51 PM org.apache.axis.utils.JavaUtils isAttachmentSupported
WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.

 

Scenario 2

The same ODL error is returned, but also preceded by "No Argument is allowed" and/or a NPE, for example:

 


Already tried setting environment variables as per documentation:
Oracle Fusion Middleware Administrator's Guide 11g Release 1 (11.1.1) Part Number E10105-11
Chapter/Topic 3.1 Setting Up Environment Variables

Changes

 

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