3 Replies Latest reply on Aug 6, 2009 4:50 AM by jaikiran pai

    Seam New Project Won't Deploy (JBoss Tools 3.1.0, Seam 2.2.0

    David Murphy Newbie

      Hi - I am trying to get a basic SEAM project to deploy on AS 5.1. The project is created via the new Project -> Seam Web Project wizard In Eclipse Galileo.

      --Problem 1--
      While setting up the SEAM properties for the project the wizard asks for the seam properties Seam Runtime. I have Seam 2.2 installed but when I try to use that the wizard complains that "The selected seam appears to be of an incompatible version '2.2.0.GA''.

      So get around that I installed SEAM 2.0 and the previous problem is resolved. But I have on older version of seam.

      --Problem 2--
      When I 'run on server' the ant script builds a .war file and deploys that. However JBOSS AS then throws exceptions 'File Not Found' trying to load files from the .war file. This is a windows system. The ant script uses the task to build the war file - should it use the ant task instead?

      Anyway, so I changed the build file to deploy the seam application unapacked to try to get around this problem.

      --Problem 3--
      Now JBOSS throws exceptions as the seam app is loading :-

      Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
      com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.jboss.seam.jsf.SeamApplicationFactory

      googling this seems to point to some conflict in which jsf libraries are being loaded. But being unfamiliar with JSF and SEAM I'm at a loss to know what the problem here is. Any help much appreciated..