Re: Is this normal? JK2: ajp13 listening on /0.0.0.0:8009.

2004-03-13 Thread David Rees
Galam wrote, On 3/12/2004 11:18 PM:
Is the message " JK2:  ajp13 listening on /0.0.0.0:8009" normal?  Why
the ip address is all 0's?
When listening on 0.0.0.0, that means that you are listening on all 
available TCP/IP addresses, and in this case port 8009.  So yes, it is 
normal.

-Dave

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


RE: Is this normal for Tomcat?

2003-05-31 Thread Angelov, Rossen
I'm not sure if I understand the question very well but the original
HttpServletResponse is being passed to the constructor of another class to
create an instance and then this instance is changed in the course of the
execution.

At the end it's printed out through PrintWriter and then flushed.

Ross
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 12:56 PM
To: [EMAIL PROTECTED]
Subject: RE: Is this normal for Tomcat?


This could be a thread safety issue. 

Are you using a servlet that has instance variables to generate the
response?

Larry

>>> [EMAIL PROTECTED] 05/30/03 11:33 AM >>>

I still have no clue as to the shared cookies issue.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 30, 2003 1:28 PM
>To: 'Tomcat Users List'
>Subject: RE: Is this normal for Tomcat?
>
>Sorry, I meant, I'm not using Apache's FileLogger to log this data.
>
>Both are using FileAppender with different log4j.appender.LOG.File
>property.
>
>The categoryFactory, rootCategory, PatternLayout and ConversionPattern
are
>the same.
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 30, 2003 12:19 PM
>To: Tomcat Users List
>Subject: RE: Is this normal for Tomcat?
>
>
>
>Howdy,
>How is log4j writing to a file if you're not using
>FileAppender?
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>>-----Original Message-
>>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>>Sent: Friday, May 30, 2003 1:15 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Is this normal for Tomcat?
>>
>>No, they are completely different:
>>
>>webapps -> context1 -> WEB-INF -> classes -> com/context1 
>>webapps -> context2 -> WEB-INF -> classes -> com/context2 
>>
>>I don't have anything in common/lib or common/classes used by these
>>servlets.
>>log4j has two different paths for the log files. I'm not using
>>FileAppender,
>>the servlets read in the log4j properties from a separate
configuration
>>files passed as  when the servlet starts.
>>
>>
>>
>>-Original Message-
>>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>>Sent: Friday, May 30, 2003 12:08 PM
>>To: Tomcat Users List
>>Subject: RE: Is this normal for Tomcat?
>>
>>
>>
>>Howdy,
>>Do you have any code in the common/lib or common/classes repository
>that
>>these two contexts share?  Is the File destination for log4j's
>>FileAppender configured to be the same for the two contexts?
>>
>>Yoav Shapira
>>Millennium ChemInformatics
>>
>>
>>>-Original Message-
>>>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>>>Sent: Friday, May 30, 2003 1:01 PM
>>>To: 'Tomcat Users List'
>>>Subject: Is this normal for Tomcat?
>>>
>>>Hi,
>>>
>>>I'm using Tomcat 4.1.12 running on Solaris 5.7
>>>
>>>Issue #1:
>>>There are two different contexts with different paths and different
>>>docBase.
>>>Two different servlets using two different log files (log4j). I was
>>>browsing
>>>the pages from the same browser window (IE 5.5) switching between
both
>>>contexts when I noticed both servlets are writing to the same log
>file.
>>>Theoretically it's not supposed to happen because they use different
>>>configuration files and I haven't changed them for days. These
>servlets
>>are
>>>completely independent from each other.
>>>
>>>Issue #2:
>>>Sometimes when multiple users access pages happen to share the same
>>http
>>>responses: User1 can see the cookies and the pages that user2
>>requested.
>>>
>>>How is all this possible?
>>>
>>>Ross
>>
>>
>>
>>
>>This e-mail, including any attachments, is a confidential business
>>communication, and may contain information that is confidential,
>>proprietary
>>and/or privileged.  This e-mail is intended only for the individual(s)
>to
>>whom it is addressed, and may not be saved, copied, printed, disclosed
>or
>>used by anyone else.  If you are not the(an) intended recipient,
please
>>immediately delete this e-mail from your computer system and notify
the
>>sender.  Thank you.
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROT

RE: Is this normal for Tomcat?

2003-05-31 Thread Larry Meadors
This could be a thread safety issue. 

Are you using a servlet that has instance variables to generate the
response?

Larry

>>> [EMAIL PROTECTED] 05/30/03 11:33 AM >>>

I still have no clue as to the shared cookies issue.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 30, 2003 1:28 PM
>To: 'Tomcat Users List'
>Subject: RE: Is this normal for Tomcat?
>
>Sorry, I meant, I'm not using Apache's FileLogger to log this data.
>
>Both are using FileAppender with different log4j.appender.LOG.File
>property.
>
>The categoryFactory, rootCategory, PatternLayout and ConversionPattern
are
>the same.
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 30, 2003 12:19 PM
>To: Tomcat Users List
>Subject: RE: Is this normal for Tomcat?
>
>
>
>Howdy,
>How is log4j writing to a file if you're not using
>FileAppender?
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>>-Original Message-----
>>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>>Sent: Friday, May 30, 2003 1:15 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Is this normal for Tomcat?
>>
>>No, they are completely different:
>>
>>webapps -> context1 -> WEB-INF -> classes -> com/context1 
>>webapps -> context2 -> WEB-INF -> classes -> com/context2 
>>
>>I don't have anything in common/lib or common/classes used by these
>>servlets.
>>log4j has two different paths for the log files. I'm not using
>>FileAppender,
>>the servlets read in the log4j properties from a separate
configuration
>>files passed as  when the servlet starts.
>>
>>
>>
>>-Original Message-
>>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>>Sent: Friday, May 30, 2003 12:08 PM
>>To: Tomcat Users List
>>Subject: RE: Is this normal for Tomcat?
>>
>>
>>
>>Howdy,
>>Do you have any code in the common/lib or common/classes repository
>that
>>these two contexts share?  Is the File destination for log4j's
>>FileAppender configured to be the same for the two contexts?
>>
>>Yoav Shapira
>>Millennium ChemInformatics
>>
>>
>>>-Original Message-
>>>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>>>Sent: Friday, May 30, 2003 1:01 PM
>>>To: 'Tomcat Users List'
>>>Subject: Is this normal for Tomcat?
>>>
>>>Hi,
>>>
>>>I'm using Tomcat 4.1.12 running on Solaris 5.7
>>>
>>>Issue #1:
>>>There are two different contexts with different paths and different
>>>docBase.
>>>Two different servlets using two different log files (log4j). I was
>>>browsing
>>>the pages from the same browser window (IE 5.5) switching between
both
>>>contexts when I noticed both servlets are writing to the same log
>file.
>>>Theoretically it's not supposed to happen because they use different
>>>configuration files and I haven't changed them for days. These
>servlets
>>are
>>>completely independent from each other.
>>>
>>>Issue #2:
>>>Sometimes when multiple users access pages happen to share the same
>>http
>>>responses: User1 can see the cookies and the pages that user2
>>requested.
>>>
>>>How is all this possible?
>>>
>>>Ross
>>
>>
>>
>>
>>This e-mail, including any attachments, is a confidential business
>>communication, and may contain information that is confidential,
>>proprietary
>>and/or privileged.  This e-mail is intended only for the individual(s)
>to
>>whom it is addressed, and may not be saved, copied, printed, disclosed
>or
>>used by anyone else.  If you are not the(an) intended recipient,
please
>>immediately delete this e-mail from your computer system and notify
the
>>sender.  Thank you.
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary
>and/or privileged.  This e-mail is intended only for the individual(s)
to
>whom it is addressed, and may not be saved, copied, printed, disclosed
or
>used by anyone else.  If you are not the(an) intended recipient, please
>immediately dele

RE: Is this normal for Tomcat?

2003-05-31 Thread Angelov, Rossen
Well, I gave you wrong information. The line with categoryFactory is not
being used. That was the old configuration.

All I have in the code is org.apache.log4j.Logger.getLogger and
PropertyConfigurator.configure(log4jfile), there is no categoryFactory
involved.

It's not only the cookies but the whole response. 

Is there some kind of server caching that Tomcat might be doing?

I have disabled caching on HTTP level:
response.setHeader("pragma", "no-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 0);

Ross

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 12:33 PM
To: Tomcat Users List
Subject: RE: Is this normal for Tomcat?



Howdy,
Are you actually specifying a categoryFactory?  Is it a custom one?
What version of log4j are you using?

I still have no clue as to the shared cookies issue.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 30, 2003 1:28 PM
>To: 'Tomcat Users List'
>Subject: RE: Is this normal for Tomcat?
>
>Sorry, I meant, I'm not using Apache's FileLogger to log this data.
>
>Both are using FileAppender with different log4j.appender.LOG.File
>property.
>
>The categoryFactory, rootCategory, PatternLayout and ConversionPattern
are
>the same.
>
>-Original Message-----
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 30, 2003 12:19 PM
>To: Tomcat Users List
>Subject: RE: Is this normal for Tomcat?
>
>
>
>Howdy,
>How is log4j writing to a file if you're not using
>FileAppender?
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>>-Original Message-
>>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>>Sent: Friday, May 30, 2003 1:15 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Is this normal for Tomcat?
>>
>>No, they are completely different:
>>
>>webapps -> context1 -> WEB-INF -> classes -> com/context1 
>>webapps -> context2 -> WEB-INF -> classes -> com/context2 
>>
>>I don't have anything in common/lib or common/classes used by these
>>servlets.
>>log4j has two different paths for the log files. I'm not using
>>FileAppender,
>>the servlets read in the log4j properties from a separate
configuration
>>files passed as  when the servlet starts.
>>
>>
>>
>>-Original Message-
>>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>>Sent: Friday, May 30, 2003 12:08 PM
>>To: Tomcat Users List
>>Subject: RE: Is this normal for Tomcat?
>>
>>
>>
>>Howdy,
>>Do you have any code in the common/lib or common/classes repository
>that
>>these two contexts share?  Is the File destination for log4j's
>>FileAppender configured to be the same for the two contexts?
>>
>>Yoav Shapira
>>Millennium ChemInformatics
>>
>>
>>>-Original Message-
>>>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>>>Sent: Friday, May 30, 2003 1:01 PM
>>>To: 'Tomcat Users List'
>>>Subject: Is this normal for Tomcat?
>>>
>>>Hi,
>>>
>>>I'm using Tomcat 4.1.12 running on Solaris 5.7
>>>
>>>Issue #1:
>>>There are two different contexts with different paths and different
>>>docBase.
>>>Two different servlets using two different log files (log4j). I was
>>>browsing
>>>the pages from the same browser window (IE 5.5) switching between
both
>>>contexts when I noticed both servlets are writing to the same log
>file.
>>>Theoretically it's not supposed to happen because they use different
>>>configuration files and I haven't changed them for days. These
>servlets
>>are
>>>completely independent from each other.
>>>
>>>Issue #2:
>>>Sometimes when multiple users access pages happen to share the same
>>http
>>>responses: User1 can see the cookies and the pages that user2
>>requested.
>>>
>>>How is all this possible?
>>>
>>>Ross
>>
>>
>>
>>
>>This e-mail, including any attachments, is a confidential business
>>communication, and may contain information that is confidential,
>>proprietary
>>and/or privileged.  This e-mail is intended only for the individual(s)
>to
>>whom it is addressed, and may not be saved, copied, printed, disclosed
>or
>>

RE: Is this normal for Tomcat?

2003-05-31 Thread Shapira, Yoav

Howdy,
Are you actually specifying a categoryFactory?  Is it a custom one?
What version of log4j are you using?

I still have no clue as to the shared cookies issue.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 30, 2003 1:28 PM
>To: 'Tomcat Users List'
>Subject: RE: Is this normal for Tomcat?
>
>Sorry, I meant, I'm not using Apache's FileLogger to log this data.
>
>Both are using FileAppender with different log4j.appender.LOG.File
>property.
>
>The categoryFactory, rootCategory, PatternLayout and ConversionPattern
are
>the same.
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 30, 2003 12:19 PM
>To: Tomcat Users List
>Subject: RE: Is this normal for Tomcat?
>
>
>
>Howdy,
>How is log4j writing to a file if you're not using
>FileAppender?
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>>-Original Message-
>>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>>Sent: Friday, May 30, 2003 1:15 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Is this normal for Tomcat?
>>
>>No, they are completely different:
>>
>>webapps -> context1 -> WEB-INF -> classes -> com/context1 
>>webapps -> context2 -> WEB-INF -> classes -> com/context2 
>>
>>I don't have anything in common/lib or common/classes used by these
>>servlets.
>>log4j has two different paths for the log files. I'm not using
>>FileAppender,
>>the servlets read in the log4j properties from a separate
configuration
>>files passed as  when the servlet starts.
>>
>>
>>
>>-Original Message-
>>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>>Sent: Friday, May 30, 2003 12:08 PM
>>To: Tomcat Users List
>>Subject: RE: Is this normal for Tomcat?
>>
>>
>>
>>Howdy,
>>Do you have any code in the common/lib or common/classes repository
>that
>>these two contexts share?  Is the File destination for log4j's
>>FileAppender configured to be the same for the two contexts?
>>
>>Yoav Shapira
>>Millennium ChemInformatics
>>
>>
>>>-Original Message-
>>>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>>>Sent: Friday, May 30, 2003 1:01 PM
>>>To: 'Tomcat Users List'
>>>Subject: Is this normal for Tomcat?
>>>
>>>Hi,
>>>
>>>I'm using Tomcat 4.1.12 running on Solaris 5.7
>>>
>>>Issue #1:
>>>There are two different contexts with different paths and different
>>>docBase.
>>>Two different servlets using two different log files (log4j). I was
>>>browsing
>>>the pages from the same browser window (IE 5.5) switching between
both
>>>contexts when I noticed both servlets are writing to the same log
>file.
>>>Theoretically it's not supposed to happen because they use different
>>>configuration files and I haven't changed them for days. These
>servlets
>>are
>>>completely independent from each other.
>>>
>>>Issue #2:
>>>Sometimes when multiple users access pages happen to share the same
>>http
>>>responses: User1 can see the cookies and the pages that user2
>>requested.
>>>
>>>How is all this possible?
>>>
>>>Ross
>>
>>
>>
>>
>>This e-mail, including any attachments, is a confidential business
>>communication, and may contain information that is confidential,
>>proprietary
>>and/or privileged.  This e-mail is intended only for the individual(s)
>to
>>whom it is addressed, and may not be saved, copied, printed, disclosed
>or
>>used by anyone else.  If you are not the(an) intended recipient,
please
>>immediately delete this e-mail from your computer system and notify
the
>>sender.  Thank you.
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary
>and/or privileged.  This e-mail is intended only for the individual(s)
to
>whom it is addressed, and may not be saved, copied, printed, disclosed
or
>used by anyone else.  If you are not the(an) intended recipient, please
>immediately delete this e-mail from your computer system and notify the
>sender.  Thank you.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: Is this normal for Tomcat?

2003-05-31 Thread Angelov, Rossen
Sorry, I meant, I'm not using Apache's FileLogger to log this data.

Both are using FileAppender with different log4j.appender.LOG.File property.

The categoryFactory, rootCategory, PatternLayout and ConversionPattern are
the same.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 12:19 PM
To: Tomcat Users List
Subject: RE: Is this normal for Tomcat?



Howdy,
How is log4j writing to a file if you're not using
FileAppender?

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 30, 2003 1:15 PM
>To: 'Tomcat Users List'
>Subject: RE: Is this normal for Tomcat?
>
>No, they are completely different:
>
>webapps -> context1 -> WEB-INF -> classes -> com/context1 
>webapps -> context2 -> WEB-INF -> classes -> com/context2 
>
>I don't have anything in common/lib or common/classes used by these
>servlets.
>log4j has two different paths for the log files. I'm not using
>FileAppender,
>the servlets read in the log4j properties from a separate configuration
>files passed as  when the servlet starts.
>
>
>
>-Original Message-----
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 30, 2003 12:08 PM
>To: Tomcat Users List
>Subject: RE: Is this normal for Tomcat?
>
>
>
>Howdy,
>Do you have any code in the common/lib or common/classes repository
that
>these two contexts share?  Is the File destination for log4j's
>FileAppender configured to be the same for the two contexts?
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>>-Original Message-
>>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>>Sent: Friday, May 30, 2003 1:01 PM
>>To: 'Tomcat Users List'
>>Subject: Is this normal for Tomcat?
>>
>>Hi,
>>
>>I'm using Tomcat 4.1.12 running on Solaris 5.7
>>
>>Issue #1:
>>There are two different contexts with different paths and different
>>docBase.
>>Two different servlets using two different log files (log4j). I was
>>browsing
>>the pages from the same browser window (IE 5.5) switching between both
>>contexts when I noticed both servlets are writing to the same log
file.
>>Theoretically it's not supposed to happen because they use different
>>configuration files and I haven't changed them for days. These
servlets
>are
>>completely independent from each other.
>>
>>Issue #2:
>>Sometimes when multiple users access pages happen to share the same
>http
>>responses: User1 can see the cookies and the pages that user2
>requested.
>>
>>How is all this possible?
>>
>>Ross
>
>
>
>
>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary
>and/or privileged.  This e-mail is intended only for the individual(s)
to
>whom it is addressed, and may not be saved, copied, printed, disclosed
or
>used by anyone else.  If you are not the(an) intended recipient, please
>immediately delete this e-mail from your computer system and notify the
>sender.  Thank you.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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


RE: Is this normal for Tomcat?

2003-05-31 Thread Shapira, Yoav

Howdy,
How is log4j writing to a file if you're not using
FileAppender?

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 30, 2003 1:15 PM
>To: 'Tomcat Users List'
>Subject: RE: Is this normal for Tomcat?
>
>No, they are completely different:
>
>webapps -> context1 -> WEB-INF -> classes -> com/context1 
>webapps -> context2 -> WEB-INF -> classes -> com/context2 
>
>I don't have anything in common/lib or common/classes used by these
>servlets.
>log4j has two different paths for the log files. I'm not using
>FileAppender,
>the servlets read in the log4j properties from a separate configuration
>files passed as  when the servlet starts.
>
>
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 30, 2003 12:08 PM
>To: Tomcat Users List
>Subject: RE: Is this normal for Tomcat?
>
>
>
>Howdy,
>Do you have any code in the common/lib or common/classes repository
that
>these two contexts share?  Is the File destination for log4j's
>FileAppender configured to be the same for the two contexts?
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>>-Original Message-
>>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>>Sent: Friday, May 30, 2003 1:01 PM
>>To: 'Tomcat Users List'
>>Subject: Is this normal for Tomcat?
>>
>>Hi,
>>
>>I'm using Tomcat 4.1.12 running on Solaris 5.7
>>
>>Issue #1:
>>There are two different contexts with different paths and different
>>docBase.
>>Two different servlets using two different log files (log4j). I was
>>browsing
>>the pages from the same browser window (IE 5.5) switching between both
>>contexts when I noticed both servlets are writing to the same log
file.
>>Theoretically it's not supposed to happen because they use different
>>configuration files and I haven't changed them for days. These
servlets
>are
>>completely independent from each other.
>>
>>Issue #2:
>>Sometimes when multiple users access pages happen to share the same
>http
>>responses: User1 can see the cookies and the pages that user2
>requested.
>>
>>How is all this possible?
>>
>>Ross
>
>
>
>
>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary
>and/or privileged.  This e-mail is intended only for the individual(s)
to
>whom it is addressed, and may not be saved, copied, printed, disclosed
or
>used by anyone else.  If you are not the(an) intended recipient, please
>immediately delete this e-mail from your computer system and notify the
>sender.  Thank you.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: Is this normal for Tomcat?

2003-05-31 Thread Angelov, Rossen
No, they are completely different:

webapps -> context1 -> WEB-INF -> classes -> com/context1 
webapps -> context2 -> WEB-INF -> classes -> com/context2 

I don't have anything in common/lib or common/classes used by these
servlets.
log4j has two different paths for the log files. I'm not using FileAppender,
the servlets read in the log4j properties from a separate configuration
files passed as  when the servlet starts.



-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 12:08 PM
To: Tomcat Users List
Subject: RE: Is this normal for Tomcat?



Howdy,
Do you have any code in the common/lib or common/classes repository that
these two contexts share?  Is the File destination for log4j's
FileAppender configured to be the same for the two contexts?

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 30, 2003 1:01 PM
>To: 'Tomcat Users List'
>Subject: Is this normal for Tomcat?
>
>Hi,
>
>I'm using Tomcat 4.1.12 running on Solaris 5.7
>
>Issue #1:
>There are two different contexts with different paths and different
>docBase.
>Two different servlets using two different log files (log4j). I was
>browsing
>the pages from the same browser window (IE 5.5) switching between both
>contexts when I noticed both servlets are writing to the same log file.
>Theoretically it's not supposed to happen because they use different
>configuration files and I haven't changed them for days. These servlets
are
>completely independent from each other.
>
>Issue #2:
>Sometimes when multiple users access pages happen to share the same
http
>responses: User1 can see the cookies and the pages that user2
requested.
>
>How is all this possible?
>
>Ross




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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


RE: Is this normal for Tomcat?

2003-05-31 Thread Shapira, Yoav

Howdy,
Do you have any code in the common/lib or common/classes repository that
these two contexts share?  Is the File destination for log4j's
FileAppender configured to be the same for the two contexts?

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 30, 2003 1:01 PM
>To: 'Tomcat Users List'
>Subject: Is this normal for Tomcat?
>
>Hi,
>
>I'm using Tomcat 4.1.12 running on Solaris 5.7
>
>Issue #1:
>There are two different contexts with different paths and different
>docBase.
>Two different servlets using two different log files (log4j). I was
>browsing
>the pages from the same browser window (IE 5.5) switching between both
>contexts when I noticed both servlets are writing to the same log file.
>Theoretically it's not supposed to happen because they use different
>configuration files and I haven't changed them for days. These servlets
are
>completely independent from each other.
>
>Issue #2:
>Sometimes when multiple users access pages happen to share the same
http
>responses: User1 can see the cookies and the pages that user2
requested.
>
>How is all this possible?
>
>Ross




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: is this normal??

2003-01-02 Thread Ben Ricker
I found a trick that might help: up your sar reports to take a snapshot
every minute. Then, when you notice the CPU pegging, go through the sar
reports for CPU usage and try to find the minute that they start. Then,
you can go back through the Apache access logs (mod_jk.log perhaps),
etc. to see if you can correlate a specific request with the the
problem.

Good Luck,

Ben Ricker
Wellinx.com


On Thu, 2003-01-02 at 13:07, Randy Paries wrote:
> I am running 
> 
> jakarta-tomcat-4.0.4  jdk1.3.1_04 apache-1.3.27-2 
> 
> I have enabled server stats (thanks Jan)
> 
> I stop and started and it is back to normal. So when this does this
> again, I will see if the server status helps
> 
> Thanks for all the suggestions
> 
> Randy
> 
> -Original Message-
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, January 02, 2003 1:19 PM
> To: Tomcat Users List
> Subject: RE: is this normal??
> 
> 
> Are you using tomcat 3.x by any chance?  We had a CPU problem with 3.2.4
> that we could never resolve.  The problem went away with our recent
> upgrade to 4.1.x
> 
> 
> 
> -Original Message-
> From: Randy Paries [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 02, 2003 11:37 AM
> To: 'Tomcat Users List'
> Subject: RE: is this normal??
> 
> 
> I have a pretty busy web server
> It has apache and tomcat
> What I am trying to find out if I have a problem or not
> I am linux guy but not at the tuning level
> When I do a top I get: These top 4 are always at the top
> 29616 apache25   0 87368  78M 14256 R46.8  7.8 388:13 java
>  2290 apache25   0 87368  78M 14256 R45.0  7.8 386:14 java
>   460 apache24   0  6612 5112  4696 R44.2  0.4 357:51 httpd
>  2180 apache25   0  6656 5176  4696 R39.9  0.5 359:28 httpd
> 
> What makes me suspicious is that it is only after some time.
> 
> When I do a sar, I have no idle time on the CPU
> 
> I realize that this may be a linux or apache question, but I think it
> has to do with tomcat as well
> 
> Thanks for any help
> 
> Randy
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- 
Ben Ricker <[EMAIL PROTECTED]>
Wellinx.com


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




RE: is this normal??

2003-01-02 Thread Randy Paries
I am running 

jakarta-tomcat-4.0.4  jdk1.3.1_04 apache-1.3.27-2 

I have enabled server stats (thanks Jan)

I stop and started and it is back to normal. So when this does this
again, I will see if the server status helps

Thanks for all the suggestions

Randy

-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, January 02, 2003 1:19 PM
To: Tomcat Users List
Subject: RE: is this normal??


Are you using tomcat 3.x by any chance?  We had a CPU problem with 3.2.4
that we could never resolve.  The problem went away with our recent
upgrade to 4.1.x



-Original Message-
From: Randy Paries [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 02, 2003 11:37 AM
To: 'Tomcat Users List'
Subject: RE: is this normal??


I have a pretty busy web server
It has apache and tomcat
What I am trying to find out if I have a problem or not
I am linux guy but not at the tuning level
When I do a top I get: These top 4 are always at the top
29616 apache25   0 87368  78M 14256 R46.8  7.8 388:13 java
 2290 apache25   0 87368  78M 14256 R45.0  7.8 386:14 java
  460 apache24   0  6612 5112  4696 R44.2  0.4 357:51 httpd
 2180 apache25   0  6656 5176  4696 R39.9  0.5 359:28 httpd

What makes me suspicious is that it is only after some time.

When I do a sar, I have no idle time on the CPU

I realize that this may be a linux or apache question, but I think it
has to do with tomcat as well

Thanks for any help

Randy


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



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


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




RE: is this normal??

2003-01-02 Thread Brandon Cruz
Are you using tomcat 3.x by any chance?  We had a CPU problem with 3.2.4
that we could never resolve.  The problem went away with our recent upgrade
to 4.1.x



-Original Message-
From: Randy Paries [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 02, 2003 11:37 AM
To: 'Tomcat Users List'
Subject: RE: is this normal??


I have a pretty busy web server
It has apache and tomcat
What I am trying to find out if I have a problem or not
I am linux guy but not at the tuning level
When I do a top I get: These top 4 are always at the top
29616 apache25   0 87368  78M 14256 R46.8  7.8 388:13 java
 2290 apache25   0 87368  78M 14256 R45.0  7.8 386:14 java
  460 apache24   0  6612 5112  4696 R44.2  0.4 357:51 httpd
 2180 apache25   0  6656 5176  4696 R39.9  0.5 359:28 httpd

What makes me suspicious is that it is only after some time.

When I do a sar, I have no idle time on the CPU

I realize that this may be a linux or apache question, but I think it
has to do with tomcat as well

Thanks for any help

Randy


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



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




Re: RE: is this normal??

2003-01-02 Thread jmong
I have to concur with the following observation.

Try to check what the apache processes are doing. If you've enabled 
server-status on your box and have installed GET (as part of the perl 
LWP) grep for the pid

GET /server-status | grep 

or access it http:///server-status

On older tomcat versions (i.e. 3.2.1), it would seem that older 
clients (i.e. HTTP/1.0) would hang up on the POST part

ie.

POST /path/to/form/process.jsp HTTP/1.0

Typically my only recourse is to kill the offending process and/or 
restart tomcat and apache.

kill -9 

Hope that helps

-Jan-Michael


- Original Message -
From: Ben Ricker <[EMAIL PROTECTED]>
Date: Thursday, January 2, 2003 9:56 am
Subject: RE: is this normal??

> There is probably a problem going on there. I find it strange that 
you
> have so much cumulative CPU time on the httpd processes. To me, they
> look hung (in so far as I can tell). Since most apps are 
transactional
> in nature (i.e., individual requests being fulfilled rather quickly),
> you would expect to see the Apache processes using CPU, then 
> giving it
> up rather quickly. Of course, other httpd processes will also pop 
> in and
> out of CPU usage as individual requests pop in.
> 
> How long has this Apache/Tomcat been running? You might try a 
> restart of
> both and see if the same behavior comes right back or if it takes 
> time.You may have an issue in the app which is triggering a hang.
> 
> Of course, on a "pretty busy web server", you may get such cumulative
> times, but you should still see httpd processes popping in and out of
> CPU usage as they handle their respective requests. If the same 
> PIDs sit
> there pegging the CPU incessently, you most likely have an issue.
> 
> HTH,
> 
> Ben Ricker
> 
> 
> On Thu, 2003-01-02 at 11:37, Randy Paries wrote:
> > I have a pretty busy web server
> > It has apache and tomcat
> > What I am trying to find out if I have a problem or not
> > I am linux guy but not at the tuning level
> > When I do a top I get: These top 4 are always at the top
> > 29616 apache25   0 87368  78M 14256 R46.8  7.8 388:13 java
> >  2290 apache25   0 87368  78M 14256 R45.0  7.8 386:14 java
> >   460 apache24   0  6612 5112  4696 R44.2  0.4 357:51 httpd
> >  2180 apache25   0  6656 5176  4696 R39.9  0.5 359:28 httpd
> > 
> > What makes me suspicious is that it is only after some time.
> > 
> > When I do a sar, I have no idle time on the CPU
> > 
> > I realize that this may be a linux or apache question, but I 
> think it
> > has to do with tomcat as well
> > 
> > Thanks for any help
> > 
> > Randy
> > 
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:tomcat-user-
> [EMAIL PROTECTED]>> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> -- 
> Ben Ricker <[EMAIL PROTECTED]>
> Wellinx.com
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-
> [EMAIL PROTECTED]>For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 


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




RE: is this normal??

2003-01-02 Thread Ben Ricker
There is probably a problem going on there. I find it strange that you
have so much cumulative CPU time on the httpd processes. To me, they
look hung (in so far as I can tell). Since most apps are transactional
in nature (i.e., individual requests being fulfilled rather quickly),
you would expect to see the Apache processes using CPU, then giving it
up rather quickly. Of course, other httpd processes will also pop in and
out of CPU usage as individual requests pop in.

How long has this Apache/Tomcat been running? You might try a restart of
both and see if the same behavior comes right back or if it takes time.
You may have an issue in the app which is triggering a hang.

Of course, on a "pretty busy web server", you may get such cumulative
times, but you should still see httpd processes popping in and out of
CPU usage as they handle their respective requests. If the same PIDs sit
there pegging the CPU incessently, you most likely have an issue.

HTH,

Ben Ricker


On Thu, 2003-01-02 at 11:37, Randy Paries wrote:
> I have a pretty busy web server
> It has apache and tomcat
> What I am trying to find out if I have a problem or not
> I am linux guy but not at the tuning level
> When I do a top I get: These top 4 are always at the top
> 29616 apache25   0 87368  78M 14256 R46.8  7.8 388:13 java
>  2290 apache25   0 87368  78M 14256 R45.0  7.8 386:14 java
>   460 apache24   0  6612 5112  4696 R44.2  0.4 357:51 httpd
>  2180 apache25   0  6656 5176  4696 R39.9  0.5 359:28 httpd
> 
> What makes me suspicious is that it is only after some time.
> 
> When I do a sar, I have no idle time on the CPU
> 
> I realize that this may be a linux or apache question, but I think it
> has to do with tomcat as well
> 
> Thanks for any help
> 
> Randy
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
-- 
Ben Ricker <[EMAIL PROTECTED]>
Wellinx.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: is this normal??

2003-01-02 Thread Randy Paries
I have a pretty busy web server
It has apache and tomcat
What I am trying to find out if I have a problem or not
I am linux guy but not at the tuning level
When I do a top I get: These top 4 are always at the top
29616 apache25   0 87368  78M 14256 R46.8  7.8 388:13 java
 2290 apache25   0 87368  78M 14256 R45.0  7.8 386:14 java
  460 apache24   0  6612 5112  4696 R44.2  0.4 357:51 httpd
 2180 apache25   0  6656 5176  4696 R39.9  0.5 359:28 httpd

What makes me suspicious is that it is only after some time.

When I do a sar, I have no idle time on the CPU

I realize that this may be a linux or apache question, but I think it
has to do with tomcat as well

Thanks for any help

Randy


--
To unsubscribe, e-mail:   
For additional commands, e-mail: