geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liu Jianhong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-5898) ClassCastException during deployment of some JCDI TCK
Date Fri, 07 Sep 2012 04:04:08 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-5898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450324#comment-13450324
] 

Liu Jianhong commented on GERONIMO-5898:
----------------------------------------

This bug still exist when I deploy any wab(Web Application Bundle) with "META-INF/beans.xml"
or  "WEB-INF/beans.xml" in to hotbundles's directory
                
> ClassCastException during deployment of some JCDI TCK
> -----------------------------------------------------
>
>                 Key: GERONIMO-5898
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5898
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: OpenWebBeans
>            Reporter: Kevan Miller
>             Fix For: 3.0
>
>
> Final JCDI TCK issue (I hope). During deployment of some apps, we're getting the following
exception (this is with an updated WebBeansConfigurationListener.java). So, will need to resolve
wrt. GERONIMO-5896
> Here's the exception we get:
> {code}
> 2011-04-10 20:28:22,185 ERROR [DecoratorInvocationTest]] Exception sending context initialized
event to listener instance of class org.apache.geronimo.openwebbeans.WebBeansConfigurationListener
> java.lang.ClassCastException: javax.servlet.ServletContextEvent cannot be cast to org.apache.openejb.cdi.StartupObject
> 	at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:110)
> 	at org.apache.geronimo.openwebbeans.WebBeansConfigurationListener.contextInitialized(WebBeansConfigurationListener.java:86)
> 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4521)
> 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5004)
> 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:4999)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:680)
> {code}
> This appears to be the cause of the remaining test failures. So, this might be the final
fix needed to clear up the JSR-299 tests...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message