Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-881

FreeMarker template error on an ejb-jar.xml that doesn't contain <session-type>

    Details

      Description

      Running Windup 2.5.0.CR1 against an attached application, like this:

      ./windup-distribution-2.5.0.CR1/bin/windup --batchMode --input cmp-test.jar --output ./migration-report --source eap --target eap7
      

      The reports/jboss_ejb3_cmp_test_jar.xml file contains a FreeMarker template error:

      FreeMarker template error (DEBUG mode; use RETHROW in production!):
      The following has evaluated to null or missing:
      ==> sessionBean.sessionType  [in template "reports/templates/jboss/jboss-ejb3.ftl" at line 84, column 29]
      

      From that, I'm guessing that the JavaEE rules probably expect a <session-type> element in the migrated application's ejb-jar.xml, but according to http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd, this is optional.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jsightler Jess Sightler
                Reporter:
                lthon Ladislav Thon
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: