3 Replies Latest reply on Nov 6, 2008 9:18 AM by Shane Bryzak

    cant get basic out of box workable config : sort of fail on new seam project deploy on AS5.0.0.CR2

    William Woodman Master

      part of ongoing struggle with seam and getting a working build


      when i deploy to as4.2.3 i get errors about two seam phase listeners which i cant fix and may be related to jsf1.2.10 build you i cant find



      If i deploy an a new project to 5.0.0.CR2 i get different errors about the deploy.  However in desperation i tried to browse the site and it sort of worked.  What does this all mean.


      I just want a clean install and publish cycle without errors.  I'm still somewhat of a numpty user but this doing my head in.


      Whats a viable workable config with basic errors when creating a new out of the box app that i can start on?



      i get this error on 5.0.0.cr2


      22:32:58,209 WARN  [HDScanner] Failed to process changes
      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      *** DEPLOYMENTS MISSING DEPLOYERS: Name
      
      vfsfile:/E:/jboss/jboss-5.0.0.CR2/server/default/deploy/newServerProj-ear.ear/
      
           at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:709)
           at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
           at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
           at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
           at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
           at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
           at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      



      but if i try and browse the site it seems on install and ai get there



      see related different problems with deploying to 4.2.3 on


      
      http://www.seamframework.org/Community/FreshInstallPleaseHelpNoPhaseIdBoundToCurrentThreadMakeSureYouDoNotHaveTwoSeamPhaseListenerInstancesInstalled
      
      



      this getting very silly and i just want a clean start

        • 1. Re: cant get basic out of box workable config : sort of fail on new seam project deploy on AS5.0.0.CR2
          William Woodman Master

          if in undeploy and redeploy i get the errors


          22:56:00,727 WARN  [HDScanner] Scan failed
          org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(newServerProj-ear.ear)
               at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
               at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:85)
               at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:845)
               at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:303)
               at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:260)
               at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:267)
               at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
               at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
               at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
               at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
               at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
               at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
               at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
               at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
               at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
               at java.lang.Thread.run(Unknown Source)
          Caused by: java.lang.RuntimeException: Error determining structure: newServerProj-ear.ear
               at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:289)
               at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)
               at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:196)
               at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:221)
               at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
               ... 14 more
          Caused by: java.lang.RuntimeException: jboss-seam.jar module listed in application.xml does not exist within .ear newServerProj-ear.ear
               at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:268)
               ... 18 more
          



          and it cant be reached from the broswer


          what is going on ?


          please any help with something i can work to either of 4 series or 5 series would be a fabulous step forward !


          • 2. Re: cant get basic out of box workable config : sort of fail on new seam project deploy on AS5.0.0.CR2
            Dan Allen Master

            Are you starting with seam-gen and deploying to JBoss 4.2.3? If you are having trouble and haven't started there, then I recommend that you do. If you already have a seam-gen application working, then we can talk more.


            Btw, make sure your faces-config.xml does not have the Seam phase listener define in it. Declaring the Seam phase listener in your faces-config.xml is outdated configuration advice.

            • 3. Re: cant get basic out of box workable config : sort of fail on new seam project deploy on AS5.0.0.CR2
              Shane Bryzak Master

              Also check that you don't have jboss-seam.jar listed in manifest.mf (a known bug with AS 4.2.3).  And I strongly recommend you stick with 4.2.3 until the AS5 issues are sorted out.