[jboss-jira] [JBoss JIRA] Commented: (JBAS-8397) org.jboss.test.deployers.weld.test.WeldTranslatorExampleUnitTestCase

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Thu Sep 9 00:40:49 EDT 2010


    [ https://jira.jboss.org/browse/JBAS-8397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12549822#action_12549822 ] 

Marius Bogoevici commented on JBAS-8397:
----------------------------------------

This tr by an inconsistency in the new deployers structure and deploying an ear in a war. Without 108029 the test succeed, but the behaviour of WeldInjector would be incorrect.

One recommendation is to adjust the tests to highlight the issue more accurately.

> org.jboss.test.deployers.weld.test.WeldTranslatorExampleUnitTestCase
> --------------------------------------------------------------------
>
>                 Key: JBAS-8397
>                 URL: https://jira.jboss.org/browse/JBAS-8397
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Weld/CDI
>            Reporter: Shelly McGowan
>            Assignee: Marius Bogoevici
>             Fix For: 6.0.0.CR1
>
>
> This test regression occurred after the following commits:
> http://fisheye.jboss.com/changelog/JBossAS/?cs=108028
> http://fisheye.jboss.com/changelog/JBossAS/?cs=108029
> http://fisheye.jboss.com/changelog/JBossAS/?cs=108030
> 21:45:25,282 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] deploy, ctxPath=/weld-translator
> 21:45:25,346 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/weld-translator]] Error configuring application listener of class org.jboss.web.tomcat.security.SecurityFlushSessionListener: java.lang.IllegalStateException: Cannot find BeanManager for BeanDeploymentArchive with id=BaseClassLoader at 9a2f1a{vfs:///work/TRUNK/trunk/testsuite/output/lib/weld-translator.ear/weld-translator.war/}
> 	at org.jboss.weld.integration.injection.WeldInjector.inject(WeldInjector.java:52) [:6.0.0-SNAPSHOT]
> 	at org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:395) [:6.0.0-SNAPSHOT]
> 	at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:291) [:6.0.0-SNAPSHOT]
> 	at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:285) [:6.0.0-SNAPSHOT]
> 	at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:268) [:6.0.0-SNAPSHOT]
> 	at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3319) [:]
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3828) [:]
> 	at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:299) [:6.0.0-SNAPSHOT]
> 	at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:138) [:6.0.0-SNAPSHOT]
> 	at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) [:6.0.0-SNAPSHOT]
> 	at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) [:6.0.0-SNAPSHOT]
> 	at org.jboss.web.deployers.WebModule.start(WebModule.java:95) [:6.0.0-SNAPSHOT]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list