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.
For more information on JIRA, see: http://www.atlassian.com/software/jira