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] 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] Tapestry on resin...

2009-08-14 Thread Michael Ludwig
Alex schrieb: java.lang.RuntimeException: Exception constructing service 'TemplateParser': Error invoking constructor org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at TemplateParserImpl.java:50) via

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

2009-08-14 Thread Alex
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-14 Thread Fernando Avalos García
. Date: Fri, 14 Aug 2009 09:23:49 -0700 From: Alex a...@caucho.com Subject: Re: [Resin-interest] Tapestry on resin... To: General Discussion for the Resin application server resin-interest@caucho.com Message-ID: 63e63508-f7f6-4ac3-9b98-1f817332e...@caucho.com Content-Type: text/plain

[Resin-interest] Tapestry on resin...

2009-08-13 Thread Fernando Avalos García
Hello, I need to work with tapestry on the resin application server, I am really new to Resin and I am getting this error. java.lang.RuntimeException: Exception constructing service 'TemplateParser': Error invoking constructor

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

2009-08-13 Thread Alex
Fernando, It seems that tapestry expects a particular parser implementation. You can force one by supplying a system property web-app system-property javax.xml.stream.XMLInputFactory=org.codehaus.stax2.XMLInputFactory2/ /web-app The system-property tag could also go under resin,