Error running OIDDIAG on WIndows server: (The system cannot find the path specified)java.io.FileNotFoundException (Doc ID 2064067.1)

Last updated on OCTOBER 13, 2016

Applies to:

Oracle Internet Directory - Version 11.1.1.1.0 to 11.1.1.9.0 [Release 11g]
Microsoft Windows x64 (64-bit) - Version: 2008 R2

Symptoms

When attempting to generate an OIDDIAG report for Oracle Internet Directory (OID) on a Windows Platform, we receive the following error:


C:\oracle\fmw11g\11.1.1.7\Middleware\Oracle_IDM1\ldap\bin>oiddiag.bat connect=orcl collect_all=true


Error: java.io.FileNotFoundException: \diagnostics\logs\OID\tools\oiddiag20151007214622.log (The system cannot find the path specified)java.io.FileNotFoundException: \diagnostics\logs\OID\tools\oiddiag20151007214622.log (The system cannot find the path specified)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:84)
        at java.io.FileWriter.<init>(FileWriter.java:46)
        at oracle.ldap.oiddiag.DiagCmdParser.getFiles(DiagCmdParser.java:202)
        at oracle.ldap.oiddiag.DiagContext.setup(DiagContext.java:109)
        at oracle.ldap.oiddiag.Main.setup(Main.java:55)
        at oracle.ldap.oiddiag.Main.main(Main.java:41)
C:\oracle\fmw11g\11.1.1.7\Middleware\Oracle_IDM1\ldap\bin>set ORACLE_INSTANCE=C:\oracle\fmw11g\11.1.1.7\Middleware\asinst_1

 

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