Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

EAP 4,5 のjboss.xml で設定していた resource-name / container-configurations / invoker-proxy-bindings を EAP 6 で設定する方法

Solution Unverified - Updated -

Issue

  • 以前の JBoss 4 または 5 リリースでは、以下のように、"jboss.xml" ファイルで以下のタグを使用していました。
  <resource-managers>
    <resource-manager>
      <res-name>jms/BLConnectionFactoryXA</res-name>
      <res-jndi-name>jms/BLConnectionFactoryXA</res-jndi-name>
    </resource-manager>
  </resource-managers>

  <invoker-proxy-bindings>
   <invoker-proxy-binding>
      <name>test-adapter-mdb</name>
      <invoker-mbean>default</invoker-mbean>
      <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
      <proxy-factory-config>
        <JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
        <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
        <CreateJBossMQDestination>false</CreateJBossMQDestination>
        <MinimumSize>10</MinimumSize>
        <MaximumSize>25</MaximumSize>
        <KeepAliveMillis>30000</KeepAliveMillis>
        <MaxMessages>1</MaxMessages>
        <MDBConfig>
          <ReconnectIntervalSec>10</ReconnectIntervalSec>
          <DLQConfig>
            <DestinationQueue>queue/DLQ</DestinationQueue>
            <MaxTimesRedelivered>10</MaxTimesRedelivered>
            <TimeToLive>0</TimeToLive>
          </DLQConfig>
        </MDBConfig>
      </proxy-factory-config>
    </invoker-proxy-binding>
  </invoker-proxy-bindings>

  <container-configurations>
    <container-configuration extends="Standard Stateless SessionBean">
      <container-name>SessionPoolConf</container-name> 
      <container-pool-conf>
        <MinimumSize>15</MinimumSize>
        <MaximumSize>30</MaximumSize>
      </container-pool-conf>
    </container-configuration>
  • EAP6 で上の設定を利用するには、上の設定をどう変更すれば良いですか?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.