Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
On Dec 11, 2011, at 8:09 AM, mohit gupta wrote: > Hi vincet , i did not remove those mapping lines, these are intact. what > iam saying is i am saying is there is a entry of table i.e xwikistrings > defined in xwiki.hbm.xml and table did not get created somehow., though > all other tables mentioned in hbm file got > created successfully in my database. Any idea why that table is not getting > created .*Is it a know bug or i am missing something here? > * No idea. Again I've never used MS SQL Server and almost nobody I've seen on the lists is using that DB. More common DBs are: MySQL, PostgreSQL, Oracle. Have you tried following the instructions at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMSSQL that I pointed you to in another mail? Thanks -Vincent > On Sun, Dec 11, 2011 at 12:24 PM, Vincent Massol wrote: > >> >> On Dec 11, 2011, at 7:51 AM, mohit gupta wrote: >> >>> 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? >> >> Well if you removed the mapping lines there's no way it'll get created! :) >> >> -Vincent >> >>> On Sun, Dec 11, 2011 at 12:16 PM, Vincent Massol >> 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 > > > 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 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
Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
Hi vincet , i did not remove those mapping lines, these are intact. what iam saying is i am saying is there is a entry of table i.e xwikistrings defined in xwiki.hbm.xml and table did not get created somehow., though all other tables mentioned in hbm file got created successfully in my database. Any idea why that table is not getting created .*Is it a know bug or i am missing something here? * On Sun, Dec 11, 2011 at 12:24 PM, Vincent Massol wrote: > > On Dec 11, 2011, at 7:51 AM, mohit gupta wrote: > > > 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? > > Well if you removed the mapping lines there's no way it'll get created! :) > > -Vincent > > > On Sun, Dec 11, 2011 at 12:16 PM, Vincent Massol > 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 > >>> > >>> > >>> > >> > >> 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 > >> 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 > > ___ > 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
Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
Also I have never tried MQ SQL Server with XWiki. I don't even know if it works. Some community members have succeeded in using it in the past though. I gather you've followed the instructions at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMSSQL ? Thanks -Vincent On Dec 11, 2011, at 7:54 AM, Vincent Massol wrote: > > On Dec 11, 2011, at 7:51 AM, mohit gupta wrote: > >> 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? > > Well if you removed the mapping lines there's no way it'll get created! :) > > -Vincent > >> On Sun, Dec 11, 2011 at 12:16 PM, Vincent Massol 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 >>> >>> 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 >>> 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
Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
On Dec 11, 2011, at 7:51 AM, mohit gupta wrote: > 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? Well if you removed the mapping lines there's no way it'll get created! :) -Vincent > On Sun, Dec 11, 2011 at 12:16 PM, Vincent Massol 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 >>> >>> >>> >> >> 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 >> 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
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 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 > > > > > > > > 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 > 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
Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
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 > > > 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 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
Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
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 10:28 AM, mohit gupta wrote: > Thanks Maxime. I got the issue. I looked it in to detailed log under > tomcat directory and found driver is missing. Resolved the issue but got > new error and looked in to detailel logs too.Here is the stack trace. > Looking for quick help. This xwikistrings is getting reffered from inside > xwiki acion class.Not getting how to get rid of this. Dying to see the > welcome page of xwiki. > > > Wrapped Exception: > com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while > saving document xwiki:XWiki.XWikiPreferences > Wrapped Exception: could not execute query > at > com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:690) > at > com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174) > at > com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:167) > at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1406) > at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1362) > at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1357) > at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:3260) > at com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:842) > at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:817) > at com.xpn.xwiki.XWiki.(XWiki.java:743) > at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:405) > at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) > at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) > at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) > at > org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) > at > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) > at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) > at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) > at > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:396) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > > *Wrapped Exception:* > *com.jnetdir
Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
Thanks Maxime. I got the issue. I looked it in to detailed log under tomcat directory and found driver is missing. Resolved the issue but got new error and looked in to detailel logs too.Here is the stack trace. Looking for quick help. This xwikistrings is getting reffered from inside xwiki acion class.Not getting how to get rid of this. Dying to see the welcome page of xwiki. Wrapped Exception: com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:XWiki.XWikiPreferences Wrapped Exception: could not execute query at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:690) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:167) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1406) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1362) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1357) at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:3260) at com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:842) at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:817) at com.xpn.xwiki.XWiki.(XWiki.java:743) at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:405) at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:396) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) *Wrapped Exception:* *com.jnetdirect.jsql.JSQLException: Invalid object name 'xwikistrings'. at com.jnetdirect.jsql.JSQLException.makeFromDatabaseError(JSQLException.java:85) at com.jnetdirect.jsql.IOBuffer.processPackets(IOBuffer.java:547) at com.jnetdirect.jsql.JSQLConnection.prePrepare(JSQLConnection.java:2620) at com.jnetdirect.jsql.JSQLConnection.getPreparedStatementHandle(JSQLConnection.java:2553) at com.jnetdirect.jsql.JSQLPreparedStatement.executeQuery(JSQLPreparedStatement.ja
Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
Generally, this kind of error comes from a syntax error in the xml file. Hope this helps. Maxime 2011/12/10 mohit gupta : > even if i commen out these 3 entries iam getting same error. not sure how > to get rid of this. > > On Sat, Dec 10, 2011 at 11:43 PM, mohit gupta 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
Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
even if i commen out these 3 entries iam getting same error. not sure how to get rid of this. On Sat, Dec 10, 2011 at 11:43 PM, mohit gupta 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
Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
i reason i can think of it is in hibernate.cfg.xml i can see entry of three hbm files i.e 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 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
[xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
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