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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JBossAS-5.1.0.CR1
    • Fix Version/s: 6.0.0.M1
    • Component/s: Test Suite
    • Labels:
      None
    • Environment:

      IBM JDK 1.5

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  shelly.mcgowan Shelly McGowan
                  Reporter:
                  mmalina Martin Malina
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: