Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0


1)      Adjust the facets detected in project:

    EJB facet:   

Add additional resources: persistence.xml file to META-INF folder of deployment root, import.sql and files - to deployment root.

Select to_ear library to link via manifest and  copy files to /lib; Select select jboss-seam.jar to link via manifest and copy to /.

Image Modified
    Web facet: 

Add  Add additional resources: components.xml, faces-config.xml, pages.xml to WEB-INF, - to WEB-INF/classes.
Select library to package into war: to_war library should be copied to /WEB_INF/lib. Set the web resource directory - view folder.  


  javaEEApplication facet: 

Include EJB and Web facets into ear; set the context root and module names properly. Add jboss-app.xml as additional resource.Note that the application.xml is changed on facet configuring and the duplicated modules are inserted there; remove them manually from this file after configuring the facet.


On the build settings tab set the archive name to deploy or the exploded directory (note, that it should have .ear extension):

 Remove Remove JPA facet  to avoid redundant resources packaging into war.

 4. ) Edit the components.xml :

The core:init component should be changed as follows: 


5) Create JBoss run configuration: