[JBoss-dev] RE: [JBoss JIRA] Created: (JBAS-3503) Clustering testbeancluster test failures - Deployment Error

Brian Stansberry brian.stansberry at jboss.com
Thu Aug 10 14:20:32 EDT 2006


Is anyone aware of recent changes in Branch_4_0 and HEAD that would
affect deployment ordering between an entity bean and a datasource that
are packaged in an ear?

The testsuite includes a test-cif.ear that AFAICT hasn't been
significantly changed in at least a year.  In the last week or so it has
suddenly failed to deploy.

The ear includes an ejb jar and a -ds.xml file for the datasource.  The
ejbs fail to deploy due to the inability to find java:/CIFTestDS in JNDI
(see below).

Looking at the log, service
jboss.jca:service=DataSourceBinding,name=CIFTestDS and the other
datasource related services are started *after* the ejbs, which explains
the failure.


Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
Ph: 510-396-3864
skype: bstansberry

Rajesh Rajasekaran (JIRA) wrote:
> Clustering testbeancluster test failures - Deployment Error
> -----------------------------------------------------------
> 
>                  Key: JBAS-3503
>                  URL: http://jira.jboss.com/jira/browse/JBAS-3503
>              Project: JBoss Application Server
>           Issue Type: Bug
>       Security Level: Public (Everyone can see)
>     Affects Versions: JBossAS-4.0.5.CR1
>             Reporter: Rajesh Rajasekaran
>          Assigned To: Brian Stansberry
>              Fix For: JBossAS-4.0.5.CR1
> 
> 
> Deployment of the test resources for the following tests fail with
> the error shown below. Hence the tests cannot connect to the service
> as shown in the results on CC
>
http://cruisecontrol.jboss.com/cc/artifacts/jboss-4.0-testsuite-sun-1.4/
20060809211108/results/index.html
> 
> Server log for the errors shown below:
>
http://cruisecontrol.jboss.com/cc/artifacts/jboss-4.0-testsuite-sun-1.4/
20060809211108/build/output/jboss-4.0.5.CR1/server/cluster-UDP-0/log/ser
ver.log
> 
>
org.jboss.test.testbeancluster.test.CacheInvalidationUnitTestCase(Defaul
t-UDP)
>
org.jboss.test.testbeancluster.test.RetryInterceptorUnitTestCase(Default
-UDP)
>
org.jboss.test.testbeancluster.test.SingleRetryInterceptorUnitTestCase(D
efault-UDP)
> 
> 2006-08-09 22:39:57,054 DEBUG [org.jboss.ejb.EjbModule] Starting
> failed jboss.j2ee:module=test-cif.jar,service=EjbModule 
> org.jboss.deployment.DeploymentException: Error: can't find data
> 	source: java:/CIFTestDS; - nested throwable:
> 	(javax.naming.NameNotFoundException: CIFTestDS not bound) at
>
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntityBr
idge.java:153)
> 	at
>
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCSto
reManager.java:435)
> at
>
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.j
ava:368)
> at
>
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.
java:172)
> at org.jboss.ejb.EjbModule.startService(EjbModule.java:411)     





More information about the jboss-development mailing list