Hi Jeff
Since its version 1.4.0 (April 2013), Cargo indeed checks whether any of the ports in its properties are in use before starting the container - This allows unexpected issues later on.
In your case, unfortunately, this causes an issue: your file acceptanceTest.properties contains both the port number for the e-mail service (not started by Cargo) and the Tomcat server (started by Cargo); and hence Cargo throws an error saying "hey, the spring.mail.port is in use!".
You can easily fix this issue by having two properties file: One for the Cargo container, the other for the mail service. We could also imagine changing the Cargo checker so that it checks only for port numbers starting with cargo. as prefix.
Let us know if this helps
S. Ali Tokmen http://ali.tokmen.com/ http://contact.ali.tokmen.com/
--
You received this message because you are subscribed to the Google Groups "Codehaus Cargo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-carg...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codehaus-cargo/CAKumxByRiQhKv8219N%2BwJEgDYqdNOWGMAHzNODqNQ0MtKCfKmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-cargo+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codehaus-cargo/CAKumxByRiQhKv8219N%2BwJEgDYqdNOWGMAHzNODqNQ0MtKCfKmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Codehaus Cargo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-cargo+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codehaus-cargo/d34d32b7-43d7-f2e5-7118-08c158e53212%40alishomepage.com.
Hi Jeff
I'm glad a workaround can be applied for your case!
I meanwhile created an improvement so that only the properties starting with cargo. are taken into account for the port checks (see https://codehaus-cargo.atlassian.net/browse/CARGO-1438 for details).
If you wish to try you can use the version 1.6.4-SNAPSHOT by following the instructions on https://codehaus-cargo.github.io/cargo/Maven2+Plugin+Installation.html#Maven2PluginInstallation-snapshots.
Enjoy the weekend
S. Ali Tokmen http://ali.tokmen.com/ http://contact.ali.tokmen.com/
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-carg...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codehaus-cargo/CAKumxBw2nLt8KtTLfSwAayL6Od0kpamg0tVVzkrOeiRAb1FsWg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codehaus-cargo/CAKumxBw2nLt8KtTLfSwAayL6Od0kpamg0tVVzkrOeiRAb1FsWg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Codehaus Cargo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-cargo+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codehaus-cargo/4c65be12-0c8a-d5a9-1d86-79fe5ec39bf2%40alishomepage.com.