[xwiki-users] xwiki is not even trying to read the xwiki.cfg file
I have a pretty generic (just downloaded and unpacked) xwiki setup. I tried to make some changes to webapps/xwiki/WEB-INF/xwiki.cfg but the file did not seem to even get read. I looked at the atime of the file, and it was the same as when I edited it, not when I started the server. This makes me think I'm putting the file in the wrong place. Thanks, Brian Minton
Hi Brian, On Jan 21, 2009, at 10:55 PM, Minton, Brian wrote:
I have a pretty generic (just downloaded and unpacked) xwiki setup. I tried to make some changes to webapps/xwiki/WEB-INF/xwiki.cfg but the file did not seem to even get read. I looked at the atime of the file, and it was the same as when I edited it, not when I started the server. This makes me think I'm putting the file in the wrong place.
That file should be left where it is, i.e. in WEB-INF/xwiki.cfg. It should work fine there. Thanks -Vincent http://xwiki.com http://xwiki.org http://massol.net
Did you restart the server after your changes ? Ludovic Minton, Brian a écrit :
I have a pretty generic (just downloaded and unpacked) xwiki setup. I tried to make some changes to webapps/xwiki/WEB-INF/xwiki.cfg but the file did not seem to even get read. I looked at the atime of the file, and it was the same as when I edited it, not when I started the server. This makes me think I'm putting the file in the wrong place.
Thanks, Brian Minton _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
At 2009-01-21T16:55-0500, Minton, Brian wrote:
I have a pretty generic (just downloaded and unpacked) xwiki setup. I tried to make some changes to webapps/xwiki/WEB-INF/xwiki.cfg but the file did not seem to even get read. I looked at the atime of the file, and it was the same as when I edited it, not when I started the server. This makes me think I'm putting the file in the wrong place.
Did the server actually restart? Is atime turned off on that filesystem? Something like the following on Solaris or MacOS: #!/usr/sbin/dtrace -s syscall::open*:entry /NULL != strstr(copyinstr(arg0), "xwiki.cfg")/ { @[execname, copyinstr(arg0)] = count(); } Will tell you if it's ever opened (or if attempts are made at least). Paul -- End dual-measurement, let's finish going metric! http://gometric.us/ http://www.metric.org/
Thanks for your response. The server is definitely shutting down. I am running linux, so unfortunately, no dtrace. However, I did strace the process (with '-f' and '-ff' so it follows forks), and it never tried to open the file. Atime is also definitely enabled on this filesystem. If I cat the file, I can see the atime is modified. -----Original Message----- From: Paul Armstrong [mailto:[email protected]] Sent: Wednesday, January 21, 2009 6:51 PM To: Minton, Brian Cc: [email protected] Subject: Re: [xwiki-users] xwiki is not even trying to read the xwiki.cfg file At 2009-01-21T16:55-0500, Minton, Brian wrote:
I have a pretty generic (just downloaded and unpacked) xwiki setup. I tried to make some changes to webapps/xwiki/WEB-INF/xwiki.cfg but the file did not seem to even get read. I looked at the atime of the file, and it was the same as when I edited it, not when I started the server. This makes me think I'm putting the file in the wrong place.
Did the server actually restart? Is atime turned off on that filesystem? Something like the following on Solaris or MacOS: #!/usr/sbin/dtrace -s syscall::open*:entry /NULL != strstr(copyinstr(arg0), "xwiki.cfg")/ { @[execname, copyinstr(arg0)] = count(); } Will tell you if it's ever opened (or if attempts are made at least). Paul -- End dual-measurement, let's finish going metric! http://gometric.us/ http://www.metric.org/
participants (4)
-
Ludovic Dubost -
Minton, Brian -
Paul Armstrong -
Vincent Massol