glassfish
  1. glassfish
  2. GLASSFISH-19018

tx recovery tests failed due to ClassCastException: initRecovery

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0_b50_ms4
    • Fix Version/s: 4.0_b51
    • Component/s: jts
    • Labels:
      None
    • Environment:

      RHL5 JDK1.7.0_03

      Description

      The tx recovery tests are very slow in execution and have failure on glassfish-4.0-b50.zip.

      One example:
      appserver-sqe/pe/transaction/recovery/cliweb4
      [exec] asadmin recover-transactions --target clustered_instance_1 clustered_instance_2
      [exec] No response from Domain Admin Server after 600 seconds.
      ....
      [java] - tx-cliweb4-t1-killASInstanceAdmincliDelegatedRecovery: FAIL -

      http://sqe-hudson.us.oracle.com:8080/hudson/job/sherry-lc-dbg/159/artifact/server_in1.log

      [#|2012-08-16T21:08:27.749-0700|WARNING|44.0|
      javax.enterprise.system.core.org.glassfish.kernel.event|_ThreadID=10;_ThreadName=Thread-2;|
      Exception while dispatching an event
      java.lang.ClassCastException:
      org.jvnet.hk2.internal.ServiceLocatorImpl cannot be cast to org.jvnet.hk2.component.Habitat
      at com.sun.jts.jta.TransactionServiceProperties.initRecovery(TransactionServiceProperties.java:313)

      [#|2012-08-16T21:24:41.431-0700|SEVERE|44.0|javax.enterprise.resource.jta.com.sun.enterprise.transaction|
      _ThreadID=16;_ThreadName=Thread-2;|DTX5016:Error in XA recovery. See logs for more details
      org.omg.CORBA.INTERNAL: JTS5005: Wait for resync complete interrupted vmcid: 0x0 minor code: 0 completed: No
      at com.sun.jts.CosTransactions.RecoveryManager.waitForResync(RecoveryManager.java:1479)

      The same test passed on glassfish-4.0-b49.zip.

        Activity

          People

          • Assignee:
            marina vatkina
            Reporter:
            sherryshen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: