[Jakarta-slide Wiki] Update of "JCA1.5withJBoss4.0.x" by ZhiyongLi

Apache Wiki <[email protected]>
Newsgroups gmane.comp.jakarta.slide.devel
Message-ID <[email protected]>
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-slide Wiki" for change notification.

The following page has been changed by ZhiyongLi:
http://wiki.apache.org/jakarta-slide/JCA1%2e5withJBoss4%2e0%2ex

New page:
##language:en
== JCA1.5 with JBoss4.0.x ==
To make Slide's WebDAV JCA Connector run under JBoss4.0.x, the connector must support JCA1.5, you must change the ra.xml and webdav-connector-ds.xml as following"

== ra.xml ==
{{{
<?xml version="1.0" encoding="UTF-8"?>

<!-- $Id: ra.xml,v 1.1.2.1 2004/11/30 01:13:35 starksm Exp $ -->

<connector xmlns="http://java.sun.com/xml/ns/j2ee"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
           http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
           version="1.5">

   <description>Jakarta Slide Resource Adapter</description>
   <display-name>WebDAV-Connector</display-name>

   <vendor-name>Truman, Inc</vendor-name>
   <eis-type>WebDAV</eis-type>
   <resourceadapter-version>1.0</resourceadapter-version>

   <license>
      <description>
      COPYRIGHT AND PERMISSION NOTICE
      Copyright (c) 2004 Truman, Inc
      This is released under the terms of the LGPL.
      See gnu.org for details.
      </description>
      <license-required>false</license-required>
   </license>
     <resourceadapter>
      <resourceadapter-class>org.jboss.resource.deployment.DummyResourceAdapter</resourceadapter-class>
		<outbound-resourceadapter>
			<connection-definition>
				<managedconnectionfactory-class>
					org.apache.webdav.connector.WebDAVManagedConnectionFactory</managedconnectionfactory-class>
				<connectionfactory-interface>
					javax.resource.cci.ConnectionFactory</connectionfactory-interface>
				<connectionfactory-impl-class>
					org.apache.webdav.connector.WebDAVConnectionFactory</connectionfactory-impl-class>
				<connection-interface>
					javax.resource.cci.Connection</connection-interface>
				<connection-impl-class>
					org.apache.webdav.connector.WebDAVConnection</connection-impl-class>
				
			</connection-definition>
			<transaction-support>XATransaction</transaction-support>
			<authentication-mechanism>
				<authentication-mechanism-type>
					basic-password</authentication-mechanism-type>
				<credential-interface>
					javax.resource.spi.security.PasswordCredential</credential-interface>
			</authentication-mechanism>
			<reauthentication-support>false</reauthentication-support>
		</outbound-resourceadapter>

   </resourceadapter>
</connector>

}}} 

== webdav-connector-ds.xml ==
{{{
<?xml version="1.0" encoding="UTF-8"?>

<connection-factories>

  <tx-connection-factory>
     <jndi-name>WebDAV-Connector</jndi-name>
     <xa-transaction/>
	 <rar-name>webdav-2.1.rar</rar-name>
     <track-connection-by-tx/> 
	 <connection-definition>javax.resource.cci.ConnectionFactory</connection-definition>
     <adapter-display-name>WebDAV-Connector</adapter-display-name>
  </tx-connection-factory>


</connection-factories>

}}}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.