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

Identify Servlet definition in web.xml without the implementacion class in package file (WAR/EAR)

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 2.4.0.Final
    • None

      Some applications could define in Web Descriptors files (web.xml) components that at the end the implementation class are not included in the package file (EAR/WAR).

      If you are migrating to JBoss EAP Servlet it is not allowed and you will find errors in deployment time. It could be good to identify with a rule this incomplete definition.

      For example if you define a servlet in web.xml without any implementation class:

      <servlet id="Servlet_1">
      <servlet­name>Servlet_Without_Class</servlet­name>
      <servlet­class>com.not.implemented.ServletWithoutClass</servlet­class>
      </servlet>

            jaeichle@redhat.com Janine Eichler
            rmarting@redhat.com Roman Martin Gil
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: