Geert,
Ok, then you either have two versions of that class, either the same
class is loaded by different classloaders. Can you get the class's
classloader's classname and again the instance hashcode?
The Bozo class doesn't extend any other class and is only called by Home
class. No other Bozo class. Only
<bean id="appBozoTarget"
class="com.uwyn.ecalendar.elements.Bozo"/>
in applicationContext2.xml
Then:
6 déc. 2005 15:50:20 org.mortbay.http.SocketListener start
INFO: Started SocketListener on 0.0.0.0:8008
6 déc. 2005 15:50:20 org.mortbay.util.Container start
INFO: Started [EMAIL PROTECTED]
6 déc. 2005 15:50:20 org.springframework.web.context.ContextLoader
initWebApplicationContext
INFO: Root WebApplicationContext: initialization started
6 déc. 2005 15:50:20 org.mortbay.jetty.servlet.ServletHandler$Context log
INFO: Loading Spring root WebApplicationContext
6 déc. 2005 15:50:21
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource
[/WEB-INF/applicationContext2.xml]
6 déc. 2005 15:50:21
org.springframework.context.support.AbstractRefreshableApplicationContext
refreshBeanFactory
INFO: Bean factory for application context [Root WebApplicationContext]:
org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [appBozoTarget]; root of BeanFactory hierarchy
6 déc. 2005 15:50:21
org.springframework.context.support.AbstractApplicationContext refresh
INFO: 1 beans defined in application context [Root WebApplicationContext]
6 déc. 2005 15:50:21 org.springframework.core.CollectionFactory <clinit>
INFO: JDK 1.4+ collections available
6 déc. 2005 15:50:21
org.springframework.context.support.AbstractApplicationContext
initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using
default [EMAIL PROTECTED]
6 déc. 2005 15:50:21
org.springframework.context.support.AbstractApplicationContext
initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name
'applicationEventMulticaster': using default
[EMAIL PROTECTED]
6 déc. 2005 15:50:21
org.springframework.ui.context.support.UiApplicationContextUtils
initThemeSource
INFO: No ThemeSource found for [Root WebApplicationContext]: using
ResourceBundleThemeSource
6 déc. 2005 15:50:21
org.springframework.beans.factory.support.DefaultListableBeanFactory
preInstantiateSingletons
INFO: Pre-instantiating singletons in factory
[org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [appBozoTarget]; root of BeanFactory hierarchy]
6 déc. 2005 15:50:21
org.springframework.beans.factory.support.AbstractBeanFactory getBean
INFO: Creating shared instance of singleton bean 'appBozoTarget'
[com.uwyn.ecalendar.elements.Bozo] ctor, classloader:
com.uwyn.rife.engine.EngineClassLoader
6 déc. 2005 15:50:22 org.springframework.web.context.ContextLoader
initWebApplicationContext
INFO: Using context class
[org.springframework.web.context.support.XmlWebApplicationContext] for
root WebApplicationContext
6 déc. 2005 15:50:22 org.springframework.web.context.ContextLoader
initWebApplicationContext
INFO: Root WebApplicationContext: initialization completed in 1797 ms
6 déc. 2005 15:50:45
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from file
[c:\DEV\Rife\rife-popsuite\web\WEB-INF\applicationContext2.xml]
6 déc. 2005 15:50:45
org.springframework.context.support.AbstractRefreshableApplicationContext
refreshBeanFactory
INFO: Bean factory for application context
[org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=31147154]:
org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [appBozoTarget]; root of BeanFactory hierarchy
6 déc. 2005 15:50:45
org.springframework.context.support.AbstractApplicationContext refresh
INFO: 1 beans defined in application context
[org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=31147154]
6 déc. 2005 15:50:45
org.springframework.context.support.AbstractApplicationContext
initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using
default [EMAIL PROTECTED]
6 déc. 2005 15:50:45
org.springframework.context.support.AbstractApplicationContext
initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name
'applicationEventMulticaster': using default
[EMAIL PROTECTED]
6 déc. 2005 15:50:45
org.springframework.beans.factory.support.DefaultListableBeanFactory
preInstantiateSingletons
INFO: Pre-instantiating singletons in factory
[org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [appBozoTarget]; root of BeanFactory hierarchy]
6 déc. 2005 15:50:45
org.springframework.beans.factory.support.AbstractBeanFactory getBean
INFO: Creating shared instance of singleton bean 'appBozoTarget'
[com.uwyn.ecalendar.elements.Bozo] ctor, classloader:
sun.misc.Launcher$AppClassLoader
[com.uwyn.ecalendar.elements.Bozo] ctor, classloader:
com.uwyn.rife.engine.EngineClassLoader
[com.uwyn.rife.jumpstart.elements.pub.Home] Bozo class, bean hashcode:
15470939
[com.uwyn.rife.jumpstart.elements.pub.Home] Bozo class, direct hashcode:
6789355
[com.uwyn.rife.jumpstart.elements.pub.Home] Bozo class, bean classloader
type/hashcode: sun.misc.Launcher$AppClassLoader / 20120943
[com.uwyn.rife.jumpstart.elements.pub.Home] Bozo class, direct
classloader type/hashcode: com.uwyn.rife.engine.EngineClassLoader / 20812788
Pierre
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users