incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Willeke" <...@willeke.com>
Subject Re: Iussues upgrading from JSPWiki v2.4.82 to 2.4.104
Date Sun, 25 Nov 2007 21:51:47 GMT
We were NOT able to read the WEB.XML file when we su to the tomcat user.
We changed permissions and now we are close, but some things seem to be out
of-wack.

Can you look?

http://www.willeke.com:9080/wikildap/

Thanks again fro your help.
-jim

On 11/25/07, Janne Jalkanen <Janne.Jalkanen@ecyrd.com> wrote:
>
>
> Have you tried installing on a clean Tomcat and a clean JSPWiki?  If
> that works, then you know the error is probably a permission issue in
> your current, regular installation.  If it does not work, it could be
> an OS issue.  If you do a "su" to the useraccount which runs tomcat,
> can you read the web.xml file normally with something like "more"?
>
> Are you absolutely sure that they are set up the same way?
>
> One trick you can try is to remove *everything* from your 2.4.104
> installation, *except* web.xml, then put in a dummy index.jsp, and
> see what happens (of course, take a backup first ;-).
>
> /Janne
>
> On 25 Nov 2007, at 16:17, Jim Willeke wrote:
>
> > We really appreciate the help.
> >
> > We have two other wiki's setup on the same server the same(?) way
> > only they
> > are on JSPWiki v2.2.33 and they seem to be fine.
> > We did notice, and this started our quest, that the JSPWiki Logo no
> > longer
> > shows.
> >
> > Suse Linux Enterprise server 10 SP1
> >
> > The /srv/www/tomcat5/baseconf/server.xml (links to
> > /etc/tomcat5/base/server.xml) file provides the context as:
> >
> > <Context path="/wikildap" docBase="/srv/www/tomcat5/base/wiki/
> > wikildap"
> > debug="99">
> >                  <Parameter name="jspwiki.propertyfile"
> >                    value="/srv/www/tomcat5/base/wiki/
> > wikildap.properties"
> >                    override="false"/>
> > </Context>
> >
> > The web.xml file is at:
> > /srv/www/tomcat5/base/wiki/wikildap/WEB-INF and has the following
> > permisions:
> > -rw-r--r--  1 tomcat webrun 12042 Nov 24 19:38 web.xml
> >
> > Properties file for the wiki is at:
> > /srv/www/tomcat5/base/wiki/wikildap.properties and has the following
> > permisions:
> > -rw-rw-r--  1 tomcat webrun 28142 Nov 24 19:12 wikildap.properties
> >
> > The properties file has the following properties defiend:
> >
> > jspwiki.fileSystemProvider.pageDir = /srv/www/htdocs/wikildap
> >
> > jspwiki.basicAttachmentProvider.storageDir =
> > /srv/www/htdocs/wikildap/attachements
> >
> > jspwiki.workDir = /srv/www/tomcat5/base/work/wikildap
> > (We cleared this)
> >
> > The ($CATALINA_HOME/work) directory  is defined as:
> > /srv/www/tomcat5/base/work/Catalina/localhost/wikildap (link to
> > /var/cache/tomcat5/base/work/Catalina/localhost/wikildap) has been
> > clearred.
> >
> > It does appear the web.xml file is NOT being read, and that there
> > maybe some
> > permissions issue, but we are lost.
> >
> > We even tried to deploy a "new" JSPWiki 2.4.104 as a test and that
> > also
> > fails.
> >
> > Thanks again.
> > -jim
> >
> > On 11/25/07, Janne Jalkanen <Janne.Jalkanen@ecyrd.com> wrote:
> >>
> >>
> >> On 25 Nov 2007, at 00:54, Jim Willeke wrote:
> >>
> >>> We deleted the work directory for the wiki.
> >>
> >> There are two work directories; one for the servlet container
> >> ($CATALINA_HOME/work), and one for the wiki (jspwiki.workDir in your
> >> jspwiki.properties).  Make sure *both* of these are empty.
> >>
> >> /Janne
> >>
> >
> >
> >
> > --
> > -jim
> > Jim Willeke
>
>


-- 
-jim
Jim Willeke

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message