OK, thanks for helping me find this bug. Turns out I was missing some stuff 
from jboss-embedded-beans.xml.


If you add these lines:

   <bean name="UserTransaction" 
class="org.jboss.ejb3.embedded.UserTransactionImpl">
  |       <demand>TransactionManagerInitializer</demand>
  |    </bean>
  | 
  |    <bean name="UserTransactionBinding" 
class="org.jboss.ejb3.embedded.JndiBinder">
  |       <property name="jndiProperties"><inject 
bean="InitialContextProperties"/></property>
  |       <property name="target"><inject bean="UserTransaction"/></property>
  |       <property name="bindTo">java:comp/UserTransaction</property>
  |       <property name="serializable">false</property>
  |    </bean>

It will work.

I've tested on tomcat/embeddable ejb3.

I'll commit that to CVS now.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919389#3919389

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919389


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to