Probably you tried to access the variables from a static method. (Which isn't static any longer or has been removed or changed in way that it doesn't access the variabled)
That the problem shows up only recently may be caused be a change in the usage pattern of the site or because your updated environment has different timings than before. I also have seen errors that where just not noticed for several months, than you make a change to the system, look closer at the system, see the error and think 'Oh how can this change cause such an error. > -----Original Message----- > From: Denise 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 was writing the program I was getting compile errors > stating that > I cannot reference non-static variables and changing them to static > allowed the program to compile (major newbie mistake/assumption I am > sure). > > I just created a copy of my program and removed static from the > serialNumber as well as a few other variables I had made static and > everything compiled fine. Very strange though that it has > been working > fine this entire time??? :-/ I guess the next step is to make this > change in the live program and monitor it very closely... > > Thanks again. > > > Denise Mangano > Complus Data Innovations, Inc. > 914-747-1200 > > -----Original Message----- > From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 25, 2004 12:16 PM > To: Tomcat Users 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: Thursday, March 25, 2004 6:14 PM > > To: Tomcat 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; } > > > > --------------------------------------------------------------------- > 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]
