OID 10g (10.1.4) Referential Integrity Plugin In Windows / Compiling rimoddn.java Code Fails With: <%ORACLE_HOME%>\ldap\server\plugin\rimoddn.java:33: package oracle.ldap.ospf does not exist <etc>

(Doc ID 1150484.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version: 10.1.4 and later   [Release: 10gR3 and later ]
Microsoft Windows (32-bit)

Symptoms

Configuring the Referential Integrity (RI) plugin in Oracle Internet Directory (OID) 10g (10.1.4) on Windows platform by following the documentation:

Oracle Internet Directory Administrator's Guide 10g (10.1.4.0.1) Part Number B15991-01
    Chapter 12 Referential Integrity

On Step 2, compiling the rimoddn.java code fails with:

> C:\oracle\infra\jdk\bin\javac -classpath %ORACLE_HOME%\jdbc\lib\classes12.zip:%ORACLE_HOME%\ldap\jlib\ospf.jar rimoddn.java

C:\oracle\infra\ldap\server\plugin\rimoddn.java:33: package oracle.ldap.ospf does not exist
import oracle.ldap.ospf.*;
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:34: package oracle.jdbc does not
exist
import oracle.jdbc.*;
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:35: package oracle.jdbc.driver d
oes not exist
import oracle.jdbc.driver.*;
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:40: cannot resolve symbol
symbol : class ServerPluginAdapter
location: class rimoddn
public class rimoddn extends ServerPluginAdapter {
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:42: cannot resolve symbol
symbol : class PluginDetail
location: class rimoddn
public PluginResult post_moddn(PluginDetail plgDetObj)
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:42: cannot resolve symbol
symbol : class PluginResult
location: class rimoddn
public PluginResult post_moddn(PluginDetail plgDetObj)
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:47: cannot resolve symbol
symbol : class ModdnLdapOperation
location: class rimoddn
ModdnLdapOperation opObj = (ModdnLdapOperation)plgDetObj.getLdapOperation(
);
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:47: cannot resolve symbol
symbol : class ModdnLdapOperation
location: class rimoddn
ModdnLdapOperation opObj = (ModdnLdapOperation)plgDetObj.getLdapOperation(
);
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:50: cannot resolve symbol
symbol : class PluginResult
location: class rimoddn
PluginResult plgResObj = new PluginResult();
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:50: cannot resolve symbol
symbol : class PluginResult
location: class rimoddn
PluginResult plgResObj = new PluginResult();
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:51: cannot resolve symbol
symbol : class LdapBaseEntry
location: class rimoddn
LdapBaseEntry entryObj = plgDetObj.getLdapBaseEntry();
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:58: cannot resolve symbol
symbol : variable ServerLog
location: class rimoddn
ServerLog.log("Old DN : "+ oldDN);
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:60: cannot resolve symbol
symbol : variable ServerLog
location: class rimoddn
ServerLog.log("New Parent DN "+ newRDN);
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:62: cannot resolve symbol
symbol : variable ServerLog
location: class rimoddn
ServerLog.log("New RDN "+ newPDN);
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:69: cannot resolve symbol
symbol : variable ServerLog
location: class rimoddn
ServerLog.log("New PDN: "+ newPDN);
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:77: cannot resolve symbol
symbol : variable ServerLog
location: class rimoddn
ServerLog.log("New PDN: "+ newPDN);
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:83: cannot resolve symbol
symbol : variable ServerLog
location: class rimoddn
ServerLog.log("New DN: "+ newDN);
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:105: package oracle.jdbc.driver
does not exist
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:114: cannot resolve symbol
symbol : variable ServerLog
location: class rimoddn
ServerLog.log("sqlstring: " + sqlString);
^
C:\oracle\infra\ldap\server\plugin\rimoddn.java:118: cannot resolve symbol
symbol : variable ServerLog
location: class rimoddn
ServerLog.log("error: " + e.getErrorCode() + " " +
^
20 errors


C:\oracle\infra\jdk\bin>javac -classpath %ORACLE_HOME%\jdbc\lib\classes12.zip:%ORACLE_HOME%\ldap\jlib\ospf.jar rimoddn.java
error: cannot read: rimoddn.java
1 error


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