How to migrate the EJB3 subsystem from EAP 6 to EAP 7?

Solution Unverified - Updated -

Issue

-Trying to configure new JBoss EAP 7 instance based on the new domain.xml. Will the following ejb 1.4 subsystem work with new ejb 4.0 subsystem on JBoss EAP 7. Here is how the old 6.2.2 configuration looks like:

            <subsystem xmlns="urn:jboss:domain:ejb3:1.4">
                <session-bean>
                    <stateless>
                        <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>
                    </stateless>
                    <stateful default-access-timeout="5000" cache-ref="simple" clustered-cache-ref="clustered"/>
                    <singleton default-access-timeout="5000"/>
                </session-bean>
                <mdb>
                    <resource-adapter-ref resource-adapter-name="${ejb.resource-adapter-name:hornetq-ra}"/>
                    <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/>
                </mdb>
                <pools>
                    <bean-instance-pools>
                        <strict-max-pool name="slsb-strict-max-pool" max-pool-size="500" instance-acquisition-timeout="10" instance-acquisition-timeout-unit="MINUTES"/>
                        <strict-max-pool name="mdb-strict-max-pool" max-pool-size="500" instance-acquisition-timeout="10" instance-acquisition-timeout-unit="MINUTES"/>
                    </bean-instance-pools>
                </pools>
                <caches>
                    <cache name="simple" aliases="NoPassivationCache"/>
                    <cache name="passivating" passivation-store-ref="file" aliases="SimpleStatefulCache"/>
                    <cache name="clustered" passivation-store-ref="infinispan" aliases="StatefulTreeCache"/>
                </caches>
                <passivation-stores>
                    <file-passivation-store name="file"/>
                    <cluster-passivation-store name="infinispan" cache-container="ejb"/>
                </passivation-stores>
                <async thread-pool-name="default"/>
                <timer-service thread-pool-name="default">
                    <data-store path="timer-service-data" relative-to="jboss.server.data.dir"/>
                </timer-service>
                <remote connector-ref="remoting-connector" thread-pool-name="default"/>
                <thread-pools>
                    <thread-pool name="default">
                        <max-threads count="500"/>
                        <keepalive-time time="1000" unit="milliseconds"/>
                    </thread-pool>
                </thread-pools>
                <iiop enable-by-default="false" use-qualified-name="false"/>
                <default-security-domain value="other"/>
                <default-missing-method-permissions-deny-access value="true"/>
            </subsystem>

Should anything change in JBoss EAP 7?

Environment

  • Red Hat JBoss Enterprise Application Platform(EAP)
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In