[jboss-jira] [JBoss JIRA] (WFLY-5072) Unable to create a @Stateless @WebListener ServletContextListener

Stuart Douglas (JIRA) issues at jboss.org
Tue Aug 11 19:17:03 EDT 2015


     [ https://issues.jboss.org/browse/WFLY-5072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas reassigned WFLY-5072:
------------------------------------

       Issue Type: Feature Request  (was: Bug)
    Fix Version/s: Awaiting Volunteers
         Assignee:     (was: Stuart Douglas)


This is non standard, there is nothing in the spec that says this should work.

> Unable to create a @Stateless @WebListener ServletContextListener
> -----------------------------------------------------------------
>
>                 Key: WFLY-5072
>                 URL: https://issues.jboss.org/browse/WFLY-5072
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: EE, EJB, Web (Undertow)
>    Affects Versions: 8.2.1.Final, 9.0.1.Final
>            Reporter: Archimedes Trajano
>             Fix For: Awaiting Volunteers
>
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list