Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-90

Eviction failed exception in Seam/EJB3 application when clustered.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 4.2.ALPHA6
    • 4.2.ALPHA1
    • None
    • None
    • Linux x86_64, java 5

    • Workaround Exists
    • Hide

      Give a name to your session factory using the hibernate.session_factory_name property, e.g.:

      <?xml version="1.0" encoding="UTF-8"?>
      <persistence>
      <persistence-unit name="tempdb">
      <jta-data-source>java:/DefaultDS</jta-data-source>
      <properties>
      <property name="hibernate.session_factory_name" value="tempdb"/>
      <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
      </properties>
      </persistence-unit>
      </persistence>

      Show
      Give a name to your session factory using the hibernate.session_factory_name property, e.g.: <?xml version="1.0" encoding="UTF-8"?> <persistence> <persistence-unit name="tempdb"> <jta-data-source>java:/DefaultDS</jta-data-source> <properties> <property name="hibernate.session_factory_name" value="tempdb"/> <property name="hibernate.hbm2ddl.auto" value="create-drop"/> </properties> </persistence-unit> </persistence>

      After ~20 min under load, cluster members start spewing a RunTime exception to console. This error does not occur when the application is running under one JBoss instance.

      The application is a Seam/EJB3 application which I am using for load testing. Code can be found at https://svn.corp.jboss.com/repos/qa/benchmarking/seamcurd/ .

        1. log-2.tar.bz2
          112 kB
          Phillip Thurmond
        2. server.log.tar.bz2
          25 kB
          Phillip Thurmond
        3. TodoDao.java
          1 kB
          Phillip Thurmond

              pthurmond_jira Phillip Thurmond (Inactive)
              pthurmond_jira Phillip Thurmond (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: