2 Replies Latest reply on Sep 28, 2001 11:56 AM by Fang Yang

    ejbFIndBy loading testing, FinderException

    Fang Yang Newbie

      I did some loading testing for ejbFindBy, the following is the testing scenario:
      1) use 2-10 testing client threads;
      2) each client does 500 ejbFindBy, given different attribute values; some are valid and some aren't.

      When threads go up to 3, some FinderExceptions are thrown up, they're random and not linear to the number of threads.

      javax.ejb.FinderException: Find failed
       at org.jboss.ejb.plugins.jaws.jdbc.JDBCFinderCommand.execute(JDBCFinderCommand.java:105)
       at org.jboss.ejb.plugins.jaws.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEntitiesCommand.java:187)
       at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.findEntities(JAWSPersistenceManager.java:144)
       at org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManager.java:305)
       at org.jboss.ejb.EntityContainer.find(EntityContainer.java:567)
       at java.lang.reflect.Method.invoke(Native Method)
       at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:843)
       at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:231)
       at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:154)
       at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:108)
       at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:135)
       at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:307)
       at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:86)
       at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:103)
       at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:106)
       at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:420)
       at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContainerInvoker.java:437)
       at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invokeHome(HomeProxy.java:237)
       at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:182)
       at $Proxy15.findByDepartment(Unknown Source)
      


      Any ideas? Thanks a lot.