1 Reply Latest reply on Mar 25, 2002 3:23 AM by Weffen Cheung

    Cannot deploy to jboss3 beta!!!!

    Weffen Cheung Newbie

      Hello,

      My ejb jar files worked perfectly in jboss3.0 alpha version, but when i deployed it to jboss 3.0 beta version, i failed!
      there is no any error reporting. i just found the deploymenet enter the endless loop!! such as:


      ....
      03:54:04,963 INFO [MainDeployer] Deploying: file:/home/weffen/jboss-3.0.0beta/deploy/test-ejb.jar
      03:54:05,168 INFO [EJBDeployer] Deploying Search
      03:54:10,453 INFO [MainDeployer] Undeploying file:/home/weffen/jboss-3.0.0beta/deploy/test-ejb.jar
      03:54:10,454 INFO [EJBDeployer] Undeploying:file:/home/weffen/jboss-3.0.0beta/deploy/test-ejb.jar
      03:54:10,457 INFO [MainDeployer] Cleaned Deployment file:/home/weffen/jboss-3.0.0beta/deploy/test-ejb.jar
      03:54:10,458 INFO [MainDeployer] Undeployed file:/home/weffen/jboss-3.0.0beta/deploy/test-ejb.jar
      03:54:10,458 INFO [MainDeployer] Deploying: file:/home/weffen/jboss-3.0.0beta/deploy/test-ejb.jar
      03:54:10,652 INFO [EJBDeployer] Deploying Search
      03:54:15,789 INFO [MainDeployer] Undeploying file:/home/weffen/jboss-3.0.0beta/deploy/test-ejb.jar
      03:54:15,790 INFO [EJBDeployer] Undeploying:file:/home/weffen/jboss-3.0.0beta/deploy/test-ejb.jar
      03:54:15,793 INFO [MainDeployer] Cleaned Deployment file:/home/weffen/jboss-3.0.0beta/deploy/test-ejb.jar
      03:54:15,834 INFO [MainDeployer] Undeployed file:/home/weffen/jboss-3.0.0beta/deploy/test-ejb.jar
      03:54:15,835 INFO [MainDeployer] Deploying: file:/home/weffen/jboss-3.0.0beta/deploy/test-ejb.jar
      03:54:16,029 INFO [EJBDeployer] Deploying Search
      ...

      i dont know why? i wonder anyone encounter the same problem? the ejb is very simple, and it can work in jboss3.0 alpha version!

      BTW: can i integrate the jboss alpha with tomcat4? i really hope jboss smart team can release a tomcat integration single jar file, in order to we can integrate any version of jboss with any version of tomcat, instead of only using jboss beta version embered tomcat4!

        • 1. Re: Cannot deploy to jboss3 beta!!!!
          Weffen Cheung Newbie

          Yahoo!!!
          Good news to me!
          i solved the strange problem after my hard work!
          modify jboss_home/conf/default/standardjboss.xml
          find these lines:

          ...
          <container-cache-conf>
          <cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy</cache-policy>
          <cache-policy-conf>
          <min-capacity>50</min-capacity>
          <max-capacity>1000000</max-capacity>
          <remover-period>1800</remover-period>
          <max-bean-life>1800</max-bean-life>
          <overager-period>300</overager-period>
          <max-bean-age>600</max-bean-age>
          <resizer-period>400</resizer-period>
          <max-cache-miss-period>60</max-cache-miss-period>
          <min-cache-miss-period>1</min-cache-miss-period>
          <cache-load-factor>0.75</cache-load-factor>
          </cache-policy-conf>
          </container-cache-conf>
          ...

          change the line:
          <max-capacity>1000000</max-capacity>
          to
          <max-capacity>1000</max-capacity>

          That it is! I found the defference according the standardjboss.xml from jboss3.0 alpha version... but be honest, i dont know why in the new beta version, the value up to 1000000? and what dose it mean?
          anyone can tell more detailed about that?