Failed to save the page. Reason: Internal Server Error

Appreciate the info on this subject. I just ran into a similar issue. Even after updating the hibernate.cfg.xml file. I still seemed to have the similar error and wasn’t sure how it still was being referenced when trying to save a document.

I ended up finding that the there was another hibernate.cfg.xml file that didn’t have any symlinks associated, it seemed to have the legacy activitystream.hbm.xml reference in it and this is what was causing the issues.

  • /var/lib/ucf/cache/:etc:xwiki:hibernate.cfg.xml

I’ll have to do some more digging as why this file was being referenced over the /etc/xwiki/hibernate.cfg.xml config. I have been using xwiki for a few years now, but never really noticed that the files in the directory (/var/lib/ucf/cache/) were being used before.

I also seemed to have some issues in 11.3 with adding the “eventstream.hbm.xml” to the hibernate.cfg.xml. I validated that the extension was installed in Extension installer. I am also seeing some errors in the logs related to evenstream, and possibly think there could be some other culprits.

If I continue to have issues I will deploy a new box with fresh install and add in the lines of the configs that are necessary to eliminate any other garbage that may have came along.

Appreciate the feedback, as it gave me a place to start looking.

Justin