[seam-issues] [JBoss JIRA] Commented: (SEAMSERVLET-37) Servlet event not generated or cannot be received in jboss 6AS final

yangju (JIRA) jira-events at lists.jboss.org
Tue May 3 17:57:18 EDT 2011


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

yangju commented on SEAMSERVLET-37:
-----------------------------------

It turns out that it is an issue with jboss AS's war deploy.
There is a workaround for the issue (actually this is THE workaround for many issues found in weld):

Comment out "WarClassLoaderDeployer" in deployers/jbossweb.deployer/META-INF/war-deployers-jboss-beans.xml

Wonder why jboss 5 and 6 introduced this WarClassLoaderDeployer and turn it on by default. It causes lots of pain for developers.

> Servlet event not generated or cannot be received in jboss 6AS final
> --------------------------------------------------------------------
>
>                 Key: SEAMSERVLET-37
>                 URL: https://issues.jboss.org/browse/SEAMSERVLET-37
>             Project: Seam Servlet
>          Issue Type: Bug
>          Components: Producers
>    Affects Versions: 3.0.0.Final
>         Environment: Windows Jboss 6 AS Final, weld 1.1.0.CR3, seam persistence and solder but no seam faces module.
> Deployment: Ear (war inside ear)
>            Reporter: yangju
>
> I have a bean to startup some our beans as @Startup not working some of the times.
>  public void onStartup(@Observes(notifyObserver=Reception.ALWAYS) @Started WebApplication webapp) {
> }
> But this method is never triggered.
> I have the 3.0.0.Final seam servlet jar inside my ear (should be visible to war).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list