everyday.
Thank you for taking a look.
Denise Mangano
Complus Data Innovations, Inc.
914-747-1200
-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 2:34 AM
To: Tomcat Users List
Subject: RE: Possible thread crossing
That the problem
Denise Mangano wrote, On 3/25/2004 8:04 AM:
If the form data is not valid it calls Retry.jsp which I have tried two
ways:
1) input type=hidden name=serialNumber
value=%=formValidator.getSerialNumber()%
2) input type=hidden name=serialNumber value=123456789
If the form data is completely valid then
: Possible thread crossing
Denise Mangano wrote, On 3/25/2004 8:04 AM:
If the form data is not valid it calls Retry.jsp which I have tried
two
ways:
1) input type=hidden name=serialNumber
value=%=formValidator.getSerialNumber()%
2) input type=hidden name=serialNumber value=123456789
jsp:setProperty and isValid())
What exactly is the purpose of the serial id ?
-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 5:05 PM
To: Tomcat Users List
Subject: RE: Possible thread crossing
%@ page import=com.beans.clients.Validator
Denise Mangano wrote, On 3/25/2004 8:45 AM:
It would appear so, but the strange thing is that I have been using the
same program since July of last year. I recently rebuilt my server and
changed versions of RH, Apache and Tomcat - but my web pages and java
programs were all restored from back up.
your description the second one is (in my opinion) most
likely.
-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 5:46 PM
To: Tomcat Users List
Subject: RE: Possible thread crossing
It would appear so, but the strange thing is that I
-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 11:43 AM
To: Tomcat Users List
Subject: RE: Possible thread crossing
So far so good, but how is the serial number stored in the validator
bean ?
If the id is stored in an instance variable it may be possible that 2
Users List
Subject: RE: Possible thread crossing
In the bean there is an instance variable:
private static String serialNumber=;
And it is set using the regular set method:
public void setserialNumber(String sn) { serialNumber = sn
Hi,
Why is the serialNumber field static?
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 12:14 PM
To: Tomcat Users List
Subject: RE: Possible thread crossing
Ralph,
In the bean
List
Subject: RE: Possible thread crossing
Ha ! Gotcha !
That's no instance variable
It's a class variable
It is shared by all instances of the bean !!!
change it to:
private String serialNumber=;
-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]
Sent
Denise Mangano wrote:
For the life of me I cannot recall why I made them static!!! There are
a few other variables that I had static as well. I want to say that
when I was writing the program I was getting compile errors stating that
I cannot reference non-static variables and changing them
Mangano [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 6:32 PM
To: Tomcat Users List
Subject: RE: Possible thread crossing
For the life of me I cannot recall why I made them static!!!
There are
a few other variables that I had static as well. I want to say that
when I
:13 AM
To: Tomcat Users List
Subject: Re: Possible thread crossing
Denise Mangano wrote:
The only thing I can narrow it down to is Tomcat/Java. Like I said
the serial numbers are hard coded on the jsp pages. Everytime this
jsp page is submitted it forms its own instance of my java bean which
that, and if it is too low how do I increase it?
Thanks again.
Denise Mangano
Complus Data Innovations, Inc.
914-747-1200
-Original Message-
From: Denise Mangano
Sent: Tuesday, March 23, 2004 11:53 PM
To: Tomcat Users List
Subject: RE: Possible thread crossing
Can I please verify something
Denise Mangano wrote, On 3/23/2004 9:01 PM:
I just wanted to point out again that this data appears to be getting
crossed only with the clients that have the highest volume This is
why I am thinking it's a java/Tomcat issue. Perhaps my java isn't using
enough memory? (old-newbie guess?) How
)
-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 6:02 AM
To: Tomcat Users List
Subject: RE: Possible thread crossing
I just wanted to point out again that this data appears to be getting
crossed only with the clients that have the highest
Hi,
One thing I have noticed is that there is only one java thread when I
start tomcat. On a previous install there had been about 8. Here is
the output of ps -ef relative to tomcat:
tomcat 13074 1 0 Mar11 ?00:00:32
/usr/local/java/bin/java
Denise Mangano wrote:
The only thing I can narrow it down to is Tomcat/Java. Like I said the
serial numbers are hard coded on the jsp pages. Everytime this jsp page
is submitted it forms its own instance of my java bean which can be
called one or more times. So I guess my question is - is it
18 matches
Mail list logo