[jboss-user] [JCA] - Re: Example File System RA

vickyk do-not-reply at jboss.com
Thu Dec 10 20:36:41 EST 2009


"kukeltje" wrote :  Not sure how a ds should look like if I have no service.xml file but do want to have pooling...
  |  

Please read this one 
http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch7.chapt.html
You should understand how the -ds.xml for JCA file rar is configured, these contents gets embedded in the the generated xml by xsl transformation in Jboss4.*
<!DOCTYPE connection-factories PUBLIC
  |           "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
  |           "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">
  | <!--   
  |        The non-transaction FileSystem resource adaptor service configuration
  | -->
  | <connection-factories>
  |     <no-tx-connection-factory>
  |         <jndi-name>NoTransFS</jndi-name>
  |         <rar-name>chap7-ex1.rar</rar-name>
  |         <connection-definition>
  |              org.jboss.chap7.ex1.ra.DirContextFactory
  |         </connection-definition>
  |         <config-property name="FileSystemRootDir"
  |                          type="java.lang.String">/tmp/db/fs_store</config-property>
  |     </no-tx-connection-factory>
  | </connection-factories>


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

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



More information about the jboss-user mailing list