[Resin-interest] resin:set and resin-web.xml

2011-05-21 Thread Hontvári József Levente
I define an EL variable using resin:set in resin.conf (under the host element). Then this EL variable is referenced from the resin-web.xml file of a webapp. This used to work in 4.0.10 and 4.0.15, but it does not work in 4.0.18. For example a resin:message after resin:set displays the variable

[Resin-interest] Changes page does not work

2011-05-20 Thread Hontvári József Levente
It is not obvious where to report this, but the changelog page does not seem to be working: http://www.caucho.com/resin-4.0/changes/changes.xtp 500 Servlet Exception || /var/www/hosts/www.caucho.com/webapps/resin-4.0/changes/changes.xtp:17: expected `/T' at `/li' (open at 17) 15:ul

Re: [Resin-interest] How to make this simplest CanDI work ?

2010-03-20 Thread Hontvári József
BTW , Is META-INF/beans.xml defined in the JavaEE spec ? What's the relation with beans.xml and resin-web.xml ? yes, beans.xml is part of JSR-299. resin-web.xml has the same role as web.xml, it is processed by Resin after web.xml. You can place resin specific / non-standard configuration

Re: [Resin-interest] CanDI java.lang.StackOverflowError

2010-02-11 Thread Hontvári József
. The scheduled tasks would be inited before some of other beans which the tasks need. I've met this before. The workaround: Inject the Injector into your task, no other webbeans. When the task starts (run()), create webbeans instances via the injector. -Wesley 2010/2/11 Hontvári József

[Resin-interest] CanDI java.lang.StackOverflowError

2010-02-10 Thread Hontvári József
I receive java.lang.StackOverflowError when Resin tries to read the configuration file: [10-02-10 10:31:56.929] {resin-37} C:/Progra~1/mireka-1.2/conf/mireka.xml:325: com.caucho.confi g.core.ResinIf.init(): java.lang.StackOverflowError I believe there is no circular constructor dependency in

Re: [Resin-interest] CanDI java.lang.StackOverflowError

2010-02-10 Thread Hontvári József
of the log file, logged on finer level. Scott Ferguson írta: Hontvári József wrote: I receive java.lang.StackOverflowError when Resin tries to read the configuration file: [10-02-10 10:31:56.929] {resin-37} C:/Progra~1/mireka-1.2/conf/mireka.xml:325: com.caucho.confi g.core.ResinIf.init

[Resin-interest] bean tag and JMX

2009-10-01 Thread Hontvári József
The doc for 4.0.x says that the resource tag is deprecated in favor of bean. If I try to setup JMX bean with bean then it doesn't work. It is registered as a CanDI object, but it is not registered in the MBean server. However, if I replace bean with resource then everything is correct, the

[Resin-interest] prologue

2009-09-30 Thread Hontvári József
I have included a prologue section in resin-web.xml, but it is not accepted by Resin, see the log extract below. I have't find a section dedicated to the prologue element in the documentation, there are only indirect references to it. On the other hand it is included in the default resin-xml

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

2009-08-28 Thread Hontvári József
=webapps dependency-check-interval=5s/ There is no error message in the log, but war and resin.xml changes are still noticed only after 60 s. Scott Ferguson wrote: 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

[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

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

2009-08-27 Thread Hontvári József
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 web-app-deploy schema section in the documentation still