[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
do-not-reply at jboss.com
Wed Apr 23 06:30:38 EDT 2008
"max.andersen at 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)
anonymous wrote :
| Stop any running JBoss server.
| 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.)
| Start eclipse.exe in administrator mode (in Vista: rightclick > run as administrator).
| In Eclipse choose a NEW NON-EXISTING workspace.
| (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.
| 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://184.108.40.206/~cyb/temp/java/run1.txt
| stop the server via Eclipse and close Eclipse.
| 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://220.127.116.11/~cyb/temp/java/run2.txt
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146103#4146103
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146103
More information about the jboss-user