"TIBCO-BW-SCHEMA-RESOLVER-500101" after running a BW project migrated from version 5.x to 6.x .

"TIBCO-BW-SCHEMA-RESOLVER-500101" after running a BW project migrated from version 5.x to 6.x .

book

Article ID: KB0087040

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
After migrating BW5 project, the error "<CausedBy> com.tibco.bw.core.runtime.schemaresolver.SchemaNotFoundException: TIBCO-BW-SCHEMA-RESOLVER-500101: Schema not found." is seen during runtime in BW6. Note that this article only applies if you are migrating a BW5 project using "Locks".
Symptoms:

Error during runtime:


>>>>>>>>>>>>>>>>
<CausedBy> com.tibco.bw.core.runtime.schemaresolver.SchemaNotFoundException: TIBCO-BW-SCHEMA-RESOLVER-500101: Schema not found.  Schema [namespace=, location=null, baseURI=null] not found in cache for the BW Module [CLEFramework:1.0.0.qualifier].  The SchemaCacheService operation [LocXsdCacheService.getCache] returned "null".
>>>>>>>>>>>>>

Cause:

As per the BW documentation:


>>>>>>>>>>>>>>>>>>>
Migration Tool migrates the ActiveMatrix BusinessWorks 5.x Lock Object as a Module Shared Variable and Group with Critical Section.
>>>>>>>>>>>>>>>>>>>


The type of migrated Lock should be the primitive type “string”. It is currently converted to the element type “string” and because of this it throws an error during startup. See the attached document (Filename: Lock.docx) with screenshots.

Issue/Introduction

"TIBCO-BW-SCHEMA-RESOLVER-500101" after running a BW project migrated from version 5.x to 6.x .

Resolution

Copy the name of the shared variable, delete it and recreate it with the primitive type "string".

Attachments

"TIBCO-BW-SCHEMA-RESOLVER-500101" after running a BW project migrated from version 5.x to 6.x . get_app