Uma Munugala wrote:

>Hi Daniel
>   I double checked that compiler, 
>iam using jdk1.3 for compiling my source codee and tomcat uses jdk1.3.
>classes are located in /WEB-INF/classes.
>
>Thanks
>Uma
>
>  
>
>-----Original Message-----
>From: Daniel Hinojosa [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, March 19, 2002 4:14 PM
>To: Tomcat Users List
>Subject: Re: Struggling for one week please Help Help..................
>
>
>
>
>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?
>
Just make sure that if you are using Tomcat 4. It is better to store 
dependent files in 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