Thanks rbr. Yes I have the Tomcat setup now and unpackaged the WAR file and found the MySQL connector but its a zip and not a jar and not sure if simply changing the extension to .jar will be enough
It’s not enough to rename it. It should be a zip containing a jar. You need to unzip the zip to get the jar. Then place the jar in the lib folder. If there is no jar make sure that you did not download the source zip
Ah!! Thanks again rbr. learning as I go but your advice is good. I changed the file extension from zip to jar but I noticed the icon did not change and when I copied to the lib directory it was still a compressed file and NOT a JAR executable so deleted it. Then from your guidance I found the jar file within the zip - thanks. I have updated the hibernate.cfg file now too so just to rebuild the WAR file and deploy in Tomcat
You don’t need to/should not rebuild the WAR package. Just copy the extracted package to webapps/xwiki folder. As described in the tomcat installation doc linked to above.
Please read the documents very carefully and follow them closely else you will see problems that are easy to avoid.
Again: Please follow the documentation closely, which tells you to use a folder xwiki. So the error may be caused by the “wrong” folder name.
Also please review the server log which you will find in tomcatfolder/logs/catalina.out . There should be some hints why it failed.
Thanks again rbr. The output in the browser and the Tomcat command window hinted at two things. One was “could not create the connection pool”. So I added all the mappings in the MySQL property tags in the hibernate.cfg file and this got the initialisation to 92%. Then it fails again. There was still different out put in the console and browser but when I looked in the catalina logs as you suggested there was only one which was concerning the JDBC not liking the “GMT time zone”. Searched the web and I added the following to the JDBC URL in the hibernate.cfg
?serverTimezone=GMT
Then it initialised and I was able to set up an admin user and install an Xwiki flavour.