[jboss-jira] [JBoss JIRA] Commented: (JBAS-4548) Testsuite failures due to EJBs starting before datasource

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Sat Aug 18 17:24:01 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4548?page=comments#action_12372868 ] 
            
Brian Stansberry commented on JBAS-4548:
----------------------------------------

I have added test org.jboss.test.deployers.ear.test.EmbeddedDatasourceUnitTestCase that shows this issue. With that in place I plan to modify the clustering tests mentioned in the above description to work around this issue.

> Testsuite failures due to EJBs starting before datasource
> ---------------------------------------------------------
>
>                 Key: JBAS-4548
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4548
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB2, Deployment services
>    Affects Versions: JBossAS-5.0.0.Beta2
>            Reporter: Brian Stansberry
>         Assigned To: Dimitris Andreadis
>
> A number of unit tests are failing due to EJB2 deployment failures.  The tests deploy an ear; contents of the ear are an ejb2 jar and a -ds.xml file.  The ejb jar is deploying before the datasource, and thus ejb deployment fails when the datasource cannot be found in JNDI.
> See forum thread for detailed discussion.
> The testsuite failures due to this that I'm aware of are:
> org.jboss.test.testbeancluster.test.CacheInvalidationUnitTestCase
> org.jboss.test.testbeancluster.test.RetryInterceptorUnitTestCase
> org.jboss.test.testbeancluster.test.SingleRetryInterceptorUnitTestCase

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list