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

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

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

Reply via email to