Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6934

Tests in org.jboss.test.cluster failing with IBM JDK 1.5 - Failed to start cluster/http/jboss-web-test-service.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.M1
    • JBossAS-5.1.0.CR1
    • Test Suite
    • None

      Some clustered tests are failing with this error message:

      Failed to start cluster/http/jboss-web-test-service.xml
      org.jboss.cache.pojo.PojoCacheException: Failed to start cluster/http/jboss-web-test-service.xml
      at org.jboss.cache.pojo.impl.PojoCacheImpl.<init>(PojoCacheImpl.java:63)
      at org.jboss.cache.pojo.PojoCacheFactory.createCache(PojoCacheFactory.java:42)
      at org.jboss.test.cluster.testutil.SessionTestUtil.getConfiguration(SessionTestUtil.java:147)
      at org.jboss.test.cluster.testutil.SessionTestUtil.createCache(SessionTestUtil.java:136)
      at org.jboss.test.cluster.testutil.CacheConfigTestSetup.setUp(CacheConfigTestSetup.java:84)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
      at junit.extensions.TestSetup.run(TestSetup.java:25)
      Caused by: org.jboss.cache.config.ConfigurationException: Unable to build interceptor chain
      at org.jboss.cache.factories.InterceptorChainFactory.construct(InterceptorChainFactory.java:229)
      at org.jboss.cache.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:318)
      at org.jboss.cache.factories.ComponentRegistry.invokeInjectionMethod(ComponentRegistry.java:279)
      at org.jboss.cache.factories.ComponentRegistry$Component.injectDependencies(ComponentRegistry.java:981)
      at org.jboss.cache.factories.ComponentRegistry.registerComponent(ComponentRegistry.java:255)
      at org.jboss.cache.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:325)
      at org.jboss.cache.factories.ComponentRegistry.invokeInjectionMethod(ComponentRegistry.java:279)
      at org.jboss.cache.factories.ComponentRegistry$Component.injectDependencies(ComponentRegistry.java:981)
      at org.jboss.cache.factories.ComponentRegistry.registerComponent(ComponentRegistry.java:255)
      at org.jboss.cache.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:325)
      at org.jboss.cache.factories.ComponentRegistry.invokeInjectionMethod(ComponentRegistry.java:279)
      at org.jboss.cache.factories.ComponentRegistry$Component.injectDependencies(ComponentRegistry.java:981)
      at org.jboss.cache.factories.ComponentRegistry.registerComponent(ComponentRegistry.java:255)
      at org.jboss.cache.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:325)
      at org.jboss.cache.factories.ComponentRegistry.invokeInjectionMethod(ComponentRegistry.java:279)
      at org.jboss.cache.factories.ComponentRegistry$Component.injectDependencies(ComponentRegistry.java:981)
      at org.jboss.cache.factories.ComponentRegistry.registerComponent(ComponentRegistry.java:255)
      at org.jboss.cache.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:325)
      at org.jboss.cache.factories.ComponentRegistry.invokeInjectionMethod(ComponentRegistry.java:279)
      at org.jboss.cache.factories.ComponentRegistry$Component.injectDependencies(ComponentRegistry.java:981)
      at org.jboss.cache.factories.ComponentRegistry.registerComponent(ComponentRegistry.java:255)
      at org.jboss.cache.DefaultCacheFactory.bootstrap(DefaultCacheFactory.java:155)
      at org.jboss.cache.DefaultCacheFactory.createAndWire(DefaultCacheFactory.java:141)
      at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:120)
      at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:93)
      at org.jboss.cache.pojo.impl.PojoCacheImpl.<init>(PojoCacheImpl.java:58)
      Caused by: java.lang.TypeNotPresentException: Type net.jcip.annotations.ThreadSafe not present
      at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:38)
      at com.ibm.oti.reflect.AnnotationHelper.getDeclaredAnnotations(AnnotationHelper.java:50)
      at java.lang.Class.getDeclaredAnnotations(Class.java:1620)
      at java.lang.Class.getAnnotations(Class.java:1581)
      at java.lang.Class.getAnnotation(Class.java:1561)
      at java.lang.Class.isAnnotationPresent(Class.java:1648)
      at org.jboss.cache.factories.ComponentRegistry.registerComponent(ComponentRegistry.java:252)
      at org.jboss.cache.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:325)
      at org.jboss.cache.factories.ComponentRegistry.invokeInjectionMethod(ComponentRegistry.java:279)
      at org.jboss.cache.factories.ComponentRegistry$Component.injectDependencies(ComponentRegistry.java:981)
      at org.jboss.cache.factories.ComponentRegistry.registerComponent(ComponentRegistry.java:255)
      at org.jboss.cache.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:325)
      at org.jboss.cache.factories.ComponentRegistry.invokeInjectionMethod(ComponentRegistry.java:279)
      at org.jboss.cache.factories.ComponentRegistry$Component.injectDependencies(ComponentRegistry.java:981)
      at org.jboss.cache.factories.ComponentRegistry.registerComponent(ComponentRegistry.java:255)
      at org.jboss.cache.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:325)
      at org.jboss.cache.factories.ComponentRegistry.invokeInjectionMethod(ComponentRegistry.java:279)
      at org.jboss.cache.factories.ComponentRegistry$Component.injectDependencies(ComponentRegistry.java:981)
      at org.jboss.cache.factories.ComponentRegistry.registerComponent(ComponentRegistry.java:255)
      at org.jboss.cache.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:325)
      at org.jboss.cache.factories.ComponentRegistry.invokeInjectionMethod(ComponentRegistry.java:279)
      at org.jboss.cache.factories.ComponentRegistry$Component.injectDependencies(ComponentRegistry.java:981)
      at org.jboss.cache.factories.ComponentRegistry.registerComponent(ComponentRegistry.java:255)
      at org.jboss.cache.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:325)
      at org.jboss.cache.factories.ComponentRegistry.invokeInjectionMethod(ComponentRegistry.java:279)
      at org.jboss.cache.factories.ComponentRegistry$Component.injectDependencies(ComponentRegistry.java:981)
      at org.jboss.cache.factories.ComponentRegistry.registerComponent(ComponentRegistry.java:255)
      at org.jboss.cache.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:325)
      at org.jboss.cache.factories.ComponentRegistry.invokeInjectionMethod(ComponentRegistry.java:279)
      at org.jboss.cache.factories.ComponentRegistry$Component.injectDependencies(ComponentRegistry.java:981)
      at org.jboss.cache.factories.ComponentRegistry.registerComponent(ComponentRegistry.java:255)
      at org.jboss.cache.factories.InterceptorChainFactory.createInterceptor(InterceptorChainFactory.java:60)
      at org.jboss.cache.factories.InterceptorChainFactory.buildInterceptorChain(InterceptorChainFactory.java:75)
      at org.jboss.cache.factories.InterceptorChainFactory.construct(InterceptorChainFactory.java:225)
      Caused by: java.lang.ClassNotFoundException: net.jcip.annotations.ThreadSafe
      at java.lang.Class.forName(Class.java:163)
      at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:33)

      This is the list of the tests failing because of this:
      org.jboss.test.cluster.defaultcfg.simpleweb.test.AttributeBasedMaxUnreplicatedIntervalTestCase
      org.jboss.test.cluster.defaultcfg.simpleweb.test.BuddyReplicationFailoverUnitTestCase
      org.jboss.test.cluster.defaultcfg.simpleweb.test.BuddyReplicationToPassivatedSessionUnitTestCase
      org.jboss.test.cluster.defaultcfg.simpleweb.test.ClusteredSessionNotificationPolicyTestCase
      org.jboss.test.cluster.defaultcfg.simpleweb.test.FieldBasedMaxUnreplicatedIntervalTestCase
      org.jboss.test.cluster.defaultcfg.simpleweb.test.JBossCacheManagerConfigurationUnitTestCase
      org.jboss.test.cluster.defaultcfg.simpleweb.test.ReplicationToPassivatedSessionUnitTestCase
      org.jboss.test.cluster.defaultcfg.simpleweb.test.SessionBasedMaxUnreplicatedIntervalTestCase
      org.jboss.test.cluster.defaultcfg.simpleweb.test.SessionCountUnitTestCase
      org.jboss.test.cluster.defaultcfg.simpleweb.test.SessionExpirationUnitTestCase

      In total it causes 29 failures.

              smcgowan@redhat.com Shelly McGowan (Inactive)
              exd-mmalina Martin Malina
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: