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>

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 2.5.0.CR3
    • 2.5.0.CR1
    • None

    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.

      Attachments

        Activity

          People

            jsightle@redhat.com Jess Sightler
            lthon@redhat.com Ladislav Thon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: