<commit_before><?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.
-->

<!-- $Rev$ $Date$ -->

<module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">

    <gbean name="ConnectionTracker" class="org.apache.geronimo.connector.outbound.connectiontracking.ConnectionTrackingCoordinatorGBean">
        <attribute name="lazyConnect">true</attribute>
        <reference name="TransactionManager">
            <name>TransactionManager</name>
        </reference>
    </gbean>

    <gbean name="ConnectorThreadPool" class="org.apache.geronimo.pool.ThreadPool">
        <attribute name="keepAliveTime">5000</attribute>
        <attribute name="poolSize">30</attribute>
        <attribute name="poolName">ConnectorThreadPool</attribute>
    </gbean>

    <gbean name="DefaultWorkManager" class="org.apache.geronimo.connector.work.GeronimoWorkManagerGBean">
        <reference name="SyncPool">
            <name>ConnectorThreadPool</name>
        </reference>
        <reference name="StartPool">
            <name>ConnectorThreadPool</name>
        </reference>
        <reference name="ScheduledPool">
            <name>ConnectorThreadPool</name>
        </reference>
        <reference name="TransactionManager">
            <name>TransactionManager</name>
        </reference>
    </gbean>

    <gbean name="HOWLTransactionLog" class="org.apache.geronimo.transaction.log.HOWLLogGBean">
        <attribute name="bufferClassName">org.objectweb.howl.log.BlockLogBuffer</attribute>
        <attribute name="bufferSizeKBytes">32</attribute>
        <attribute name="checksumEnabled">true</attribute>
        <attribute name="adler32Checksum">true</attribute>
        <attribute name="flushSleepTimeMilliseconds">50</attribute>
        <attribute name="logFileDir">var/txlog</attribute>
        <attribute name="logFileExt">log</attribute>
        <attribute name="logFileName">howl</attribute>
        <attribute name="maxBlocksPerFile">-1</attribute>
        <attribute name="maxBuffers">0</attribute>
        <attribute name="maxLogFiles">2</attribute>
        <attribute name="minBuffers">4</attribute>
        <attribute name="threadsWaitingForceThreshold">-1</attribute>
        <reference name="XidFactory">
            <name>XidFactory</name>
        </reference>
        <reference name="ServerInfo">
            <name>ServerInfo</name>
        </reference>
    </gbean>

    <gbean name="XidFactory" class="org.apache.geronimo.transaction.manager.XidFactoryImplGBean">
        <attribute name="tmId">71,84,77,73,68</attribute>
    </gbean>

    <gbean name="TransactionManager" class="org.apache.geronimo.transaction.jta11.GeronimoTransactionManagerJTA11GBean">
        <attribute name="defaultTransactionTimeoutSeconds">600</attribute>
        <reference name="XidFactory">
            <name>XidFactory</name>
        </reference>
        <reference name="TransactionLog">
            <name>HOWLTransactionLog</name>
        </reference>
        <references name="ResourceManagers">
            <pattern>
                <type>JCAManagedConnectionFactory</type>
            </pattern>
            <pattern>
                <type>ActivationSpec</type>
            </pattern>
        </references>
    </gbean>

    <gbean name="TransactionManagerBinding" class="org.apache.geronimo.gjndi.binding.GBeanBinding">
        <attribute name="name">TransactionManager</attribute>
        <attribute name="abstractNameQuery">?name=TransactionManager#</attribute>
        <reference name="Context">
            <name>JavaContext</name>
        </reference>
    </gbean>
    <gbean name="TransactionSynchronizationRegistryBinding" class="org.apache.geronimo.gjndi.binding.GBeanBinding">
        <attribute name="name">TransactionSynchronizationRegistry</attribute>
        <attribute name="abstractNameQuery">?name=TransactionManager#</attribute>
        <reference name="Context">
            <name>JavaContext</name>
        </reference>
    </gbean>

</module><commit_msg>GERONIMO-2838 Fix ResourceManagers ReferenceCollection in TransactionManager. We were looking for ActivationSpec, but need to look for JCAActivationSpec, instead. So, recover processing was never being driven for MDBs. JCAActivationSpec seems to be working better...<commit_after><?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.
-->

<!-- $Rev$ $Date$ -->

<module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">

    <gbean name="ConnectionTracker" class="org.apache.geronimo.connector.outbound.connectiontracking.ConnectionTrackingCoordinatorGBean">
        <attribute name="lazyConnect">true</attribute>
        <reference name="TransactionManager">
            <name>TransactionManager</name>
        </reference>
    </gbean>

    <gbean name="ConnectorThreadPool" class="org.apache.geronimo.pool.ThreadPool">
        <attribute name="keepAliveTime">5000</attribute>
        <attribute name="poolSize">30</attribute>
        <attribute name="poolName">ConnectorThreadPool</attribute>
    </gbean>

    <gbean name="DefaultWorkManager" class="org.apache.geronimo.connector.work.GeronimoWorkManagerGBean">
        <reference name="SyncPool">
            <name>ConnectorThreadPool</name>
        </reference>
        <reference name="StartPool">
            <name>ConnectorThreadPool</name>
        </reference>
        <reference name="ScheduledPool">
            <name>ConnectorThreadPool</name>
        </reference>
        <reference name="TransactionManager">
            <name>TransactionManager</name>
        </reference>
    </gbean>

    <gbean name="HOWLTransactionLog" class="org.apache.geronimo.transaction.log.HOWLLogGBean">
        <attribute name="bufferClassName">org.objectweb.howl.log.BlockLogBuffer</attribute>
        <attribute name="bufferSizeKBytes">32</attribute>
        <attribute name="checksumEnabled">true</attribute>
        <attribute name="adler32Checksum">true</attribute>
        <attribute name="flushSleepTimeMilliseconds">50</attribute>
        <attribute name="logFileDir">var/txlog</attribute>
        <attribute name="logFileExt">log</attribute>
        <attribute name="logFileName">howl</attribute>
        <attribute name="maxBlocksPerFile">-1</attribute>
        <attribute name="maxBuffers">0</attribute>
        <attribute name="maxLogFiles">2</attribute>
        <attribute name="minBuffers">4</attribute>
        <attribute name="threadsWaitingForceThreshold">-1</attribute>
        <reference name="XidFactory">
            <name>XidFactory</name>
        </reference>
        <reference name="ServerInfo">
            <name>ServerInfo</name>
        </reference>
    </gbean>

    <gbean name="XidFactory" class="org.apache.geronimo.transaction.manager.XidFactoryImplGBean">
        <attribute name="tmId">71,84,77,73,68</attribute>
    </gbean>

    <gbean name="TransactionManager" class="org.apache.geronimo.transaction.jta11.GeronimoTransactionManagerJTA11GBean">
        <attribute name="defaultTransactionTimeoutSeconds">600</attribute>
        <reference name="XidFactory">
            <name>XidFactory</name>
        </reference>
        <reference name="TransactionLog">
            <name>HOWLTransactionLog</name>
        </reference>
        <references name="ResourceManagers">
            <pattern>
                <type>JCAManagedConnectionFactory</type>
            </pattern>
            <pattern>
                <type>JCAActivationSpec</type>
            </pattern>
        </references>
    </gbean>

    <gbean name="TransactionManagerBinding" class="org.apache.geronimo.gjndi.binding.GBeanBinding">
        <attribute name="name">TransactionManager</attribute>
        <attribute name="abstractNameQuery">?name=TransactionManager#</attribute>
        <reference name="Context">
            <name>JavaContext</name>
        </reference>
    </gbean>
    <gbean name="TransactionSynchronizationRegistryBinding" class="org.apache.geronimo.gjndi.binding.GBeanBinding">
        <attribute name="name">TransactionSynchronizationRegistry</attribute>
        <attribute name="abstractNameQuery">?name=TransactionManager#</attribute>
        <reference name="Context">
            <name>JavaContext</name>
        </reference>
    </gbean>

</module>
{'fraction_non_alphanumeric': 0.11991786447638604, 'fraction_numerical': 0.009240246406570842, 'mean_word_length': 3.40370705244123, 'pattern_counts': {'":': 0, '<': 245, '<?xml version=': 2, '>': 245, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2224137', 'n_tokens_mistral': 2633, 'n_tokens_neox': 2584, 'n_words': 533}