InvalidSchemaException Error Using a Different User than the FDI Login for PAPI Call Authentication (Doc ID 1053960.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Business Process Management Suite - Version 6.0.0 to 6.0.5
Information in this document applies to any platform.

Symptoms

I'm running ALBPM 6.0.
To configure a different user to connect to FDI, I followed similar steps to the ones detailed for ALBPM 5.x in <Note 1053899.1>

However, when I run my PAPI application I get the following error:

Could not connect to Directory Service
fuego.papi.exception.DirectoryServiceNotAvailableException: Directory Service: 'default' is not available.
at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:94)
at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:76)
at fuego.papi.ProcessService.create(ProcessService.java:285)
at com.customer.papiclient.PapiClient.connect(PapiClient.java:53)
at com.customer.papiclient.PapiClient.main(PapiClient.java:25)
Caused by: fuego.directory.exception.InvalidSchemaException: Directory [default] has not been correctly initialized.
Detail:Even though a Directory Service is currently present at the specified location, the expected BEA Systems, Inc. entries could not be found. Either the schema has not been created or the existing directory corresponds to a different BEA Systems, Inc. version.


What is wrong?


Changes

These are the steps that I followed:

1- Granted SELECT permission to the FDI tables to user "newuser"
2- Added "newuser" as a trusted user in FDI using ant task
3- Edited the directory.xml as follows:

My original directory.xml had these properties:

<property name="user" value="MYFDI"/>
<property name="jdbc.port" value="1521"/>
<property name="jdbc.pool.min" value="0"/>
<property name="jdbc.pool.maxopencursors"value="100"/>
<property name="oracle.sid" value="MYSID"/>
<property name="password"value="<encrypted>EJHbB46BmhE="/>



My modified directory.xml has these properties:

<property name="user" value="newuser"/>
<property name="jdbc.port" value="1521"/>
<property name="jdbc.pool.min" value="0"/>
<property name="jdbc.pool.maxopencursors"value="100"/>
<property name="oracle.sid" value="MYSID"/>
<property name="password" value="newpassword"/>

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