Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-111

Duplicate class in myfaces and tomahawk lead in class cast exception in JBoss

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Portlet_Support
    • None
    • JBoss AS 4.0.3SP1

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ssilvert Stan D. Silvert
            vietj Julien Viet

            Dates

              Created:
              Updated:

              Slack

                Issue deployment