jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: start tomcat target
Date Thu, 02 May 2002 07:10:25 GMT
Charles,

The answer is simple : The runservertests tasks starts a thread an calls
the start_target on that thread ... It it completely normal that when
you start Tomcat (or any other server) it waits until you stop it.

Cheers,
-Vincent

> -----Original Message-----
> From: Charles Brunson [mailto:charles.brunson@sun.com]
> Sent: 01 May 2002 22:06
> To: Vincent Massol
> Subject: Re: start tomcat target
> 
> Vincent Massol wrote:
> 
> > Charles,
> >
> > I believe it seems to hang simply because the URL you have defined
in
> > testURL is not a valid URL and thus the runservertests task thinks
the
> > server is not yet started. I don't think it is a problem of
background
> > process as it works well here and you're using the fork="yes"
attribute.
> >
> > You can start Ant in debug mode if you wish to get some debug info
from
> > the runservertests task (ant -debug your_target).
> >
> > Thanks
> > -Vincent
> >
> 
> 
> I think I misstated my problem. ant hangs for me if I just do "ant
> start_tomcat"
> which is what leads me to believe that the problem is that my
start_tomcat
> target starts up a java process that doesn't exit so it just sits
there
> waiting for that process to end.
> 
> I can't imagine why others aren't seeing this same problem (if what
I've
> said above is really the problem) so I'm assuming it's something that
> I'm missing.
> 
> I just don't see how you can have an ant target that starts a java
process
> that doesn't finish until you do something else.
> 
> I don't think I'm explaining this very well  ;^)
> 
> I've already found a way around the problem but it's an ugly solution.
> 
> 
> 
> 
> --
> 					Chuck Brunson
> 					x56912
> 					719-277-6912
> 					charles.brunson@sun.com
> 					AIM: chuck9206



--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message