You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Hein <12...@vodafone.nl> on 2008/12/18 22:27:18 UTC

JSPWiki install problem

Hi,

I need some help with the installation of JSPWiki on Tomcat5.5.

Tomcat is installed on a Debian (Etch) machine and I have a few 
home-made Java applications already running on it.
Security manager is turned off.

When I just drop the war file in the webapps folder, I get the following 
errors in the log file:

Dec 18, 2008 9:59:03 PM org.apache.catalina.core.ApplicationContext log
INFO: No jspwiki.propertyfile defined for this context, using default 
from /WEB-INF/jspwiki.properties
Dec 18, 2008 9:59:03 PM org.apache.catalina.core.ApplicationContext log
INFO: Loading cascading properties...
Dec 18, 2008 9:59:03 PM org.apache.catalina.core.ApplicationContext log
INFO:  No cascading properties defined for this context
Dec 18, 2008 9:59:05 PM org.apache.catalina.core.ApplicationContext log
INFO: JSPWiki: Unable to load and setup properties from 
jspwiki.properties. Failed to start; please check log files for better 
information.
Dec 18, 2008 9:59:05 PM org.apache.catalina.core.ApplicationContext log
INFO: ERROR: Failed to create a Wiki engine: JSPWiki: Unable to load and 
setup properties from jspwiki.properties. Failed to start; please check 
log files for better information.
Dec 18, 2008 9:59:05 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter WikiJSPFilter
com.ecyrd.jspwiki.InternalWikiException: No wiki engine, check logs.
    at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:346)
    at 
com.ecyrd.jspwiki.ui.WikiServletFilter.init(WikiServletFilter.java:79)
    at com.ecyrd.jspwiki.ui.WikiJSPFilter.init(WikiJSPFilter.java:76)
    at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)

etc, etc.

I also tried to deploy it from the Tomcat manager page with a 
JSPWiki.xml property file file but i'm not sure what I have to put in 
that file.

Why doesn't it just work, what magic is needed here ?  :-(

Regards,
Hein

Re: JSPWiki install problem

Posted by Harry Metske <ha...@gmail.com>.
Hein,

again see the README, I would take the Advanced Installation section :

Advanced Installation
---------------------

First, install a JSP engine and a web server.  You can download Tomcat
from http://jakarta.apache.org/tomcat/.  This software was built
originally on top of Tomcat 5.5, but probably most other versions
work, too, and most other JSP containers.
*
After you've installed the engine and checked that it works, you just
make a subdirectory under $TOMCAT_HOME/webapps/.  For example, if you
want your application to be called 'MyWiki', just create a directory
called 'MyWiki', then extract all files from the war files into that
directory, preserving the directory structure.

Edit the WEB-INF/jspwiki.properties file to your liking.  The only
thing you need to set is the directory where you want your wiki pages
to be stored.  I recommend a directory that is regularly backed up.

Unzip the contents of jspwiki-corepages.zip into your newly created
directory.  You can find the rest of the documentation in the
JSPWiki-doc.zip file.

(Re)start tomcat.

Point your browser at http://<where your Tomcat is installed>/MyWiki/.
You should see the Main Wiki page.  See the next section if you want
to edit the pages =).
*

2008/12/18 Hein <12...@vodafone.nl>

> I did not edit the WEB_INF/jspwiki.properties file (yet) because the error
> suggests that the properties cannot be found.
> What else must be done after the steps show below?
>
> Hein
>
>
> Janne Jalkanen wrote:
>
>>
>> Did you also follow the rest of the instructions from README?
>>
>> /Janne
>>
>> On 19 Dec 2008, at 00:07, Hein wrote:
>>
>>  Hello Harry,
>>>
>>> I just tried doing it the way you described but that didn't work, same
>>> errors :-(
>>>
>>> Hein
>>>
>>>
>>> Harry Metske wrote:
>>>
>>>> Hein,
>>>>
>>>> JSPWiki cannot be installed by just dropping a war file in tomcat's
>>>> webapps
>>>> directory, create a directory there and unzip the war file
>>>>
>>>> This is documented in the README file:
>>>>
>>>>
>>>> *2) After you've installed the engine and checked that it works, you
>>>> just
>>>>  make a subdirectory under $TOMCAT_HOME/webapps/.
>>>>  For example, if you want your application to be called 'wiki', just
>>>> create
>>>> a directory
>>>>  called 'wiki', then extract all files from the war file into that
>>>>  directory, preserving the directory structure.
>>>> *
>>>> Regards,
>>>> Harry
>>>>
>>>>
>>>> 2008/12/18 Hein <12...@vodafone.nl>
>>>>
>>>>
>>>>  Hi,
>>>>>
>>>>> I need some help with the installation of JSPWiki on Tomcat5.5.
>>>>>
>>>>> Tomcat is installed on a Debian (Etch) machine and I have a few
>>>>> home-made
>>>>> Java applications already running on it.
>>>>> Security manager is turned off.
>>>>>
>>>>> When I just drop the war file in the webapps folder, I get the
>>>>> following
>>>>> errors in the log file:
>>>>>
>>>>> Dec 18, 2008 9:59:03 PM org.apache.catalina.core.ApplicationContext log
>>>>> INFO: No jspwiki.propertyfile defined for this context, using default
>>>>> from
>>>>> /WEB-INF/jspwiki.properties
>>>>> Dec 18, 2008 9:59:03 PM org.apache.catalina.core.ApplicationContext log
>>>>> INFO: Loading cascading properties...
>>>>> Dec 18, 2008 9:59:03 PM org.apache.catalina.core.ApplicationContext log
>>>>> INFO:  No cascading properties defined for this context
>>>>> Dec 18, 2008 9:59:05 PM org.apache.catalina.core.ApplicationContext log
>>>>> INFO: JSPWiki: Unable to load and setup properties from
>>>>> jspwiki.properties.
>>>>> Failed to start; please check log files for better information.
>>>>> Dec 18, 2008 9:59:05 PM org.apache.catalina.core.ApplicationContext log
>>>>> INFO: ERROR: Failed to create a Wiki engine: JSPWiki: Unable to load
>>>>> and
>>>>> setup properties from jspwiki.properties. Failed to start; please check
>>>>> log
>>>>> files for better information.
>>>>> Dec 18, 2008 9:59:05 PM org.apache.catalina.core.StandardContext
>>>>> filterStart
>>>>> SEVERE: Exception starting filter WikiJSPFilter
>>>>> com.ecyrd.jspwiki.InternalWikiException: No wiki engine, check logs.
>>>>>  at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:346)
>>>>>  at
>>>>> com.ecyrd.jspwiki.ui.WikiServletFilter.init(WikiServletFilter.java:79)
>>>>>  at com.ecyrd.jspwiki.ui.WikiJSPFilter.init(WikiJSPFilter.java:76)
>>>>>  at
>>>>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)
>>>>>
>>>>>
>>>>> etc, etc.
>>>>>
>>>>> I also tried to deploy it from the Tomcat manager page with a
>>>>> JSPWiki.xml
>>>>> property file file but i'm not sure what I have to put in that file.
>>>>>
>>>>> Why doesn't it just work, what magic is needed here ?  :-(
>>>>>
>>>>> Regards,
>>>>> Hein
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>

Re: JSPWiki install problem

Posted by Alex Samad <al...@samad.com.au>.
On Fri, Dec 19, 2008 at 12:14:40PM +0200, Kalle Kivimaa wrote:
> Alex Samad <al...@samad.com.au> writes:
> > On Fri, Dec 19, 2008 at 11:55:40AM +0200, Kalle Kivimaa wrote:
> >> Alex Samad <al...@samad.com.au> writes:
> >> > How in sync is the debian package being kept ?
> >> 
> >> Depends. Sometimes I lag behind, sometimes I'm pretty close. In any
> >> case, you can always take the same major release version (eg. any
> >> 2.8.x) and drop the files over the existing installation with very
> >> little trouble (usually no trouble, but you never know when Janne
> >> introduces some config file changes :)
> > cool (your the pm ?), sounds easy
> 
> Yeah, I'm the Debian JSPWiki package maintainer. One thing to be
> careful about is that dropping a new release on top of an existing
> Debian JSPWiki installation in /usr/share/jspwiki will break these
> symlinks, which you probably want to restore, or not.
> 
> /usr/share/jspwiki/WEB-INF/jspwiki.properties
> /usr/share/jspwiki/WEB-INF/jspwiki.tld
> /usr/share/jspwiki/WEB-INF/web.xml

I also have my old (2.5.x) pages to move over as well, just built a vm
(with virtual box) and install a base am64 + sun java 1.6 + tomcat 5.5
machine to test a migration, I also have some of my plugins as well -
have to see if they work or not :)

> 
> All point to the corresponding files in /etc/jspwiki.
> 
> -- 
> * Sufficiently advanced magic is indistinguishable from technology (T.P)  *
> *           PGP public key available @ http://www.iki.fi/killer           *
> 

-- 
"We've had no evidence that Saddam Hussein was involved in Sept. 11."

	- George W. Bush
08/17/2003
Washington, DC

Re: JSPWiki install problem

Posted by Kalle Kivimaa <ka...@iki.fi>.
Alex Samad <al...@samad.com.au> writes:
> On Fri, Dec 19, 2008 at 11:55:40AM +0200, Kalle Kivimaa wrote:
>> Alex Samad <al...@samad.com.au> writes:
>> > How in sync is the debian package being kept ?
>> 
>> Depends. Sometimes I lag behind, sometimes I'm pretty close. In any
>> case, you can always take the same major release version (eg. any
>> 2.8.x) and drop the files over the existing installation with very
>> little trouble (usually no trouble, but you never know when Janne
>> introduces some config file changes :)
> cool (your the pm ?), sounds easy

Yeah, I'm the Debian JSPWiki package maintainer. One thing to be
careful about is that dropping a new release on top of an existing
Debian JSPWiki installation in /usr/share/jspwiki will break these
symlinks, which you probably want to restore, or not.

/usr/share/jspwiki/WEB-INF/jspwiki.properties
/usr/share/jspwiki/WEB-INF/jspwiki.tld
/usr/share/jspwiki/WEB-INF/web.xml

All point to the corresponding files in /etc/jspwiki.

-- 
* Sufficiently advanced magic is indistinguishable from technology (T.P)  *
*           PGP public key available @ http://www.iki.fi/killer           *

Re: JSPWiki install problem

Posted by Alex Samad <al...@samad.com.au>.
On Fri, Dec 19, 2008 at 11:55:40AM +0200, Kalle Kivimaa wrote:
> Alex Samad <al...@samad.com.au> writes:
> > How in sync is the debian package being kept ?
> 
> Depends. Sometimes I lag behind, sometimes I'm pretty close. In any
> case, you can always take the same major release version (eg. any
> 2.8.x) and drop the files over the existing installation with very
> little trouble (usually no trouble, but you never know when Janne
> introduces some config file changes :)
cool (your the pm ?), sounds easy
> 
> -- 
> * Sufficiently advanced magic is indistinguishable from technology (T.P)  *
> *           PGP public key available @ http://www.iki.fi/killer           *
> 

-- 
"If you're a younger person, you ought to be asking members of Congress and the United States Senate and the president what you intend to do about it. If you see a train wreck coming, you ought to be saying, what are you going to do about it, Mr. Congressman, or Madam Congressman?"

	- George W. Bush
02/08/2005
Detroit, MI

Re: JSPWiki install problem

Posted by Rolf Schumacher <ma...@august.de>.
Sounds good, Kalle.

you left me with some questions:

Is there an introduction of how the jspwiki package is ment to be
working with other Debian packages?

E.g.
- by default Debian installs gcj - not Sun java.
- by default tomcat5.5 has the security manager switched on
- ...

Rolf


Kalle Kivimaa wrote:
> Alex Samad <al...@samad.com.au> writes:
>   
>> How in sync is the debian package being kept ?
>>     
>
> Depends. Sometimes I lag behind, sometimes I'm pretty close. In any
> case, you can always take the same major release version (eg. any
> 2.8.x) and drop the files over the existing installation with very
> little trouble (usually no trouble, but you never know when Janne
> introduces some config file changes :)
>
>   

Re: JSPWiki install problem

Posted by Kalle Kivimaa <ka...@iki.fi>.
Alex Samad <al...@samad.com.au> writes:
> How in sync is the debian package being kept ?

Depends. Sometimes I lag behind, sometimes I'm pretty close. In any
case, you can always take the same major release version (eg. any
2.8.x) and drop the files over the existing installation with very
little trouble (usually no trouble, but you never know when Janne
introduces some config file changes :)

-- 
* Sufficiently advanced magic is indistinguishable from technology (T.P)  *
*           PGP public key available @ http://www.iki.fi/killer           *

Re: JSPWiki install problem

Posted by Alex Samad <al...@samad.com.au>.
On Fri, Dec 19, 2008 at 08:31:09AM +0200, Kalle Kivimaa wrote:
> You might want to use the Debian package of 2.8.0 available in
> contrib, even though it currently contains an annoying bug for clean
> installations. After you've installed 2.8.0 you can simply get the
> 2.8.1 package and unzip it to /usr/share/jspwiki.

How in sync is the debian package being kept ?

> 
> I'm probably uploading a 2.8.1 version to Debian during this weekend
> which also fixes the current bugs.
> 
> To get around the default page creation bug, do the following before
> installing the .deb:
> 
> mkdir -p /var/lib/jspwiki/default
> touch /var/lib/jspwiki/default/Main.txt
> 
> And after installing run:
> 
> cd /var/lib/jspwiki
> rm default/Main.txt
> tar xzf /usr/share/doc/jspwiki/examples/wikipages.tar.gz default/en
> cd default/en
> mv * ..
> cd ..
> rmdir en
> 
> Hein <12...@vodafone.nl> writes:

[snip]

> >
> 
> -- 
> * Sufficiently advanced magic is indistinguishable from technology (T.P)  *
> *           PGP public key available @ http://www.iki.fi/killer           *
> 

-- 
"I trust God speaks through me. Without that, I couldn't do my job."

	- George W. Bush
07/09/2004
to a group of Amish he met with privately

Re: JSPWiki install problem

Posted by Kalle Kivimaa <ka...@iki.fi>.
You might want to use the Debian package of 2.8.0 available in
contrib, even though it currently contains an annoying bug for clean
installations. After you've installed 2.8.0 you can simply get the
2.8.1 package and unzip it to /usr/share/jspwiki.

I'm probably uploading a 2.8.1 version to Debian during this weekend
which also fixes the current bugs.

To get around the default page creation bug, do the following before
installing the .deb:

mkdir -p /var/lib/jspwiki/default
touch /var/lib/jspwiki/default/Main.txt

And after installing run:

cd /var/lib/jspwiki
rm default/Main.txt
tar xzf /usr/share/doc/jspwiki/examples/wikipages.tar.gz default/en
cd default/en
mv * ..
cd ..
rmdir en

Hein <12...@vodafone.nl> writes:

> I did not edit the WEB_INF/jspwiki.properties file (yet) because the
> error suggests that the properties cannot be found.
> What else must be done after the steps show below?
>
> Hein
>
> Janne Jalkanen wrote:
>>
>> Did you also follow the rest of the instructions from README?
>>
>> /Janne
>>
>> On 19 Dec 2008, at 00:07, Hein wrote:
>>
>>> Hello Harry,
>>>
>>> I just tried doing it the way you described but that didn't work,
>>> same errors :-(
>>>
>>> Hein
>>>
>>>
>>> Harry Metske wrote:
>>>> Hein,
>>>>
>>>> JSPWiki cannot be installed by just dropping a war file in
>>>> tomcat's webapps
>>>> directory, create a directory there and unzip the war file
>>>>
>>>> This is documented in the README file:
>>>>
>>>>
>>>> *2) After you've installed the engine and checked that it works,
>>>> you just
>>>>   make a subdirectory under $TOMCAT_HOME/webapps/.
>>>>   For example, if you want your application to be called 'wiki',
>>>> just create
>>>> a directory
>>>>   called 'wiki', then extract all files from the war file into that
>>>>   directory, preserving the directory structure.
>>>> *
>>>> Regards,
>>>> Harry
>>>>
>>>>
>>>> 2008/12/18 Hein <12...@vodafone.nl>
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>> I need some help with the installation of JSPWiki on Tomcat5.5.
>>>>>
>>>>> Tomcat is installed on a Debian (Etch) machine and I have a few
>>>>> home-made
>>>>> Java applications already running on it.
>>>>> Security manager is turned off.
>>>>>
>>>>> When I just drop the war file in the webapps folder, I get the
>>>>> following
>>>>> errors in the log file:
>>>>>
>>>>> Dec 18, 2008 9:59:03 PM
>>>>> org.apache.catalina.core.ApplicationContext log
>>>>> INFO: No jspwiki.propertyfile defined for this context, using
>>>>> default from
>>>>> /WEB-INF/jspwiki.properties
>>>>> Dec 18, 2008 9:59:03 PM
>>>>> org.apache.catalina.core.ApplicationContext log
>>>>> INFO: Loading cascading properties...
>>>>> Dec 18, 2008 9:59:03 PM
>>>>> org.apache.catalina.core.ApplicationContext log
>>>>> INFO:  No cascading properties defined for this context
>>>>> Dec 18, 2008 9:59:05 PM
>>>>> org.apache.catalina.core.ApplicationContext log
>>>>> INFO: JSPWiki: Unable to load and setup properties from
>>>>> jspwiki.properties.
>>>>> Failed to start; please check log files for better information.
>>>>> Dec 18, 2008 9:59:05 PM
>>>>> org.apache.catalina.core.ApplicationContext log
>>>>> INFO: ERROR: Failed to create a Wiki engine: JSPWiki: Unable to
>>>>> load and
>>>>> setup properties from jspwiki.properties. Failed to start; please
>>>>> check log
>>>>> files for better information.
>>>>> Dec 18, 2008 9:59:05 PM org.apache.catalina.core.StandardContext
>>>>> filterStart
>>>>> SEVERE: Exception starting filter WikiJSPFilter
>>>>> com.ecyrd.jspwiki.InternalWikiException: No wiki engine, check logs.
>>>>>   at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:346)
>>>>>   at
>>>>> com.ecyrd.jspwiki.ui.WikiServletFilter.init(WikiServletFilter.java:79)
>>>>>   at com.ecyrd.jspwiki.ui.WikiJSPFilter.init(WikiJSPFilter.java:76)
>>>>>   at
>>>>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)
>>>>>
>>>>>
>>>>> etc, etc.
>>>>>
>>>>> I also tried to deploy it from the Tomcat manager page with a
>>>>> JSPWiki.xml
>>>>> property file file but i'm not sure what I have to put in that file.
>>>>>
>>>>> Why doesn't it just work, what magic is needed here ?  :-(
>>>>>
>>>>> Regards,
>>>>> Hein
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>
>

-- 
* Sufficiently advanced magic is indistinguishable from technology (T.P)  *
*           PGP public key available @ http://www.iki.fi/killer           *

Re: JSPWiki install problem

Posted by Hein <12...@vodafone.nl>.
I did not edit the WEB_INF/jspwiki.properties file (yet) because the 
error suggests that the properties cannot be found.
What else must be done after the steps show below?

Hein

Janne Jalkanen wrote:
>
> Did you also follow the rest of the instructions from README?
>
> /Janne
>
> On 19 Dec 2008, at 00:07, Hein wrote:
>
>> Hello Harry,
>>
>> I just tried doing it the way you described but that didn't work, 
>> same errors :-(
>>
>> Hein
>>
>>
>> Harry Metske wrote:
>>> Hein,
>>>
>>> JSPWiki cannot be installed by just dropping a war file in tomcat's 
>>> webapps
>>> directory, create a directory there and unzip the war file
>>>
>>> This is documented in the README file:
>>>
>>>
>>> *2) After you've installed the engine and checked that it works, you 
>>> just
>>>   make a subdirectory under $TOMCAT_HOME/webapps/.
>>>   For example, if you want your application to be called 'wiki', 
>>> just create
>>> a directory
>>>   called 'wiki', then extract all files from the war file into that
>>>   directory, preserving the directory structure.
>>> *
>>> Regards,
>>> Harry
>>>
>>>
>>> 2008/12/18 Hein <12...@vodafone.nl>
>>>
>>>
>>>> Hi,
>>>>
>>>> I need some help with the installation of JSPWiki on Tomcat5.5.
>>>>
>>>> Tomcat is installed on a Debian (Etch) machine and I have a few 
>>>> home-made
>>>> Java applications already running on it.
>>>> Security manager is turned off.
>>>>
>>>> When I just drop the war file in the webapps folder, I get the 
>>>> following
>>>> errors in the log file:
>>>>
>>>> Dec 18, 2008 9:59:03 PM org.apache.catalina.core.ApplicationContext 
>>>> log
>>>> INFO: No jspwiki.propertyfile defined for this context, using 
>>>> default from
>>>> /WEB-INF/jspwiki.properties
>>>> Dec 18, 2008 9:59:03 PM org.apache.catalina.core.ApplicationContext 
>>>> log
>>>> INFO: Loading cascading properties...
>>>> Dec 18, 2008 9:59:03 PM org.apache.catalina.core.ApplicationContext 
>>>> log
>>>> INFO:  No cascading properties defined for this context
>>>> Dec 18, 2008 9:59:05 PM org.apache.catalina.core.ApplicationContext 
>>>> log
>>>> INFO: JSPWiki: Unable to load and setup properties from 
>>>> jspwiki.properties.
>>>> Failed to start; please check log files for better information.
>>>> Dec 18, 2008 9:59:05 PM org.apache.catalina.core.ApplicationContext 
>>>> log
>>>> INFO: ERROR: Failed to create a Wiki engine: JSPWiki: Unable to 
>>>> load and
>>>> setup properties from jspwiki.properties. Failed to start; please 
>>>> check log
>>>> files for better information.
>>>> Dec 18, 2008 9:59:05 PM org.apache.catalina.core.StandardContext
>>>> filterStart
>>>> SEVERE: Exception starting filter WikiJSPFilter
>>>> com.ecyrd.jspwiki.InternalWikiException: No wiki engine, check logs.
>>>>   at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:346)
>>>>   at 
>>>> com.ecyrd.jspwiki.ui.WikiServletFilter.init(WikiServletFilter.java:79)
>>>>   at com.ecyrd.jspwiki.ui.WikiJSPFilter.init(WikiJSPFilter.java:76)
>>>>   at
>>>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223) 
>>>>
>>>>
>>>> etc, etc.
>>>>
>>>> I also tried to deploy it from the Tomcat manager page with a 
>>>> JSPWiki.xml
>>>> property file file but i'm not sure what I have to put in that file.
>>>>
>>>> Why doesn't it just work, what magic is needed here ?  :-(
>>>>
>>>> Regards,
>>>> Hein
>>>>
>>>>
>>>
>>>
>>
>
>


Re: JSPWiki install problem

Posted by Janne Jalkanen <Ja...@ecyrd.com>.
Did you also follow the rest of the instructions from README?

/Janne

On 19 Dec 2008, at 00:07, Hein wrote:

> Hello Harry,
>
> I just tried doing it the way you described but that didn't work,  
> same errors :-(
>
> Hein
>
>
> Harry Metske wrote:
>> Hein,
>>
>> JSPWiki cannot be installed by just dropping a war file in  
>> tomcat's webapps
>> directory, create a directory there and unzip the war file
>>
>> This is documented in the README file:
>>
>>
>> *2) After you've installed the engine and checked that it works,  
>> you just
>>   make a subdirectory under $TOMCAT_HOME/webapps/.
>>   For example, if you want your application to be called 'wiki',  
>> just create
>> a directory
>>   called 'wiki', then extract all files from the war file into that
>>   directory, preserving the directory structure.
>> *
>> Regards,
>> Harry
>>
>>
>> 2008/12/18 Hein <12...@vodafone.nl>
>>
>>
>>> Hi,
>>>
>>> I need some help with the installation of JSPWiki on Tomcat5.5.
>>>
>>> Tomcat is installed on a Debian (Etch) machine and I have a few  
>>> home-made
>>> Java applications already running on it.
>>> Security manager is turned off.
>>>
>>> When I just drop the war file in the webapps folder, I get the  
>>> following
>>> errors in the log file:
>>>
>>> Dec 18, 2008 9:59:03 PM  
>>> org.apache.catalina.core.ApplicationContext log
>>> INFO: No jspwiki.propertyfile defined for this context, using  
>>> default from
>>> /WEB-INF/jspwiki.properties
>>> Dec 18, 2008 9:59:03 PM  
>>> org.apache.catalina.core.ApplicationContext log
>>> INFO: Loading cascading properties...
>>> Dec 18, 2008 9:59:03 PM  
>>> org.apache.catalina.core.ApplicationContext log
>>> INFO:  No cascading properties defined for this context
>>> Dec 18, 2008 9:59:05 PM  
>>> org.apache.catalina.core.ApplicationContext log
>>> INFO: JSPWiki: Unable to load and setup properties from  
>>> jspwiki.properties.
>>> Failed to start; please check log files for better information.
>>> Dec 18, 2008 9:59:05 PM  
>>> org.apache.catalina.core.ApplicationContext log
>>> INFO: ERROR: Failed to create a Wiki engine: JSPWiki: Unable to  
>>> load and
>>> setup properties from jspwiki.properties. Failed to start; please  
>>> check log
>>> files for better information.
>>> Dec 18, 2008 9:59:05 PM org.apache.catalina.core.StandardContext
>>> filterStart
>>> SEVERE: Exception starting filter WikiJSPFilter
>>> com.ecyrd.jspwiki.InternalWikiException: No wiki engine, check logs.
>>>   at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:346)
>>>   at com.ecyrd.jspwiki.ui.WikiServletFilter.init 
>>> (WikiServletFilter.java:79)
>>>   at com.ecyrd.jspwiki.ui.WikiJSPFilter.init(WikiJSPFilter.java:76)
>>>   at
>>> org.apache.catalina.core.ApplicationFilterConfig.getFilter 
>>> (ApplicationFilterConfig.java:223)
>>>
>>> etc, etc.
>>>
>>> I also tried to deploy it from the Tomcat manager page with a  
>>> JSPWiki.xml
>>> property file file but i'm not sure what I have to put in that file.
>>>
>>> Why doesn't it just work, what magic is needed here ?  :-(
>>>
>>> Regards,
>>> Hein
>>>
>>>
>>
>>
>


Re: JSPWiki install problem

Posted by Hein <12...@vodafone.nl>.
Hello Harry,

I just tried doing it the way you described but that didn't work, same 
errors :-(

Hein


Harry Metske wrote:
> Hein,
>
> JSPWiki cannot be installed by just dropping a war file in tomcat's webapps
> directory, create a directory there and unzip the war file
>
> This is documented in the README file:
>
>
> *2) After you've installed the engine and checked that it works, you just
>   make a subdirectory under $TOMCAT_HOME/webapps/.
>   For example, if you want your application to be called 'wiki', just create
> a directory
>   called 'wiki', then extract all files from the war file into that
>   directory, preserving the directory structure.
> *
> Regards,
> Harry
>
>
> 2008/12/18 Hein <12...@vodafone.nl>
>
>   
>> Hi,
>>
>> I need some help with the installation of JSPWiki on Tomcat5.5.
>>
>> Tomcat is installed on a Debian (Etch) machine and I have a few home-made
>> Java applications already running on it.
>> Security manager is turned off.
>>
>> When I just drop the war file in the webapps folder, I get the following
>> errors in the log file:
>>
>> Dec 18, 2008 9:59:03 PM org.apache.catalina.core.ApplicationContext log
>> INFO: No jspwiki.propertyfile defined for this context, using default from
>> /WEB-INF/jspwiki.properties
>> Dec 18, 2008 9:59:03 PM org.apache.catalina.core.ApplicationContext log
>> INFO: Loading cascading properties...
>> Dec 18, 2008 9:59:03 PM org.apache.catalina.core.ApplicationContext log
>> INFO:  No cascading properties defined for this context
>> Dec 18, 2008 9:59:05 PM org.apache.catalina.core.ApplicationContext log
>> INFO: JSPWiki: Unable to load and setup properties from jspwiki.properties.
>> Failed to start; please check log files for better information.
>> Dec 18, 2008 9:59:05 PM org.apache.catalina.core.ApplicationContext log
>> INFO: ERROR: Failed to create a Wiki engine: JSPWiki: Unable to load and
>> setup properties from jspwiki.properties. Failed to start; please check log
>> files for better information.
>> Dec 18, 2008 9:59:05 PM org.apache.catalina.core.StandardContext
>> filterStart
>> SEVERE: Exception starting filter WikiJSPFilter
>> com.ecyrd.jspwiki.InternalWikiException: No wiki engine, check logs.
>>   at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:346)
>>   at com.ecyrd.jspwiki.ui.WikiServletFilter.init(WikiServletFilter.java:79)
>>   at com.ecyrd.jspwiki.ui.WikiJSPFilter.init(WikiJSPFilter.java:76)
>>   at
>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)
>>
>> etc, etc.
>>
>> I also tried to deploy it from the Tomcat manager page with a JSPWiki.xml
>> property file file but i'm not sure what I have to put in that file.
>>
>> Why doesn't it just work, what magic is needed here ?  :-(
>>
>> Regards,
>> Hein
>>
>>     
>
>   


Re: JSPWiki install problem

Posted by Harry Metske <ha...@gmail.com>.
Hein,

JSPWiki cannot be installed by just dropping a war file in tomcat's webapps
directory, create a directory there and unzip the war file

This is documented in the README file:


*2) After you've installed the engine and checked that it works, you just
  make a subdirectory under $TOMCAT_HOME/webapps/.
  For example, if you want your application to be called 'wiki', just create
a directory
  called 'wiki', then extract all files from the war file into that
  directory, preserving the directory structure.
*
Regards,
Harry


2008/12/18 Hein <12...@vodafone.nl>

> Hi,
>
> I need some help with the installation of JSPWiki on Tomcat5.5.
>
> Tomcat is installed on a Debian (Etch) machine and I have a few home-made
> Java applications already running on it.
> Security manager is turned off.
>
> When I just drop the war file in the webapps folder, I get the following
> errors in the log file:
>
> Dec 18, 2008 9:59:03 PM org.apache.catalina.core.ApplicationContext log
> INFO: No jspwiki.propertyfile defined for this context, using default from
> /WEB-INF/jspwiki.properties
> Dec 18, 2008 9:59:03 PM org.apache.catalina.core.ApplicationContext log
> INFO: Loading cascading properties...
> Dec 18, 2008 9:59:03 PM org.apache.catalina.core.ApplicationContext log
> INFO:  No cascading properties defined for this context
> Dec 18, 2008 9:59:05 PM org.apache.catalina.core.ApplicationContext log
> INFO: JSPWiki: Unable to load and setup properties from jspwiki.properties.
> Failed to start; please check log files for better information.
> Dec 18, 2008 9:59:05 PM org.apache.catalina.core.ApplicationContext log
> INFO: ERROR: Failed to create a Wiki engine: JSPWiki: Unable to load and
> setup properties from jspwiki.properties. Failed to start; please check log
> files for better information.
> Dec 18, 2008 9:59:05 PM org.apache.catalina.core.StandardContext
> filterStart
> SEVERE: Exception starting filter WikiJSPFilter
> com.ecyrd.jspwiki.InternalWikiException: No wiki engine, check logs.
>   at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:346)
>   at com.ecyrd.jspwiki.ui.WikiServletFilter.init(WikiServletFilter.java:79)
>   at com.ecyrd.jspwiki.ui.WikiJSPFilter.init(WikiJSPFilter.java:76)
>   at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)
>
> etc, etc.
>
> I also tried to deploy it from the Tomcat manager page with a JSPWiki.xml
> property file file but i'm not sure what I have to put in that file.
>
> Why doesn't it just work, what magic is needed here ?  :-(
>
> Regards,
> Hein
>