Fixes installed: Ehcache Client Libraries 10.15 fix 8, Ehcache Bundles 10.15 fix 8, My webMethods Server 10.15 fix 4 …
We want to migrate document attributes, document types, external ID types, contact types,… (Trading network assets) from an old MWS (10.3) to a new MWS (10.15). We have exported all the assets to a zip file using the MWS Asset Manager on 10.3 environment. And we can extract the assets from the zip in 10.15 environment.
But when trying the import the Document attributes, we get this error:
We have tried multiple combinations of which asset to import first and in combination but no success.
NPE doesn’t say much - can you post the detailed error messages from the MWS _full.log, when you perform this import action?
I now get a more clear error:
This is in a freshly created database with the dbConfigurater.
Do you have any idea why its complaining?
Hi @wout.swennen May ensure did you executed the pre requisite scripts required to executed in 10.5 version of the DB configurator before migrating the assets ? it seems to be schema mismatch issue
From historical knowledge, I see that you can resolve this by doing the following -
- Take a backup of your database
- Open setcp.sh present inside WmTN/bin folder and check if the value paths are correctly set
- Execute this script with the parameters shown here in the command line -
<SoftwareAG>/IntegrationServer/packages/WmTN/bin/tnimport.sh -xml init.xml -db
- Reload WmTN package
What does this do?
This will add/update the standard metadata in your TN database.
Why does this happen?
I’m unsure, unfortunately, but this shouldn’t happen again if your metadata is reloaded.
Please check Trading Networks Troubleshooting (softwareag.com)
It seems the EDIINT might cause some conflicts.
Try not importing
EDI* Document Attributes.
One import sequence that might work for you:
- Partner Groups
- Field Groups
- Field Definitions
- External ID Types
- Contact Types
- Binary Types
- Partner Profiles (with dependencies) for your own enterprise
- Partner Profiles (all remaining partners)
- Document Attributes (no
- Documents Type
- Processing Rules
- Trading Partner Agreements
- all remaining assets.
Some grouping is possible but it might differ for each case.