[jboss-jira] [JBoss JIRA] Commented: (JBAS-4426) ADF integration!

Martin Trummer (JIRA) jira-events at lists.jboss.org
Wed Oct 31 09:52:48 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4426?page=comments#action_12385281 ] 
            
Martin Trummer commented on JBAS-4426:
--------------------------------------

make sure that you do not have the same library twice.
I got the same error, because I had 2 different versions of the same library (jsf-impl.jar):
* one in my .war archive under WEB-INF/lib
* the other one in jboss-4.2.0.GA\server\default\deploy\jboss-web.deployer\jsf-libs

removing the library from my .war archive fixed it

> ADF integration!
> ----------------
>
>                 Key: JBAS-4426
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4426
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: JBossAS-4.2.0.GA
>         Environment: ADF components from Oracle!
>            Reporter: Cristian Olaru
>
> When I deploy an application with ADF components inside I get this exception:
> 10:51:34,213 ERROR [[/aplicatie_test]] Exception thrown by attributes event listener
> java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate cannot be cast to com.sun.faces.application.ApplicationAssociate
>         at com.sun.faces.application.ApplicationAssociate.getInstance(ApplicationAssociate.java:180)
>         at com.sun.faces.application.WebappLifecycleListener.getAssociate(WebappLifecycleListener.java:289)
>         at com.sun.faces.application.WebappLifecycleListener.handleAttributeEvent(WebappLifecycleListener.java:225)
>         at com.sun.faces.application.WebappLifecycleListener.attributeReplaced(WebappLifecycleListener.java:144)
>         at org.apache.catalina.connector.Request.setAttribute(Request.java:1435)
>         at org.apache.catalina.connector.RequestFacade.setAttribute(RequestFacade.java:503)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:193)
>         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
>         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
>         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:619)

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

        



More information about the jboss-jira mailing list