logo       

config-update-interval broken in 2.1.12: msg#00052

text.xml.resin.user

Subject: config-update-interval broken in 2.1.12

Using resin2.1.12 under Windows XP and observing file accesses with
filemon.exe (free from www.sysinternals.com), I notice that setting
config-update-interval as per
http://www.caucho.com/quercus/faq/question.xtp?question_id=1452
does not work (resin.conf file included below)

The resin.conf file keeps getting hit every two seconds (see filemon.exe log
enclosed below).

Note however that if I set class-update-interval, configuration file
accesses DO indeed slow down. So the problem seems to be specific to
config-update-interval.

People who rely on config-update-interval to prevent resin from restarting
when editing are likely to be annoyed.

===============================================================
<caucho.com>

<log id='/log' href='stderr:' timestamp='[%Y-%m-%d %H:%M:%S.%s]'/>
<jsp precompile='true' static-encoding='true' recompile-on-error='true'/>
<java compiler='c:/Program Files/Teximus/Packages/jikes-1.19/bin/jikes.exe'
compiler-args='-g'/>

<http-server>

<http port='8080'/>
<srun host='127.0.0.1' port='6800'/>

<config-update-interval>15</config-update-interval>

<host id="">
<war-dir>webapps</war-dir>
<classpath library-dir='true' id='$tx.dir/ExtraLibs/lib' />
</host>

</http-server>
</caucho.com>


===============================================================


9:09:02 AM java.exe:296 OPEN
C:\Java\Sites\dev.teximus.com\conf\resin.conf SUCCESS Options: Open
Access: All
9:09:02 AM java.exe:296 QUERY INFORMATION
C:\Java\Sites\dev.teximus.com\conf\resin.conf SUCCESS Attributes: A
9:09:02 AM java.exe:296 CLOSE
C:\Java\Sites\dev.teximus.com\conf\resin.conf SUCCESS
9:09:02 AM java.exe:296 OPEN C:\Java\Sites\dev.teximus.com\conf\
SUCCESS Options: Open Directory Access: All
9:09:02 AM java.exe:296 DIRECTORY
C:\Java\Sites\dev.teximus.com\conf\ SUCCESS
FileBothDirectoryInformation: resin.conf
9:09:02 AM java.exe:296 CLOSE C:\Java\Sites\dev.teximus.com\conf\
SUCCESS
9:09:02 AM java.exe:296 OPEN
C:\Java\Sites\dev.teximus.com\conf\resin.conf SUCCESS Options: Open
Access: All
9:09:02 AM java.exe:296 QUERY INFORMATION
C:\Java\Sites\dev.teximus.com\conf\resin.conf SUCCESS Attributes: A
9:09:02 AM java.exe:296 CLOSE
C:\Java\Sites\dev.teximus.com\conf\resin.conf SUCCESS
9:09:04 AM java.exe:296 OPEN
C:\Java\Sites\dev.teximus.com\conf\resin.conf SUCCESS Options: Open
Access: All
9:09:04 AM java.exe:296 QUERY INFORMATION
C:\Java\Sites\dev.teximus.com\conf\resin.conf SUCCESS Attributes: A
9:09:04 AM java.exe:296 CLOSE
C:\Java\Sites\dev.teximus.com\conf\resin.conf SUCCESS
9:09:04 AM java.exe:296 OPEN C:\Java\Sites\dev.teximus.com\conf\
SUCCESS Options: Open Directory Access: All
9:09:04 AM java.exe:296 DIRECTORY
C:\Java\Sites\dev.teximus.com\conf\ SUCCESS
FileBothDirectoryInformation: resin.conf
9:09:04 AM java.exe:296 CLOSE C:\Java\Sites\dev.teximus.com\conf\
SUCCESS
9:09:04 AM java.exe:296 OPEN
C:\Java\Sites\dev.teximus.com\conf\resin.conf SUCCESS Options: Open
Access: All
9:09:04 AM java.exe:296 QUERY INFORMATION
C:\Java\Sites\dev.teximus.com\conf\resin.conf SUCCESS Attributes: A
9:09:04 AM java.exe:296 CLOSE
C:\Java\Sites\dev.teximus.com\conf\resin.conf SUCCESS

===============================================================

Jean-François Lamy

Technologies Teximus inc.
33 rue Prince #313, Montréal Qc, Canada H3C 2M7
Tél: 514 878-1577
Fax: 514 878-2302
www.teximus.com






<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise