Mantis - Resin
Viewing Issue Advanced Details
2568 minor always 04-01-08 09:52 04-08-08 16:58
sam  
ferg  
normal  
closed 3.1.6  
fixed  
none    
none 3.1.6  
0002568: log_ CREATE error on startup
(rep by wesley)

These lines in resin.conf will cause the problem:

 <management path="${resin.root}/admin">
   <user name="admin" password="password" disable="true"/>

   <resin:if test="${resin.professional}">
     <deploy-service enable="true"/>
     <jmx-service enable="true"/>
     <log-service enable="true"/>
     <xa-log-service enable="true"/>
   </resin:if>
 </management>


The first time I start the server, everything works fine.

But If I restart it, I get an error:

C:\resin-pro-3.1\conf\resin.conf:21: java.sql.SQLException: Table 'log_'
already
exists. CREATE can not override an existing table.

19: - Remote management requires at least one enabled admin user.
20: -->
21: <management path="${resin.root}/admin">
22: <user name="admin" password="password" disable="true"/>
23:

If I manually delete the two logs files in ${resin.root}/admin/log and start
resin again, it started with no error.

I think this problem is a bit like 0002065

The s080321 and s080331 snapshot both produce this problem

Notes
(0002949)
ferg   
04-08-08 16:58   
db/0153