1 2 3 4 Previous Next 49 Replies Latest reply on Jun 3, 2008 9:36 AM by whitty69 Go to original post
      • 45. Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

        I also had problems deploying Seam projects.

        I reinstalled the tools a couple of times, but it failed. But doing a complete reinstall of everything, works successful.

        I reinstalled:
        eclipse-jee-europa-winter-win32.zip (without updating)
        JBossTools-2.0.1.GA-ALL-win32.zip
        jboss-4.2.2.GA.zip
        jboss-seam-2.0.1.GA.zip

        I don't know where I can check the WTP version. But I have Web Standard Tools (WST) Project 2.0.2.v200802150100-.....

        • 46. Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
          maxandersen

          winter is WTP 2.0.2 .....so that configuration should not work ;)

          btw. the workaround to avoid all these problems is to remove all the non-ejb jars listed via in application.xml

          • 47. Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

             

            "max.andersen@jboss.com" wrote:
            winter is WTP 2.0.2 .....so that configuration should not work ;)
            [...]

            But is does work for me.
            I have also seen those errors, but doing a complete clean install solves the problem for me. But I do have to restart Eclipse once on first install for a components.xml error to disappear.


            I'll post my actions step by step:
            (I'm using Windows Vista)


            1)
            Stop any running JBoss server.


            2)
            Extract the following files all in the same directory. This directory must be clean (no subdirectories) before extracting.

            eclipse-jee-europa-winter-win32.zip (132.676.279 bytes)
            JBossTools-2.0.1.GA-ALL-win32.zip (69.220.739 bytes)
            jboss-4.2.2.GA.zip (96.943.695 bytes)
            jboss-seam-2.0.1.GA.zip (97.019.703 bytes)

            (JBossTools will automatically be located in the right Eclipse directory.)

            3)
            Start eclipse.exe in administrator mode (in Vista: rightclick > run as administrator).

            4)
            In Eclipse choose a NEW NON-EXISTING workspace.

            5)
            (In Eclipse) start a new "Seam Web Project". As "Target Runtime", choose "JBoss, a division of Red Hat" > "JBoss 4.2 Runtime" and enable "Also create a new local server". Browe to the jboss-4.2.2.GA directory extracted in previous steps.

            As "configurations" (still in the "New Seam Project" window), choose "Dynamic Web Project with Seam 2.0 (technology preview)".

            Leave the "Project Facets" options and choose next till you're in the "Seam Facet" options.

            As "Seam Runtime" add the jboss-seam-2.0.1.GA directory extracted in previous steps.

            "Deploy as" is default set to "WAR". Leave it there.

            Add a database. Choose one yourself. (I choose hsql for simplicity.)

            And finish.

            Give Eclipse some time (no cpu usage), in previous tries, a got memory problems if I went on to quickly.

            8)
            Right click the newly created seam project > "Run As" > "Run on Server" > next and finish.
            The project will now be deployed and raises an "error while reading /WEB-INF/components.xml" error.
            See http://91.186.11.154/~cyb/temp/java/run1.txt

            9)
            stop the server via Eclipse and close Eclipse.

            10)
            start eclipse again (in administrator mode) and run the project again.
            This time (and the following afterward) it will work without those errors.
            See http://91.186.11.154/~cyb/temp/java/run2.txt



            • 48. Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
              baz

               

              "Deploy as" is default set to "WAR". Leave it there


              This issue is about EAR deployment.

              • 49. Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
                whitty69

                I just updated the eclipse wst package today and it works.

                fyi, Update history shows me this:

                03.06.2008 15:15:18 org.eclipse.wst.common_sdk.feature_2.0.2.v200802150100-4-384H8HS6JCZyXYql06-5r3HoFL feature-install success
                03.06.2008 15:17:27 org.eclipse.wst.common_core.feature.source_2.0.2.v200802150100-7C78EKOE_EkMNlO6f7cjpz0 feature-enable success
                03.06.2008 15:17:27 org.eclipse.wst.common_ui.feature.source_2.0.2.v200802150100-7C5EH3E9RvTVnirrspVz0bmP7g8d feature-enable success
                03.06.2008 15:17:27 org.eclipse.wst.common_sdk.feature_2.0.2.v200802150100-4-384H8HS6JCZyXYql06-5r3HoFL feature-enable success
                03.06.2008 15:17:27 org.eclipse.jst.web_core.feature.patch2_2.0.2.v200803241913-208i8s733I395D6BA7 feature-install success
                03.06.2008 15:17:27 org.eclipse.jst.web_core.feature.patch2_2.0.2.v200803241913-208i8s733I395D6BA7 feature-enable success
                03.06.2008 15:17:27 org.eclipse.wst.xml_sdk.feature_2.0.2.v200802150100-4-384F4HNPHrjfp4eY0Myg0ZqZLI feature-install success
                03.06.2008 15:17:30 org.eclipse.wst.xml_core.feature.source_2.0.2.v200802150100-787BE_4CYQCD-DaQMIfPd feature-enable success
                03.06.2008 15:17:30 org.eclipse.wst.xml_ui.feature.source_2.0.2.v200802150100-7A1ECMCnbcl1bVs9uNm_Zkieb7Qe feature-enable success
                03.06.2008 15:17:30 org.eclipse.wst.xml_sdk.feature_2.0.2.v200802150100-4-384F4HNPHrjfp4eY0Myg0ZqZLI feature-enable success
                03.06.2008 15:17:30 org.eclipse.wst.sdk_2.0.2.v200802150100-7E-7E8aNek-SRfrjr6TqAZAYKdiU feature-install success
                03.06.2008 15:17:37 org.eclipse.wst.server_core.feature.source_2.0.2.v200802150100-2-CN8s733H3_3Ic feature-enable success
                03.06.2008 15:17:37 org.eclipse.wst.server_ui.feature.source_2.0.2.v200802150100-77-CX9vCXDkvWGPlAMGMi447 feature-enable success
                03.06.2008 15:17:37 org.eclipse.wst.server_sdk.feature_2.0.2.v200802150100-4-384B2FiBz0GfGoyZIZvCcrZeJe feature-enable success
                03.06.2008 15:17:37 org.eclipse.wst.ws_core.feature.source_2.0.2.v200802150100-7E7KEB2EC3wSU5UghChM0v feature-enable success
                03.06.2008 15:17:37 org.eclipse.wst.ws_ui.feature.source_2.0.2.v200802150100-791ECIAufYO9BlarnPCFGewtZiN1 feature-enable success
                03.06.2008 15:17:37 org.eclipse.wst.ws_sdk.feature_2.0.2.v200802150100-4-384D4HNLFynbSBEnl1rhSbVadT feature-enable success
                03.06.2008 15:17:37 org.eclipse.wst.web_core.feature.source_2.0.2.v200802150100-42CN_kE77a8F9XCOEL feature-enable success
                03.06.2008 15:17:37 org.eclipse.wst.web_ui.feature.source_2.0.2.v200802150100-7A0EAlCiWfJKsCZoChvz0dMYOb feature-enable success
                03.06.2008 15:17:37 org.eclipse.wst.web_sdk.feature_2.0.2.v200802150100-4-384F3HLoHmeiNNvEk0Fz08lGMx feature-enable success
                03.06.2008 15:17:37 org.eclipse.wst.doc.isv.feature_2.0.2.v200802150100-1-Am7w311913312746 feature-enable success
                03.06.2008 15:17:37 org.eclipse.wst.sdk_2.0.2.v200802150100-7E-7E8aNek-SRfrjr6TqAZAYKdiU feature-enable success
                03.06.2008 15:17:37 org.eclipse.jst.sdk_2.0.2.v200802150100-7F-7D8fNerpqc2VheGP-mWEPz-u9 feature-install success
                03.06.2008 15:17:55 org.eclipse.jst.common_core.feature.source_2.0.0.v200706041905-1007w311817231426 feature-enable success
                03.06.2008 15:17:55 org.eclipse.jst.common_sdk.feature_2.0.0.v200706041905-4--7z53A46_4E5I5A38598x42292 feature-enable success
                03.06.2008 15:17:56 org.eclipse.jst.server_core.feature.source_2.0.2.v200802150100-56CQ9rC7EK_UAblGAD2537 feature-enable success
                03.06.2008 15:17:56 org.eclipse.jst.server_ui.feature.source_2.0.2.v200802150100-77-CT9yJXEkuiKVeQrclqTHQ3648 feature-enable success
                03.06.2008 15:17:56 org.eclipse.jst.server_sdk.feature_2.0.2.v200802150100-4-384B2FeC1NfHoxlMfoT67ypqsi feature-enable success
                03.06.2008 15:17:56 org.eclipse.jst.server_adapters.feature.source_2.0.2.v200802150100-787KE8iDUUEF6GwKwpHEQ feature-enable success
                03.06.2008 15:17:56 org.eclipse.jst.server_adapters.sdk.feature_2.0.2.v200802150100-4-384C_NPAnHcXII9J4W5AZQ_EVV feature-enable success
                03.06.2008 15:17:56 org.eclipse.jst.web_core.feature.source_2.0.300.v200802200333-7Q7AE7JEHhHeh0hI5y-QGB feature-enable success
                03.06.2008 15:17:56 org.eclipse.jst.web_ui.feature.source_2.0.2.v200802150100-7B1DzCkuNa_RPevwkwB1iJ6z-0RH feature-enable success
                03.06.2008 15:17:56 org.eclipse.jst.web_sdk.feature_2.0.2.v200802150100-5-490K6JGI--ZdDUSh49pBBHUEXa feature-enable success
                03.06.2008 15:17:56 org.eclipse.jst.enterprise_core.feature.source_2.0.2.v200802150100-42Au_kE77c7EAgE7I7 feature-enable success
                03.06.2008 15:17:56 org.eclipse.jst.enterprise_ui.feature.source_2.0.2.v200802150100-7b7_Es8EU6AXOV9QLJSees1SQoYQ feature-enable success
                03.06.2008 15:17:56 org.eclipse.jst.enterprise_sdk.feature_2.0.2.v200802150100-4-384g_CPvCIc9EaRXJ3VWlXq8Yb feature-enable success
                03.06.2008 15:17:56 org.eclipse.jst.doc.isv.feature_2.0.2.v200802150100-1-Aj7w311913312746 feature-enable success
                03.06.2008 15:17:56 org.eclipse.jst.webpageeditor.feature.source_1.0.1.v200709110605-3-29oA55P5V8A feature-enable success
                03.06.2008 15:17:56 org.eclipse.jst.webpageeditor_sdk.feature_1.0.1.v200709110605-2-18045ByDG9T8eAI0403_pB66Q6 feature-enable success
                03.06.2008 15:17:56 org.eclipse.jst.sdk_2.0.2.v200802150100-7F-7D8fNerpqc2VheGP-mWEPz-u9 feature-enable success
                03.06.2008 15:17:56 org.eclipse.jpt_sdk.feature_1.0.2.v200802140100-2-384B2_KFdUJG6FdNiMJMQDZRDE feature-install success
                03.06.2008 15:17:57 org.eclipse.jpt.feature.source_1.0.2.v200802140100-77-7_CYQCD2CaLYCHCD feature-enable success
                03.06.2008 15:17:57 org.eclipse.jpt_sdk.feature_1.0.2.v200802140100-2-384B2_KFdUJG6FdNiMJMQDZRDE feature-enable success

                Hope this helps others also.

                Peter

                1 2 3 4 Previous Next