7 Replies Latest reply on Oct 1, 2002 8:43 PM by Juha Lindfors

    Jboss 2.4.4 configuration Vs Jboss-3.0.0 Configuration

    Kranthi Newbie

      Hi,

      We have been using jboss 2.4.4 since its release.
      We r trying to upgrade to jboss 3.0.0.

      I have successfully, installed 3.0.0 with integrated tomcat, and deployed my J2ee application. It works, but the performance is 20 times lower than 2.4.4.

      Do I have to change jboss.xml, ejb-jar.xml that I have been using with 2.4.4 for 3.0.0 ?

      I didn't change any application related configuration.

      Please let me know whether I to tweak my jboss.xml, ejb-jar.xml for 3.0.0.

      Below are the configs I am using.

      **********************************************************
      jboss.xml
      **********************************************************
      <?xml version="1.0" encoding="UTF-8"?>


      <enterprise-beans>


      <ejb-name>JagServerPortal</ejb-name>
      <jndi-name>jaguar/JagServerPortal</jndi-name>


      <message-driven>
      <ejb-name>GeneratorMDB</ejb-name>
      <configuration-name>Generator Config</configuration-name>
      <destination-jndi-name>queue/workOrderQueue</destination-jndi-name>
      </message-driven>
      </enterprise-beans>

      <container-configurations>
      <container-configuration>
      <container-name>Generator Config</container-name>
      <call-logging>false</call-logging>
      <container-invoker>org.jboss.ejb.plugins.jms.JMSContainerInvoker</container-invoker>
      <container-interceptors>
      org.jboss.ejb.plugins.LogInterceptor
      org.jboss.ejb.plugins.SecurityInterceptor
      <!-- CMT -->
      org.jboss.ejb.plugins.TxInterceptorCMT
      org.jboss.ejb.plugins.MetricsInterceptor
      org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
      <!-- BMT -->
      org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
      org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT
      org.jboss.ejb.plugins.MetricsInterceptor
      </container-interceptors>
      <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
      <instance-cache></instance-cache>
      <persistence-manager></persistence-manager>
      <transaction-manager>org.jboss.tm.TxManager</transaction-manager>
      <container-invoker-conf>
      DefaultJMSProvider
      StdJMSPool
      50
      100000
      True

      10

      queue/DLQ
      5
      0


      </container-invoker-conf>
      <container-pool-conf>
      24
      10
      </container-pool-conf>
      </container-configuration>

      </container-configurations>


      ******************************************************
      ejb-jar.xml
      ******************************************************
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>

      <ejb-jar>
      JBoss Jaguar Application
      <display-name>Jaguar EJB</display-name>
      <enterprise-beans>

      <message-driven>
      <ejb-name>GeneratorMDB</ejb-name>
      <ejb-class>com.once.jaguar.jagserver.generator.GeneratorMDB</ejb-class>
      <transaction-type>Container</transaction-type>
      <message-driven-destination>
      <destination-type>javax.jms.Queue</destination-type>
      </message-driven-destination>
      </message-driven>


      <ejb-name>JagServerPortal</ejb-name>
      com.once.jaguar.jagserver.jagserverportal.JagServerPortalHome
      com.once.jaguar.jagserver.jagserverportal.JagServerPortal
      <ejb-class>com.once.jaguar.jagserver.jagserverportal.JagServerPortalEJB</ejb-class>
      <session-type>Stateful</session-type>
      <transaction-type>Container</transaction-type>


      </enterprise-beans>