Re: tomcat test
Maybe this will help: Use Validators and Load Generators to Test Your Web Applications http://linuxquality.sunsite.dk/articles/webapptesting/ Mike --- Hello, I just apt-get install tomcat but I don't find how to test it :-) Any idea ? -- Michael D. Crawford GoingWare Inc. - Expert Software Development and Consulting http://www.goingware.com/ [EMAIL PROTECTED] Subscribe to the GoingWare Newsletter at http://www.goingware.com/newsletter/ Tilting at Windmills for a Better Tomorrow. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: tomcat test
In fact, I would know how testing tomcat is running ! Which URI must I set to my browser to test it :-) François On Wed, 22 May 2002 04:03:25 -0500 Michael D. Crawford [EMAIL PROTECTED] wrote: Maybe this will help: Use Validators and Load Generators to Test Your Web Applications http://linuxquality.sunsite.dk/articles/webapptesting/ Mike --- Hello, I just apt-get install tomcat but I don't find how to test it :-) Any idea ? -- Michael D. Crawford GoingWare Inc. - Expert Software Development and Consulting http://www.goingware.com/ [EMAIL PROTECTED] Subscribe to the GoingWare Newsletter at http://www.goingware.com/newsletter/ Tilting at Windmills for a Better Tomorrow. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: tomcat test
On 05/22 15:48 Francois Chenais wrote: I just apt-get install tomcat but I don't find how to test it :-) Any idea ? http://localhost:8080 Oki -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: tomcat test
In fact, I would know how testing tomcat is running ! Which URI must I set to my browser to test it :-) Ah! Well, you need to know that your webserver is running. If you're testing from the machine that's got the server, try http://localhost or http://127.0.0.1 or the proper ID address or hostname of the machine. I don't think Tomcat does anything by itself. I think you need to write a Java module that you install in Tomcat. I'm sorry it's been a while since I've worked with it, but what you will need to do is examine the configuration files for your webserver (apache?) and the configuration files for tomcat to see what URI is used for the programs installed in Tomcat. If Tomcat comes with sample programs, then try giving on of those in the URI. Sorry I couldn't be more specific. But when you do have a full application developed, do follow the advice of my article, and test it for valid HTML, as well as stress-testing it with a load generator. I wrote the article after I was hired to tune a web application that fell over the day it went live, because it couldn't handle even a moderate user load! Mike -- Michael D. Crawford GoingWare Inc. - Expert Software Development and Consulting http://www.goingware.com/ [EMAIL PROTECTED] Subscribe to the GoingWare Newsletter at http://www.goingware.com/newsletter/ Tilting at Windmills for a Better Tomorrow. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: tomcat test
Nothing listenning on port 8080 :-| François On Wed, 22 May 2002 16:26:10 +0700 Oki DZ [EMAIL PROTECTED] wrote: On 05/22 15:48 Francois Chenais wrote: I just apt-get install tomcat but I don't find how to test it :-) Any idea ? http://localhost:8080 Oki -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: tomcat test
Okay, In fact, I would like testing the installation before using my own application. I know that jserv has default testing servlets and I wooder if tomcat does the same. I've looked for it on apache/tomcat conf files but found nothing. httpd.conf includes /var/lib/tomcat/conf/mod_jk.conf but this file is empty :-| So I'll look for more infos on tomcat web site. Thanks François On Wed, 22 May 2002 04:28:10 -0500 Michael D. Crawford [EMAIL PROTECTED] wrote: In fact, I would know how testing tomcat is running ! Which URI must I set to my browser to test it :-) Ah! Well, you need to know that your webserver is running. If you're testing from the machine that's got the server, try http://localhost or http://127.0.0.1 or the proper ID address or hostname of the machine. I don't think Tomcat does anything by itself. I think you need to write a Java module that you install in Tomcat. I'm sorry it's been a while since I've worked with it, but what you will need to do is examine the configuration files for your webserver (apache?) and the configuration files for tomcat to see what URI is used for the programs installed in Tomcat. If Tomcat comes with sample programs, then try giving on of those in the URI. Sorry I couldn't be more specific. But when you do have a full application developed, do follow the advice of my article, and test it for valid HTML, as well as stress-testing it with a load generator. I wrote the article after I was hired to tune a web application that fell over the day it went live, because it couldn't handle even a moderate user load! Mike -- Michael D. Crawford GoingWare Inc. - Expert Software Development and Consulting http://www.goingware.com/ [EMAIL PROTECTED] Subscribe to the GoingWare Newsletter at http://www.goingware.com/newsletter/ Tilting at Windmills for a Better Tomorrow. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: tomcat test
On Wed, May 22, 2002 at 11:43:12AM +0200, Francois Chenais wrote: | Okay, | | In fact, I would like testing the installation before using | my own application. I know that jserv has default testing servlets | and I wooder if tomcat does the same. IIRC it does. | I've looked for it on apache/tomcat conf files but found nothing. | | httpd.conf includes /var/lib/tomcat/conf/mod_jk.conf but this file is | empty :-| | | So I'll look for more infos on tomcat web site. Start tomcat (/etc/init.d/tomcat start, I think). Then try ps -A | grep tom to see if it is running (hasn't crashed or terminated). Then (as root) try netstat -anp | grep tom to see which port it is listening on. Then try browsing that port with an HTTP client of some sort (telnet, links, galeon, whatever). -D -- Yes, Java is so bulletproofed that to a C programmer it feels like being in a straightjacket, but it's a really comfy and warm straightjacket, and the world would be a safer place if everyone was straightjacketed most of the time. -- Mark 'Kamikaze' Hughes GnuPG key : http://dman.ddts.net/~dman/public_key.gpg pgpHjiGpLp0tt.pgp Description: PGP signature
Re: tomcat test
On 05/22 16:38 Francois Chenais wrote: Nothing listenning on port 8080 :-| Well, take a look at $TOMCAT_HOME/conf/server.xml, under the Tomcat-Standalone service tag, there is a Connector tag with it's port attribute; you can see on what port Tomcat is running. I installed my Tomcat from the Apache distribution, and I believe that the default port is 8080. Oki -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]