Uma Munugala wrote:

>Hi
>
>
>I have written a servlet which implements SingleThreadModel
>and used already existing public static syncronized classes to access
>database.
>these classes were used for standalone application.
>does static synchronized has any problem with servlets????
>
>when I deployment my servlet and try to  run it gives me error, its stack
>trace is below.
>
>when login reaches to access static synchronized class member or static
>synchronized class method Iam getting
>problem.
>
Quick simple checks

 Is your compiler the same version as Tomcat?  Another check is your 
editor putting characters that you cannot see?  Open it with another 
editor and recompile.  I fell victim to that sometime ago, and it is 
frustrating.

where are these classes located in the /WEB-INF/classes or the /WEB-INF/lib directory?

-- 
Daniel Hinojosa
Java & XML: Consultant | Developer | Instructor
P.O. Box 4675
Albuquerque, NM 87196-4675
(505) 363-5832






--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to