arquillian / continuous-enterprise-development

Testable Solutions for Modern Applications
http://continuousdev.org/
116 stars 150 forks source link

#66 use composite operation for adding mail configuration #99

Closed ctomc closed 11 years ago

ctomc commented 11 years ago

This mostly fixes #66 and should make it work also on older versions of AS7.

ALRubinger commented 11 years ago

Thank you so much for your attention here, Tomaz. :)

Unfortunately, getting:

Caused by: java.lang.Exception: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.5b14a355-87f6-44d8-ad56-360c09c08050.5b14a355-87f6-44d8-ad56-360c09c08050.env.\"org.cedj.geekseek.service.smtp.SMTPMailService\".mailSession is missing [jboss.naming.context.java.jboss.mail.GeekSeekSMTP]"]}
    at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getActionResult(ServerDeploymentPlanResultFuture.java:134)
    at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getResultFromNode(ServerDeploymentPlanResultFuture.java:123)
    at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:85)
    at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:42)
    at org.jboss.as.controller.client.helpers.standalone.ServerDeploymentHelper.deploy(ServerDeploymentHelper.java:55)
    at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:77)
    ... 123 more
ctomc commented 11 years ago

Test now passes. I have updated my commit.

ALRubinger commented 11 years ago

Now working in AS 7.1.1.Final, WildFly 8.0.0.Beta1, and jboss-eap-6.1.0: 09d20dde7604f1761230277c4f1ce6755e0044e2

Thank you, @ctomc! :)