t to understand :-)
> > >
> > > Still, this must be a bug... people will want to use their own Threads
> > > within a web application.
> > >
> > > > Charlie
> > > >
> > > > > -Original Message-
> > > >
On Thu, 19 Jul 2001, John Baker wrote:
> On Thursday 19 July 2001 15:43 pm, you wrote:
> > > -Original Message-
> >
> > > MyThread x = new MyThraad();
> > > x.run();
> > >
> > > calls the run method (containing the class that has problems
> > > being created)
> > > within the current Th
; >
> > 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:[EMAIL PROTECTED]]
> > > &
web application.
>
> > Charlie
> >
> > > -Original Message-
> > > From: John Baker [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, July 18, 2001 12:31 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Cannot find my JavaBeans
&g
On Thursday 19 July 2001 17:24 pm, you wrote:
>
> > My listener was part of an application and giving it a
> > different ClassLoader
> > is wrong. In my humble opinion :-)
>
> I agree since you are most likely doing context specific things in SCL that
> you would want access to the classes for th
Title: RE: Cannot find my JavaBeans
> -Original Message-
> From: John Baker [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 19, 2001 11:54 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Cannot find my JavaBeans
>
>
> On Thursday 19 July 2001 15:43 pm, you wr
On Thursday 19 July 2001 15:43 pm, you wrote:
> > -Original Message-
>
> > 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
> >
Title: RE: Cannot find my JavaBeans
> -Original Message-
> From: John Baker [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 18, 2001 5:09 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Cannot find my JavaBeans
>
>
> > I don't know why it is different f
> 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?
Hi,
in th
ednesday, July 18, 2001 12:31 PM
> > To: [EMAIL PROTECTED]
> > 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 know
Title: RE: Cannot find my JavaBeans
Ok, based upon previous posts, I think I might have an idea of why this happens.
Tomcat uses its own classloader(AdaptiveClassLoader) to load servlets/jsps. when that servlet/jsp needs a class(abcBean) the AdaptiveClassLoader tries to load the class. If
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 circu
> 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
"
On Wednesday 18 July 2001 16:55 pm, you wrote:
> At 05:13 PM 18/07/01, you wrote:
>
> OK, I'm going to have to bail at this point - I really don't have the
> expertise to be able to answer this... (Out of interest, is there a cocoon
> mailing list & have you tried it?)
> Ideas that may or may not
> OK, I'm going to have to bail at this point - I really don't have the
> expertise to be able to answer this... (Out of interest, is there a cocoon
> mailing list & have you tried it?)
> Ideas that may or may not (probably the latter) be of use:
> * Automate the build process with ant to add the
At 05:13 PM 18/07/01, you wrote:
> > Alright, I'm out of my depth here ;) Is the compile done at runtime?
> > Besides which, I think you already have the solution. Include the jars in
> > $TOMCAT_HOME/lib...
> >
> > (And which jars are we talking about here? The cocoon/servlet ones,
> > presumably
Ha! I've been getting this too! I posted about this last week.
Here is my posting:
Anyone ever experienced a problem where by if you try to run a Thread from an
object implementing ServletContextListener (ie it's used to perform 'startup'
stuff), the Thread is unable to find classes (complain
> Alright, I'm out of my depth here ;) Is the compile done at runtime?
> Besides which, I think you already have the solution. Include the jars in
> $TOMCAT_HOME/lib...
>
> (And which jars are we talking about here? The cocoon/servlet ones,
> presumably?)
>
While checking the source I found that
At 04:44 PM 18/07/01, you wrote:
>Hi,
>
>your wish is my order :-) cocoon is a servlet that generates java code
>out of some sort of xml-files. The compile process is running inside the
>servlet. Compile is fine but if the servlet executes the generated
>class. The classpath is missing some jars t
Hi,
your wish is my order :-) cocoon is a servlet that generates java code
out of some sort of xml-files. The compile process is running inside the
servlet. Compile is fine but if the servlet executes the generated
class. The classpath is missing some jars that where present during
compile. Its r
At 04:01 PM 18/07/01, you wrote:
>Jim,
>Thanks. I did what you suggested and it works,
>BUT:
>1. Do I need to add block to create virtual path to "student1" in
>server.xml if it is all under \webapps anyway? The startup seems to be
>creating the contextx automatically, but perhaps this is not the
At 03:41 PM 18/07/01, you wrote:
> > Beans, servlet code (not in jar files)
> > \webapps\student1\WEB-INF\classes\chpt1\*.class
> >
> > With the beans and servlets in the package chpt1 (etc.)
> >
> > This assumes you create a webapp (and context etc.) for each student, of
> > course.
> >
>
>hi,
>
Wednesday, July 18, 2001 9:36 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Cannot find my JavaBeans
>
>
> At 03:25 PM 18/07/01, you wrote:
> >I would like to create a directory tree under \webapps which is
> helpful for
> >delivering a course. So it should be
&g
> Beans, servlet code (not in jar files)
> \webapps\student1\WEB-INF\classes\chpt1\*.class
>
> With the beans and servlets in the package chpt1 (etc.)
>
> This assumes you create a webapp (and context etc.) for each student, of
> course.
>
hi,
hmpf. I am struggling with this problem too. I ha
At 03:25 PM 18/07/01, you wrote:
>I would like to create a directory tree under \webapps which is helpful for
>delivering a course. So it should be
>\webapps\student1, \webapps\student2, and so on, with each
>\webapps\student-n having further subdirectories like chpt1, chpt2, etc, for
>different p
I would like to create a directory tree under \webapps which is helpful for
delivering a course. So it should be
\webapps\student1, \webapps\student2, and so on, with each
\webapps\student-n having further subdirectories like chpt1, chpt2, etc, for
different projects. I want to keep everything dis
26 matches
Mail list logo