--- John Baker <[EMAIL PROTECTED]> wrote:
> On Thursday 12 July 2001 23:04 pm, you wrote:
> > Hi,
> >
> > Weird!!!
> >
> > You can always use the Class class'
> getInstance(String className) method to
> > get a copy of your class.
> >
> You mean Class.newInstance(className) ? :-)
>
> Well I'd rather know why Tomcat does this. It's
> silly. Also, I get problems
> when Tomcat shuts down, ie another
> NoClassDefFoundException when the Class is
> clearly there. There must be some bug that needs
> solving here :-) And it's
> only /some/ Classes it can't find, others it can.
> I've tried changing
> compilers, trying the code outside of Tomcat (works
> fine), chainging VM's.
> Nothing makes a difference.
>
> It was only when I noticed that:
>
> MyThread t = new MyThread(); // MyThread extends
> Thread
> t.start(); // fails
>
Aren't t.start() and t.stop() deprecated?
> but
>
> t.run(); // works
>
> that I became very suspucious and decided this
> wasn't my fault.
>
<<SNIP>>
=====
-
[EMAIL PROTECTED]
Hacking is a "Good Thing!"
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/