ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Java hung when called from ant
Date Wed, 15 Dec 2004 20:36:24 GMT
After struggling w/ this problem for over a week, I'm at wits end.
I'm remotely executing a batch file on a Windows box via rsh.  Everything 
is fine until ant calls java.  At that time, the process "freezes".  By 
freeze I mean it doesn't run, nor does it complete.  And there is no 

So basically:

A (WinXP) --rsh--> B (Win2003) --> test.bat --> test2.bat --> ant.bat --> 
java.exe --> freeze

If I run test.bat while logged in to B (w/ the same user as rsh), it runs 
properly and completes.
All environment variables (JAVA_HOME, ANT_HOME, PATH) are set correctly.

I traced the call into ant.bat and found that if I run java w/out starting 
ant ( it runs and completes fine. For 
instance, running java by itself, or running java -v.

Does anyone have any ideas?  I'm open to anything.

Nick G.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message