AW: logging

2008-07-08 Thread Norbert Hirneisen
Well, you could use nfs to mount a share from the target machine and create a
symlink to the logs-directory. That would be a direct approach with the
disadvantage that you will get problems when the target machine won´t be
available.
An other solution is to create a cronjob an move the archived logfiles one´s a
day to your target machine using a nfs-share. In this case you can build-in some
code to check for the availability of the target machine.
It depends on your project goals: concentrating the logfiles on one machine to
use large disks there or up-to-date analysing of the logfiles of all your tomcat
instances on several machines in case of problems and errors.

Regards,
Norbert

Regards,
Norbert 
 
Norbert Hirneisen
 
science4you Online-Monitoring
http://www.science4you.org
email: [EMAIL PROTECTED]
 
Please visit us:
http://www.science4you.org
(in German)
 
 
European Moth Night: www.falternacht.de (in German)
Butterfly findings: www.falterfunde.de (in German)
Migratory butterflies and moths: www.science4you.org/platform/monitoring/ (in
German)
Dragonflies
www.libellenfunde.de (in German)
 
Protected species by law in Germany
http://www.wisia.de (in German)
 
Norbert Hirneisen
Science  Communications
von-Müllenark-Str. 19
53179 Bonn
phone +49-228-6194930


-Ursprüngliche Nachricht-
Von: Lynn Hollerman [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 8. Juli 2008 15:29
An: Tomcat Users List
Betreff: logging


I have been asked to see about redirecting the output logs from the 
various tomcat instances(all are v5.0 and up) we use. My boss would like 
the logs to be written to a different machine on our Unix network. How 
would I go about redirecting stdout and stderr in this case?

Thanks!

-- 
Lynn Hollerman.
Office of Information Systems
University of Louisiana - Lafayette
337-482-6466

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



jsp-output in wrong frames

2007-06-04 Thread Norbert Hirneisen

Hello list,

We are using Apache Tomcat/5.5.17 with jvm 1.5.0_07-b03 on Linux Kernel
2.6.19.2-monolithic (suse) together with Apache2 using the httpd2-worker
configuration.
Tomcat is given 512-1024 MB Ram by java with permGemMem of 256 MB. The
application is a struts-app using frames (top-left-main).
All is working fine with two exceptions:
First: Sometimes (every couple of days) the connection count is rising and after
a while tomcat uses 99% of processor time. This occurs when spammers are trying
to put spam in our discussion boards and the manipulated urls they are using are
causing soem errors. Only solution is to kill the tomcat process - a graceful
reload of tomcat isn´t possible any more. Most of the time after restarting
tomcat all is working fine again but sometimes this doesn´t help: I have to
reboot the server (IBM xS23ver x330, 2x1,1 GHz, 2 GB RAM). Strangely, these
serious problems occur every 40-50 days.
Second: Sometimes the jsps were delivered in the wrong frames. The content is
puzzled - randomly other parts of the application are showing in the frames. If
I look at the frame information in Firefox the given Url is correct but the
content doesn´t match the url. The is a most annoying thing for our customers
(and us as well) and we would be very grateful for a suggestion.

Load: about 3000 visits / 35.000 pageviews / 100.000 hits a day.

Thanks for your help.

Norbert



Regards,
Norbert 
 
Norbert Hirneisen
 


science4you Online-Monitoring
http://www.science4you.org
email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 
Please visit us:
http://www.science4you.org
(in German)
 
Euro+Med Plant Conservation
www.http://www.s2you.com/euromed/ http://www.http://www.s2you.com/euromed/ 
(in English)
 
European Moth Night: www.falternacht.de http://www.falternacht.de  (in German)
Butterfly findings: www.falterfunde.de http://www.falterfunde.de  (in German)
Migratory butterflies and moths: www.s2you.com/platform/monitoring/
http://www.s2you.com/platform/monitoring/  (in German)
 
Protected species by law in Germany
http://www.wisia.de (in German)
 
Red lists
http://www.redlist.info (in German)
 
Norbert Hirneisen
Science  Communications
von-Müllenark-Str. 19
53179 Bonn
phone +49-228-6194930


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: jsp-output in wrong frames

2007-06-04 Thread Norbert Hirneisen
David,
thanks for your response.
I will check the app regarding session scope objects. 

Regards,
Norbert



-Ursprüngliche Nachricht-
Von: David Delbecq [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 4. Juni 2007 13:43
An: Tomcat Users List
Betreff: Re: jsp-output in wrong frames


En l'instant précis du 04/06/07 13:32, Norbert Hirneisen s'exprimait en
ces termes:
 Hello list,

 We are using Apache Tomcat/5.5.17 with jvm 1.5.0_07-b03 on Linux Kernel
 2.6.19.2-monolithic (suse) together with Apache2 using the httpd2-worker
 configuration.
 Tomcat is given 512-1024 MB Ram by java with permGemMem of 256 MB. The
 application is a struts-app using frames (top-left-main).
 All is working fine with two exceptions:
 First: Sometimes (every couple of days) the connection count is rising and
after
 a while tomcat uses 99% of processor time. This occurs when spammers are
trying
 to put spam in our discussion boards and the manipulated urls they are using
are
 causing soem errors. Only solution is to kill the tomcat process - a graceful
 reload of tomcat isn´t possible any more. Most of the time after restarting
 tomcat all is working fine again but sometimes this doesn´t help: I have to
 reboot the server (IBM xS23ver x330, 2x1,1 GHz, 2 GB RAM). Strangely, these
 serious problems occur every 40-50 days.
   
Fors this part, fix your struts form/action to not generate errors or
ignore badly encoded urls
 Second: Sometimes the jsps were delivered in the wrong frames. The content is
 puzzled - randomly other parts of the application are showing in the frames.
If
 I look at the frame information in Firefox the given Url is correct but the
 content doesn´t match the url. The is a most annoying thing for our customers
 (and us as well) and we would be very grateful for a suggestion.

 Load: about 3000 visits / 35.000 pageviews / 100.000 hits a day.

   
Are the 2 or 3 frames generated using the same struts action / form ? I
yes, check to make sure they are defined as request scope and not
session scope. When you load several frames at same time, browser issues
requests in parallel. If something in your code use a session level
object without surrouding synchronization, you my have troubles,
especially if the backing 'form' in struts you are using is session scoped.
 Thanks for your help.

 Norbert



 Regards,
 Norbert 
  
 Norbert Hirneisen
  


 science4you Online-Monitoring
 http://www.science4you.org
 email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
  
 Please visit us:
 http://www.science4you.org
 (in German)
  
 Euro+Med Plant Conservation
 www.http://www.s2you.com/euromed/ http://www.http://www.s2you.com/euromed/ 
 (in English)
  
 European Moth Night: www.falternacht.de http://www.falternacht.de  (in
German)
 Butterfly findings: www.falterfunde.de http://www.falterfunde.de  (in
German)
 Migratory butterflies and moths: www.s2you.com/platform/monitoring/
 http://www.s2you.com/platform/monitoring/  (in German)
  
 Protected species by law in Germany
 http://www.wisia.de (in German)
  
 Red lists
 http://www.redlist.info (in German)
  
 Norbert Hirneisen
 Science  Communications
 von-Müllenark-Str. 19
 53179 Bonn
 phone +49-228-6194930


 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

   


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]