[
https://issues.jboss.org/browse/RF-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650480#comment-12650480
]
Jean ANDRE edited comment on RF-11795 at 12/13/11 10:04 AM:
------------------------------------------------------------
Exact - PMR was open to IBM to resolve the conflict - Even by isolating our CDI
we got another exception.
{code}
java.lang.ClassCastException:
org.apache.webbeans.config.OpenWebBeansConfiguration incompatible with
org.apache.webbeans.config.OpenWebBeansConfiguration
at
org.apache.webbeans.config.OpenWebBeansConfiguration.getInstance(OpenWebBeansConfiguration.java:128)
at
org.apache.webbeans.corespi.ServiceLoader.getService(ServiceLoader.java:54)
at
org.apache.webbeans.lifecycle.LifecycleFactory.getLifecycle(LifecycleFactory.java:41)
{code}
The bug is not yet confirmed, but I think you can close this one.
Thanks,
See also:
- https://issues.apache.org/jira/browse/OWB-616
- https://issues.jboss.org/browse/SOLDER-99
- https://www.ibm.com/developerworks/forums/thread.jspa?threadID=390668
WAS 8.0.0.1 should resolved the bug but the fact is that there is some others
bugs related to - THE RETURNING !
was (Author: jorelia64):
Exact - PMR was open to IBM to resolve the conflict - Even by isolating our
CDI we got another exception.
{code}
java.lang.ClassCastException:
org.apache.webbeans.config.OpenWebBeansConfiguration incompatible with
org.apache.webbeans.config.OpenWebBeansConfiguration
at
org.apache.webbeans.config.OpenWebBeansConfiguration.getInstance(OpenWebBeansConfiguration.java:128)
at
org.apache.webbeans.corespi.ServiceLoader.getService(ServiceLoader.java:54)
at
org.apache.webbeans.lifecycle.LifecycleFactory.getLifecycle(LifecycleFactory.java:41)
{code}
The bug is not yet confirmed, but I think you can close this one.
Thanks,
See also:
- https://issues.apache.org/jira/browse/OWB-616
- https://issues.jboss.org/browse/SOLDER-99
- https://www.ibm.com/developerworks/forums/thread.jspa?threadID=390668
> CDI - Class cast exception in RichFaces
> ---------------------------------------
>
> Key: RF-11795
> URL: https://issues.jboss.org/browse/RF-11795
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: Websphere 8 - RAD 8.0.0.4 - JSF Mojorra 2.1.4 - Spring
> 3.0.6 Final - Use @Inject @Named @SessionScoped as annotations - Firefox
> 7.0.1 - Windows 7 (6.1 sp1) - AJDT 2.1.3
> Reporter: Jean ANDRE
> Assignee: Lukáš Fryč
>
> Well, not sure it is a bug - Need to be confirmed.
> RAD 8.0.0 supports CDI 1.0 but due to a bug in RAD we have to upgrade in CDI
> 1.1 at least. We have tried both implementation, Weld 1.1 and OpenWebBean
> 1.1.2 and richfaces fails to work when we use one of them.
> We got an class cast exception as shown below:
> {code}
> Caused by: java.lang.ClassCastException: Cannot cast class
> org.richfaces.cdi.push.PushCDIDependencyRegistrationExtension to interface
> javax.enterprise.inject.spi.Extension
> at java.lang.Class.cast(Class.java:1718)
> at java.util.ServiceLoader$ServiceIterator.next(ServiceLoader.java:195)
> ... 78 more
> {code}
> The first question is which CDI version and implementation richfaces is
> supposed to run with ? and what we need to know if we need to change the CDI
> implementation for an another one (such as dependency...) ?
> Other trace is :
> {code}
> Caused by: java.util.ServiceConfigurationError: KB005
> at java.util.ServiceLoader$ServiceIterator.next(ServiceLoader.java:200)
> at
> org.apache.webbeans.portable.events.ExtensionLoader.loadExtensionServices(ExtensionLoader.java:78)
> at
> org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:139)
> at
> org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:124)
> at
> org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:78)
> at
> com.ibm.ws.webbeans.common.CommonLifeCycle.startApplication(CommonLifeCycle.java:106)
> at
> com.ibm.ws.webbeans.services.JCDIServletContainerInitializer.onStartup(JCDIServletContainerInitializer.java:85)
> at
> com.ibm.ws.webcontainer.webapp.WebAppImpl.initializeServletContainerInitializers(WebAppImpl.java:609)
> at
> com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:405)
> at
> com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
> at
> com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)
> ... 68 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues