Hello,

I have encountered a problem when using multiple modules.
When I have a plugin attached for just 1 of my modules (not 2), the
plugin is initialized twice.

This happens for example with the Tiles plugin, but also for the plugin
I'm writing myself.

The [Tiles definition factory loaded for module '/reflection'.] is
loaded twice !!

See logfile lines marked with >>>

Starting service Tomcat-Standalone
Apache Tomcat/4.0.3
13-aug-2003 16:27:20 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
13-aug-2003 16:27:20 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNul
l=true
13-aug-2003 16:27:23 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='ApplicationResources', returnNull=true
13-aug-2003 16:27:23 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='resources.application', returnNull=true
13-aug-2003 16:27:24 org.apache.struts.tiles.TilesPlugin init
>>> INFO: Tiles definition factory loaded for module '/reflection'.
13-aug-2003 16:27:24 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='resources.application', returnNull=true
13-aug-2003 16:27:24 org.overdijk.xcontent4struts.ContentFactory
createComponent
INFO: XContent component 'news' loaded for module
'/xcontent4struts-0.3'.
13-aug-2003 16:27:24 org.overdijk.xcontent4struts.ContentFactory
createComponent
INFO: XContent component 'products' loaded for module
'/xcontent4struts-0.3'.
13-aug-2003 16:27:24 org.overdijk.xcontent4struts.XContentPlugIn init
INFO: XContent factory loaded for module '/xcontent4struts-0.3'.
13-aug-2003 16:27:25 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
13-aug-2003 16:27:25 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
13-aug-2003 16:27:26 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='ApplicationResources', returnNull=true
13-aug-2003 16:27:26 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='resources.application', returnNull=true
13-aug-2003 16:27:27 org.apache.struts.tiles.TilesPlugin init
>>> INFO: Tiles definition factory loaded for module '/reflection'.
13-aug-2003 16:27:27 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='resources.application', returnNull=true
13-aug-2003 16:27:27 org.overdijk.xcontent4struts.ContentFactory
createComponent
INFO: XContent component 'news' loaded for module
'/xcontent4struts-0.3'.
13-aug-2003 16:27:27 org.overdijk.xcontent4struts.ContentFactory
createComponent
INFO: XContent component 'products' loaded for module
'/xcontent4struts-0.3'.
13-aug-2003 16:27:27 org.overdijk.xcontent4struts.XContentPlugIn init
INFO: XContent factory loaded for module '/xcontent4struts-0.3'.
Starting service Tomcat-Apache
Apache Tomcat/4.0.3


Could someone explain why the factory is loaded twice?
And further, are the tiles definitions files actually loaded twice ?
Cause I went to the source and there is a line which says only the
definitions are loaded if there is no context for the given module......
And after the first time they are in context......


Marcel Overdijk


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

Reply via email to