Is there any reason why MyFacesConfig needs to be in the tomahawk jar?  

MyFaces is now embedded in JBoss, but tomahawk is not.  According to
Julien, this can cause a ClassCastException if you try to use tomahawk.

If tomahawk needs some initialization then it should have its own class
for that.

Stan Silvert
JBoss, Inc.
[EMAIL PROTECTED]
callto://stansilvert

> -----Original Message-----
> From: Julien Viet (JIRA) [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 13, 2006 9:11 AM
> To: [email protected]
> Subject: [jira] Created: (MYFACES-1024) Duplicate class in myfaces and
> tomahawk lead in class cast exception in JBoss
> 
> 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
> 
> 
> 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

Reply via email to