Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7932

New Seam EAR project fails to deploy to JBoss AS 6 CR1

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 3.2.0.Beta2
    • Fix Version/s: 3.2.0.CR1
    • Component/s: seam2
    • Labels:
      None
    • Environment:
      Linux 64bit
      JDK 1.6.0_23
      JBoss Tools 3.2.0 Beta 2 (20101206)
      Seam 2.2.1.CR2
    • Affects:
      Release Notes
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      1. Remove "Class-Path: jboss-seam.jar " from <ejb_project>/ejbModule/META-INF/MANIFEST.MF
      2. Properties for <ejb_projec>>Java Build Path>Libraries->Add Jars-><ear_project>/EarContent/jboss-seam.jar->Ok

      Show
      1. Remove "Class-Path: jboss-seam.jar " from <ejb_project>/ejbModule/META-INF/MANIFEST.MF 2. Properties for <ejb_projec> >Java Build Path >Libraries->Add Jars-><ear_project>/EarContent/jboss-seam.jar->Ok

      Description

      Steps to reproduce:

      1) Unzip JBoss AS 6 CR1
      2) Add the server to JBoss Tools
      3) Create new Seam 2.2 project (select EAR project and either HSQLDB or MySQL)
      4) Start the application server
      5) An exception is thrown during deployment of the project (see the attached file for the stacktrace)

      Note that an WAR project deploys without problems. Also, and EAR or WAR project generated via seam-gen works as expected.

        Gliffy Diagrams

        1. ear.log
          14 kB
          Jozef Hartinger

          Issue Links

            Activity

            Hide
            maxandersen Max Rydahl Andersen added a comment -

            Anyone know why the default AS setup doesn't work ?

            Show
            maxandersen Max Rydahl Andersen added a comment - Anyone know why the default AS setup doesn't work ?
            Hide
            maxandersen Max Rydahl Andersen added a comment -

            aaah - this is because Seam <2.2+ expects JSF 1.2 and AS 6 comes with JSF 2.

            Okey - so yes that is needed for AS 6 and hopefully will just be ignored by previous AS's.

            Show
            maxandersen Max Rydahl Andersen added a comment - aaah - this is because Seam <2.2+ expects JSF 1.2 and AS 6 comes with JSF 2. Okey - so yes that is needed for AS 6 and hopefully will just be ignored by previous AS's.
            Hide
            ssilvert Stan Silvert added a comment -

            I can confirm. org.jboss.jbossfaces.JSF_CONFIG_NAME will be ignored by previous AS's.

            Show
            ssilvert Stan Silvert added a comment - I can confirm. org.jboss.jbossfaces.JSF_CONFIG_NAME will be ignored by previous AS's.
            Hide
            snjeza Snjezana Peco added a comment -

            The context parameter will be added only if the user chooses JSF Facet version 1.2 (the default) when creating a Seam project.

            Show
            snjeza Snjezana Peco added a comment - The context parameter will be added only if the user chooses JSF Facet version 1.2 (the default) when creating a Seam project.
            Hide
            dpospisil Dominik Pospisil added a comment -

            Verified (jbdevstudio-product-eap-linux-gtk-x86_64-4.0.0.v201101210024R-H88-CR1.jar).

            Show
            dpospisil Dominik Pospisil added a comment - Verified (jbdevstudio-product-eap-linux-gtk-x86_64-4.0.0.v201101210024R-H88-CR1.jar).

              People

              • Assignee:
                snjeza Snjezana Peco
                Reporter:
                jharting Jozef Hartinger
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development