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

Archimedes Trajano (JIRA) issues at jboss.org
Sat Aug 8 14:49:02 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-5072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096737#comment-13096737 ] 

Archimedes Trajano commented on WFLY-5072:
------------------------------------------

The above code works correctly on WebSphere Liberty and Glassfish

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