Mantis - Resin
Viewing Issue Advanced Details
2065 major always 10-12-07 15:21 10-24-07 10:47
westrupp  
ferg  
high  
closed 3.1.3  
fixed  
none    
none 3.1.4  
0002065: 'proxy-cache' already exists after server restart
(rep by Mike Waldman)

If I add this:

        <resin:if test="${isResinProfessional}">
            <cache path="cache" memory-size="512M">
           <rewrite-vary-as-private/>
                </cache>
        </resin:if>

 
To the resin.conf? the first time I start the server, everything works fine

But If I restart it, I get an error:
 

[16:02:15.672] Proxy Cache disk-size=1024M memory-size=512M

...\conf\resin\resin.conf:131: java.sql.SQLException: Table 'proxy-cache' already exists. CREATE can not override an existing table.

129: -->
130: <resin:if test="${isResinProfessional}">
131: <cache path="cache" memory-size="512M">
132: <rewrite-vary-as-private/>
133: </cache>

Notes
(0002343)
ferg   
10-15-07 12:42   
Check the permissions on the cache file. Resin should automatically delete the file when it starts up.
(0002383)
ferg   
10-24-07 10:47   
server/2h03