I'm in similar need of help. I've built a new Maven-based JSF/Spring web app, using Helios. I was using the plugged-in Tomcat server support to deploy through Eclipse, with hotsynch, etc working fine.
This week I'm switching over to JBoss AS 6.0 (from Tomcat 6). I've installed all the eclipse JBoss Tools plugins, and have a JBoss server that I start/stop through Eclipse. But, I'm not sure I can deploy my app with Eclipse. If I package (mvn package) manually and deploy the war directly through JBoss' admin-console it works, but if I use the "Add and remove" in Eclipse I can't tell if its using the "maven package" (which I need it to), or something else.
Any expertise on this topic would be very helpful.
After som more trial and error I managed to get my mavenized project to work in eclipse. What I did was that I downgraded to Eclipse Galileo SE and added m2, m2 extra and jboss tools . I then cleared my project from a lot of images (had around 500MB) which made it possible to publish in around 10-15 minutes. But no building wars and after the initial publish it all works fine.
I've got it working fine in Helios too
As far as Eclipse plugins, one needs:
Maven Extras (esp WTP) - http://m2eclipse.sonatype.org/sites/m2e-extra
JBoss Tools (particularly the 'Maven Support' components) - http://download.jboss.org/jbosstools/updates/nightly/trunk/
You also (of course) need JBoss installed somewhere (I put all my stuff like that in C:\tools\ or /tools/).
You should be able to create an "Eclipse-based" JBoss server, "Add and Remove" your Maven web projects to it, and start/stop from within Eclipse.
My startup usually takes between 45 seconds and 2 minutes (most of which is deploying the app). That irks me (Tomcat was a fraction of that), but it's livable for now.
I am new to Jboss and maven and i am trying to create a new seam web project , after i select the seam runtime enviroment ( e.g. Jboss 4. Runtime) eclipse asks me for the "Home Directory" for the JBoss 4.2 Runtime. Wher can I find this home directory. I have eclipse Java EE helios and i have also installed the plugins Maven, Maven Extras, Jboss Tools 2.3. I get the same problem when i try to run an example maven projekt: Run As--> Run on Server. Should I install Maven or JBoss extra in e.g. C:\Maven and C/Jboss... I don't knoe how ti configerate the server because i cann't find the home directory for the runtime!
Yes, you'll need to install JBoss Server (outside of Eclipse) in addition to the Eclipse work you've done.
Once you've got this, you'll point the "home dir" to the root of the server install (wherever you unzipped to).
I have everything install and running but when i want to run jboss from eclipse this error appears:
log4j:ERROR setFile(null,false) call failed.
java.io.FileNotFoundException: /home/User/Jboss/server/default/log/boot.log (Permission denied)
at java.io.FileOutputStream.open(Native Method)
I think it is because to run Jboss I need the password from root, to start how can I configured this so I can start Jboss from eclipse...