You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "sean schofield (JIRA)" <de...@myfaces.apache.org> on 2006/01/13 20:57:21 UTC

[jira] Commented: (MYFACES-1024) Duplicate class in myfaces and tomahawk lead in class cast exception in JBoss

    [ http://issues.apache.org/jira/browse/MYFACES-1024?page=comments#action_12362683 ] 

sean schofield commented on MYFACES-1024:
-----------------------------------------

Perhaps we should remove the standard jsf component definitions from the tomahawk faces-config.xml?  Those should be defined by your JSF implementation so I can't see why they are in tomahawk.

> Duplicate class in myfaces and tomahawk lead in class cast exception in JBoss
> -----------------------------------------------------------------------------
>
>          Key: MYFACES-1024
>          URL: http://issues.apache.org/jira/browse/MYFACES-1024
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: 1.1.1
>  Environment: JBoss AS 4.0.3SP1
>     Reporter: Julien Viet
>     Assignee: Stan Silvert

>
> When using tomahawk lib in a war file there is a class cast exception which occurs because it contains a class in myfaces.
> As this class is loaded at the application server level and the war file level a CCE occurs.
> The name of the class is : org.apache.myfaces.config.MyFacesConfig
> Simply removing this class from tomahawk.jar will solve the issue.

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