Mantis - Resin
Viewing Issue Advanced Details
3784 minor always 11-24-09 13:52 12-10-09 10:56
ferg  
alex  
normal  
closed  
fixed  
none    
none 4.0.3  
0003784: win32 -install issue
(can be worked around by starting Resin from the command-line.)

There is an error on windows that I missed:

On a clean install: resin.exe -install; net start Resin will fail with

                        Caused by: com.caucho.sql.SQLExceptionWrapper: java.io.IOException: Cannot create directory: C:\appservers\resin-pro-4.0.2\watchdog-data
                              at com.caucho.db.sql.CreateQuery.execute(CreateQuery.java:67)
                              at com.caucho.db.jdbc.StatementImpl.executeUpdate(StatementImpl.java:203)
                              at com.caucho.db.jdbc.StatementImpl.executeUpdate(StatementImpl.java:151)
                              at com.caucho.server.distcache.MnodeStore.initDatabase(MnodeStore.java:255)
                              at com.caucho.server.distcache.MnodeStore.init(MnodeStore.java:196)
                              at com.caucho.server.distcache.MnodeStore.<init>(MnodeStore.java:114)
                              at com.caucho.server.distcache.AbstractDataCacheManager.<init>(AbstractDataCacheManager.java:85)
                              ... 7 more
                          Caused by: java.io.IOException: Cannot create directory: C:\appservers\resin-pro-4.0.2\watchdog-data
                              at com.caucho.vfs.FilePath.mkdirs(FilePath.java:486)
                              at com.caucho.db.store.Store.create(Store.java:381)
                              at com.caucho.db.table.Table.create(Table.java:340)
                              at com.caucho.db.table.TableFactory.create(TableFactory.java:377)
                              at com.caucho.db.sql.CreateQuery.execute(CreateQuery.java:65)
                              ... 13 more
 

Notes
(0004327)
alex   
12-10-09 10:56   
This appeared to be an environment issue that went away after windows was rebooted. Fresh installs after reboot worked fine.