Hi,
Not sure what could be causing this, but have you tried to copy the
activitystream.hbm.xml mapping file directly into the WEB-INF/classes
folder to make it more visible?
Thanks,
Eduard
On Thu, Jun 21, 2012 at 4:29 PM, Paul Libbrecht <paul(a)hoplahup.net> wrote:
 Hello XWiki experts,
 in the deployment of our staging environment, we met a strange thing: many
 exceptions such as:
  Failed to send event 
[org.xwiki.bridge.event.DocumentCreatedEvent@72dd82d1] to listener
 [com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl@55b8b91f]
  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 
com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addActivityEvent(ActivityStreamImpl.java:313)
 ~[xwiki-platform-activitystream-3.5.1-SNAPSHOT.jar:na]
          at 
com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addDocumentActivityEvent(ActivityStreamImpl.java:398)
 ~[xwiki-platform-activitystream-3.5.1-SNAPSHOT.j
 > ar:na]
          at 
com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addDocumentActivityEvent(ActivityStreamImpl.java:376)
 ~[xwiki-platform-activitystream-3.5.1-SNAPSHOT.j
 > ar:na]
          at 
com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.onEvent(ActivityStreamImpl.java:886)
 ~[xwiki-platform-activitystream-3.5.1-SNAPSHOT.jar:na]
          at 
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:268)
 [xwiki-commons-observation-local-3.5.jar:na]
          at 
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:233)
 [xwiki-commons-observation-local-3.5.jar:na]
          at
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1403) 
[xwiki-platform-legacy-oldcore-3.5.jar:na]
 What's surprising is that the activitystream jar (3.5.1) is there and its
 hibernate mapping and that no complaint is made about the lack of such.
 Also bizarre is that the same webapp (differences in xwiki.cfg and web.xml
 only) on our development server does not have this issue.
 Is there something I've done wrong?
 Thanks in advance
 Paul
 _______________________________________________
 users mailing list
 users(a)xwiki.org
 
http://lists.xwiki.org/mailman/listinfo/users