2 Replies Latest reply on Nov 14, 2009 3:39 AM by Dave Berry

    Seam being loaded twice

    Dave Berry Newbie

      I am getting the error: Caused by: java.lang.IllegalStateException: Two components with the same name and precedence - component name: org.jboss.seam.core.init, component classes: org.jboss.seam.core.Init, org.jboss.seam.core.Init


      The only jar file that has the class file org.jboss.seam.core.Init is the jboss-seam-2.2.0.jar file. There is only one installed in the application.xml as an ejb.


      Somehow, it is reloading the seam jar twice and throwing an exception that the org.jboss.seam.core.init component is being loaded twice.


      I do however see that the seam jar file is being copied twice into the tmp/deploy directory. I can't imagine why.


      Any help would be greatly appreciated.


      Thanks in advance!
      Dave