My Oracle Support Banner

DWR example code causes heavy disk access of CONFIGPATH data (Doc ID 1368999.1)

Last updated on NOVEMBER 29, 2019

Applies to:

Oracle Commerce Platform - Version 2007.1 and later
Information in this document applies to any platform.
ATG made available a whitepaper titled "Ajax development of ATG applications using DWR: How to integrate DWR with ATG.s Nucleus IoC container to enable development of rich user interfaces for applications". The white paper includes sample code for a Java class atg.dwr.create.NucleusCreator to demonstrate the proposed techniques.


Symptoms

Disk access becomes such a scarce resource that it is a bottleneck on site performance. Threads dumps will display variations on the following:

java.lang.Thread.State: RUNNABLE
"ajp-0.0.0.0-7101-233" daemon prio=3 tid=<id> nid=<id> runnable [id]
	at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
	at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
	at java.io.File.exists(File.java:733)
	at atg.vfs.file.LocalFile.exists(LocalFile.java:273)
	at atg.nucleus.PropertyConfigurationFinder.readConfiguration(PropertyConfigurationFinder.java:337)
	at atg.nucleus.PropertyConfigurationFinder.findConfigurationFiles(PropertyConfigurationFinder.java:247)
	at atg.nucleus.PropertyConfigurationFinder.findConfiguration(PropertyConfigurationFinder.java:189)
	at atg.nucleus.PropertyConfigurationFinder.findConfiguration(PropertyConfigurationFinder.java:151)
	at atg.nucleus.MultipleConfigurationFinder.findConfiguration(MultipleConfigurationFinder.java:125)
	at atg.dwr.create.NucleusCreator.getType(NucleusCreator.java:34)


Changes

 

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
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.