Reports Server Wont Start When cacheDir or JOCCacheDir Point to a Network Drive
(Doc ID 1402631.1)
Last updated on APRIL 20, 2023
Applies to:
Oracle Reports Developer - Version 11.1.1.2.0 and laterOracle Forms for OCI - Version 12.2.1.4.0 and later
Information in this document applies to any platform.
Symptoms
Reports Server wont start after setting JOCCacheDir or cacheDir to a network drive.
In Reports Server diagnostic trace file the following errors are seeing when using JOCCacheDir.
J2EE JOC-044 An exception is occurring in the method. Cache.init
J2EE JOC-042 The object or file cannot be created.\\<IP>\reports_cache
J2EE JOC-043 base exception:
J2EE JOC-042 The object or file cannot be created.\\<IP>\reports_cache
at oracle.ias.cache.DiskManager.makeDiskPath(DiskManager.java:257)
at oracle.ias.cache.DiskManager.<init>(DiskManager.java:145)
at oracle.ias.cache.CacheInternal.init(CacheInternal.java:666)
at oracle.ias.cache.CacheInternal.init(CacheInternal.java:372)
at oracle.ias.cache.Cache.init(Cache.java:84)
at oracle.reports.cache.ReportsCacheHandler.initCache(ReportsCacheHandler.java:91)
at oracle.reports.cache.ReportsCacheHandler.init(ReportsCacheHandler.java:70)
at oracle.reports.cache.RWCache.start(RWCache.java:99)
at oracle.reports.server.RWServer.startServer(RWServer.java:977)
at oracle.reports.server.RWServer.jniMain(RWServer.java:305)
J2EE JOC-042 The object or file cannot be created.\\<IP>\reports_cache
J2EE JOC-043 base exception:
J2EE JOC-042 The object or file cannot be created.\\<IP>\reports_cache
at oracle.ias.cache.DiskManager.makeDiskPath(DiskManager.java:257)
at oracle.ias.cache.DiskManager.<init>(DiskManager.java:145)
at oracle.ias.cache.CacheInternal.init(CacheInternal.java:666)
at oracle.ias.cache.CacheInternal.init(CacheInternal.java:372)
at oracle.ias.cache.Cache.init(Cache.java:84)
at oracle.reports.cache.ReportsCacheHandler.initCache(ReportsCacheHandler.java:91)
at oracle.reports.cache.ReportsCacheHandler.init(ReportsCacheHandler.java:70)
at oracle.reports.cache.RWCache.start(RWCache.java:99)
at oracle.reports.server.RWServer.startServer(RWServer.java:977)
at oracle.reports.server.RWServer.jniMain(RWServer.java:305)
The following errors are seen in Reports Server diagnostic file when cacheDir is set to the same network drive.
[2012-01-28T18:00:34.274-08:00] [reports] [INCIDENT_ERROR] [REP-54005] [oracle.reports.server] [tid: <TID>] [ecid: <ECID>] REP-54005 : The cache directory \\<IP>\reports_cache cannot be created. [[
oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
at oracle.reports.utility.Utility.newRWException(Utility.java:1046)
at oracle.reports.cache.RWCache.start(RWCache.java:71)
at oracle.reports.server.RWServer.startServer(RWServer.java:977)
at oracle.reports.server.RWServer.jniMain(RWServer.java:305)
Changes
New directory for Reports Server cache was defined in reports server configuration file.
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 |
Changes |
Cause |
Solution |