Fix org.jboss.test.security.test.DeepCopySubjectUnitTestCase.java
-----------------------------------------------------------------
Key: JBAS-5219
URL:
http://jira.jboss.com/jira/browse/JBAS-5219
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Test Suite
Affects Versions: JBossAS-5.0.0.Beta3
Reporter: Anil Saldhana
Assigned To: Anil Saldhana
Fix For: JBossAS-5.0.0.CR1
The deepcopy.ear contains a deepcopy-service.xml in META-INF which basically tries to
establish a DynamicLoginConfig service.
The test is even failing to deploy because there is an error:
vfsfile:/C:/cygwin/home/asaldhana/jboss-5.0/jboss-head/testsuite/output/lib/deep
copy.ear -> org.jboss.deployment.DeploymentException: Error during install jboss
.security.tests:service=DynamicLoginConfigDeepCopyTest
================================================
Looking at the logs, I see that the same component is added to the ear as well as
-service.xml
2008-02-06 10:59:18,171 DEBUG
[org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] Added component
jboss.security.tests:service=DynamicLoginConfigDeepCopyTest to
vfsfile:/C:/cygwin/home/asaldhana/jboss-5.0/jboss-head/testsuite/output/lib/deepcopy.ear
...
2008-02-06 10:59:18,171 DEBUG
[org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] Added component
jboss.security.tests:service=DynamicLoginConfigDeepCopyTest to
vfsfile:/C:/cygwin/home/asaldhana/jboss-5.0/jboss-head/testsuite/output/lib/deepcopy.ear/META-INF/deepcopy-service.xml
--
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