Actually this did not work:
<Context path="/wiki1" docBase="/home/claudia/ab/wiki1.war" debug="0">
<Parameter name="jspwiki.propertyfile"
value="/home/claudia/ab/jspwiki.properties"
override="false"/>
</Context>
But this did:
<Context path="/wiki1" docBase="/home/claudia/ab/wiki1" debug="0">
<Parameter name="jspwiki.propertyfile"
value="/home/claudia/ab/jspwiki.properties"
override="false"/>
</Context>
In other words, the docbase value has to be an exploded folder. The war
file causes the error.
Does this give any meaning to anyone?
On 10/10/07, Claudia Frers <[EMAIL PROTECTED]> wrote:
>
> Didn't change anything but it *magically* runs. :-)
>
> On 10/9/07, Claudia Frers <[EMAIL PROTECTED]> wrote:
> >
> > It seems that I can get any other webapp to run in individual files
> > (with a ".xml" extension)
> > unless it happens to be a jspwiki webapp.
> >
> > I created two war files:
> > one contained the jsp-examples that comes with Tomcat.
> > the other contained a wiki1 that otherwise runs fine when deployed under
> > webapps (using the edited property file under WEBINF and the default policy
> > file)
> >
> > I then undeployed the two older webapps (jsp-examples.war & wiki1.war)
> > and created two xml files:
> > jsp-examples.xml
> > wiki1.xml
> >
> > Each file contains the following lines respectively:
> > <Context path="/jsp-examples" docBase="/home/claudia/wikis/jsp-
> > examples.war" debug="0" />
> > <Context path="/wiki1" docBase="/home/claudia/wikis/wiki1.war" debug="0"
> > />
> >
> >
> > The jsp-examples works fine. The wiki1.war which still contains the
> > edited property file under WEBINF,
> > however,
> >
> > gives this error:
> > http://localhost:8080/wiki1/
> >
> > *The requested resource (/wiki1/) is not available.
> > *
> > It is hard for me to diagnose this as a apache-tomcat-5.5.20 or Jspwiki
> > problem.
> > No errors from Catalina. No log messages. I am using ubuntu (linux),
> > apache-tomcat-5.5.20 and Jspwiki 2.4.104.
> > Have tried tons of variations of this for several days ..so I guess I
> > won't be able to share the same war file with different wikis :-(
> > Anyone else tried this?
> >
> > Thx,
> > Claudia
> >
> > refs:
> > >>http://doc.jspwiki.org/2.4/wiki/InstallingJSPWikiStepByStep
> > I also read and understood the docs on the context container here:
> > http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
> >
> >
>
_______________________________________________
This is the Jspwiki-users mailing list, in which we discuss the
stable release (even-numbered, 2.4.x, 2.6.x), and user-issues.
For development discussion, please join jspwiki-dev.
http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
http://www.jspwiki.org/JSPWikiMailingList