Mohit, this surely appears as a bug. But I would attempt going elsewhere, it has a chance to work.
paul Le 20 mars 2012 à 08:00, mohit gupta a écrit : > Hi Dmitry, > > As per link i uncommented the line *xwiki.superadminpassword=system and > set *xwiki.superadminpassword = mar@2012. > But now i login as superadmin as username and password as mar@2012. It logs > me in with error at top Error number 4001 in 4: Error while parsing > velocity page /templates/menuview.vm Wrapped Exception: Failed to evaluate > content with id [/templates/menuview.vm]. When i click on it it says > XWiki.superadmin does not exist. *here is caused by stack trace* > > > Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 5: User > [XWiki.superadmin] does not exists > at > com.xpn.xwiki.plugin.watchlist.WatchListStore.getWatchListObject(WatchListStore.java:537) > at > com.xpn.xwiki.plugin.watchlist.WatchListStore.getWatchedElements(WatchListStore.java:401) > at > com.xpn.xwiki.plugin.watchlist.WatchListPluginApi.isDocumentWatched(WatchListPluginApi.java:73) > at sun.reflect.GeneratedMethodAccessor339.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) > at > org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) > at > org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) > ... 97 more > > > *What is the usernae of superadmin?* > > On Tue, Mar 20, 2012 at 10:08 AM, Dmitry Bakbardin > <[email protected]>wrote: > >> Hi! >> >> Vincent already gave the answer: "You can also log as superadmin if you >> don't have any admin user set." >> >> Check this for details >> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Security >> >> Kind Regards, >> >> Dmitry >> >> >> Tue, 20 Mar 2012 09:42:54 +0530 от mohit gupta <[email protected]>: >>> *You can log in as an Admin and change the password.* >>> ** >>> I had only one Admin created in database . My question is how will i >> login >>> as admin and change the password, if i have already forgotten the >> password. >>> >>> On Mon, Mar 19, 2012 at 11:32 PM, Vincent Massol <[email protected]> >> wrote: >>> >>>> Hi, >>>> >>>> On Mar 19, 2012, at 7:00 PM, mohit gupta wrote: >>>> >>>>> Hi All, >>>>> >>>>> i for got my 11 digit admin password. Kindly let me know how can i >>>> recover >>>>> it ? >>>> >>>> You can log in as an Admin and change the password. >>>> You can also log as superadmin if you don't have any admin user set. >>>> >>>>> Also want to know is there a way i can direct get from database in >>>>> decrypted form. >>>> >>>> No you cannot. That would be unsafe to be able to do this! >>>> >>>> Thanks >>>> -Vincent >>>> >>>> _______________________________________________ >>>> users mailing list >>>> [email protected] >>>> http://lists.xwiki.org/mailman/listinfo/users >>>> >>> _______________________________________________ >>> users mailing list >>> [email protected] >>> http://lists.xwiki.org/mailman/listinfo/users >>> >> Kind regards, >> >> Dmitry >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users >> > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
