[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paperclips-discuss] server.xml
From: |
Andy Madigan |
Subject: |
[Paperclips-discuss] server.xml |
Date: |
Tue, 24 Aug 2004 12:02:26 -0700 (PDT) |
I'm trying to setup a custom server.xml file, here's what I have:
(DOCTYPE removed for e-mail)
<server>
<warpath path="warpath" />
<tcp port="7171" />
<host>
<log level="WARNING">
<sink class-name="gnu.paperclips.utils.DailyLogSink"
param="'www-tf-'dd'-'MM'-'yyyy"/>
</log>
<httplog format="%a %s" />
<mapping pattern="/" exclude="WEB-INF">
<file-dir name="./ROOT" />
</mapping>
</host>
</server>
It looks (DTD) valid to me, but when I type: "java -jar paperclips.jar
-c server.xml" , I get: "config is invalid".
My directory structure is this:
-Main Directory
paperclips.jar
-ROOT
index.html
-WEB-INF (Empty)
(Note: All necessary classes were copied into paperclips.jar)
When I start with "java -jar paperclips -d .", everything works fine,
what's wrong?
(note: OS=Debian/Sid, JDK=Sun JDK1.4.2 (for now))
P.S. Why are half the links (including Downloads) broken on the
paperclips site?
=====
- [Paperclips-discuss] server.xml,
Andy Madigan <=