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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]