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 to static
> allowed the program to compile (major newbie mistake/assumption I am
> sure).

It's a common mistake to make.

> 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...

It will appear to work fine under light testing or light load scenarios. 
Once load increases or requests happen to come in at the same time these
types of concurrency issues will show up.

-Dave

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

Reply via email to