Invalid content was found starting with element 'EnableCorpDir'. One of '{DBConfig}' is expected

(Doc ID 2320531.1)

Last updated on NOVEMBER 15, 2017

Applies to:

Oracle Communications Convergence - Version 3.0 and later
Information in this document applies to any platform.

Symptoms

There are several domains and it is desired to hide the corporate directory for two of them. Only the default should be visible. However, after the administrator executed the following commands and restarted GlassFish, they can not access the AddressBook for the other domains at all (the personal address books are still desired).

In this specific instance, the administrator executed the following commands:


/opt/sun/comms_8.0/iwc/sbin/iwcadmin -W /root/.eiwc -o ab.corpdir.[default].enable -v true
/opt/sun/comms_8.0/iwc/sbin/iwcadmin -W /root/.eiwc -o ab.{domain2.com}.corpdir.[default].enable -v false
/opt/sun/comms_8.0/iwc/sbin/iwcadmin -W /root/.eiwc -o ab.{domain3.com}.corpdir.[default].enable -v false

In iwc_admin.log, the following parser error is found:

ADMIN: ERROR from com.sun.comms.client.admin.web.util.ConfigHelper Thread main ipaddress= sessionid= useragent= at 23:01:24,321- Error occured while loading the configuration from the file Parsing Error
Line: 208
URI: file:/var/opt/sun/comms_8.0/iwc/config/configuration.xml
Message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'EnableCorpDir'. One of '{DBConfig}' is expected.


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