Markus von Rüden created WFLY-2783:
--------------------------------------
Summary: EmbeddedContainerConfiguration does not validate correctly
Key: WFLY-2783
URL:
https://issues.jboss.org/browse/WFLY-2783
Project: WildFly
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 8.0.0.CR1
Reporter: Markus von Rüden
Priority: Minor
I experimented a bit with arquillian and the embedded wildfly container.
However, durinng startup I am getting this exception:
java.lang.RuntimeException: JBAS011137: Cannot load module org.jboss.vfs from: local
module loader @3a55b9b (finder: local module finder @5d211efb (roots:
/home/username/dev/arquillian-tutorial/null/modules))
So I took a deeper look at class
org.jboss.as.arquillian.container.embedded.EmbeddedContainerConfiguration located in
"wildfly/arquillian/embedded"
The validate method there seems to have a validation problem:
@Override
public void validate() throws ConfigurationException {
super.validate();
Validate.configurationDirectoryExists(jbossHome, "jbossHome '" +
jbossHome + "' must exist");
Validate.configurationDirectoryExists(jbossHome, "modulePath '" +
modulePath + "' must exist");
Validate.configurationDirectoryExists(jbossHome, "bundlePath '" +
bundlePath + "' must exist");
}
It checks jbossHome three times. But I assume it should check jbossHome, bundleHome and
moduleHome instead.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira