[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Refering to a datasource wih its ENC name

MarcusDidiusFalco do-not-reply at jboss.com
Wed Oct 24 05:46:34 EDT 2007


OK found out the error myself:
jboss.xml should be

<?xml version="1.0" encoding="UTF-8"?>
  | <jboss>
  | 	<enterprise-beans>
  | 		<session>
  | 			<ejb-name>TestBean</ejb-name>
  | 			<resource-ref>
  | 				<res-ref-name>jdbc/FencingDS</res-ref-name>
  | 				<jndi-name>java:/DefaultDS</jndi-name>			
  | 			</resource-ref>
  | 		</session>
  | 	</enterprise-beans>
  | </jboss>
(I did not use the jndi-name element)

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

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



More information about the jboss-user mailing list