Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5072

Unable to create a @Stateless @WebListener ServletContextListener

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • None
    • 8.2.1.Final, 9.0.1.Final
    • EE, EJB, Web (Undertow)
    • None

    Description

      Getting WFLYUT0037: when I try to have a @WebListener that is @Stateless

      Caused by: java.lang.RuntimeException: WFLYUT0037: net.trajano.test.StartupListener has the wrong component type, it cannot be used as a web component
      at org.wildfly.extension.undertow.deployment.WebComponentProcessor.deploy(WebComponentProcessor.java:116)

      Attachments

        Activity

          People

            Unassigned Unassigned
            archimedes.trajano Archimedes Trajano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: