Hi guys

i need to do 3 datasources on jboss. i need to specify 3 xmls:
datasource1-ds.xml, datasource2-ds.xml, datasource3-ds.xml ?

Another question... in ejb-jar.xml this is correct ?
put <resource-ref > 3 times ?

  |      <session >
  |          <description><![CDATA[Bean implementation class for Enterprise 
Bean: SitesSB]]></description>
  |          <display-name>SitesSB</display-name>
  | 
  |          <ejb-name>SitesSB</ejb-name>
  | 
  |          <home>br.com.gcm.ejb.sb.SitesSBHome</home>
  |          <remote>br.com.gcm.ejb.sb.SitesSB</remote>
  |          <ejb-class>br.com.gcm.ejb.sb.SitesSBBean</ejb-class>
  |          <session-type>Stateless</session-type>
  |          <transaction-type>Container</transaction-type>
  | 
  |          <resource-ref >
  |             <res-ref-name>jdbc/MARLIN</res-ref-name>
  |             <res-type>javax.sql.DataSource</res-type>
  |             <res-auth>Container</res-auth>
  |             <res-sharing-scope>Shareable</res-sharing-scope>
  |          </resource-ref>
  |          <resource-ref >
  |             <res-ref-name>jdbc/APAESP</res-ref-name>
  |             <res-type>javax.sql.DataSource</res-type>
  |             <res-auth>Container</res-auth>
  |             <res-sharing-scope>Shareable</res-sharing-scope>
  |          </resource-ref>
  |          <resource-ref >
  |             <res-ref-name>jdbc/GCM2</res-ref-name>
  |             <res-type>javax.sql.DataSource</res-type>
  |             <res-auth>Container</res-auth>
  |             <res-sharing-scope>Shareable</res-sharing-scope>
  |          </resource-ref>
  | 
  |       </session>

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131882
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to