Chris, Attached the screenshot of the stacktrace for additional details.
Arvind S "Many of lifes failure are people who did not realize how close they were to success when they gave up." -Thomas Edison ---------- Forwarded message ---------- From: S Arvind <arvindw...@gmail.com> Date: Sun, Apr 10, 2011 at 12:12 PM Subject: Re: frequent Class unloading/classnotfound problem To: Tomcat Users List <users@tomcat.apache.org> Chris, > So when the request comes it is sending 404 status or class-not-found exception. ->-Can you give some specifics? >>Assume we have a class called Sample.class, so when trying to create the object it is giving classnotfound exception. Then i have to again compile the java in the runtime itself then only it works, thou the class file are present in the classes folder packages. seems like these classes becoming invisible to tomcat by some means. > So what we do is reload the context/application from the tomcat manager and then it will work fine. ->-Do those same requests then respond the way you expect? >>No until i reload the context/app in tomcat manager or compile the corresponding java file. (isreloadable=true) . Which is the main problem in the production time. ->-What version of Tomcat are you running? Does this happen only under certain circumstances (high load? no load? when re-deploying a JSP, etc.) or does it happen all the time? Please post a full stack trace of any exception you have encountered. >>tomcat 6.0.20 . Cant surely tell that its happening in high load, as we found that independent to load of the system. There are weeks this didnt happen and also in some week it will happen for 5days and in few days lot too.. so we cant able to find the meaning behind its randomness. And unfortunately i missed the stack trace which ws generated, if it occurred in this week i will mail it instantly. And till now it didnt happen in the JSP file, it only happened in servlet or plain java class. Arvind S "Many of lifes failure are people who did not realize how close they were to success when they gave up." -Thomas Edison On Fri, Apr 8, 2011 at 12:41 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Arvind, > > On 4/7/2011 9:32 AM, S Arvind wrote: > > Recently in our web application deployed in tomcat, some weird problem is > > raising very frequently. > > Some of the servlet <http://www.coderanch.com/forums/f-7/Servlets> or > class > > in that web app <http://en.wikipedia.org/wiki/Web_app> are getting > unloaded. > > Most folks on the list have heard of servlets and web apps, but thanks > for the references. > > > So when the request comes it is sending 404 status or class-not-found > > exception. > > Can you give some specifics? > > > So what we do is reload the context/application from the tomcat manager > and > > then it will work fine. > > Do those same requests then respond the way you expect? > > > Searched lot but cant able to find solution to this unloading or > > classnotfound problem. > > Can anyone suggest me why this is happening. > > What version of Tomcat are you running? Does this happen only under > certain circumstances (high load? no load? when re-deploying a JSP, > etc.) or does it happen all the time? Please post a full stack trace of > any exception you have encountered. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk2eDE0ACgkQ9CaO5/Lv0PCXtgCfdbe3a0zEkpVch2FDDKoD6P0a > zQ8AoL9OGteRqgDWY/sWbYz1I1IrSEKh > =oev/ > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org