[prev in list] [next in list] [prev in thread] [next in thread]
List: tapestry-user
Subject: Re: org.apache.tapestry.page-pool-min-idle
From: Kaspar Fischer <fischerk () inf ! ethz ! ch>
Date: 2008-01-18 10:39:33
Message-ID: 0612F1A7-F7B2-4231-B190-540CB1130CC9 () inf ! ethz ! ch
[Download RAW message or body]
On 12.01.2008, at 02:47, Kaspar Fischer wrote:
> How would I do this?
>
> <contribution configuration-id="hivemind.FactoryDefaults">
> <default symbol="org.apache.tapestry.page-pool-min-idle"
> value="4" />
> </contribution>
>
> Or do I have to use something like "InfrastructureOverrides"? The
> latter is used to
> override the exception settings, see
>
> http://tapestry.apache.org/tapestry4.1/developmentguide/
> exceptionpages.html
>
I've tried the former approach and it does not work:
Caused by: org.apache.hivemind.ApplicationRuntimeException:
Element default (at jar:file:...tomcat/wtpwebapps/KC/WEB-INF/lib/
tapestry-framework-4.1.3.jar!/META-INF/tapestry.page.xml, line 37,
column 78) contains errors: Value for attribute
'symbol' ('org.apache.tapestry.page-pool-min-idle') duplicates a
prior instance at context:/WEB-INF/hivemodule.xml, line 5, column 72.
[jar:file...tomcat/wtpwebapps/KC/WEB-INF/lib/tapestry-
framework-4.1.3.jar!/META-INF/tapestry.page.xml, line 37, column 78]
at org.apache.hivemind.impl.SchemaElement.validateAttributes
(SchemaElement.java:185)
at org.apache.hivemind.impl.SchemaProcessorImpl.processElement
(SchemaProcessorImpl.java:251)
at org.apache.hivemind.impl.SchemaProcessorImpl.processRootElement
(SchemaProcessorImpl.java:235)
So I have tried the latter approach (again in hivemodule.xml):
<contribution configuration-id="tapestry.InfrastructureOverrides">
<property name="org.apache.tapestry.page-pool-min-idle" value="4" />
</contribution>
With this, no errors are reported. But maybe the configuration is
just ignored?
How can I verify the "page-pool-min-idle" property has been set?
Thanks,
Kaspar
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic