Thanks for the report, the issue has been fixed:
http://jira.xwiki.org/jira/browse/XE-485
It will be shipped with 2.0RC1, in the meantime you can edit
WEB-INF/hibernate.cfg.xml and add the following line after the other
resources inclusions (xwiki and feeds.hbm.xml):
<mapping resource="activitystream.hbm.xml"/>

Thanks,
JV.

On Fri, Aug 28, 2009 at 1:00 AM, Andreas Schaefer<schaef...@me.com> wrote:
> I downloaded the Generic Installer, installed it and when showing the XWiki 
> Dashboard I get an exception from the menuview.vm caused by the DB upgrade. 
> This is what I see first in the console:
>
> 009-08-27 15:47:21,258 [http://localhost:8080/xwiki/bin/view/Main/] 
> [http://localhost:8080/xwiki/bin/view/Main/?null] INFO  
> .AbstractXWikiMigrationManager  - New storage version is now [15429]
> org.hibernate.MappingException: Unknown entity: 
> com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl
>        at 
> org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:550)
>        at 
> org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1338)
>        at 
> org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:98)
>        at 
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
>        at 
> org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
>        at 
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
>        at 
> org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
>        at 
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
>
> Cheers
>
> Andreas Schaefer
> CEO of Madplanet.com Inc.
> EMail: andreas.schae...@madplanet.com
>           schaef...@me.com
> Twitter: andy_mpc
> AIM:     schaef...@me.com
>
>
> On Wednesday, August 26, 2009, at 06:29PM, "Dilipkumar Jadhav" 
> <jadhav.dilipku...@gmail.com> wrote:
>>Hello everyone,
>>
>>Tried setting up XWiki 2 ML4 as a fresh installation on a test machine.
>>
>>The installation went fine. However, importing the .xar file for XWiki 2 ML
>>4 throws the following error:
>>
>>
>>
>>Wrapped Exception:
>>
>>
>>
>>org.apache.velocity.exception.MethodInvocationException: Invocation of
>>method 'save' in  class com.xpn.xwiki.api.Document threw exception
>>com.xpn.xwiki.XWikiException: Error number 9001 in 9: Access denied in edit
>>mode on document XWiki.XWikiPreferences at /templates/admin.vm[line 58,
>>column 26]
>>
>>        at
>>org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(
>>ASTMethod.java:337)
>>
>>.
>>
>>
>>
>>When I tried again, it takes me to the XWiki preferences page but the page
>>says it is locked in edit mode by XWiki.Guest. Clicking force edit throws
>>the above mentioned error again.
>>
>>Is anyone else too facing the same issue. Did I miss out on anything
>>critical during setup.
>>
>>The machine is the same where a test version of XWiki 2 ML 3 works just
>>fine.
>>
>>_______________________________________________
>>users mailing list
>>users@xwiki.org
>>http://lists.xwiki.org/mailman/listinfo/users
>>
>>
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to