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
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
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
.
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
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
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
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
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
=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
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
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
11 matches
Mail list logo