RE: No such list! s (AM I THE ONLY ONE GETTING THIS SPAM)?

2005-05-17 Thread Edd Dawson
No you aren't!

 am i the only one getting this annoying spam from the tomcat lisy?
 
 -Original Message-
 From: s [mailto:[EMAIL PROTECTED]
 Sent: Monday, May 16, 2005 10:32 PM
 To: tomcat-user@jakarta.apache.org
 Subject: No such list! s
 
 
 Valid Lists
 
 
 New Atlanta List Server
 ---
 
 There is no list by that name on this server. Available lists are:
 
bluedragon-interest
servletexec-interest
jturbo-interest
 
 
 
 
 
 -
 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]



RE: No such list! s (AM I THE ONLY ONE GETTING THIS SPAM)?

2005-05-17 Thread Edd Dawson
No you aren't!

 am i the only one getting this annoying spam from the tomcat lisy?
 
 -Original Message-
 From: s [mailto:[EMAIL PROTECTED]
 Sent: Monday, May 16, 2005 10:32 PM
 To: tomcat-user@jakarta.apache.org
 Subject: No such list! s
 
 
 Valid Lists
 
 
 New Atlanta List Server
 ---
 
 There is no list by that name on this server. Available lists are:
 
bluedragon-interest
servletexec-interest
jturbo-interest
 
 
 
 
 
 -
 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]



Redirecting to another site when Error 500 occurs

2005-01-12 Thread Edd Dawson
Hi
I am running a site served by Apache and Tomcat,
When tomcat dies and gives a 500 error i want to redirect to an external 
site.. I thought the way of doing this was via httpd.conf for Apache..  
so i added

ErrorDocument 500 http://my.external.site/
to httpd.conf
However it doesn't redirect when tomcat is stopped (and you therefore 
get a error 500) ... i added a redirect for error 404's and these do go 
to the external site on a 404.

So is there something in tomcat or the way its linked to apache that is 
causing the redirect not to work?

thanks
Edd

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


Tomcat monitoring scripts

2005-01-12 Thread Edd Dawson
Hi
Does anyone know of the location of any scripts (for Linux) that will 
monitor tomcat every x minutes and if it finds it not running will 
restart it automatically?

Any suggestions would be appreciated.
thanks
Edd

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


Re: Tomcat monitoring scripts

2005-01-12 Thread Edd Dawson
I'm looking more for something that sits on the actual servers and 
probes at set intervals and takes remedial action if necessary.. i just 
wondered if anyone had documented doing such a thing before.

Peter Lin wrote:
JMeter has a monitor for tomcat 5.0.19 and newer. It doesn't work with
tomcat4 or older. in terms of restarting, you're probably going to
have to write a shell script to do that. Typically, on unix a cron job
is used.
peter
On Wed, 12 Jan 2005 15:12:15 +, Edd Dawson
[EMAIL PROTECTED] wrote:
 

Hi
Does anyone know of the location of any scripts (for Linux) that will
monitor tomcat every x minutes and if it finds it not running will
restart it automatically?
Any suggestions would be appreciated.
thanks
Edd
-
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]

 


--
Edd Dawson
Head of Development
MitchellConnerSearson
3-5 High Pavement
The Lace Market
Nottingham  NG1 1HF
Tel +44 (0)115 959 6455
Fax +44 (0)115 959 6456
Direct +44 (0)115 959 6463
www.choosemcs.co.uk http://www.choosemcs.co.uk/
Confidentiality: This e-mail and its attachments are intended for the above 
named only and may be confidential. If they have come to you in error you must 
take no action based on them, nor must you copy or show them to anyone; please 
reply to this e-mail and highlight the error.
Security Warning: Please note that this e-mail has been created in the 
knowledge that Internet e-mail is not a 100% secure communications medium. We 
advise that you understand and observe this lack of security when e-mailing us.
Viruses: Although we have taken steps to ensure that this e-mail and 
attachments are free from any virus, we advise that in keeping with good 
computing practice the recipient should ensure they are actually virus free.

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


Re: Tomcat monitoring scripts

2005-01-12 Thread Edd Dawson
My googling skills are letting me down today.. i haven't managed to find 
any examples online (and i've been trying most of the day!)

Peter Lin wrote:
most people use Perl or shell scripts to do that. There's plenty of
scripts on the net for doing that by the process id. sorry, I don't
have any links handy. google is your friend.
peter
 


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


Advice needed on deploying on Tomcat 5.0.25

2004-06-09 Thread Edd Dawson
Hi

I recently installed Tomcat 5.0.25 on my windows laptop.


I did have 4.x installed and i copied over my faithful HelloWorld
example from 4.x/webapps directory to my new 5.0.25/webapps directory..

and it doesn't work! I get the following error :

HTTP Status 404 - /hello/servlet/HelloWorld



type Status report

message /hello/servlet/HelloWorld

description The requested resource (/hello/servlet/HelloWorld) is not
available



It still works fine on 4.x.

So i tried putting the class file in the /class directory of the
servlets-examples webapp that came with 5.0.25 and it didn't work until
i added its details the web.xml for that app.

Now do i HAVE to have a web.xml now i am using 5.0.25 ? as with 4.x it
wasn't a requirement.

cheers
Edd Dawson

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



Form based authentication

2004-03-02 Thread Edd Dawson
Hi

I have successfully set up tomcat to protect various parts of my
application using JDBCrealm and form-based-authentication, and it all
works fine.

Now i have written a system whereby new users can register and it
creates them their chosen username and puts them in the right roles in
the database.

Now what i want to be able to do is have my servlet automatically log
them in as the register without the need for them to be redirected to
the login-form and re-enter their username and password.

I am presuming this is possible as i log my users out by invoking
request.getSession().invalidate(); in my logoff servlet, so my question
is how do i create their session without using the default login form?

Thanks
Edd

 

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



Form-based authentication question

2004-03-01 Thread Edd Dawson
Hi

I have successfully set up tomcat to protect various parts of my
application using JDBCrealm and form-based-authentication, and it all
works fine.

Now i have written a system whereby new users can register and it
creates them their chosen username and puts them in the right roles in
the database.

Now what i want to be able to do is have my servlet automatically log
them in as the register without the need for them to be redirected to
the login-form and re-enter their username and password.

I am presuming this is possible as i log my users out by invoking
request.getSession().invalidate(); in my logoff servlet, so my question
is how do i create their session without using the default login form?

Thanks
Edd


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