Hi Terry,
Thanks very much for that! That's certainly the sort of thing I am
looking for.
I've tried to do what you have done with the link, and as I had no
WEB_INF directory at all, I simply copied recursively all the stuff in
/usr/share/tomcat5.5-webapps/jsp-examples/WEB-INF
to where I want my wiki to be.
Does that sound OK?
I also updated jspwiki.properties as per yours and according to
http://localhost:8180/manager/htmlmy application mywiki is running (well, it was before, but it does
nothing)
But then, on that manager page, when I click on the link to go to mywiki,
namely:
http://localhost:8180/mywiki/It says:
HTTP Status 404 - /mywiki/
type Status report
message /mywiki/
description The requested resource (/mywiki/) is not available.
Apache Tomcat/5.5
I have not set up a policy as yet (do I need one? or is this just for
a secure server?)
Anyway, this is as far as I have got so far. It's a bit further but
till the missing link is in place, I have no wiki at all of course.
Do I need more stuff in WEB-INF? What is SUPPOSED to be in there
exactly?
Do I need anything more in addition to WEB-INF?
I don't have a WEB-INF/filters.xml file for a start. Do I need one?
Thanks!
Will
--
On Wed Aug 05 11:54 (-0400), Terry Steichen wrote:
> I haven't been following this thread very closely, so I hope what I'm
> going to say is helpful/relevant in some way.
>
> I'm running Ubuntu 8.04 and JSPWiki 2.6.4.
>
> What I did (as I recall) was create a standard, generic JSPWiki install
> at /data/TC6 and then create a symbolic link
> from /usr/share/tomcat5.5/webapps (from a standard Tomcat install)
> to /data/TC6. (That is ...../webapps/TC6 ==> /data/TC6.)
>
> I had to set the base URL in jspwiki.properties correctly, along with:
>
> jspwiki.fileSystemProvider.pageDir = /data/TC6/WEB-INF/pages
> jspwiki.filterConfig = /data/TC6/WEB-INF/filters.xml
> jspwiki.basicAttachmentProvider.storageDir
> = /data/TC6/WEB-INF/pages
> jspwiki.workDir = /data/jspwiki_work
> jspwiki.applicationName =TC6
>
> There may be some other minor details I'm forgetting, but I think that's
> about it.
>
> Terry
>
> PS: Oh, I did accidently delete the Tomcat user (created during the
> install, and got the permissions screwed up, so I'm temporarily running
> Tomcat as root. However, this is my local machine where I do the
> initial prototyping. The production version is hosted elsewhere, and
> it's properly set up security-wise.
>
>
>
>
> On Wed, 2009-08-05 at 09:48 +0100, Will Berriss wrote:
>
> > Hi,
> >
> > The README.Debian says this:
> >
> > JSPWiki for Debian
> > ------------------
> >
> > The package does not contain any XML-RPC functionality nor ATOM
> > server due to DFSG reasons. If you need these, the easiest way
> > is to get a copy of the full JSPWiki.jar and drop it over the one
> > in this package. You will also need the relevan library jars.
> >
> > The directory structure of the Debian policy compliant installation
> > is as follows:
> >
> > /var/lib/jspwiki contains WikiPages and attachments.
> >
> > /usr/share/java/webapps/JSPWiki contains the JSP pages, Java libraries,
> > and page templates.
> >
> > /etc/jspwiki contains all configuration files.
> >
> > /etc/tomcat5.5/policy.d/05jspwiki.policy is a symbolic link to
> > /etc/jspwiki/tomcat.policy
> >
> > For more information see README.gz and
http://www.jspwiki.org> >
> > So, I reckon it is all sort of there, but a link or two might be
> > missing. There are links from /usr/share/tomcat5.5/webapps to
> > /var/lib/tomcat5.5 and so on, so I reckon it must be close to working.
> >
> > What are the key files and where should they be?
> > e.g. jspwiki.properties seems to be one.
> >
> > What else would I need, and where should it live?
> >
> > Thanks,
> >
> > Will
> > --