i'm using apache jackrabbit with the JCA ... my jcrDS.xml is below. starting up works great, but shutdown is a problem. my jcrDS is unbound before my apache jackrabbit has a change to shutdown. thus, jackrabbit can't get access to the jcrDS any more and throws exceptions.
any ideas? <connection-factories> <tx-connection-factory> <jndi-name>jcr/local</jndi-name> <xa-transaction /> <rar-name>jackrabbit-jca-1.4.rar</rar-name> <connection-definition>javax.jcr.Repository</connection-definition> <config-property name="homeDir" type="java.lang.String">${java.io.tmpdir}/jackrabbit</config-property> <config-property name="configFile" type="java.lang.String">${jboss.server.home.dir}/conf/jcr-repository.xml</config-property> <config-property name="bindSessionToTransaction" type="java.lang.Boolean">true</config-property> <depends>jboss.jca:service=DataSourceBinding,name=jcrDS</depends> </tx-connection-factory> <local-tx-datasource> <jndi-name>jcrDS</jndi-name> <connection-url>jdbc:mysql://localhost/jcr</connection-url> <driver-class>com.mysql.jdbc.Driver</driver-class> <user-name>jboss</user-name> <password>password</password> <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name> <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker</valid-connection-checker-class-name> <metadata> <type-mapping>mySQL</type-mapping> </metadata> </local-tx-datasource> </connection-factories> _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user