“So I guess you mean you followed Installing XWiki .war package manually (XWiki.org), right ?”
Yes, correct.
“I can’t tell you the exact location as I never used Tomcat on Windows, but according to the suggestion you should look at the logs folder where you installed Tomcat.”
Under C:\Program Files\Tomcat\logs I can see a lot of log files. Which one do I need?
Also it might be an alternative solution if you could explain how to properly upgrade my xwiki installation because right now I’m not sure I do it the right way. Every time I download the latest war package, backup everything just in case then overwrite the old folders with the newly downloaded war package’s content. Well, it’s very over simplfied but that’s how I do it. Is there another way to do it from within xwiki maybe? Is there an update option somewhere in xwiki?
Here’s how I upgrade xwiki exactly:
- Backup from within xwiki: http://xwikiwindows/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Export (use export with history option)
- Stop tomcat service
- Backup “C:\Program Files\Tomcat\webapps\xwiki” folder rename it to xwiki_old
- Backup permanentDirectory “C:/ProgramData/xwiki” folder
- Download latest war package: Download XWiki (XWiki.org)
- Extrack war package
- Create a new empty xwiki folder under C:\Program Files\Tomcat\webapps. It must be an empty folder, because you can’t just overwrite the existing installation, it would cause a mess
- Copy the content of the downloaded war package into “C:\Program Files\Tomcat\webapps\xwiki” folder
- Copy back the following files from the old “C:\Program Files\Tomcat\webapps\xwiki” folder you have backed up in step 2
• WEB-INF/hibernate.cfg.xml (Hibernate configuration)
• WEB-INF/xwiki.cfg (old XWiki configuration file but still used)
• WEB-INF/xwiki.properties (new XWiki Configuration file)
• WEB-INF/classes/logback.xml (Logging configuration)
• WEB-INF/observation/* (Cluster configuration)
- Start tomcat service