I'm receiving errors when deploying a Seam 2.2.0.GA War on the EAP 5.

Solution Unverified - Updated -

Issue

  • We have a problem deploying a Seam web app in a war compressed file:

    INFO  [ServletContextListener] Welcome to Seam 2.2.0.GA
    WARN  [URLScanner] could not read entries
    java.io.FileNotFoundException: <war name>.war/WEB-INF/lib/jboss-seam-2.2.0.GA.jar
     (The system can not find the path specified)
            at java.util.zip.ZipFile.open(Native Method)
            at java.util.zip.ZipFile.<init>(ZipFile.java:114)
            at java.util.zip.ZipFile.<init>(ZipFile.java:131)
            at org.jboss.seam.deployment.URLScanner.handleArchiveByFile(URLScanner.j
    ava:123)
            at org.jboss.seam.deployment.URLScanner.handle(URLScanner.java:107)
            at org.jboss.seam.deployment.URLScanner.scanResources(URLScanner.java:90
    )
    
  • We are receiving the following exception also when deploying

    java.lang.ClassCastException: com.sun.faces.config.WebConfiguration cannot be cast to com.sun.faces.config.WebConfiguration
    

Environment

  • JBoss Enterprise Application Platform (EAP) 5.0.0.GA
  • Seam 2.2.0.GA

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.