IBM Support

"FileNotFound" error: "/database/entities/upgradeextensions/Extensions_abc.xml" on starting application server in 8.5

Troubleshooting


Problem

"FileNotFound" error: "/database/entities/upgradeextensions/Extensions_abc.xml" on starting application server in 8.5

Symptom

Application is referencing old db extensions xml when starting the server although it is removed from the extensions/global folder.

Error Message

Error occured while preparing the servlet for initialization.
javax.servlet.ServletException:
<Errors>
<Error ErrorCode="FileNotFound"

<Attribute Name="ErrorCode" Value="FileNotFound"/>
<Attribute Name="ErrorDescription" Value="Error_description_not_available"/>
<Attribute Name="DirectoryBeingParsed" Value="/database/entities"/>
<Attribute Name="ResourceName" Value="/database/entities/upgradeextensions/Extensions_abc.xml"/>
<Stack>com.yantra.yfc.util.YFCException
at com.yantra.tools.entityguru.generator.ResourceBrowser.loadResource(ResourceBrows er.java:165)
at com.yantra.tools.entityguru.generator.ResourceBrowser.scanClasspathFromDriver(Re sourceBrowser.java:127)
at com.yantra.tools.entityguru.generator.EntityRepositoryLoader.loadFromEntitiesTxt (EntityRepositoryLoader.java:
127)
at com.yantra.tools.entityguru.generator.EntityRepository.getEntityRepositoryForRel ativePath(EntityRepository.ja
va:170)
at com.yantra.tools.entityguru.generator.EntityRepository.getRelativePathEntityRepo sitory(EntityRepository.java:
149)
at com.yantra.yfs.japi.util.YFSInitializer.initializeEntityRepository(YFSInitialize r.java:157)
at com.yantra.yfs.japi.util.YFSInitializer.initialize(YFSInitializer.java:74)
at com.yantra.yfs.core.YFSSystem.initializeEntities(YFSSystem.java:95)

Resolving The Problem

This issue occurs if there is a reference stored in the file "entities.txt" for the old Extensions_abc.xml

Check the entities.txt present under <YFS_HOME>\repository\entity folder if operating in WAR mode.
In case of EAR mode, check the entities.txt present in the deployed EAR -> resources.jar.

If there is an entry for the previous extension files (i.e. extensions/Extensions_abc.xml), remove the corresponding entry from this file.
Rebuild the EAR/WAR and deploy.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

NFX9548

Product Synonym

[<p><b>]Escalation ID[</b><p>];00202773

Document Information

Modified date:
16 June 2018

UID

swg21559545