Forum Discussion

salini_sivasubramanian's avatar
6 months ago
Solved

ARAS31 import.mf deployment issue

Hai,
 
We recently upgraded our environment from Aras Innovator 11 to Aras Innovator 31, and we are running into several issues while deploying our solution packages. I wanted to share the details here to see if anyone has faced similar challenges or has suggestions.
 
In Aras 11, we used an import.mf file with the following structure, and everything deployed without issues:
 
<imports>
  <package name="DatabaseIdentifier" path="com\aras\innovator\DatabaseIdentifier" />
  <package name="com.aras.innovator.solution.PLM" path="PLM\Import" />
  <package name="com.aras.innovator.solution.Project" path="Project\Import">
    <dependson name="com.aras.innovator.solution.PLM" />
  </package>
  <package name="com.aras.innovator.core" path=".\" />
  <package name="com.aras.innovator.cui_default" path=".\" />
   <package name="Custom_Pkg1" path="CustomPkg1\Import" />
  <package name="Custom_Pkg2" path="CustomPkg2\Import" />
</imports>
 
After upgrading to Aras 31, we tried using the same .mf configuration, but we are encountering multiple deployment errors.
 
Issues Observed
 
1. Null Reference Error
 
Object reference not set to an instance of an object.
 
2. Method Not Found Error
 
It points to this AML:→ Error: “No items of type Method found.”
 
<Item type='ItemType' id='8052A558B9084D41B9F11805E464F443' action='edit'>                                              
<Relationships> <Item type="Server Event" action="add"> 
<related_id keyed_name="FileOnGet" type="Method"> 
<Item type="Method" action="get" select="id"> 
<name>FileOnGet</name> 
</Item> </related_id> </Item>                                                    
</Relationships> 
</Item>
 
Import package 'com.aras.innovator.core' failed with message: No items of type Method not  found.
 
3. Timeout Error During Import
 
The package was then marked as a failed release (seen for custom_Pkg).
 
faultcode: 999 faultstring: System.Net.WebException: The operation has timed out
 
 1. In Aras 31, are we required to use manifest.json instead of the old import.mf format for custom packages?
2. If yes, where exactly should the manifest.json file be placed, and what structure should it follow?
3. How should we handle customizations or extensions to system-level packages like  com.aras.innovator.core and com.aras.innovator.cui_default that previously existed in Aras 11?
4. Has anyone encountered the faultcode 999 / timeout issue during import — and how did we resolve it?
 
 
 
Thanks in Advance 
Salini
  • Hai MaksymArchybasov,

    Yes, the error mentioned was that the system could not execute a bulk AML query. As recommended during the ARAS upgrade, we plan to split the files to avoid this issue, since the connection timeout is set to 2 minutes. I have already started working on this approach. However, the challenge is that I have several large XML files, which makes this task quite complex. Thank you very much for your support throughout this discussion—it has been extremely helpful.

    Salini.

9 Replies

  • Hai MaksymArchybasov,

    Yes, the error mentioned was that the system could not execute a bulk AML query. As recommended during the ARAS upgrade, we plan to split the files to avoid this issue, since the connection timeout is set to 2 minutes. I have already started working on this approach. However, the challenge is that I have several large XML files, which makes this task quite complex. Thank you very much for your support throughout this discussion—it has been extremely helpful.

    Salini.

  • Hi Salini, 

    We're using Aras 33 and import.mf works just fine. 

    Most likely you have a cycle reference in your manifest file  that's why you have this timeout error (look carefully within the dependencies) .

    salini_sivasubramanian wrote:

    Import package 'com.aras.innovator.core' failed with message: No items of type Method not  found.

    1. look if the method exists in aml packages. 
    2. Find what the package it's used in
    3. Add this package in dependencies (sometimes it can be tricky to define an order in which the packages must be installed. e.g. in your case I believe the method in the package that must be installed after core package, and if you rearrange the package, it could be that there's reference to another one, and you'll again face with this issue but from different side). Anyhow I'd suggest you to try again and again playing with order of packages and dependencies, until you achieve the result. Sometimes I rearrange the package assignment for some methods or forms.

    First thing we done after our upgrade from aras 12 sp18 to ver 33 is  - we exported all the packages and created  a new manifest file.  I think it could be easier in your case.  Wish you luck 

    Best regards, Maksym Archybasov

     

     

     

    • salini_sivasubramanian's avatar
      salini_sivasubramanian
      Creator I

      Hai MaksymArchybasov,

      You are absolutely correct . The code structure have changed the files have been changed from .xml to .ts . We are trying to do the deployment in Jenkins . But we could not achieve it . Working on rearranging the packages as you mentioned . Will update here once I have completed  

      Regards
      Salini

      • salini_sivasubramanian's avatar
        salini_sivasubramanian
        Creator I

        Hai MaksymArchybasov,

        As you mentioned I have removed all the unresolved references , But still I am facing timeout error .

        Regards
        Salini

  • Aras Innovator 11 to Aras Innovator 31 is a very huge step! Do you do the upgrade with the Aras Upgrade team or do you try it on your own?