I try to deploy JAckRabbit to JBoss 7, previously (for JBoss 4 or 6) I use jcr-ds.xml, like it was described here, I'm not sure I understand what should I do now, should such configuration file still work under JBoss7? On 'console' page I see connectors/datasource. I tried to use XA Datasources, I see here parameters for config properties (3rd step of wizard), but no fields for
I suppose they are generated automatically, right? Is it right direction I move to?
Template definition of jcr-ds.xml looks like:
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <connection-factories> <tx-connection-factory> <jndi-name>jcr/local</jndi-name> <xa-transaction/> <rar-name>jackrabbit-jca.rar</rar-name> <connection-definition>javax.jcr.Repository</connection-definition> <config-property name="repositoryURI" type="java.lang.String">jcr-jackrabbit://jackrabbit</config-property> <config-property name="bindSessionToTransaction" type="java.lang.Boolean">true</config-property> </tx-connection-factory> </connection-factories>
and one more issue: 4th step of wizard ask me for user name/password, which I don't see in this template... And that step can't be skipped...