I have seen these errors often while running different triggers from ATG in ATG-Endeca Integration based setup. Some Examples are –
While running baseline Update
19:58:52,199 ERROR [atg] ([STANDBY] ExecuteThread: ’14’ for queue: ‘weblogic.kernel.Default (self-tuning)’) Unable to resolve component /atg/search/repository/BulkLoader java.lang.StackOverflowError
at java.io.UnixFileSystem.checkAccess(Native Method)
at java.io.File.canRead(File.java:768)
at atg.vfs.file.LocalFile.canRead(LocalFile.java:345)
at atg.nucleus.PropertyConfigurationFinder.findConfigurationFiles(PropertyConfigurationFinder.java:307)
at atg.nucleus.PropertyConfigurationFinder.findConfiguration(PropertyConfigurationFinder.java:238)
at atg.nucleus.PropertyConfigurationFinder.findConfiguration(PropertyConfigurationFinder.java:200)
at atg.nucleus.MultipleConfigurationFinder.findConfiguration(MultipleConfigurationFinder.java:147)
at atg.nucleus.PropertyConfiguration.mergeInBasedOn(PropertyConfiguration.java:238)
at atg.nucleus.PropertyConfiguration.<init>(PropertyConfiguration.java:197)
at atg.nucleus.PropertyConfigurationFinder.findConfiguration(PropertyConfigurationFinder.java:252)
at atg.nucleus.PropertyConfigurationFinder.findConfiguration(PropertyConfigurationFinder.java:200)
at atg.nucleus.MultipleConfigurationFinder.findConfiguration(MultipleConfigurationFinder.java:147)
While running UpdateStore from FileStoreFactory in dyn admin
12:47:03,672 ERROR [atg] ([ACTIVE] ExecuteThread: ’15’ for queue: ‘weblogic.kernel.Default (self-tuning)’) Unable to set configured property “/atg/endeca/assembler/cartridge/manager/WorkbenchContentSource_en.storeFactory” atg.nucleus.ConfigurationException: Unable to resolve component /com/digital/commerce/endeca/assembler/cartridge/manager/FileStoreFactory_en
12:47:04,572 ERROR [atg] ([ACTIVE] ExecuteThread: ’15’ for queue: ‘weblogic.kernel.Default (self-tuning)’) Unable to resolve component /atg/endeca/assembler/cartridge/manager/DefaultFileStoreFactory java.lang.StackOverflowError
at java.util.TreeMap$NavigableSubMap$SubMapIterator.nextEntry(TreeMap.java:1704)
at java.util.TreeMap$NavigableSubMap$SubMapEntryIterator.next(TreeMap.java:1751)
at java.util.TreeMap$NavigableSubMap$SubMapEntryIterator.next(TreeMap.java:1745)
at com.endeca.store.assets.AssetStore$AssetIterator.hasNext(AssetStore.java:177)
at com.endeca.store.assets.AssetStore$AssetIterator.hasNext(AssetStore.java:197)
at com.endeca.store.assets.AssetStore$AssetIterator.hasNext(AssetStore.java:197)
at com.endeca.store.assets.AssetStore$AssetIterator.hasNext(AssetStore.java:197)
at com.endeca.store.assets.AssetStore$AssetIterator.hasNext(AssetStore.java:197)
at com.endeca.store.assets.AssetStore$AssetIterator.hasNext(AssetStore.java:197)
at com.endeca.store.assets.AssetStore$AssetIterator.hasNext(AssetStore.java:197)
at com.endeca.store.assets.AssetStore$AssetIterator.hasNext(AssetStore.java:197)
at com.endeca.store.assets.AssetStore$AssetIterator.hasNext(AssetStore.java:197)
at com.endeca.store.assets.AssetStore$AssetIterator.hasNext(AssetStore.java:197)
at com.endeca.store.assets.AssetStore$AssetIterator.hasNext(AssetStore.java:197)
at com.endeca.store.assets.AssetStore$AssetIterator.hasNext(AssetStore.java:197)
at com.endeca.store.assets.AssetStore$AssetIterator.hasNext(AssetStore.java:197)
Why this error –
This happens when the server tries to load a huge file from file system. This error is not specific to ATG or Endeca, it can happen with any application that is trying to read File from the filesystem.
Fix-
In Weblogic admin console,
Goto –
Environment – > Servers -> Click on the server name that has this issue -> Select Configuraion -> Under Configuration select “Server Start” -> Scroll to Argument section
Update the Arguments value to -Xss1024k
If it still fails to update the value to -Xss2048k or -Xss4096k