java – JBoss 7.1. 1 failed to start because of unexpected element ‘pool’

When I add a pool element, I receive the following error message:

If I delete a pool element, how it works I have checked the XSD in the docs folder. Am I sure this is right? Why did it fail?

<subsystem xmlns="urn:jboss:domain:resource-adapters:1.0">
        <resource-adapters>
            <resource-adapter>
                <archive>
                    jackrabbit-jca-2.6.2.rar
                </archive>
                <transaction-support>XATransaction</transaction-support>
                <connection-deFinitions>
                    <connection-deFinition class-name="org.apache.jackrabbit.jca.JCAManagedConnectionFactory" jndi-name="java:/jca/JcrRepository" enabled="true" use-java-context="true" pool-name="jackrabbit-jca-2_6_2_rar-Pool" use-ccm="true">
                    <pool>
                        <min-pool-size>1</min-pool-size>
                        <max-pool-size>4</max-pool-size>
                    </pool>
                   </connection-deFinition>
                </connection-deFinitions>
            </resource-adapter>
        </resource-adapters>
    </subsystem>

Solution

This is not an error, it is a function

The above is a collection of Java - JBoss 7.1 1 because of the unexpected element "pool", you can't start all the content. I hope this article can help you solve Java JBoss 7.1 1 the encountered program development problem could not be started because of an unexpected element pool.

If you think the content of the programming home website is good, you are welcome to recommend the programming home website to programmers and friends.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>