Hi Matthias,
Did you comment out or removed by mistake the following line from your
hibernate.cfg.xml?
<mapping resource="activitystream.hbm.xml"/>
Hope this helps,
Marius
On Tue, Dec 3, 2013 at 12:54 AM, Matthias Albert <matthias.albert(a)gmx.de> wrote:
After trying to import the standard XWiki-5.2.1 pages,
I could not
import all the default pages. The resulting error message counted ca.
10-20% of all pages as erroneous.
I could manage to import a small number aof pages (2-3).
I am using a MySQL database configuration.
In the Tomcat error log, the first and often repeated exception are
copied after these lines.
Does anyone have a hint?
Could it be a configuration problem?
Thankyou in advance
Matthias
Exception Stack trace:
2013-12-02 23:28:32,960
[
http://MYDOMAIN/bin/ssx/AnnotationCode/Settings;jsessionid=FC9DB25D57503F92…]
ERROR .o.i.DefaultObservationManager - Failed to send event
[org.xwiki.bridge.event.DocumentCreatedEvent@26d801a4] to listener
[com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl@106caf8]
org.hibernate.MappingException: Unknown entity:
com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl
at
org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:693)
~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1485)
~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:120)
~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210)
~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:56)
~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195)
~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50)
~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:713)
~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:701)
~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:697)
~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addActivityEvent(ActivityStreamImpl.java:303)
~[xwiki-platform-activitystream-api-5.2.1.jar:na]
at
com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addDocumentActivityEvent(ActivityStreamImpl.java:389)
~[xwiki-platform-activitystream-api-5.2.1.jar:na]
at
com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addDocumentActivityEvent(ActivityStreamImpl.java:366)
~[xwiki-platform-activitystream-api-5.2.1.jar:na]
at
com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.onEvent(ActivityStreamImpl.java:915)
~[xwiki-platform-activitystream-api-5.2.1.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:299)
[xwiki-commons-observation-local-5.2.1.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:264)
[xwiki-commons-observation-local-5.2.1.jar:na]
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1480)
[xwiki-platform-legacy-oldcore-5.2.1.jar:na]
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1405)
[xwiki-platform-legacy-oldcore-5.2.1.jar:na]
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1400)
[xwiki-platform-legacy-oldcore-5.2.1.jar:na]
at com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:888)
[xwiki-platform-legacy-oldcore-5.2.1.jar:na]
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
[xwiki-platform-legacy-oldcore-5.2.1.jar:na]
at com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
[xwiki-platform-legacy-oldcore-5.2.1.jar:na]
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
[xwiki-platform-legacy-oldcore-5.2.1.jar:na]
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
[xwiki-platform-legacy-oldcore-5.2.1.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
[xwiki-platform-legacy-oldcore-5.2.1.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
[xwiki-platform-legacy-oldcore-5.2.1.jar:na]
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
[struts-1.2.9.jar:1.2.9]
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
[struts-1.2.9.jar:1.2.9]
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
[struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
[struts-1.2.9.jar:1.2.9]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
[servlet-api.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
[servlet-api.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
[catalina.jar:7.0.29]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.29]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121)
[xwiki-platform-legacy-oldcore-5.2.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.29]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.29]
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
[xwiki-platform-wysiwyg-server-5.2.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.29]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.29]
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
[xwiki-platform-webdav-server-5.2.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.29]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.29]
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
[xwiki-platform-container-servlet-5.2.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.29]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.29]
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
[xwiki-platform-container-servlet-5.2.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.29]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.29]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
[catalina.jar:7.0.29]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
[catalina.jar:7.0.29]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
[catalina.jar:7.0.29]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
[catalina.jar:7.0.29]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
[catalina.jar:7.0.29]
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
[catalina.jar:7.0.29]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
[catalina.jar:7.0.29]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
[catalina.jar:7.0.29]
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)
[tomcat-coyote.jar:7.0.29]
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
[tomcat-coyote.jar:7.0.29]
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
[tomcat-coyote.jar:7.0.29]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[na:1.7.0_06]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[na:1.7.0_06]
at java.lang.Thread.run(Thread.java:722) [na:1.7.0_06]
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users