I have installed JBoss Developer Studio 5.0.0.M2 and JBoss AS7 final. With the New -> Seam Web Project wizard I have created a project with Seam 2.2.2 final and EAR as deploy type. MySQL databae and AS7 are registered in Developer Studio.
Now I have 4 projects:
When I mark Seam2Playground-ear as deployable, it appears to be correctly deployed to JBoss AS7, according to its logfiles. However, the generated ear file is empty. In the Seam2Playground project is a folder "WebContent" with index.html and so on. How do I get those into the ear file? In older JEE2 projects I had just one project with an Ant script building everything - I understood this is not the way to do it any more, right?
The Getting Started Guide did not help me in this case
Seam 2.2 projects aren't compatible with JBoss AS7.
There is a workaround described in http://community.jboss.org/blogs/marek-novotny/2011/07/15/seam-2-jpa-example-on-jboss-as7 and http://community.jboss.org/blogs/marek-novotny/2011/07/29/seam-2-booking-example-on-jboss-as-7.
Since you are using Seam EAR project, you need JBoss AS7 snapshot (http://hudson.jboss.org/jenkins/view/JBoss%20AS/job/JBoss-AS-7.0.x/lastSuccessfulBuild/artifact/build/target/jboss-7.0.x.zip) instead of JBoss 7.0.0.Final that has a bug related to the JSF 1.2 initialization.
You can also use some older JBoss AS version (JBoss AS 4,5 or 6).
|Retrieving data ...|