Re: Tomcat Startup Hang Running Unit Tests?

2004-07-06 Thread James Mitchell
I saw your changes to the cookie-based tests.  Does it still hang after 
that?

James Mitchell
Software Developer / Open Source Evangelist
EdgeTech, Inc.

On Mon, 5 Jul 2004, Craig McClanahan wrote:
This is probably old news to the other developers, but hey ... just catching 
back up :-).

I've got the HEAD of jakarta-struts compiling fine now, but watned to run the 
unit tests.  For either Tomcat 4.1 or 5.0, the start.tomcat.xx target seems 
to hang at the end of the startup, rather than proceeding on to execute the 
tests.  Is that the currently expected behavior?  Is there a workaround?

Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat Startup Hang Running Unit Tests?

2004-07-06 Thread Martin Cooper

On Tue, 6 Jul 2004, Craig McClanahan wrote:
James Mitchell wrote:
I saw your changes to the cookie-based tests.
I did those solely because the tests were failing, and when adding debug 
statements I never saw any cookies actually included on the test requests.

  Does it still hang after that?
James Mitchell
Software Developer / Open Source Evangelist
EdgeTech, Inc.
The startup works when I switch the context path back to test -- silly me 
for thinking I could use the defined property to change this :-).  The 4.1 
based tests now run fine (except for a whitespace problem n 
TestOptionsTag1.jsp that I'm currently debugging), complete with startup and 
shutdown of Tomcat.

However, under 5.0 the startup works fine, plus the tests run to the same 
point, but the shutdown hangs.  If I change my standard Tomcat 5.0 server.xml 
to use port 9005, I can use it's shutdown command to finish the shutdown, so 
I suspect something isn't picking up the change from the default 8005 
correctly.
When I added the TC 5.0 targets, I had the same problem with the container 
hanging on shutdown. Since I'm not much of a TC-head, I pretty much just 
cloned the 5.0 tests from the 4.1 ones. I did post about the hang, but 
nobody seemed to have any good ideas on how to fix that. To someone with 
TC 5.0 knowledge, though, the solution might be easy.

Anyway, I figured it was better to have the tests run and hang on shutdown 
rather than not run at all. ;-)

--
Martin Cooper

Craig

On Mon, 5 Jul 2004, Craig McClanahan wrote:
This is probably old news to the other developers, but hey ... just 
catching back up :-).

I've got the HEAD of jakarta-struts compiling fine now, but watned to 
run the unit tests.  For either Tomcat 4.1 or 5.0, the start.tomcat.xx 
target seems to hang at the end of the startup, rather than proceeding 
on to execute the tests.  Is that the currently expected behavior?  Is 
there a workaround?

Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat Startup Hang Running Unit Tests?

2004-07-05 Thread Craig McClanahan
This is probably old news to the other developers, but hey ... just 
catching back up :-).

I've got the HEAD of jakarta-struts compiling fine now, but watned to 
run the unit tests.  For either Tomcat 4.1 or 5.0, the start.tomcat.xx 
target seems to hang at the end of the startup, rather than proceeding 
on to execute the tests.  Is that the currently expected behavior?  Is 
there a workaround?

Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]