On 6 Jan 2017, at 22:00, Douglas Landau <[email protected]> wrote:
This means that you’ve modified hibernate.cfg.xml but you’re added elements at the wrong place in the XML, not following the DTD at http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd. ... I think that'd the error is here and those mappings need to be commented out too since they’re defined in the mysql section but you made them be out of order and come before properties…
Thanks, Vincent!! I commented out the mappings and am no longer getting the error at line 244. I don't see a specific line number in hibernate.cfg.xml this time. I see this at line 80: (of catalina.err):
Caused by: org.hibernate.HibernateException: Could not create a DBCP pool. There is an error in the Hibernate configuration file, please review it.
...and I see this at line 92: Caused by: java.sql.SQLException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
It looks like I did copy the MySQL-connector jar to tomcat/webapps/xwiki/WEB_INF.
It’s WEB-INF/lib. Could you check that? Thanks -Vincent
I don't know what to make of either msg, and am going back to the archives looking for those. I guess even before those I don't know what to make of this: org.xwiki.query.QueryException: Exception while executing query. Query statement = [ select doc.fullName from XWikiDocument as doc , BaseObject as panel WHERE 1=1 and doc.fullName=panel.name and panel.className='Panels.PanelClass’ ]
[snip]