Team City is running on a Solaris. My ant task, called by Team City, is attempting to start a glassfish domain. The task just hangs for a really long time and then eventually errors out. I can run this ant task from the unix command line with no problems. I only seem to have this problem when the task is called from Team City. It's not 100% consistent but happens more often than not. Has anyone seen this problem or have any ideas on how to fix it?
Here is the exception:
+recursive call into SystemOutandErrhandler
This is my ant task: