hi!

> Now I have removed the swing part and found that even then it's not able
to find some of my classes within the TimerTask.
>
> The stack trace is as follows:
> java.lang.NoClassDefFoundError: mail/db/DBConnection

this still looks like mail.db.DBConnection isn't in your CP.

can we see the code?

-mw

>        at mail.task.MessageProcessTask.run(MessageProcessTask.java:46)
>        at java.util.TimerThread.mainLoop(Timer.java:435)
>        at java.util.TimerThread.run(Timer.java:385)
>
> Is there any problem with the threading or java.util.Timer and
java.util.TimerTask ?
>
> The class is very much in the classpath and if I use servlet init instead
of context listener, it's working fine.
>
> Do you have any idea ?
>
> Thanks,
> Sudarson

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to