Hi, Sorry about this. Somehow my mail had been redirecting this group into the wrong folder and I have not been reading here for a couple of weeks. So I missed the problesm with respect to ClassLoader.
Anyways someone else reported this (or a related problem) on the avalon-dev list and I went and tried to fix it today. If you could download the latest phoenix from CVS and try it out to see if it works for you ? Again sorry about that ;) On Thu, 14 Mar 2002 03:32, Ulrich Mayring wrote: > Hi folks, > > following up on my posting yesterday, I have meanwhile found out that > Phoenix is using the wrong classloader for one of our apps. I have > isolated two .sar applications and put debugging code in the > addApplication() method of DefaultKernel.java. As can be seen, at > startup app1 and app2 are assigned different classloaders: > > jvm 1 | > [EMAIL PROTECTED]: > app1 > jvm 1 | > [EMAIL PROTECTED]: > app2 > > Later, in the initialize() method of app2 I again output its > classloader: > > ERROR 13.03.02 17:04:07 [datasource ] (): Classloader von > de.denic.blocks.datasource.JMSDataSource: > [EMAIL PROTECTED] > > As can be seen, it uses the classloader of app1, instead of its own > classloader. > > Since obviously the correct classloaders are saved into the Hashmap in > DefaultKernel.java, the problem must occur at a later time, when the > classloaders are read again. However, so far we haven't found the > location in the code where that happens. If anyone has an idea, we would > be most grateful. > > cheers, > > Ulrich -- Cheers, Pete ----------------------------------------------------- First, we shape our tools, thereafter, they shape us. ----------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>