I had the same error 11007 yesterday. In my case help me this information:

The order is important and as indicated in the error the order is:
<property> first and then <mapping>. 

Martin

###########################################################################
Martin Molhanec M.Sc., Ph.D., Assistant Professor
Czech Technical University in Prague, Faculty of Electrical Engineering, 
Department of e-Technology
Technická 2, 166 27  Prague 6, Czech Republic
###########################################################################

-----Original Message-----
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Sergiu Dumitriu
Sent: Tuesday, February 7, 2017 5:29 AM
To: XWiki Users
Subject: Re: [xwiki-users] Tomcat Error number 11007

On 02/06/2017 09:26 PM, Oliver Angélil wrote:
> The full exception report is pasted below.
> 
> I've followed the tomcat
> <http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomca
> t>
>  and mysql
> <http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL
> >
> installation
> instructions. I can see the tomcat homepage when navigating to h 
> ttp://192.168.1.8:8080/ in my browser, however 
> http://192.168.1.8:8080/xwiki-enterprise-web-8.4.4/bin/view/Main 
> results in the error attached.

The root cause:

> *root cause*
> 
> org.xml.sax.SAXParseException; lineNumber: 237; columnNumber: 21; The 
> content of element type "session-factory" must match 
> "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)".

Indicates that the hibernate.cfg.xml file is malformed, make sure you 
uncommented the mysql configuration properly, and you commented the default 
connection.

--
Sergiu Dumitriu
http://purl.org/net/sergiu/

Reply via email to