Re: [Resin-interest] Tapestry on resin...

2009-08-28 Thread Michael Ludwig
Alex schrieb: web-app system-property javax .xml.stream.XMLInputFactory=org.codehaus.stax2.XMLInputFactory2/ /web-app But wouldn't that set the property for the entire JVM instead of for one particular webapp/ Not if you supply your own context aware instance of Properties using

Re: [Resin-interest] Tapestry on resin...

2009-08-28 Thread Michael Ludwig
Michael Ludwig schrieb: I just tested this doing System.getProperty(milu.test) in a JSP in webapp xxx and then deployed webapp yyy whose ServletContextListener does System.setProperties(props) where props contains milu.test set to a different value. That affects not only webapp yyy, but also

Re: [Resin-interest] Tapestry on resin...

2009-08-28 Thread Scott Ferguson
On Aug 28, 2009, at 3:14 AM, Michael Ludwig wrote: Alex schrieb: web-app system-property javax .xml.stream.XMLInputFactory=org.codehaus.stax2.XMLInputFactory2/ /web-app But wouldn't that set the property for the entire JVM instead of for one particular webapp/ Not if you supply your

Re: [Resin-interest] How to set checking interval for war redeploy?

2009-08-28 Thread Scott Ferguson
On Aug 27, 2009, at 3:41 PM, Hontvári József wrote: I tried many ways to set dependency-check-interval to 2s in resin.xml without any success. Resin 4.0.1 still checks war file change by 60 s, which is the default value. I attached a diff file about one of the configurations. ps: The

Re: [Resin-interest] Security Manager and JSPs

2009-08-28 Thread Scott Ferguson
On Aug 26, 2009, at 11:13 PM, Kai Virkki wrote: Hi, Is it really so that nobody uses JSPs and SecurityManager with Resin? :) Could this problem be solved by pre-compiling jsps to Java classes? Now we just let Resin handle the compilation from directories under WEB-INF. Well, the security

Re: [Resin-interest] Tapestry on resin...

2009-08-28 Thread Michael Ludwig
Scott Ferguson schrieb: On Aug 28, 2009, at 3:14 AM, Michael Ludwig wrote: Alex schrieb: web-app system-property javax.xml.stream.XMLInputFactory=org.codehaus.stax2.XMLInputFactory2/ /web-app But wouldn't that set the property for the entire JVM instead of for one particular webapp/ Not

Re: [Resin-interest] Tapestry on resin...

2009-08-28 Thread Scott Ferguson
On Aug 28, 2009, at 9:59 AM, Michael Ludwig wrote: ? If you're using Resin, you already have one. Resin's system properties depend on the current context. I deployed one webapp doing System.setProperties(props) in You can't change the Properties object itself, or you'll override

Re: [Resin-interest] Tapestry on resin...

2009-08-28 Thread Michael Ludwig
Scott Ferguson schrieb: On Aug 28, 2009, at 9:59 AM, Michael Ludwig wrote: I deployed one webapp doing System.setProperties(props) in You can't change the Properties object itself, or you'll override Resin's contextual properties. You need to set the properties using the existing object.

Re: [Resin-interest] How to set checking interval for war redeploy?

2009-08-28 Thread Hontvári József
I changed the following line of the original configuration but it still doesn't have any effect: web-app-deploy path=webapps/ I tried both: web-app-deploy path=webapps dependency-check-interval5s/dependency-check-interval /web-app-deploy and web-app-deploy

[Resin-interest] specifying implementation class in CanDI XML

2009-08-28 Thread Hontvári József
I try to use the addXXX bean configuration pattern where the parameter is an interface. Is there a way to somehow specify the actual class which should be added? Here is an example. Of course this doesn't work, Resin doesn't accept the class attribute. m:FilterChain filter

Re: [Resin-interest] specifying implementation class in CanDI XML

2009-08-28 Thread Scott Ferguson
On Aug 28, 2009, at 6:15 PM, Hontvári József wrote: I try to use the addXXX bean configuration pattern where the parameter is an interface. Is there a way to somehow specify the actual class which should be added? Here is an example. Of course this doesn't work, Resin doesn't accept the