Re: Tomcat class loader

2001-03-01 Thread Chris Haynes
a PRDashBoard.PRContext is getting there and where it came from, c) Why the class that should there isn't! Chris - Original Message - From: "uthay" [EMAIL PROTECTED] To: "Chris Haynes" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 11:36 AM Subject: Re:

Re: Hiding a jsp file from public access?

2001-02-28 Thread Chris Haynes
ar yet, so can't say that it works. Haven't seen a tomcat-only way of doing this. Chris Haynes Evesham England - Original Message - From: "Ben Flaumenhaft" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 12:28 AM Subject: Hiding a jsp file from pub

Apache - Tomcat startup race for port 8009?

2001-02-27 Thread Chris Haynes
state change' approaches check that the pre-start state is correct before starting tomcat. D seems the most elegant - if I have to do anything myself. B seems the most 'correct' and fool-proof. All comments / suggestions grat

Re: BindExcetion error!

2001-02-27 Thread Chris Haynes
ning. Run this when tomcat should NOT be running and make sure there are no entries for any of the ports which tomcat will want. I suspect you may find some other process already listening on one of the ports that tomcat needs, or a rogue copy of tomcat already alive. Good luck! Chris Hayn

Re: BindExcetion error!

2001-02-27 Thread Chris Haynes
Correction re the msg to Amir: netstat -t -a is better - it lists both listening and established uses of ports. Chris - Original Message - From: "Chris Haynes" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 27, 2001 11:55 AM Subject: Re: BindExcetion erro

Re: Strange error

2001-02-27 Thread Chris Haynes
Shailendra, Have you checked the file permissions on the .class file? Could be that you have permission to write to this file when you do it manually , but the user associated with the JWS does not have write permission. Chris Haynes Evesham, England - Original Message - From

Re: Tomcat config.

2001-02-27 Thread Chris Haynes
Nik, If your tomcat is configured like mine, you may not have to change anything. Just put your files in a new sub-directory of webapps (alongiside 'examples'. 'test' etc.) When tomcat starts it lists the contexts it has found. You should see it list yours just before / after finding the

Re: webapp icons, disabling directory listings, and error-page tags in web.xml

2001-02-27 Thread Chris Haynes
Stefan, You can turn off the generation of indexes by setting the argument suppress="true" in the StaticInterceptor entry in server.xml. For error handling in the servlets look at JSP: %@ page isErrorpage="true" flags the page as an error handler %@ page errorPage="errorHandler.jsp" tells a

Re: Missing folders under Tomcat webapps

2001-02-27 Thread Chris Haynes
Cathy, File permissions in NT set right for the user?? Chris - Original Message - From: "c cw288" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 27, 2001 12:50 PM Subject: Missing folders under Tomcat webapps Hi, I downloaded the Tomcat 3.2.1 on my NT and under

Race between Apache and Tomcat for port 8009

2001-02-27 Thread Chris Haynes
Re the query I posted earlier about the race for port 8009. I plan to use the following shellscript approach to make sure tomcat is listening on port 8009 before I start Apache: /usr/tomcat/bin/startup.sh while [ -z "$(netstat -t -l -n | grep 0:8009)" ]; do sleep 1; done /etc/sbin/httpd start

Cookies

2001-02-27 Thread Chris Haynes
Herchel, Herchel, Looks to me like you are not writing the old cookie back to the user after changing it. You have to use response.addCookie( c); after you have changed its value. (and move the scope of Cookie c; out to cover all of the code, not have it in the loop). Chris Evesham England

Re: Tomcat class loader

2001-02-27 Thread Chris Haynes
What I've observed is that it only reloads the classes it *directly* knows about. I.E. it will reload amended Servlet classes and JSP files, but if they then refer to other classes, these other classes will NOT be reloaded if they change. So you have to keep stopping and starting tomcat unless

Re: IIS 5, Tomcat 3.2 and port problem...

2001-02-27 Thread Chris Haynes
Isn't there some constraint about NT not letting you start services on ports 1024 unless you are an administrator? I know UNIX says you have to be root; I've an idea that NT has a similar security measure. Chris - Original Message - From: "Andreas Holmer" [EMAIL PROTECTED] To:

Re: Selecting spawned task user

2001-02-27 Thread Chris Haynes
John, I read somewhere last night in the Tomcat documentation (can't remember where) about starting it with something like: su fred startup.sh Suggest you hunt for the correct version of this. Chris - Original Message - From: "John Preston" [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: tomcat status ??

2001-02-27 Thread Chris Haynes
rep 0:8006 Chris Haynes Evesham England - Original Message - From: Srinivas Kurella To: '[EMAIL PROTECTED]' Sent: Tuesday, February 27, 2001 7:08 PM Subject: tomcat status ?? Is there a tool or utility to check the status of tomcat ? something like "t

Re: Path Problem- URGENT

2001-02-27 Thread Chris Haynes
Amitabh, I don't quite understand what you are trying to do when you say you want to 'access' your .jsp file from within your servlet. If you are trying to get the servlet to tell tomcat what file to send to the user you can use