Thanks vincet for replying.i am microsoft sql server.  Yes i got the that
issue.  Below is the new findings

on exploring further i found that table i.e xwikistrings defined in
xwiki.hbm.xml did not get created somehow., though all other tables got
created in my databse. Is it a know bug or i am missing something here?

On Sun, Dec 11, 2011 at 12:16 PM, Vincent Massol <vinc...@massol.net> wrote:

>
> On Dec 10, 2011, at 7:44 PM, mohit gupta wrote:
>
> > i reason i can think of it is in hibernate.cfg.xml i can see entry of
> three
> > hbm files i.e
> >    <mapping resource="xwiki.hbm.xml"/>
> >    <mapping resource="feeds.hbm.xml"/>
> >    <mapping resource="activitystream.hbm.xml"/>
>
> You absolutely need those declarations. Nothing will work if you don't
> have them.
>
> what DB are you using?
>
> Thanks
> -Vincent
>
> > but i dont find them in downloaded war file.If these files does not exist
> > in downloaded war file then why these entries are provided here.Should i
> > remove these entirely or download them from other repository.
> >
> > On Sat, Dec 10, 2011 at 11:43 PM, mohit gupta <motgu...@gmail.com>
> wrote:
> >
> >> hi i  downloaded xwiki war and extracted the same war to my tomcat
> >> directory under webapps folder.Now i am hitting the xwiki url  and was
> >> expecting welcome page or login page  but got below exception
> >> message. Though i have not modified  xwiki.cfg and hibernate.cfg.xml .
> Not
> >> getting what i am missing here.
> >>
> >>
> >> *root cause*
> >>
> >> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
> main XWiki context
> >> Wrapped Exception: Error number 3001 in 3: Cannot load class
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
> param xwiki.store.migration.manager.class
> >> Wrapped Exception: Error number 0 in 3: Exception while hibernate
> execute
> >> Wrapped Exception: Could not create a DBCP pool. There is an error in
> the hibernate configuration file, please review it.
> >>      com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
> >>      com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> >>      com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
> >>      com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
> >>
>  
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> >>
>  org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> >>
>  org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> >>
>  org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> >>      javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> >>      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >>      com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
> >>
>  
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
> >>
>  com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
> >>
>  
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
> >>
>  
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
> >>
> >>
> >>
> >>
> > _______________________________________________
> > 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