[jboss-jira] [JBoss JIRA] Resolved: (JBAS-6968) org.jboss.test.spring.test.SpringClusterTestCase failing with IBM JDK 1.5

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Feb 9 22:07:11 EST 2010


     [ https://jira.jboss.org/jira/browse/JBAS-6968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry resolved JBAS-6968.
------------------------------------

    Fix Version/s:     (was: JBossAS-6.0.0.M3)
       Resolution: Done


> org.jboss.test.spring.test.SpringClusterTestCase failing with IBM JDK 1.5
> -------------------------------------------------------------------------
>
>                 Key: JBAS-6968
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6968
>             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 & 1.6
>            Reporter: Martin Malina
>            Assignee: Shelly McGowan
>             Fix For: JBossAS-6.0.0.M1
>
>         Attachments: spring-server.log
>
>
> org.jboss.test.spring.test.SpringClusterTestCase is failing with this message:
> testStandalone	Failure	N/A
> junit.framework.AssertionFailedError
> 	at org.jboss.test.spring.test.SpringClusterTestCase.testStandalone(SpringClusterTestCase.java:43)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> In the server log you can see:
> ...
> DEPLOYMENTS IN ERROR:
>   Deployment "vfszip:/home/brq/mmalina/jbossqa/ibm/jboss-5.1.0.CR1-src/testsuite/output/lib/spring-cluster-pojos.jar/" is in error due to the following reason(s): java.lang.ClassNotFoundException: net.jcip.annotations.ThreadSafe
> ...
> Which shows that it is again the same problem with net.jcip.annotations.ThreadSafe missing in IBM JDK as discussed here JBAS-6934 and JBAS-6428.
> Solution: Ensure that jcip-annotations.jar gets copied to server/springdeployer/lib/ when the config is created.
> A. Add jcip-annotations.jar to server/default/lib (it is 2.6 KB) - springdeployer is created out of default
> B. Change testsuite/build.xml to make ant copy jcip-annotations.jar from server/all/lib/ to server/springdeployer/lib/ - don't know how to do that easily
> A. seems easier to do.

-- 
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