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
> --
>
>
> -- Kalle Kivimaa <[email protected]>, Fri, 24 Oct 2008 11:50:37 z
> ~
>
> On Tue Aug 04 14:51 (-0700), Hassan Schroeder wrote:
> > Will Berriss wrote:
> >
> >> I did not download a zip file, I used the package manager in Ubuntu
> >
> > Oh, that explains it. In that case, you can't rely on instructions
> > for a standard install to apply.
> >
> > Personally, I would never use a package manager for something like
> > this. Most of the truly goofy problems I see on the Tomcat mailing
> > list are from people trying to use a x-distro-repackaged "Tomcat"
> > instead of a standard one.
> >
> > What does /usr/share/doc/jspwiki/README.Debian say? Anything useful?
> >
> > Alternatively you could ask on an Ubuntu list, but if it were me I'd
> > uninstall it (along with Tomcat) and download copies straight from
> > the original providers, so I could use the real documentation.
> >
> > FWIW!
> > --
> > Hassan Schroeder ----------------------------- [email protected]
> > webtuitive design === (+1) 408-621-3445 === http://webtuitive.com
> > twitter: @hassan
> > dream. code.
>