[seam-commits] Seam SVN: r7727 - trunk/doc/reference/en/modules.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Mar 27 21:52:14 EDT 2008


Author: jbalunas at redhat.com
Date: 2008-03-27 21:52:14 -0400 (Thu, 27 Mar 2008)
New Revision: 7727

Modified:
   trunk/doc/reference/en/modules/websphere.xml
Log:
JBSEAM-2758 - Thanks Eric Jung - I did not add the cross link because of some formatting issues.

Modified: trunk/doc/reference/en/modules/websphere.xml
===================================================================
--- trunk/doc/reference/en/modules/websphere.xml	2008-03-28 01:42:24 UTC (rev 7726)
+++ trunk/doc/reference/en/modules/websphere.xml	2008-03-28 01:52:14 UTC (rev 7727)
@@ -233,6 +233,20 @@
                      the web module and the EJB3 beans. The 
                      <literal>ejb-link</literal> element is simply not used. 
                   </para>
+                  <para>Note also that <literal>EjbSynchronizations</literal> is
+                  a built-in Seam EJB and not part of the Hotel Booking example. This
+                  means that if your application's <literal>components.xml</literal> 
+                  specifies <literal>transaction:ejb-transaction</literal>
+                  , then you must include:</para>
+                  <programlisting role="XML"><![CDATA[
+  <ejb-local-ref>
+    <ejb-ref-name>myapp/EjbSynchronizations</ejb-ref-name>
+    <ejb-ref-type>Session</ejb-ref-type>
+    <local-home></local-home>
+    <local>org.jboss.seam.transaction.LocalEjbSynchronizations</local>
+  </ejb-local-ref>]]></programlisting>
+                  <para>in your web.xml. If you don't include it, you'll get the following error:</para>
+                  <programlisting>Name comp/env/myapp/EjbSynchronizations not found in context java:</programlisting>
                </listitem>
             </varlistentry>
             <varlistentry>




More information about the seam-commits mailing list