> <Resource id="H2" class-name="org.h2.jdbcx.JdbcDataSource ">  
> url=.... 
> user=.... 
> password=..... 
> </Resource>  

not worked fine 
 by openejb.xml config file
JdbcDataSource dx=(JdbcDataSource )ctx.lookup("H2"); 
XAConnection xa=dx.getXAConnection(); error! nullpoiter


but

in program ,write 
JdbcDataSource dx =new JdbcDataSource ();
dx.setUrl("xxx");
dx.setUser("xxx");
dx.setPassword("xxx");
XAConnection xa=dx.getXAConnection();success!







--
View this message in context: 
http://openejb.979440.n4.nabble.com/about-openejb-standalone-transaction-control-tp4660358p4660423.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Reply via email to