Troubleshooting
Problem
CDT (ydk) fails with errors like "Entity
Symptom
When starting the Configuration Deployment Tool (CDT) (the CDT GUI in this scenario, ydk), it immediately aborts with errors such as the following:
Error MessageExample:
Initializing system...
2010-06-22 18:06:38,576:ERROR
:main: [1277244398575]Error_description_not_available [system]: YFSInitializer
2010-06-22 18:06:38,584:ERRORDTL:main: [1277244398575]
<Errors>
<Error
ErrorDescription="Error_description_not_available"
ErrorRelatedMoreInfo="">
<Attribute Name="ErrorCode" Value="Entity
Order_Line already has same name attribute Extn_Extn_Reference_1"/>
<Attribute Name="ErrorDescription" Value="Error_description_not_available"/>
<Attribute Name="DirectoryBeingParsed" Value="/database/entities"/>
<Attribute Name="FileBeingParsed"
Value="upgradeextensions/MY_YFS_ORDER_LINE.xml"/>
<Stack>com.yantra.yfc.util.YFCException
at
com.yantra.tools.entityguru.generator.Entity.addAttribute(Entity.java:1499)
at
com.yantra.tools.entityguru.generator.Entity.processAttributesElement(Entity.jav
a:2337)
at
com.yantra.tools.entityguru.generator.EntityRepository.extendColumns(EntityRepos
itory.java:611)
at
com.yantra.tools.entityguru.generator.EntityRepository.parseExtendedXmlFile(Enti
tyRepository.java:535)
at
com.yantra.tools.entityguru.generator.EntityRepositoryLoader.getEntityRepository
(EntityRepositoryLoader.java:60)
at
com.yantra.tools.entityguru.generator.EntityRepository.getEntityRepositoryForRel
ativePath(EntityRepository.java:171)
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.tools.ydk.YantraIDE.doCommonInitializations(YantraIDE.java:230)
at com.yantra.tools.ydk.YantraIDE.initConfig(YantraIDE.java:132)
at
com.yantra.tools.ydk.YantraIDE.init(YantraIDE.java:75)
at
com.yantra.yfc.ui.YFCFrame.<init>(YFCFrame.java:364)
at
com.yantra.tools.ydk.YantraIDE.main(YantraIDE.java:287)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)<br
/> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at
com.sterlingcommerce.woodstock.noapp.NoAppLoader.main(NoAppLoader.java:82)
</Stack>
</Error>
</Errors>
Resolving The Problem
This issue is commonly caused by duplicated database extensions files. That is, when one wishes to extend the database, a database extensions file (or files) is created and placed in a specific folder. In the Supply Chain Application version 7.x days, this folder was unique. However, with the release of version 8.x, there are now two possible working folders that can hold database extensions.
The Customization Guides state to place database extensions in folder <INSTALL_DIR>/repository/entity/extensions. But when upgrading from version 7.x to 8.x, this process utilizes folder <INSTALL_DIR>/extensions/global/entities to hold any migrated database extensions files. Documentation improvements will be made to clarify this, but in the meantime, the main rule of thumb is to place database extensions files in only one of the two available folders. If you receive errors like those above when starting CDT, remove any duplicated database extensions files from one of the two folders, rebuild entities.jar and resources.jar, and try again. This should resolve the issue.
Historical Number
NFX9281
Product Synonym
[<p><b>]Function Area[</b><p>];CDT;Database Extensions;[<p><b>]Severity[</b><p>];Normal
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21559380