Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 21993 invoked by uid 500); 20 Jul 2001 10:10:00 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 21968 invoked from network); 20 Jul 2001 10:09:57 -0000 Received: from munch.teamenergy.com (postfix@212.140.171.66) by h31.sny.collab.net with SMTP; 20 Jul 2001 10:09:57 -0000 Received: from there (icecubes.teamenergy.com [212.140.171.71]) by munch.teamenergy.com (Postfix) with SMTP id CBD292B008 for ; Fri, 20 Jul 2001 10:15:31 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" From: John Baker To: tomcat-user@jakarta.apache.org Subject: Re: Cannot find my JavaBeans Date: Fri, 20 Jul 2001 11:09:57 +0100 X-Mailer: KMail [version 1.2.3] References: <200107192228.f6JMSZd10992@tetley.rnash.org.uk> In-Reply-To: <200107192228.f6JMSZd10992@tetley.rnash.org.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010720101531.CBD292B008@munch.teamenergy.com> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Thursday 19 July 2001 23:28 pm, you wrote: > On Wednesday 18 July 2001 23:36 pm, you wrote: > > To "start" a new thread, call x.start(); - in basic terms, this will > > mean the x.run() method (or runnable.run()) is called, but you can > > continue doing whatever it was you were doing without waiting for the > > run() method to end. that's the guts of how threads work. > The problem has gone in 4.0beta6. Woo! > > :) > : > > cheers > > dim > > > > On Wed, 18 Jul 2001, John Baker wrote: > > > > I don't know why it is different for run() than for start() - I > > > > haven't used either, so I don't understand what the difference in the > > > > two is in the Thread class(doesn't start() call run()?) > > > > > > What I meant by this is just doing: > > > > > > MyThread x = new MyThraad(); > > > x.run(); > > > > > > calls the run method (containing the class that has problems being > > > created) within the current Thread, ie no new Thread is started, This > > > is when the problem 'goes away'. > > > > > > When start is called, the Thread starts (Obviously). This is when the > > > problem appears for me. > > > > > > > hope this helps, > > > > > > I'll read tomorrow, digest, and attempt to understand :-) > > > > > > Still, this must be a bug... people will want to use their own Threads > > > within a web application. > > > > > > > Charlie > > > > > > > > > -----Original Message----- > > > > > From: John Baker [mailto:jbaker@teamenergy.com] > > > > > Sent: Wednesday, July 18, 2001 12:31 PM > > > > > To: tomcat-user@jakarta.apache.org > > > > > Subject: Re: Cannot find my JavaBeans > > > > > > > > > > On Wednesday 18 July 2001 17:15 pm, you wrote: > > > > > > > This seems to be a bug in Tomcat. Shouldn't someone who > > > > > > > > > > actually knows > > > > > > > > > > > > how it all works take a look? > > > > > > > > > > > > > > John > > > > > > > > > > > > Yep. Even the cocoon mailing list is full with entries > > > > > > > > > > related to tomcat > > > > > > > > > > > and its classpath :-). Under some misterious circumstances the > > > > > > " > > > > > > > > > Well I managed to make it a very non mysterious circumstance. > > > > > I just started > > > > > a Thread from an object that was a ServletContextListener. > > > > > When I called > > > > > start it lost classes. When I called run it worked fine. I > > > > > had no problems > > > > > replicating it. > > > > > > > > > > What is the cocoon mailing list? > > > > > > > > > > -- > > > > > John Baker, BSc CS. > > > > > Java developer, Linux lover. > > > > > I don't wanna rock, DJ. > > > > > > -- > > > John Baker, BSc CS. > > > Java developer, Linux lover. > > > I don't wanna rock, DJ. -- John Baker, BSc CS. Java developer, Linux lover. I don't wanna rock, DJ.