Hi Rob, Can you (or anyone) reproduce this? The stack trace tells that the problem might lie with jni stuff, so I'm going to check if it works with non-pro Resin. Of course this is not a sufficient solution as we also planned to go into production with 3.1.8 and have to wait for a solution for this.
Cheers, Kai 2009/3/11 Rob Lockstone <[email protected]>: > Can this bug be upgraded to Super Major Urgent? Ok, seriously, after > hounding my management for weeks to finalize our Caucho contract, it's > finally in "Accounting" to do the Purchase Order and release the > funds. Then I'm on a tight schedule to start the upgrade process. > > I was planning on using 3.1.8. But if this bug is real, it makes 3.1.8 > essentially useless for us because we rely on our log files and I > can't upgrade to 3.1.8 and then upgrade *again* in a few weeks or > months after this has been fixed. > > Rob > > On Mar 10, 2009, at 14:08, Scott Ferguson wrote: > >> >> On Mar 10, 2009, at 1:58 PM, Kai Virkki wrote: >> >>> Hi! >>> >>> I just migrated from Resin 3.0.15 pro to 3.1.8 pro and have a problem >>> with log rollovers on Windows. I have defined the logs like this into >>> web-app-default: >>> >>> <stderr-log path="${resin.home}/../log/app.log" rollover-size="1kb"/> >>> <stdout-log path="${resin.home}/../log/app.log" rollover-size="1kb"/> >>> >>> Actually I use rollover-period with a longer time in production, the >>> above config just makes it faster to get to the error. >>> >>> I'm running Resin as a Windows service with local system account. >>> Now, >>> when the rollover happens, I see that the old log file gets renamed >>> and a new log file created, but the new file gets created as read- >>> only >>> and writing to it fails with the following stack trace: >>> >>> [2009-03-10 22:44:59] Can't create log directory /C:/Progs/app/log/ >>> app.log >>> java.io.IOException: 'C:\Progs\app\log\app.log' permission denied >>> at com.caucho.vfs.JniFilePathImpl.nativeOpenWrite(Native Method) >>> at >>> com.caucho.vfs.JniFilePathImpl.openAppendImpl(JniFilePathImpl.java: >>> 422) >>> at com.caucho.vfs.Path.openAppend(Path.java:1119) >>> at >>> com.caucho.log.AbstractRolloverLog.openLog(AbstractRolloverLog.java: >>> 504) >>> ... >>> >>> Does anyone have any idea why Resin creates the new log file as read- >>> only? >> >> It shouldn't. They should be opened as read/write. I've added this >> as http://bugs.caucho.com/view.php?id=3382 >> >> -- Scott >> >>> >>> >>> Cheers, >>> >>> Kai >>> >>> >>> _______________________________________________ >>> resin-interest mailing list >>> [email protected] >>> http://maillist.caucho.com/mailman/listinfo/resin-interest >> >> >> >> _______________________________________________ >> resin-interest mailing list >> [email protected] >> http://maillist.caucho.com/mailman/listinfo/resin-interest > > > > _______________________________________________ > resin-interest mailing list > [email protected] > http://maillist.caucho.com/mailman/listinfo/resin-interest > _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest
