My Oracle Support Banner

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 OCTOBER 31, 2019

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:

<OVD_ORACLE_HOME>\ovd\bin>syncovdconfig.bat -srcHost <SOURCE_OVD_HOSTNAME> -srcPort <SOURCE_OVD_ADMIN_PORT> -srcUserName cn=orcladmin -dstHost <DESTINATION_OVD_HOSTNAME> -dstPort <DESTINATION_OVD_ADMIN_PORT> -dstUserName cn=orcladmin -isSrcAdminSSL true -isDstAdminSSL true


Fails with:

<OVD_ORACLE_HOME>\ovd\bin>if "<OVD_ORACLE_HOME>" == "" GOTO NO_ORACLE_HOME

<OVD_ORACLE_HOME>\ovd\bin>set JRE="<OVD_ORACLE_HOME>\jdk\bin"

<OVD_ORACLE_HOME>\ovd\bin>set VDE_JLIB="<OVD_ORACLE_HOME>\ovd\jlib"

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

<OVD_ORACLE_HOME>\ovd\bin>"<OVD_ORACLE_HOME>\jdk\bin"\java -classpath ""<OVD_ORACLE_HOME>\ovd\jlib"\
vde.jar;"<OVD_ORACLE_HOME>\ovd\jlib"\javax.xml.rpc_1.2.1.jar;"<OVD_ORACLE_HOME>\ovd\jlib"\axis.jar;"<OVD_ORACLE_HOME>\ovd\jlib"\commons-discovery.jar;<OVD_ORACLE_HOME>\lib\java\shared\args4j\2.0.9\args4j-2.0.9.jar;<OVD_ORACLE_HOME>\modules\oracle.webservices_11.1.1\orawsdl.jar;<OVD_ORACLE_HOME>\modules\oracle.odl_11.1.1\ojdl.jar;<OVD_ORACLE_HOME>\modules\org.apache.commons.logging_1.0.4.jar;" com.octetstring.vde.admin.services.client.SyncOVD -srcHost <SOURCE_OVD_HOSTNAME> -srcPort <SOURCE_OVD_ADMIN_PORT> -srcUserName cn=orcladmin -dstHost <DESTINATION_OVD_HOSTNAME> -dstPort <DESTINATION_OVD_ADMIN_PORT> -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

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.