Hey Brandon,

Are you using this code to get a classloader?

Thread.currentThread().getContextClassLoader();

If not, you are not getting tomcat's you are getting the system one.

Larry

>>> [EMAIL PROTECTED] 06/05/03 8:04 AM >>>
Yes, it is closed.

Brandon Goodin

-----Original Message-----
From: Dominic Parry [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 7:44 AM
To: Tomcat Users List
Subject: Re: getResourceAsStream cached by Tomcat's Classloader?


did you close the original stream before making changes and reloading?


----- Original Message -----
From: "Brandon Goodin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 05, 2003 3:45 PM
Subject: getResourceAsStream cached by Tomcat's Classloader?


> I saw a question similar to this asked in the Archives early in 2002.
I
> didn't see a response to it. So, I hope there is an answer.
>
> I have a generic config file that is an xml file. We'll call it
> my-config.xml.
>
> When I load my-config.xml using
> Classloader.getResourceAsStream("my-config.xml") everything works
great.
> However, when I make a change to that file and again call
> Classloader.getResourceAsStream("my-config.xml") the changes are not
picked
> up and the same initial resource is returned. How do I get the
Classloader
> to reconginze the resource changes? I'm using Tomcat 4.1.18.
>
>
> Brandon Goodin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to