[jboss-jira] [JBoss JIRA] Commented: (JBAS-6934) Tests in org.jboss.test.cluster failing with IBM JDK 1.5 - Failed to start cluster/http/jboss-web-test-service.xml
Martin Malina (JIRA)
jira-events at lists.jboss.org
Mon May 18 08:33:06 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-6934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12468017#action_12468017 ]
Martin Malina commented on JBAS-6934:
-------------------------------------
Adding the jcip-annotations.jar to classpath (using export CLASSPATH=...) before running the tests fixed the problem. Now how to do it properly?
> Tests in org.jboss.test.cluster failing with IBM JDK 1.5 - Failed to start cluster/http/jboss-web-test-service.xml
> ------------------------------------------------------------------------------------------------------------------
>
> Key: JBAS-6934
> URL: https://jira.jboss.org/jira/browse/JBAS-6934
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Test Suite
> Affects Versions: JBossAS-5.1.0.CR1
> Environment: IBM JDK 1.5
> Reporter: Martin Malina
> Assignee: Shelly McGowan
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list