ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stirling, Scott" <>
Subject RE: Build pauses on Linux
Date Mon, 24 Nov 2003 21:57:04 GMT
> From: Clifton Craig []
> I just don't know where else to turn on this problem. I have a rather
> involved and lengthy build process that has been running 
> without fail until
> recently.


Make sure your Ant process is running in the foreground.  When it pauses, create a stack trace
(thread dump) from the Ant process with a "kill -3 PID" where 'PID' is the numeric process
id of the java process running Ant as shown in ps or top.  This should at least tell you where
exactly it's hanging.

Another idea is that you may not be running the version of Java you think you are.  When you
do "java -version" as the user executing the Ant process, what do you get?  Is it possible
Kaffe or some older Sun or IBM JVM is getting picked up first in the path?

Depending on how you are using the EJB tasks for Jonas, it seems likely there could be some
network activity there, such as in resolving a DTD.  If so, you should see something like
that (some calls on a thread's stack) in the stack trace I suggested.  Maybe you
can work around the problem by using local DTDs with <xmlcatalog> or something.

Scott Stirling
Workscape, Inc.

This message is intended only for the use of the intended recipient and
may contain information that is PRIVILEGED and/or CONFIDENTIAL.  If you
are not the intended recipient, you are hereby notified that any use,
dissemination, disclosure or copying of this communication is strictly
prohibited.  If you have received this communication in error, please
destroy all copies of this message and its attachments and notify us

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

View raw message