From loganbryant@example.org Fri Dec 1 00:15:06 2000 Return-Path: <loganbryant@example.org> Mailing-List: contact loganbryant@example.org; run by ezmlm Delivered-To: mailing list loganbryant@example.org Received: (qmail 50564 invoked by uid 500); 1 Dec 2000 00:15:06 -0000 Delivered-To: loganbryant@example.org Received: (qmail 50553 invoked by uid 1193); 1 Dec 2000 00:15:05 -0000 Date: 1 Dec 2000 00:15:05 -0000 Message-ID: <loganbryant@example.org> From: loganbryant@example.org To: loganbryant@example.org Subject: cvs commit: jakarta-watchdog-4.0/src/tools/org/apache/jspxml README santosh 00/11/30 16:15:05 Added: src/tools/org/apache/jspxml README Log: README file for jsp2XML tools. Revision Changes Path 1.1 jakarta-watchdog-4.0/src/tools/org/apache/jspxml/README Index: README =================================================================== The package org.apache.jspxml contains the utility classes to generate the XML view of JSP pages. The file jsp2XML.java contains the code to convert a jsp page to its XML view. The file FileLister.java is ussed to get all the jsp files in subdirectories of a given directory. The file jsp2XMLTarget has the code to generate the jsp-gtest-xml.xml file which has the XML targets.The file GetWorkspaceInXML.java uses these classes to convert all the jsp file in webappas/jsp-tests/jsp directory to XML files. These files are built and packaged into testdriver.jaar file. Right now, These tools work fine.jsp2XML is basically a pattern matching tool that parses the jsp file and generates the XML file. It's not very robust thoughat this point. A badly written jsp file can easily break the code. (for ex. using unnecessary whitespaces in jsp elements) . But it works fine with most of the jsp's (All of the JSP's in watchdog).The following things are not yet implemented in this tool. 1)JSP quoting conventions 2)New Namespaces based ob the type of URI in taglibs. From loganbryant@example.org Fri Dec 1 00:19:20 2000 Return-Path: <loganbryant@example.org> Mailing-List: contact loganbryant@example.org; run by ezmlm Delivered-To: mailing list loganbryant@example.org Received: (qmail 54563 invoked from network); 1 Dec 2000 00:19:20 -0000 Received: from lukla.sun.com (83.161.120.155) by locus.apache.org with SMTP; 1 Dec 2000 00:19:20 -0000 Received: from centralmail1.Central.Sun.COM ([83.161.120.155]) by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id RAA00611 for <loganbryant@example.org>; Thu, 30 Nov 2000 17:19:20 -0700 (MST) Received: from esun1as-mm. (esun1as-mm.Central.Sun.COM [83.161.120.155]) by centralmail1.Central.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with SMTP id RAA06756 for <loganbryant@example.org>; Thu, 30 Nov 2000 17:16:35 -0700 (MST) Received: from eng.sun.com by esun1as-mm. (SMI-8.6/SMI-SVR4) id RAA26572; Thu, 30 Nov 2000 17:29:29 -0700 Message-ID: <loganbryant@example.org> Date: Thu, 30 Nov 2000 16:17:58 -0800 From: "Craig R. McClanahan" <loganbryant@example.org> X-Mailer: Mozilla 4.75 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: loganbryant@example.org Subject: Re: OK, What Gives? References: <loganbryant@example.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N "Santosh Singh [TEMP]" wrote: > Craig, > Does it haang or it takes a long time ...? > Now if you use the option all , both servelets and jsp tests are run plus jsp > tests are run in two different modes (jsp and XML) . before it starts running > the tests the XML view of all the jsp files in the workspace is generated which > takes considerable time.I'll suggest you running the tests one by one just to > see that tests are actually running.Here are the options for that > jsp (jsp tests with jsp pages) > jsp-xml (jsp tests with xml pages) > jsp-all (jsp tests with both jsp and xml pages one by one) > gtestservlet (servlet tests) > all (all the above tests) > It appeared to hang (left it there for quite a few minutes; no discernable CPU or disk activity). Same thing happened when I tried just the "jsp" tests -- which happen to the the first ones tried on an "all" target as well. > > Hope this helps.... > Thanks, > Santosh > Craig > > > Mailing-List: contact loganbryant@example.org; run by ezmlm > > list-help: <mailto:loganbryant@example.org> > > list-unsubscribe: <mailto:loganbryant@example.org> > > list-post: <mailto:loganbryant@example.org> > > Delivered-To: mailing list loganbryant@example.org > > X-Accept-Language: en > > MIME-Version: 1.0 > > To: loganbryant@example.org > > Subject: OK, What Gives? > > Content-Transfer-Encoding: 7bit > > X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > > > > I'm trying to get the "jakarta-watchdog-4.0" tests to run against Tomcat 4.0, > > and am not having much luck. I did a "./build.sh dist" build of Watchdog, > > copied the WAR files to Tomcat's webapps directory, and started Tomcat. Then > I > > did > > > > cd <<jakarta-home>>/dist/watchdog/bin > > ./watchdog.sh all > > > > and get the following output: > > > > Guessing WATCHDOG_HOME from watchdog.sh to ./.. > > Setting WATCHDOG_HOME to ./.. > > Using classpath: > > > ./../lib/client.jar:./../lib/testdriver.jar:./../lib/moo.jar:./../lib/ant.jar:./ > usr/locall/jdk1.2.2/lib/tools.jar:/usr/local/jdk1.2.2/lib/classes.zip > > > > Buildfile: ./../conf/jsp-gtest.xml > > > > jsp-test: > > > > and it just hangs. Running netstat shows that there is an established TCP > > connection on port 8080, so apparently the client has actually contacted the > > server, but there's no loganbryant@example.org. > > > > Any theories on what is going on? > > > > Craig McClanahan > > > > From loganbryant@example.org Fri Dec 1 00:19:29 2000 Return-Path: <loganbryant@example.org> Mailing-List: contact loganbryant@example.org; run by ezmlm Delivered-To: mailing list loganbryant@example.org Received: (qmail 54785 invoked by uid 500); 1 Dec 2000 00:19:29 -0000 Delivered-To: loganbryant@example.org Received: (qmail 54747 invoked by uid 1193); 1 Dec 2000 00:19:28 -0000 Date: 1 Dec 2000 00:19:28 -0000 Message-ID: <loganbryant@example.org> From: loganbryant@example.org To: loganbryant@example.org Subject: cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/WEB-INF/tlds TestLib.tld santosh 00/11/30 16:19:27 Modified: src/server/jsp-tests/WEB-INF/tlds TestLib.tld Log: Removed Validator class from this file..put in another file Revision Changes Path 1.8 +0 -1 jakarta-watchdog-4.0/src/server/jsp-tests/WEB-INF/tlds/TestLib.tld Index: TestLib.tld =================================================================== RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/WEB-INF/tlds/TestLib.tld,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- TestLib.tld 2000/11/30 23:53:58 1.7 +++ TestLib.tld 2000/12/01 00:19:25 1.8 @@ -17,7 +17,6 @@ A simple tab library for JSP tests </description> - <!-- general validator tag --> <tag> <name>count</name> <tag-class>tags.Count</tag-class> From loganbryant@example.org Fri Dec 1 00:14:31 2000 Return-Path: <loganbryant@example.org> Mailing-List: contact loganbryant@example.org; run by ezmlm Delivered-To: mailing list loganbryant@example.org Delivered-To: moderator for loganbryant@example.org Received: (qmail 49622 invoked from network); 1 Dec 2000 00:14:31 -0000 Received: from umail.unify.com (83.161.120.155) by locus.apache.org with SMTP; 1 Dec 2000 00:14:31 -0000 Received: from hercules.sac.unify.com (host34.unify.com [83.161.120.155]) by umail.unify.com (8.9.0/8.9.0) with ESMTP id QAA19435 for <loganbryant@example.org>; Thu, 30 Nov 2000 16:21:21 -0800 (PST) Received: from pcmailsrv2.sac.unify.com (pcmailsrv2 [83.161.120.155]) by hercules.sac.unify.com (8.8.6/8.8.6) with ESMTP id QAA27942 for <loganbryant@example.org>; Thu, 30 Nov 2000 16:13:33 -0800 (PST) Received: by pcmailsrv2.sac.unify.com with Internet Mail Service (5.5.2650.21) id <W6J1ZASW>; Thu, 30 Nov 2000 16:13:20 -0800 Message-ID: <loganbryant@example.org> From: Srinivasa Villuri <loganbryant@example.org> To: "'loganbryant@example.org'" <loganbryant@example.org> Subject: jakarta-tools subproject? Date: Thu, 30 Nov 2000 16:13:30 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Can any suggest link to locate jakarta-tools project. Thanks, Srini -----Original Message----- From: loganbryant@example.org [mailto:loganbryant@example.org] Sent: Thursday, November 30, 2000 3:36 PM To: loganbryant@example.org Subject: confirm subscribe to loganbryant@example.org Hi! This is the ezmlm program. I'm managing the loganbryant@example.org mailing list. I'm working for my owner, who can be reached at loganbryant@example.org. To confirm that you would like loganbryant@example.org added to the watchdog-dev mailing list, please send an empty reply to this address: loganbryant@example.org. org Usually, this happens when you just hit the "reply" button. If this does not work, simply copy the address and paste it into the "To:" field of a new message. or click here: mailto:loganbryant@example.org. apache.org This confirmation serves two purposes. First, it verifies that I am able to get mail through to you. Second, it protects you in case someone forges a subscription request in your name. Some mail programs are broken and cannot handle long addresses. If you cannot reply to this request, instead send a message to <loganbryant@example.org> and put the entire address listed above into the "Subject:" line. --- Administrative commands for the watchdog-dev list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: <loganbryant@example.org> To remove your address from the list, send a message to: <loganbryant@example.org> Send mail to the following for info and FAQ for this list: <loganbryant@example.org> <loganbryant@example.org> Similar addresses exist for the digest list: <loganbryant@example.org> <loganbryant@example.org> To get messages 123 through 145 (a maximum of 100 per request), mail: <loganbryant@example.org> To get an index with subject and author for messages 123-456 , mail: <loganbryant@example.org> They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: <loganbryant@example.org> The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example "loganbryant@example.org", just add a hyphen and your address (with '=' instead of '@') after the command word: <loganbryant@example.org> To stop subscription for this address, mail: <loganbryant@example.org> In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at loganbryant@example.org. Please be patient, my owner is a lot slower than I am ;-) --- Enclosed is a copy of the request I received. Return-Path: <loganbryant@example.org> Received: (qmail 94632 invoked from network); 30 Nov 2000 23:36:09 -0000 Received: from umail.unify.com (83.161.120.155) by locus.apache.org with SMTP; 30 Nov 2000 23:36:09 -0000 Received: from hercules.sac.unify.com (host34.unify.com [83.161.120.155]) by umail.unify.com (8.9.0/8.9.0) with ESMTP id PAA18833 for <loganbryant@example.org>; Thu, 30 Nov 2000 15:43:00 -0800 (PST) Received: from pcmailsrv1.sac.unify.com (pcmailsrv1 [83.161.120.155]) by hercules.sac.unify.com (8.8.6/8.8.6) with ESMTP id PAA25070 for <loganbryant@example.org>; Thu, 30 Nov 2000 15:35:12 -0800 (PST) Received: from unify.com (gsb333.sac.unify.com [83.161.120.155]) by pcmailsrv1.sac.unify.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id XZQ1X411; Thu, 30 Nov 2000 15:35:13 -0800 Message-ID: <loganbryant@example.org> Date: Thu, 30 Nov 2000 15:37:58 -0800 From: Srinivasa Villuri <loganbryant@example.org> X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: loganbryant@example.org Subject: subscribe Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N subscribe From loganbryant@example.org Fri Dec 1 00:20:56 2000 Return-Path: <loganbryant@example.org> Mailing-List: contact loganbryant@example.org; run by ezmlm Delivered-To: mailing list loganbryant@example.org Delivered-To: moderator for loganbryant@example.org Received: (qmail 57648 invoked from network); 1 Dec 2000 00:20:56 -0000 Received: from mercury.sun.com (83.161.120.155) by locus.apache.org with SMTP; 1 Dec 2000 00:20:56 -0000 Received: from shorter.eng.sun.com ([83.161.120.155]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id QAA03536 for <loganbryant@example.org>; Thu, 30 Nov 2000 16:20:56 -0800 (PST) Received: from woofer (woofer [83.161.120.155]) by shorter.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with SMTP id QAA13102 for <loganbryant@example.org>; Thu, 30 Nov 2000 16:20:55 -0800 (PST) Message-Id: <loganbryant@example.org> Date: Thu, 30 Nov 2000 16:21:24 -0800 (PST) From: "Santosh Singh [TEMP]" <loganbryant@example.org> Reply-To: "Santosh Singh [TEMP]" <loganbryant@example.org> Subject: Re: OK, What Gives? To: loganbryant@example.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: cRALb95zTeGxJGdLdoTecw== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4 SunOS 5.8 sun4u sparc X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I tried it with tomcat milestone build 4 and it works for me. I don't know what's happenning? -Santosh > Mailing-List: contact loganbryant@example.org; run by ezmlm > list-help: <mailto:loganbryant@example.org> > list-unsubscribe: <mailto:loganbryant@example.org> > list-post: <mailto:loganbryant@example.org> > Delivered-To: mailing list loganbryant@example.org > X-Accept-Language: en > MIME-Version: 1.0 > To: loganbryant@example.org > Subject: Re: OK, What Gives? > Content-Transfer-Encoding: 7bit > X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > > "Santosh Singh [TEMP]" wrote: > > > Craig, > > Does it haang or it takes a long time ...? > > Now if you use the option all , both servelets and jsp tests are run plus jsp > > tests are run in two different modes (jsp and XML) . before it starts running > > the tests the XML view of all the jsp files in the workspace is generated which > > takes considerable time.I'll suggest you running the tests one by one just to > > see that tests are actually running.Here are the options for that > > jsp (jsp tests with jsp pages) > > jsp-xml (jsp tests with xml pages) > > jsp-all (jsp tests with both jsp and xml pages one by one) > > gtestservlet (servlet tests) > > all (all the above tests) > > > > It appeared to hang (left it there for quite a few minutes; no discernable CPU or > disk activity). > > Same thing happened when I tried just the "jsp" tests -- which happen to the the > first ones tried on an "all" target as well. > > > > > Hope this helps.... > > Thanks, > > Santosh > > > > Craig > > > > > > > Mailing-List: contact loganbryant@example.org; run by ezmlm > > > list-help: <mailto:loganbryant@example.org> > > > list-unsubscribe: <mailto:loganbryant@example.org> > > > list-post: <mailto:loganbryant@example.org> > > > Delivered-To: mailing list loganbryant@example.org > > > X-Accept-Language: en > > > MIME-Version: 1.0 > > > To: loganbryant@example.org > > > Subject: OK, What Gives? > > > Content-Transfer-Encoding: 7bit > > > X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > > > > > > I'm trying to get the "jakarta-watchdog-4.0" tests to run against Tomcat 4.0, > > > and am not having much luck. I did a "./build.sh dist" build of Watchdog, > > > copied the WAR files to Tomcat's webapps directory, and started Tomcat. Then > > I > > > did > > > > > > cd <<jakarta-home>>/dist/watchdog/bin > > > ./watchdog.sh all > > > > > > and get the following output: > > > > > > Guessing WATCHDOG_HOME from watchdog.sh to ./.. > > > Setting WATCHDOG_HOME to ./.. > > > Using classpath: > > > > > ./../lib/client.jar:./../lib/testdriver.jar:./../lib/moo.jar:./../lib/ant.jar:./ > > usr/locall/jdk1.2.2/lib/tools.jar:/usr/local/jdk1.2.2/lib/classes.zip > > > > > > Buildfile: ./../conf/jsp-gtest.xml > > > > > > jsp-test: > > > > > > and it just hangs. Running netstat shows that there is an established TCP > > > connection on port 8080, so apparently the client has actually contacted the > > > server, but there's no loganbryant@example.org. > > > > > > Any theories on what is going on? > > > > > > Craig McClanahan > > > > > > > From loganbryant@example.org Fri Dec 1 00:59:27 2000 Return-Path: <loganbryant@example.org> Mailing-List: contact loganbryant@example.org; run by ezmlm Delivered-To: mailing list loganbryant@example.org Received: (qmail 97566 invoked by uid 500); 1 Dec 2000 00:59:27 -0000 Delivered-To: loganbryant@example.org Received: (qmail 97563 invoked by uid 1193); 1 Dec 2000 00:59:27 -0000 Date: 1 Dec 2000 00:59:27 -0000 Message-ID: <loganbryant@example.org> From: loganbryant@example.org To: loganbryant@example.org Subject: cvs commit: jakarta-watchdog-4.0 build.xml santosh 00/11/30 16:59:27 Modified: . build.xml Log: watchdog 4.0 Revision Changes Path 1.5 +7 -1 jakarta-watchdog-4.0/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-watchdog-4.0/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.xml 2000/11/03 18:23:19 1.4 +++ build.xml 2000/12/01 00:59:26 1.5 @@ -81,6 +81,11 @@ classpath="${watchdog-classpath}" deprecation="off" /> + <javac srcdir="src/tools/org/apache/jspxml" + destdir="${watchdog.build}/src/tools" + classpath="${watchdog-classpath}" + deprecation="off" /> + <copydir src="src/clients" dest="${watchdog.build}/clients" > <include name="**/MANIFEST.MF" /> <include name="**/*.properties" /> @@ -128,7 +133,8 @@ <jar jarfile="${watchdog.dist}/lib/client.jar" basedir="${watchdog.build}/clients" includes="**/org/**" /> - <jar jarfile="${watchdog.dist}/lib/testdriver.jar" + + <jar jarfile="${watchdog.dist}/lib/testdriver.jar" basedir="${watchdog.build}/src/tools" includes="**/org/**" /> From loganbryant@example.org Fri Dec 1 01:16:39 2000 Return-Path: <loganbryant@example.org> Mailing-List: contact loganbryant@example.org; run by ezmlm Delivered-To: mailing list loganbryant@example.org Received: (qmail 8465 invoked by uid 500); 1 Dec 2000 01:16:39 -0000 Delivered-To: loganbryant@example.org Received: (qmail 8462 invoked by uid 1193); 1 Dec 2000 01:16:38 -0000 Date: 1 Dec 2000 01:16:38 -0000 Message-ID: <loganbryant@example.org> From: loganbryant@example.org To: loganbryant@example.org Subject: cvs commit: jakarta-watchdog-4.0/src/bin watchdog.bat santosh 00/11/30 17:16:38 Modified: src/bin watchdog.bat Log: dirty fix for running the tests on windows Revision Changes Path 1.2 +21 -2 jakarta-watchdog-4.0/src/bin/watchdog.bat Index: watchdog.bat =================================================================== RCS file: /home/cvs/jakarta-watchdog-4.0/src/bin/watchdog.bat,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- watchdog.bat 2000/10/03 22:29:55 1.1 +++ watchdog.bat 2000/12/01 01:16:37 1.2 @@ -24,9 +24,28 @@ echo "using classpath=" %CLASSPATH% if "%1"=="servlet" goto servlet +if "%1"=="jsp" goto jsp +if "%1"=="jsp-xml" goto jsp-xml +if "%1"=="jsp-all" goto jsp-all +if "%1"=="all" goto jsp-all + + +:jsp +java org.apache.tools.ant.Main -Dport %PORT% -Dhost %HOST% -Dwatchdog.home %WATCHDOG_HOME% -f %WATCHDOG_HOME%/conf/jsp-gtest.xml jsp-test +goto restore + +:jsp-xml +if "%TOMCAT_HOME%=="" goto exit +java -DJSP_ROOT %TOMCAT_HOME%\webapps\jsp-tests\jsp -DWATCHDOG_HOME$ %WATCHDOG_HOME% org.apache.jspxml.GetWorkspaceInXML +java org.apache.tools.ant.Main -Dport %PORT% -Dhost %HOST% -Dwatchdog.home %WATCHDOG_HOME% -f %WATCHDOG_HOME%/conf/jsp-gtest-xml.xml jsp-test +goto restore + +:jsp-all java org.apache.tools.ant.Main -Dport %PORT% -Dhost %HOST% -Dwatchdog.home %WATCHDOG_HOME% -f %WATCHDOG_HOME%/conf/jsp-gtest.xml jsp-test -if "%1"=="jsp" goto restore +if "%TOMCAT_HOME%=="" goto exit +java -DJSP_ROOT %TOMCAT_HOME%\webapps\jsp-tests\jsp -DWATCHDOG_HOME$ %WATCHDOG_HOME% org.apache.jspxml.GetWorkspaceInXML +java org.apache.tools.ant.Main -Dport %PORT% -Dhost %HOST% -Dwatchdog.home %WATCHDOG_HOME% -f %WATCHDOG_HOME%/conf/jsp-gtest-xml.xml jsp-test :servlet java org.apache.tools.ant.Main -Dport %PORT% -Dhost %HOST% -Dwatchdog.home %WATCHDOG_HOME% -f %WATCHDOG_HOME%/conf/servlet-moo.xml servlet-test @@ -41,6 +60,6 @@ goto end :exit -echo usage: %0 {all/jsp/servlet} [serverhost] [serverport] +echo usage: %0 {all/jsp/jsp-xml/jsp-all/servlet} [serverhost] [serverport] :end From loganbryant@example.org Fri Dec 1 02:16:49 2000 Return-Path: <loganbryant@example.org> Mailing-List: contact loganbryant@example.org; run by ezmlm Delivered-To: mailing list loganbryant@example.org Received: (qmail 47721 invoked by uid 500); 1 Dec 2000 02:16:49 -0000 Delivered-To: loganbryant@example.org Received: (qmail 47706 invoked by uid 1193); 1 Dec 2000 02:16:49 -0000 Date: 1 Dec 2000 02:16:49 -0000 Message-ID: <loganbryant@example.org> From: loganbryant@example.org To: loganbryant@example.org Subject: cvs commit: jakarta-watchdog-4.0 NewComers.README santosh 00/11/30 18:16:49 Added: . NewComers.README Log: Doc for watchdog for new comers Revision Changes Path 1.1 jakarta-watchdog-4.0/NewComers.README Index: NewComers.README =================================================================== The purpose of this document is to help the new comers to watchdog, get to speed quickly.Following are the things you need to know for working on watchdog. -------------------------------------------------------------------------- 1)Using CVS..how to use CVS to get the workspace from the main server and putback the new files. 2)How Ant works i.e how to write XML files for Ant Targets. 3)Gtest...How to write targets for running the watchdog tests. There is a README file in watcdog main directory that explains how to build and run the watchdog tests.Here are some important points about how to add a jsp test to the watchdog 1)put all the jsp files in the jsp directory of under jsp-tests. You can create your own subdirectories if you want. 2)Put all the java files (.java) WEB-INF/classes directory of jsp-tests.Here again you can create your own subdirectories but then you have to keep these files in apropriate packages.For ex. if yoiu create a directory MyJSP and create a java file say Hello.java then Hello.java should be in package MyJsp . 3)put all the TLD (tag library descriptor files) in WEB-INF/tlds though you are not required to do so.It's a good idea to follow this convention 4)Golden files are expected results from these tests. Gtest compares the output of the tests with the golden files and if they don't match it says "test failed". The golden files are kept in src/clients/org/apache/jcheck/jsp for jsps and src/clients/org/apache/jcheck/servlet for servlets of the main watchdog workspace. From loganbryant@example.org Fri Dec 1 03:06:38 2000 Return-Path: <loganbryant@example.org> Mailing-List: contact loganbryant@example.org; run by ezmlm Delivered-To: mailing list loganbryant@example.org Received: (qmail 63998 invoked by uid 500); 1 Dec 2000 03:06:38 -0000 Delivered-To: loganbryant@example.org Received: (qmail 63995 invoked by uid 1193); 1 Dec 2000 03:06:38 -0000 Date: 1 Dec 2000 03:06:38 -0000 Message-ID: <loganbryant@example.org> From: loganbryant@example.org To: loganbryant@example.org Subject: cvs commit: jakarta-watchdog-4.0/src/conf jsp-gtest.xml santosh 00/11/30 19:06:38 Modified: src/conf jsp-gtest.xml Log: added new tests for running thru Gtest Revision Changes Path 1.4 +64 -3 jakarta-watchdog-4.0/src/conf/jsp-gtest.xml Index: jsp-gtest.xml =================================================================== RCS file: /home/cvs/jakarta-watchdog-4.0/src/conf/jsp-gtest.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- jsp-gtest.xml 2000/11/03 18:22:06 1.3 +++ jsp-gtest.xml 2000/12/01 03:06:37 1.4 @@ -102,7 +102,13 @@ /> <!-- End TLD Resource path Tests --> - +<gtest request="GET /jsp-tests/jsp/tagext/TagLibraryValidator/validate.jsp HTTP/1.0" + debug="0" host="${host}" port ="${port}" + goldenFile="${wgdir}/tagext/TagLibraryValidator/validate.html" + testName="validate.jsp" + assertion="Tests the working of Validator class for a taglib" + testStrategy="Tests if the prefix is more than 10 characters" + /> <gtest request="GET /jsp-tests/jsp/HelloWorld.jsp HTTP/1.0" debug="0" host="${host}" port ="${port}" @@ -1213,6 +1219,55 @@ testStrategy="testing TagSupport getValues() method " /> +<gtest request="GET /jsp-tests/jsp/tagext/TagSupport/default_return_values.jsp HTTP/1.0" + debug="0" host="${host}" port="${port}" + goldenFile="${wgdir}/tagext/TagSupport/default_return_values.html" + testName="default_return_values.jsp" + assertion="Tests if the default values are returned from the methods of TagSupport class" + testStrategy="testing TagSupport default return values by calling supe.FunctionName" + /> + +<gtest request="GET /jsp-tests/jsp/tagext/TagSupport/positiveDoEndTag.jsp + HTTP/1.0" + debug="0" host="${host}" port="${port}" + goldenFile="${wgdir}/tagext/TagSupport/positiveDoEndTag.html" + testName="positiveDoEndTag.jsp" + assertion="Tests that doEndTag metjod is called when the end of the tag is found" + testStrategy="testing TagSupport doEndTag method " + /> + +<gtest request="GET /jsp-tests/jsp/tagext/TagSupport/positiveSetGetId.jsp HTTP/1.0" + debug="0" host="${host}" port="${port}" + goldenFile="${wgdir}/tagext/TagSupport/positiveSetGetId.html" + testName="positiveSetGetId.jsp" + assertion="Test for setId and getId methods of TagSupport" + testStrategy="testing TagSupport getId and setId in the same test" + /> + +<gtest request="GET /jsp-tests/jsp/tagext/TagSupport/positivefindAncestorWithClass.jsp HTTP/1.0" + debug="0" host="${host}" port="${port}" + goldenFile="${wgdir}/tagext/TagSupport/positivefindAncestorWithClass.html" + testName="positivefindAncestorWithClass.jsp" + assertion="Test for Nested classes. Tests the findAncestorWithClass method for TagSupport" + testStrategy="Testing TagSupport.findAncestorWithClass method" + /> + +<gtest request="GET /jsp-tests/jsp/tagext/misc/persistentValues.jsp HTTP/1.0" + debug="0" host="${host}" port="${port}" + goldenFile="${wgdir}/tagext/misc/persistentValues.html" + testName="persistentValues.jsp" + assertion="Tests if the attribute values are retaines when tags are nested inside a tag" + testStrategy="testing persistence of tag attributes" + /> + +<gtest request="GET /jsp-tests/jsp/tagext/misc/request_time_attributes.jsp HTTP/1.0" + debug="0" host="${host}" port="${port}" + goldenFile="${wgdir}/tagext/misc/request_time_attributes.html" + testName="request_time_attributes.jsp" + assertion="Tests the order of evaluation of the expressions if attribute values are runtime expressions" + testStrategy="testing associativity of expression evaluation" + /> + <gtest request="GET /jsp-tests/jsp/tagext/TagSupport/positiveGetValue.jsp HTTP/1.0" debug="0" host="${host}" port="${port}" goldenFile="${wgdir}/tagext/TagSupport/positiveGetValue.html" @@ -1237,7 +1292,6 @@ testStrategy="testing TagSupport setValue() method " /> -<!-- commented ...has to be debugged <gtest request="GET /jsp-tests/jsp/tagext/TagSupport/positiveGetParent.jsp HTTP/1.0" debug="0" host="${host}" port="${port}" goldenFile="${wgdir}/tagext/TagSupport/positiveGetParent.html" @@ -1261,7 +1315,14 @@ assertion="Test if setPageContext() can be used to set the page context.Using this page context obj set an attribute which is passed to the jsp page, specified in the Java Server Pages Specification v1.2, Sec 6.4.3" testStrategy="testing TagSupport setPageContext() method " /> ---> + + <gtest request="GET /jsp-tests/jsp/tagext/TagSupport/positiveDoAfterBody.jsp HTTP/1.0" + debug="0" host="${host}" port="${port}" + goldenFile="${wgdir}/tagext/TagSupport/positiveDoAfterBody.html" + testName="positiveDoAfterBody.html" + assertion="testing TagSupport DoAfterBody method" + testStrategy="Test the DoAfterBody method of the TagSupport class. Create a Tag handler that outputs a message a given number of times from the DoAFterBody" + /> <gtest request="GET /jsp-tests/jsp/tagext/BodyContent/positiveGetEnclosingWriter.jsp HTTP/1.0" debug="0" host="${host}" port="${port}" From loganbryant@example.org Fri Dec 1 03:24:44 2000 Return-Path: <loganbryant@example.org> Mailing-List: contact loganbryant@example.org; run by ezmlm Delivered-To: mailing list loganbryant@example.org Received: (qmail 69162 invoked by uid 500); 1 Dec 2000 03:24:44 -0000 Delivered-To: loganbryant@example.org Received: (qmail 69159 invoked by uid 1193); 1 Dec 2000 03:24:44 -0000 Date: 1 Dec 2000 03:24:44 -0000 Message-ID: <loganbryant@example.org> From: loganbryant@example.org To: loganbryant@example.org Subject: cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/tld_resource_path positive_NONREL_URI.jsp santosh 00/11/30 19:24:44 Modified: src/server/jsp-tests/jsp/tagext/tld_resource_path positive_NONREL_URI.jsp Log: prefix should be less than 10 chars otherwise error Revision Changes Path 1.2 +2 -2 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/tld_resource_path/positive_NONREL_URI.jsp Index: positive_NONREL_URI.jsp =================================================================== RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/tld_resource_path/positive_NONREL_URI.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- positive_NONREL_URI.jsp 2000/11/01 19:06:22 1.1 +++ positive_NONREL_URI.jsp 2000/12/01 03:24:43 1.2 @@ -15,8 +15,8 @@ %> -<%@ taglib uri="tld_nonroot_relative" prefix="nonrelative" %> +<%@ taglib uri="tld_nonroot_relative" prefix="nonrel" %> -<nonrelative:tldtag uri="Non Relative URI" /> +<nonrel:tldtag uri="Non Relative URI" /> </body> </html> From loganbryant@example.org Fri Dec 1 05:05:33 2000 Return-Path: <loganbryant@example.org> Mailing-List: contact loganbryant@example.org; run by ezmlm Delivered-To: mailing list loganbryant@example.org Received: (qmail 5435 invoked from network); 1 Dec 2000 05:05:33 -0000 Received: from ns1.cybermedia.co.in (loganbryant@example.org) by locus.apache.org with SMTP; 1 Dec 2000 05:05:33 -0000 Received: from ankush ([83.161.120.155]) by ns1.cybermedia.co.in (8.8.7/8.8.7) with SMTP id KAA32359; Fri, 1 Dec 2000 10:51:41 +0530 Message-ID: <loganbryant@example.org> Reply-To: "Ankush" <loganbryant@example.org> From: "Ankush" <loganbryant@example.org> To: <loganbryant@example.org>, "Santosh Singh [TEMP]" <loganbryant@example.org> References: <loganbryant@example.org> Subject: Re: OK, What Gives? Date: Fri, 1 Dec 2000 10:29:11 +0530 Organization: CSPL MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi Santosh, I tried running the build for watchdog with Tomcat with the option "./watchdog.sh all " . Though it starts running and displays a message BUILD SUCCESSFUL, I still dont understand how is watchdog used with Tomcat, because even if I dont build, and just copy the .war files I still find no difference. Please let me know how is Watchdog used and when? Thanks, Ankush ----- Original Message ----- From: Santosh Singh [TEMP] <loganbryant@example.org> To: <loganbryant@example.org> Sent: Friday, December 01, 2000 5:03 AM Subject: Re: OK, What Gives? > Craig, > Does it haang or it takes a long time ...? > Now if you use the option all , both servelets and jsp tests are run plus jsp > tests are run in two different modes (jsp and XML) . before it starts running > the tests the XML view of all the jsp files in the workspace is generated which > takes considerable time.I'll suggest you running the tests one by one just to > see that tests are actually running.Here are the options for that > jsp (jsp tests with jsp pages) > jsp-xml (jsp tests with xml pages) > jsp-all (jsp tests with both jsp and xml pages one by one) > gtestservlet (servlet tests) > all (all the above tests) > > Hope this helps.... > Thanks, > Santosh > > > > Mailing-List: contact loganbryant@example.org; run by ezmlm > > list-help: <mailto:loganbryant@example.org> > > list-unsubscribe: <mailto:loganbryant@example.org> > > list-post: <mailto:loganbryant@example.org> > > Delivered-To: mailing list loganbryant@example.org > > X-Accept-Language: en > > MIME-Version: 1.0 > > To: loganbryant@example.org > > Subject: OK, What Gives? > > Content-Transfer-Encoding: 7bit > > X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > > > > I'm trying to get the "jakarta-watchdog-4.0" tests to run against Tomcat 4.0, > > and am not having much luck. I did a "./build.sh dist" build of Watchdog, > > copied the WAR files to Tomcat's webapps directory, and started Tomcat. Then > I > > did > > > > cd <<jakarta-home>>/dist/watchdog/bin > > ./watchdog.sh all > > > > and get the following output: > > > > Guessing WATCHDOG_HOME from watchdog.sh to ./.. > > Setting WATCHDOG_HOME to ./.. > > Using classpath: > > > ./../lib/client.jar:./../lib/testdriver.jar:./../lib/moo.jar:./../lib/ant.ja r:./ > usr/locall/jdk1.2.2/lib/tools.jar:/usr/local/jdk1.2.2/lib/classes.zip > > > > Buildfile: ./../conf/jsp-gtest.xml > > > > jsp-test: > > > > and it just hangs. Running netstat shows that there is an established TCP > > connection on port 8080, so apparently the client has actually contacted the > > server, but there's no loganbryant@example.org. > > > > Any theories on what is going on? > > > > Craig McClanahan > > > > > From loganbryant@example.org Fri Dec 1 06:29:15 2000 Return-Path: <loganbryant@example.org> Mailing-List: contact loganbryant@example.org; run by ezmlm Delivered-To: mailing list loganbryant@example.org Received: (qmail 37227 invoked from network); 1 Dec 2000 06:29:15 -0000 Received: from patan.sun.com (83.161.120.155) by locus.apache.org with SMTP; 1 Dec 2000 06:29:15 -0000 Received: from taller.eng.sun.com ([83.161.120.155]) by patan.sun.com (8.9.3+Sun/8.9.3) with ESMTP id WAA02654 for <loganbryant@example.org>; Thu, 30 Nov 2000 22:29:16 -0800 (PST) Received: from aslesha (awe175-229.AWE.Sun.COM [83.161.120.155]) by taller.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with SMTP id WAA20478; Thu, 30 Nov 2000 22:29:11 -0800 (PST) Date: Thu, 30 Nov 2000 22:29:31 -0800 (PST) From: "vanitha.venkatraman" <loganbryant@example.org> Reply-To: "vanitha.venkatraman" <loganbryant@example.org> Subject: Re: OK, What Gives? To: loganbryant@example.org, "Santosh Singh [TEMP]" <loganbryant@example.org> In-Reply-To: "Your message with ID" <loganbryant@example.org> Message-ID: <Roam.SIMC.83.161.120.1555652171.17985.vanitha@taller> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Santosh, There is either something very broken with the Tomcat-4.0 build or the Watchdog build. The tests do not run for me with two of the Tomcat builds. Which version (date stamp) of Tomcat-4.0 did you use ? Thanks, Vanitha ------------------------------------------------------------------------------- > I tried it with tomcat milestone build 4 and it works for me. I don't know > what's happenning? > > -Santosh > > > Mailing-List: contact loganbryant@example.org; run by ezmlm > > list-help: <mailto:loganbryant@example.org> > > list-unsubscribe: <mailto:loganbryant@example.org> > > list-post: <mailto:loganbryant@example.org> > > Delivered-To: mailing list loganbryant@example.org > > X-Accept-Language: en > > MIME-Version: 1.0 > > To: loganbryant@example.org > > Subject: Re: OK, What Gives? > > Content-Transfer-Encoding: 7bit > > X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > > > > "Santosh Singh [TEMP]" wrote: > > > > > Craig, > > > Does it haang or it takes a long time ...? > > > Now if you use the option all , both servelets and jsp tests are run plus > jsp > > > tests are run in two different modes (jsp and XML) . before it starts > running > > > the tests the XML view of all the jsp files in the workspace is generated > which > > > takes considerable time.I'll suggest you running the tests one by one just > to > > > see that tests are actually running.Here are the options for that > > > jsp (jsp tests with jsp pages) > > > jsp-xml (jsp tests with xml pages) > > > jsp-all (jsp tests with both jsp and xml pages one by one) > > > gtestservlet (servlet tests) > > > all (all the above tests) > > > > > > > It appeared to hang (left it there for quite a few minutes; no discernable CPU > or > > disk activity). > > > > Same thing happened when I tried just the "jsp" tests -- which happen to the > the > > first ones tried on an "all" target as well. > > > > > > > > Hope this helps.... > > > Thanks, > > > Santosh > > > > > > > Craig > > > > > > > > > > > Mailing-List: contact loganbryant@example.org; run by ezmlm > > > > list-help: <mailto:loganbryant@example.org> > > > > list-unsubscribe: <mailto:loganbryant@example.org> > > > > list-post: <mailto:loganbryant@example.org> > > > > Delivered-To: mailing list loganbryant@example.org > > > > X-Accept-Language: en > > > > MIME-Version: 1.0 > > > > To: loganbryant@example.org > > > > Subject: OK, What Gives? > > > > Content-Transfer-Encoding: 7bit > > > > X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > > > > > > > > I'm trying to get the "jakarta-watchdog-4.0" tests to run against Tomcat > 4.0, > > > > and am not having much luck. I did a "./build.sh dist" build of Watchdog, > > > > copied the WAR files to Tomcat's webapps directory, and started Tomcat. > Then > > > I > > > > did > > > > > > > > cd <<jakarta-home>>/dist/watchdog/bin > > > > ./watchdog.sh all > > > > > > > > and get the following output: > > > > > > > > Guessing WATCHDOG_HOME from watchdog.sh to ./.. > > > > Setting WATCHDOG_HOME to ./.. > > > > Using classpath: > > > > > > > > ./../lib/client.jar:./../lib/testdriver.jar:./../lib/moo.jar:./../lib/ant.jar:./ > > > usr/locall/jdk1.2.2/lib/tools.jar:/usr/local/jdk1.2.2/lib/classes.zip > > > > > > > > Buildfile: ./../conf/jsp-gtest.xml > > > > > > > > jsp-test: > > > > > > > > and it just hangs. Running netstat shows that there is an established TCP > > > > connection on port 8080, so apparently the client has actually contacted > the > > > > server, but there's no loganbryant@example.org. > > > > > > > > Any theories on what is going on? > > > > > > > > Craig McClanahan > > > > > > > > > > > From loganbryant@example.org Fri Dec 1 06:41:58 2000 Return-Path: <loganbryant@example.org> Mailing-List: contact loganbryant@example.org; run by ezmlm Delivered-To: mailing list loganbryant@example.org Received: (qmail 41185 invoked from network); 1 Dec 2000 06:41:58 -0000 Received: from ns1.cybermedia.co.in (loganbryant@example.org) by locus.apache.org with SMTP; 1 Dec 2000 06:41:58 -0000 Received: from ankush ([83.161.120.155]) by ns1.cybermedia.co.in (8.8.7/8.8.7) with SMTP id MAA02432; Fri, 1 Dec 2000 12:28:13 +0530 Message-ID: <loganbryant@example.org> Reply-To: "Ankush" <loganbryant@example.org> From: "Ankush" <loganbryant@example.org> To: <loganbryant@example.org>, "vanitha.venkatraman" <loganbryant@example.org> References: <Roam.SIMC.83.161.120.1555652171.17985.vanitha@taller> Subject: Re: OK, What Gives? Date: Fri, 1 Dec 2000 12:05:43 +0530 Organization: CSPL MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi Vanitha, I tried running the build for watchdog with Tomcat with the option "./watchdog.sh all " . Though it starts running and displays a message BUILD SUCCESSFUL, I still dont understand how is watchdog used with Tomcat, because even if I dont build, and just copy the .war files I still find no difference. Please let me know how is Watchdog used and when? Thanks, Ankush ----- Original Message ----- From: vanitha.venkatraman <loganbryant@example.org> To: <loganbryant@example.org>; Santosh Singh [TEMP] <loganbryant@example.org> Sent: Friday, December 01, 2000 11:59 AM Subject: Re: OK, What Gives? > Santosh, > There is either something very broken with the Tomcat-4.0 build or the > Watchdog build. The tests do not run for me with two of the Tomcat builds. > > Which version (date stamp) of Tomcat-4.0 did you use ? > > Thanks, > Vanitha > -------------------------------------------------------------------------- ----- > > I tried it with tomcat milestone build 4 and it works for me. I don't know > > what's happenning? > > > > -Santosh > > > > > Mailing-List: contact loganbryant@example.org; run by ezmlm > > > list-help: <mailto:loganbryant@example.org> > > > list-unsubscribe: <mailto:loganbryant@example.org> > > > list-post: <mailto:loganbryant@example.org> > > > Delivered-To: mailing list loganbryant@example.org > > > X-Accept-Language: en > > > MIME-Version: 1.0 > > > To: loganbryant@example.org > > > Subject: Re: OK, What Gives? > > > Content-Transfer-Encoding: 7bit > > > X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > > > > > > "Santosh Singh [TEMP]" wrote: > > > > > > > Craig, > > > > Does it haang or it takes a long time ...? > > > > Now if you use the option all , both servelets and jsp tests are run plus > > jsp > > > > tests are run in two different modes (jsp and XML) . before it starts > > running > > > > the tests the XML view of all the jsp files in the workspace is generated > > which > > > > takes considerable time.I'll suggest you running the tests one by one just > > to > > > > see that tests are actually running.Here are the options for that > > > > jsp (jsp tests with jsp pages) > > > > jsp-xml (jsp tests with xml pages) > > > > jsp-all (jsp tests with both jsp and xml pages one by one) > > > > gtestservlet (servlet tests) > > > > all (all the above tests) > > > > > > > > > > It appeared to hang (left it there for quite a few minutes; no discernable CPU > > or > > > disk activity). > > > > > > Same thing happened when I tried just the "jsp" tests -- which happen to the > > the > > > first ones tried on an "all" target as well. > > > > > > > > > > > Hope this helps.... > > > > Thanks, > > > > Santosh > > > > > > > > > > Craig > > > > > > > > > > > > > > > Mailing-List: contact loganbryant@example.org; run by ezmlm > > > > > list-help: <mailto:loganbryant@example.org> > > > > > list-unsubscribe: <mailto:loganbryant@example.org> > > > > > list-post: <mailto:loganbryant@example.org> > > > > > Delivered-To: mailing list loganbryant@example.org > > > > > X-Accept-Language: en > > > > > MIME-Version: 1.0 > > > > > To: loganbryant@example.org > > > > > Subject: OK, What Gives? > > > > > Content-Transfer-Encoding: 7bit > > > > > X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > > > > > > > > > > I'm trying to get the "jakarta-watchdog-4.0" tests to run against Tomcat > > 4.0, > > > > > and am not having much luck. I did a "./build.sh dist" build of Watchdog, > > > > > copied the WAR files to Tomcat's webapps directory, and started Tomcat. > > Then > > > > I > > > > > did > > > > > > > > > > cd <<jakarta-home>>/dist/watchdog/bin > > > > > ./watchdog.sh all > > > > > > > > > > and get the following output: > > > > > > > > > > Guessing WATCHDOG_HOME from watchdog.sh to ./.. > > > > > Setting WATCHDOG_HOME to ./.. > > > > > Using classpath: > > > > > > > > > > > ./../lib/client.jar:./../lib/testdriver.jar:./../lib/moo.jar:./../lib/ant.ja r:./ > > > > usr/locall/jdk1.2.2/lib/tools.jar:/usr/local/jdk1.2.2/lib/classes.zip > > > > > > > > > > Buildfile: ./../conf/jsp-gtest.xml > > > > > > > > > > jsp-test: > > > > > > > > > > and it just hangs. Running netstat shows that there is an established TCP > > > > > connection on port 8080, so apparently the client has actually contacted > > the > > > > > server, but there's no loganbryant@example.org. > > > > > > > > > > Any theories on what is going on? > > > > > > > > > > Craig McClanahan > > > > > > > > > > > > > > > > > From loganbryant@example.org Fri Dec 1 06:59:54 2000 Return-Path: <loganbryant@example.org> Mailing-List: contact loganbryant@example.org; run by ezmlm Delivered-To: mailing list loganbryant@example.org Received: (qmail 51446 invoked from network); 1 Dec 2000 06:59:54 -0000 Received: from mercury.sun.com (83.161.120.155) by locus.apache.org with SMTP; 1 Dec 2000 06:59:54 -0000 Received: from taller.eng.sun.com ([83.161.120.155]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id WAA06717; Thu, 30 Nov 2000 22:59:21 -0800 (PST) Received: from aslesha (awe175-229.AWE.Sun.COM [83.161.120.155]) by taller.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with SMTP id WAA21479; Thu, 30 Nov 2000 22:59:20 -0800 (PST) Date: Thu, 30 Nov 2000 22:59:43 -0800 (PST) From: "vanitha.venkatraman" <loganbryant@example.org> Reply-To: "vanitha.venkatraman" <loganbryant@example.org> Subject: Re: OK, What Gives? To: loganbryant@example.org, Ankush <loganbryant@example.org> In-Reply-To: "Your message with ID" <loganbryant@example.org> Message-ID: <Roam.SIMC.83.161.120.1555653983.4968.vanitha@taller> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Ankush, 'Watchdog' is the open source validation test suite for the JSP/Servlet containers. It is a suite of tests written for the JSP and Servlet specification compliance. In the case of 'jakarta-watchdog-4.0' release, it is for the JSP1.2 and Servlet2.3 specifications. It has method level tests for both technologies. These are not functional tests - we have another group here at Java Software that does this. So, these do not have tests for EJB, JTA/JTS, JDBC tests that interact with JSP/Servlets. The idea behind Watchdog is to let third party web containers verify their compliance with the JSP/Servlet specification. -- Vanitha ------------------------------------------------------------------------------- > Hi Vanitha, > I tried running the build for watchdog with Tomcat with the option > "./watchdog.sh all " . Though it starts running and displays a message BUILD > SUCCESSFUL, I still dont understand how is watchdog used with Tomcat, > because even if I dont build, and just copy the .war files I still find no > difference. > Please let me know how is Watchdog used and when? > Thanks, > Ankush > ----- Original Message ----- > From: vanitha.venkatraman <loganbryant@example.org> > To: <loganbryant@example.org>; Santosh Singh [TEMP] > <loganbryant@example.org> > Sent: Friday, December 01, 2000 11:59 AM > Subject: Re: OK, What Gives? > > > > Santosh, > > There is either something very broken with the Tomcat-4.0 build or the > > Watchdog build. The tests do not run for me with two of the Tomcat builds. > > > > Which version (date stamp) of Tomcat-4.0 did you use ? > > > > Thanks, > > Vanitha > > -------------------------------------------------------------------------- > ----- > > > I tried it with tomcat milestone build 4 and it works for me. I don't > know > > > what's happenning? > > > > > > -Santosh > > > > > > > Mailing-List: contact loganbryant@example.org; run by > ezmlm > > > > list-help: <mailto:loganbryant@example.org> > > > > list-unsubscribe: <mailto:loganbryant@example.org> > > > > list-post: <mailto:loganbryant@example.org> > > > > Delivered-To: mailing list loganbryant@example.org > > > > X-Accept-Language: en > > > > MIME-Version: 1.0 > > > > To: loganbryant@example.org > > > > Subject: Re: OK, What Gives? > > > > Content-Transfer-Encoding: 7bit > > > > X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > > > > > > > > "Santosh Singh [TEMP]" wrote: > > > > > > > > > Craig, > > > > > Does it haang or it takes a long time ...? > > > > > Now if you use the option all , both servelets and jsp tests are > run plus > > > jsp > > > > > tests are run in two different modes (jsp and XML) . before it > starts > > > running > > > > > the tests the XML view of all the jsp files in the workspace is > generated > > > which > > > > > takes considerable time.I'll suggest you running the tests one by > one just > > > to > > > > > see that tests are actually running.Here are the options for that > > > > > jsp (jsp tests with jsp pages) > > > > > jsp-xml (jsp tests with xml pages) > > > > > jsp-all (jsp tests with both jsp and xml pages one by one) > > > > > gtestservlet (servlet tests) > > > > > all (all the above tests) > > > > > > > > > > > > > It appeared to hang (left it there for quite a few minutes; no > discernable CPU > > > or > > > > disk activity). > > > > > > > > Same thing happened when I tried just the "jsp" tests -- which happen > to the > > > the > > > > first ones tried on an "all" target as well. > > > > > > > > > > > > > > Hope this helps.... > > > > > Thanks, > > > > > Santosh > > > > > > > > > > > > > Craig > > > > > > > > > > > > > > > > > > > Mailing-List: contact loganbryant@example.org; run by > ezmlm > > > > > > list-help: <mailto:loganbryant@example.org> > > > > > > list-unsubscribe: > <mailto:loganbryant@example.org> > > > > > > list-post: <mailto:loganbryant@example.org> > > > > > > Delivered-To: mailing list loganbryant@example.org > > > > > > X-Accept-Language: en > > > > > > MIME-Version: 1.0 > > > > > > To: loganbryant@example.org > > > > > > Subject: OK, What Gives? > > > > > > Content-Transfer-Encoding: 7bit > > > > > > X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > > > > > > > > > > > > I'm trying to get the "jakarta-watchdog-4.0" tests to run against > Tomcat > > > 4.0, > > > > > > and am not having much luck. I did a "./build.sh dist" build of > Watchdog, > > > > > > copied the WAR files to Tomcat's webapps directory, and started > Tomcat. > > > Then > > > > > I > > > > > > did > > > > > > > > > > > > cd <<jakarta-home>>/dist/watchdog/bin > > > > > > ./watchdog.sh all > > > > > > > > > > > > and get the following output: > > > > > > > > > > > > Guessing WATCHDOG_HOME from watchdog.sh to ./.. > > > > > > Setting WATCHDOG_HOME to ./.. > > > > > > Using classpath: > > > > > > > > > > > > > > > ./../lib/client.jar:./../lib/testdriver.jar:./../lib/moo.jar:./../lib/ant.ja > r:./ > > > > > > usr/locall/jdk1.2.2/lib/tools.jar:/usr/local/jdk1.2.2/lib/classes.zip > > > > > > > > > > > > Buildfile: ./../conf/jsp-gtest.xml > > > > > > > > > > > > jsp-test: > > > > > > > > > > > > and it just hangs. Running netstat shows that there is an > established TCP > > > > > > connection on port 8080, so apparently the client has actually > contacted > > > the > > > > > > server, but there's no loganbryant@example.org. > > > > > > > > > > > > Any theories on what is going on? > > > > > > > > > > > > Craig McClanahan > > > > > > > > > > > > > > > > > > > > > > > > From loganbryant@example.org Fri Dec 1 07:04:36 2000 Return-Path: <loganbryant@example.org> Mailing-List: contact loganbryant@example.org; run by ezmlm Delivered-To: mailing list loganbryant@example.org Received: (qmail 54275 invoked from network); 1 Dec 2000 07:04:36 -0000 Received: from ns1.cybermedia.co.in (loganbryant@example.org) by locus.apache.org with SMTP; 1 Dec 2000 07:04:36 -0000 Received: from ankush ([83.161.120.155]) by ns1.cybermedia.co.in (8.8.7/8.8.7) with SMTP id MAA03034; Fri, 1 Dec 2000 12:50:47 +0530 Message-ID: <loganbryant@example.org> Reply-To: "Ankush" <loganbryant@example.org> From: "Ankush" <loganbryant@example.org> To: <loganbryant@example.org>, "vanitha.venkatraman" <loganbryant@example.org> References: <Roam.SIMC.83.161.120.1555653983.4968.vanitha@taller> Subject: Re: OK, What Gives? Date: Fri, 1 Dec 2000 12:28:17 +0530 Organization: CSPL MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi Vanitha, Thanks for your prompt reply.But please help me how to uswe Watchdog. Say I Build all the files from JSP and Servlet and copy the war files in Tomcat.After succcessful Build of Watchdog, what am I supposed to do next? How shall I monitor the servlet and JSPs on the browser.Please help me , how to use this Watchdog. Thanks, Regards Ankush ----- Original Message ----- From: vanitha.venkatraman <loganbryant@example.org> To: <loganbryant@example.org>; Ankush <loganbryant@example.org> Sent: Friday, December 01, 2000 12:29 PM Subject: Re: OK, What Gives? > Ankush, > 'Watchdog' is the open source validation test suite for the JSP/Servlet > containers. It is a suite of tests written for the JSP and Servlet > specification compliance. In the case of 'jakarta-watchdog-4.0' release, it is > for the JSP1.2 and Servlet2.3 specifications. It has method level tests for > both technologies. These are not functional tests - we have another group here > at Java Software that does this. So, these do not have tests for EJB, > JTA/JTS, JDBC tests that interact with JSP/Servlets. > > The idea behind Watchdog is to let third party web containers verify their > compliance with the JSP/Servlet specification. > > -- Vanitha > -------------------------------------------------------------------------- ----- > > Hi Vanitha, > > I tried running the build for watchdog with Tomcat with the option > > "./watchdog.sh all " . Though it starts running and displays a message BUILD > > SUCCESSFUL, I still dont understand how is watchdog used with Tomcat, > > because even if I dont build, and just copy the .war files I still find no > > difference. > > Please let me know how is Watchdog used and when? > > Thanks, > > Ankush > > ----- Original Message ----- > > From: vanitha.venkatraman <loganbryant@example.org> > > To: <loganbryant@example.org>; Santosh Singh [TEMP] > > <loganbryant@example.org> > > Sent: Friday, December 01, 2000 11:59 AM > > Subject: Re: OK, What Gives? > > > > > > > Santosh, > > > There is either something very broken with the Tomcat-4.0 build or the > > > Watchdog build. The tests do not run for me with two of the Tomcat builds. > > > > > > Which version (date stamp) of Tomcat-4.0 did you use ? > > > > > > Thanks, > > > Vanitha > > > -------------------------------------------------------------------------- > > ----- > > > > I tried it with tomcat milestone build 4 and it works for me. I don't > > know > > > > what's happenning? > > > > > > > > -Santosh > > > > > > > > > Mailing-List: contact loganbryant@example.org; run by > > ezmlm > > > > > list-help: <mailto:loganbryant@example.org> > > > > > list-unsubscribe: <mailto:loganbryant@example.org> > > > > > list-post: <mailto:loganbryant@example.org> > > > > > Delivered-To: mailing list loganbryant@example.org > > > > > X-Accept-Language: en > > > > > MIME-Version: 1.0 > > > > > To: loganbryant@example.org > > > > > Subject: Re: OK, What Gives? > > > > > Content-Transfer-Encoding: 7bit > > > > > X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > > > > > > > > > > "Santosh Singh [TEMP]" wrote: > > > > > > > > > > > Craig, > > > > > > Does it haang or it takes a long time ...? > > > > > > Now if you use the option all , both servelets and jsp tests are > > run plus > > > > jsp > > > > > > tests are run in two different modes (jsp and XML) . before it > > starts > > > > running > > > > > > the tests the XML view of all the jsp files in the workspace is > > generated > > > > which > > > > > > takes considerable time.I'll suggest you running the tests one by > > one just > > > > to > > > > >
{'source': 'Apache Software Foundation Public Mail Archives'}