4 Replies Latest reply on Apr 19, 2005 10:26 AM by Rafal Kedziorski

    Migrating to JBoss from Weblogic

    Nag Chava Newbie

      Hi,
      We are in the process of migrating from weblogic to Jboss.
      Currently we have these properties set up in weblogic-ejb-jar.xml for container managed transactions ,what are the xml elements I can use to get same functionality what I get from weblogic.
      These are the properties currently in weblogic.

      <max-beans-in-cache>100</max-beans-in-cache>
      <idle-timeout-seconds>600</idle-timeout-seconds>
      <read-timeout-seconds>60</read-timeout-seconds>
      <delay-updates-until-end-of-tx>true</delay-updates-until-end-of-tx>
      <finders-load-bean>false</finders-load-bean>
      <transaction-isolation>
      <isolation-level>TRANSACTION_READ_COMMITTED</isolation-level>
      </transaction-isolation>

      Thanks
      XJava

        • 1. Re: Migrating to JBoss from Weblogic
          Hari Velappan Newbie

          application server specific configurations need to be specified in jboss.xml and jbosscmp-jdbc.xml.

          <max-beans-in-cache>100</max-beans-in-cache>
          <idle-timeout-seconds>600</idle-timeout-seconds>

          These are default properties for a container configuration. Container configurations are specified in standardjboss.xml under the conf directory of the server instance. You can also specify different container configurations in jbosscmp-jdbc.xml.

          <read-timeout-seconds>60</read-timeout-seconds>
          These are specified in jbosscmp-jdbc.xml for every entity bean.

          • 2. Re: Migrating to JBoss from Weblogic
            Anil Saldanha Master

            Default container configurations are specified in server//conf/standardjboss.xml. The settings in this file apply to all the beans in a container. The CMP settings are in standardjbosscmp-jdbc.xml.

            At the bean level, you can specify in the jboss.xml and jbosscmp-jdbc.xml

            • 3. Re: Migrating to JBoss from Weblogic
              Nag Chava Newbie

              Thanks for you reply.
              1) If I don't specify <container-pool-conf > properties in jboss.xml does it read them from standardJboss.xml?

              2) Jboss_3.2.dtd says <container-configurations> is optional how jboss knows which bean type to use for CMP entity bean and stateless session beans?

              15 standard configurations with the following container-names:
              - Standard CMP 2.x EntityBean
              - Standard CMP EntityBean
              - Clustered CMP 2.x EntityBean
              - Clustered CMP EntityBean
              - IIOP CMP 2.x EntityBean
              - IIOP CMP EntityBean
              - Standard Stateless SessionBean
              - Clustered Stateless SessionBean
              - IIOP Stateless SessionBean
              - Standard Stateful SessionBean
              - Clustered Stateful SessionBean
              - IIOP Stateful SessionBean
              - Standard BMP EntityBean
              - Clustered BMP EntityBean
              - IIOP BMP EntityBean
              - Standard message Driven Bean

              3) How do I specify
              <isolation-level>TRANSACTION_READ_COMMITTED</isolation-level> in jboss? is this Default value?



              • 4. Re: Migrating to JBoss from Weblogic
                Rafal Kedziorski Novice

                 

                "Xjava2001" wrote:
                3) How do I specify
                <isolation-level>TRANSACTION_READ_COMMITTED</isolation-level> in jboss? is this Default value?


                IN DataSource configuration file.