Thanks! That's made it work! I'm gobsmacked. :)
Thanks for all your help. It is a shame about having to turn security off so I will raise a bug report. Actually I raised a bug earlier about JSPWiki.war, so I will reuse that one. Thank you very much for your time and effort. :) Will -- On Wed Aug 05 21:45 (+0000), Kalle Kivimaa wrote: > Easiest way around that is to change /etc/default/tomcat5.5 > > TOMCAT5_SECURITY=no > > You shouldn't need this, though, so you might want to make a bug > report to the Ubuntu bug tracker. > > Will Berriss <[email protected]> writes: > > > Hi Kalle, > > > > I did that, but it had made no difference. :( > > > > So I purged jspwiki and reinstalled, but still no joy. :( > > > > I attach logs again. (There is a mention of access denied to the > > jspwiki.properties files I notice.) > > > > Thanks > > > > Will > > -- > > > > On Wed Aug 05 21:15 (+0000), Kalle Kivimaa wrote: > >> Base URL of "JSPWiki/" is absolutely incorrect, as it is not a valid > >> URL. Do this: > >> > >> dpkg-reconfigure --default-priority jspwiki > >> > >> And give > >> > >> http://localhost:8180/JSPWiki/ > >> > >> to the base URL configuration question. Restart tomcat. > >> > >> Will Berriss <[email protected]> writes: > >> > >> > OK, I did that. > >> > > >> > The ONLY question it asked me was what base URL I wanted. > >> > So I just typed: JSPWiki/ > >> > > >> > Now when I go to that URL below it says: > >> > > >> > > >> > HTTP Status 404 - > >> > > >> > type Status report > >> > > >> > message > >> > > >> > description The requested resource () is not available. > >> > Apache Tomcat/5.5 > >> > > >> > > >> > > >> > Logs attached (only 2 tomcat log files had a new timestamp on them): > >> > > >> > Thanks! > >> > > >> > Will > >> > -- > >> > > >> > > >> > On Wed Aug 05 20:42 (+0000), Kalle Kivimaa wrote: > >> >> OK, please run these: > >> >> > >> >> dpkg --purge jspwiki > >> >> aptitude install jspwiki > >> >> > >> >> Give defaults to any debconf questions. > >> >> > >> >> Restart tomcat. > >> >> > >> >> Go to http://localhost:8180/JSPWiki/ > >> >> > >> >> If it still doesn't work, mail me the log files again. > >> >> > >> >> Will Berriss <[email protected]> writes: > >> >> > >> >> > Please find it attached. > >> >> > > >> >> > Some of it was written by dpkg-reconfigure jspwiki when I ran that. > >> >> > Then I edited by hand and changed a few things as per Terry's > >> >> > instructions on the mailing list. My changes have the comment > >> >> > #WPB by the,. > >> >> > > >> >> > Thanks, > >> >> > > >> >> > Will > >> >> > -- > >> >> > > >> >> > On Wed Aug 05 19:29 (+0000), Kalle Kivimaa wrote: > >> >> >> Please send me the /etc/jspwiki/jspwiki.properties file. > >> >> >> > >> >> >> Will Berriss <[email protected]> writes: > >> >> >> > >> >> >> > Hi Kalle, > >> >> >> > > >> >> >> > http://localhost:8180/JSPWiki/ fails, but then that was where I > >> >> >> > started > >> >> >> > a few days ago. I have told the install to use mywiki, actually > >> >> >> > I've > >> >> >> > called it moyawiki now. > >> >> >> > > >> >> >> > I'll attach logs I think are relevant. I find it difficult to > >> >> >> > work out > >> >> >> > what they are telling me as when it goes wrong there is lots in > >> >> >> > them. :) > >> >> >> > > >> >> >> > Let me know if you nedd any other log files, but hopefully these > >> >> >> > logs > >> >> >> > will shed some light on the matter. I must be getting closer now. > >> >> >> > > >> >> >> > Thanks for your help. > >> >> >> > > >> >> >> > Will > >> >> >> > -- > >> >> >> > > >> >> >> > On Wed Aug 05 18:01 (+0000), Kalle Kivimaa wrote: > >> >> >> >> Will Berriss <[email protected]> writes: > >> >> >> >> > I also updated jspwiki.properties as per yours and according to > >> >> >> >> > http://localhost:8180/manager/html > >> >> >> >> > > >> >> >> >> > my 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/ > >> >> >> >> > >> >> >> >> In a vanilla Debian (and I guess Ubuntu too, as I think Ubuntu > >> >> >> >> uses > >> >> >> >> the Debian package as-is) JSPWiki the wiki instance will be > >> >> >> >> installed > >> >> >> >> to http://localhost:8180/JSPWiki/ unless you've given additional > >> >> >> >> instructions during the install time. > >> >> >> >> > >> >> >> >> If http://localhost:8180/JSPWiki/ fails, please email me the > >> >> >> >> relevant > >> >> >> >> Tomcat logs. > >> >> >> >> -- ----------------------------------------------------------------------- E-mail: [email protected] -----------------------------------------------------------------------
