2 Replies Latest reply on Jul 1, 2004 4:43 PM by Leandro Ribas Freitas Dantas

    Custome Configuration Error

    rasoul Newbie

      Hello all,
      I am trying to set the instance-cache configuration in my jboss.xml file. However, I have not been able to pass a class loader error. My configuration is as follows:

      <container-configurations>
      <container-configuration configuration-class="org.jboss.ejb.deployment.EntityContainerConfiguration">
      <container-name>LRU Configuration</container-name>
      <container-invoker>org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker</container-invoker>
      <instance-pool>org.jobss.ejb.plugins.EntityInstancePool</instance-pool>
      <instance-cache>org.jboss.ejb.plugins.EntitySessionInstanceCache</instance-cache>
      <container-cache-conf>
      <cache-policy>org.jobss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
      <cache-policy-conf>
      <min-capacity>50</min-capacity>
      <max-capacity>100000</max-capacity>
      <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>
      <container-pool-conf>
      100
      </container-pool-conf>
      </container-configuration>
      </container-configurations>

      As I mentioned I get a very big error of which I put only the last few lines.

      Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@f71fe763 { url=file:/local/a/usr/lsd/jboss-3.2.3/server/default/deploy/jobs.jar }
      deployer: org.jboss.ejb.EJBDeployer@17a4989
      status: null
      state: FAILED
      watch: file:/local/a/usr/lsd/jboss-3.2.3/server/default/deploy/jobs.jar
      lastDeployed: 1080863135880
      lastModified: 1080863135000
      mbeans:
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.j2ee:module=jobs.jar,service=EjbModule
      state: FAILED
      I Depend On:
      Depends On Me: org.jboss.deployment.DeploymentException: Missing or invalid Instance Cache (in jboss.xml or standardjboss.xml); - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.ejb.plugins.EntitySessionInstanceCache)]

      I have been searching the web for a solution, but no luck. I am not sure what is wrong.
      Any help is appreciated.
      Thanks in advance
      -r