Hi Vincent,
thanks for your very quick answer
On 01/21/2016 03:15 PM, vincent(a)massol.net wrote:
Hi Franck,
On 21 Jan 2016 at 15:10:59, Frank Thommen
(f.thommen@dkfz-heidelberg.de(mailto:f.thommen@dkfz-heidelberg.de)) wrote:
Hi,
that's what I get, when browsing to our freshly installed XWiki instance
"HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 11007 in
0: Failed to extract Entity Resource Reference from URL"
[...]
Any pointer to fix this problem is appreciated. Additional information
can be provided if it is required.
If you check the stack trace you’ve pasted you can see the root cause is:
org.xml.sax.SAXParseException; lineNumber: 230; columnNumber: 21; The
content of element type "session-factory" must match
"(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)”.
This means you’ve modified hibernate.cfg.xml but haven’t followed the
defined schema. You’ve probably put xml tags in the wrong order.
You need to check and fix the changes you’ve brought to that file.
In fact I had uncommented the PostgreSQL section in hibernate.cfg.xml
but I had overlooked, that I should also have commented out the
"Configuration for the default database.". This is now done and the
error changed to a PostgreSQL access problem. But that's an other
story. ;-)
Thanks again
Frank