From seam-commits at lists.jboss.org Mon Aug 20 08:10:48 2012
Content-Type: multipart/mixed; boundary="===============2049968246604427060=="
MIME-Version: 1.0
From: seam-commits at lists.jboss.org
To: seam-commits at lists.jboss.org
Subject: [seam-commits] Seam SVN: r15059 -
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US.
Date: Mon, 20 Aug 2012 08:10:48 -0400
Message-ID: <201208201210.q7KCAmgL010123@svn01.web.mwc.hst.phx2.redhat.com>
--===============2049968246604427060==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: manaRH
Date: 2012-08-20 08:10:48 -0400 (Mon, 20 Aug 2012)
New Revision: 15059
Modified:
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Confi=
guration.xml
Log:
JBSEAM-4856 added doc for initialize-in-order requirement when multiple mod=
ules
Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-U=
S/Configuration.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Conf=
iguration.xml 2012-08-20 11:24:57 UTC (rev 15058)
+++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Conf=
iguration.xml 2012-08-20 12:10:48 UTC (rev 15059)
@@ -975,7 +975,7 @@
=
Seam 2.3 requires to have setup special deployment metada fi=
le jboss-deployment-structure.xml
for correct initialization. Minimal content for EAR is: =
-
+
jboss-deployment-structure.xml
@@ -986,11 +986,93 @@
=
]]> =
-
- =
- More details about new AS 7 classloading can be found at =
- https://docs.jboss.org/author/disp=
lay/AS7/Developer+Guide#DeveloperGuide-ClassloadinginJBossAS7 =
-
+ =
+ More details about new AS 7 classloading can be found at =
+ https://docs.jboss.org/aut=
hor/display/AS7/Developer+Guide#DeveloperGuide-ClassloadinginJBossAS7 =
+
+
+
+ Deployment of multiple modules in one EAR
+ There is a significant enhancement for speed up the applicatio=
n deployment in AS 7. This unfortunatelly can
+ cause some issues while you have multiple war/ejb modules in your=
application.
+
+ This situation requires to use and set up new Java EE 6 configura=
tion parameter -
+ Module initialization order
+ - in
+ application.xml
+ -
+ initialize-in-order
+ to true.
+ This causes that initialization will happen in defined order like=
it is in
+ application.xml.
+ Example of application.xml:
+
+
+ test-app
+ true
+
+ jboss-seam.jar
+
+
+
+ test-web1.war
+ test
+
+
+ test-web2.war
+ test
+
+
+]]>
+
+ =
+
+ If you are using maven-ear-plugin for generati=
on of your application,
+ you can use this plugin configuration:
+
+ maven-ear-plugin
+
+ 2.7
+ =
+ 6
+ true =
+ lib =
+ true
+ =
+ =
+ org.jboss.el =
+ jboss-el =
+ false =
+ lib =
+ =
+ =
+ org.jboss.seam =
+ jboss-seam =
+ jboss-seam.jar =
=
+ =
+ =
+ some.user.module =
+ hello-ejbs =
+ hello-ejbs.jar =
=
+ =
+ =
+ some.user.module =
+ hello-web1 =
+ /hello1 =
+ hello-web1.war =
+ =
+ =
+ some.user.module =
+ hello-web2 =
+ /hello2 =
+ hello-web2.war =
+ =
+ =
+ =
+]]>
+
+
=
--===============2049968246604427060==--