Error on running a job from the AI Console after moving to Open JDK 11

Version 1
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    BMC Atrium Core - CMDB


    COMPONENT:

    BMC Atrium Core


    APPLIES TO:

    AtriumCore 1902



    PROBLEM:

    After moving to Open JDK 11, error on running an AI job (That imports data from an Excel file into Remedy) from the AI console. The job works fine from Spoon.
     

    java.lang.NoClassDefFoundError: javax/activation/DataSource

      

                at java.base/java.lang.Class.forName0(Native Method)

      

                at java.base/java.lang.Class.forName(Class.java:315)

      

                at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:450)

      

                at org.pentaho.di.job.entry.JobEntryCopy.<init>(JobEntryCopy.java:135)

      

                at org.pentaho.di.job.JobMeta.loadXML(JobMeta.java:1086)

      

                at org.pentaho.di.job.JobMeta.loadXML(JobMeta.java:880)

      

                at org.pentaho.di.job.JobMeta.loadXML(JobMeta.java:863)

      

                at org.pentaho.di.job.JobMeta.<init>(JobMeta.java:768)

      

                at org.pentaho.di.job.JobConfiguration.<init>(JobConfiguration.java:75)

      

    Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource

      

                at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)

      

                at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)

      

                at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)

      

                

     


    CAUSE:

    Missing jakarta.activation-1.2.1.jar in the ARSystem\diserver\data-integration\lib directory


    SOLUTION:


    Download https://repo1.maven.org/maven2/com/sun/activation/jakarta.activation/1.2.1/jakarta.activation-1.2.1.jar

    Place this file in the ARSystem\diserver\data-integration\lib directory on the AR Server machine and add it to the ClassPath.


    Article Number:

    000169403


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles