[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
Re: [xwiki-users] Integration of my webapplication with xwiki.
Thanks all for sharing the information. I started working on the xwiki project. I downloaded the war file xwiki-enterprise-web-3.2 and started working on that. I have got some questions/issues while working on this. These are:- 1) Is it possible to get the source code of xwiki java files so that if want have some understanding/or modification as per my requirements i can go ahead? 2) As i said earlier too, i want my customer authentication. So i explored the downloaded war file and found there is a property xwiki.authentication.authclass inside xwiki.cfg file against which file name(com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl) is written. So i can provide my own customer class say MyProjectXWikiAuthentication.java instead of WikiAuthServiceImpl.So my question is in which library it should be packed with and what are interfaces/parent class it should extend how i can find it out? it would be a great help if you some one can brief about each point? On Fri, Dec 2, 2011 at 11:53 PM, mohit gupta motgu...@gmail.com wrote: Thanks Andreas a lot for sharing the information. Let me explain what got from the links you have mentioned above. i typed the URL http://www.teamsched.com/docs or http://www.teamsched.com in address bar. Both link took me to http://www.teamsched.com/docs/info/ which seems to be a xwiki site based on java classes which must be hosted on some webserver(can you name the webserver which you used for this). Now i click the hyperlink getting started given on this site which takes me to another web application i.e http://shept.org/docs/Shept/(which is again some java application hosted on another instance of webserver ). Is that correct? If yes i also need to do same kind of stuff. Thanks. On Fri, Dec 2, 2011 at 11:04 PM, Andreas Hahn ah...@gmx.net wrote: Hi mohit, I think I have done something similar a while ago. Look at http://www.teamsched.com. The explanatory stuff is hosted on an xwiki that is identified by the http://www.teamsched.com/docs part of the url. The real application based on shept.org (spring, hibernate, e.t.c.) (when you press 'Gettings started') http://www.teamsched.com/app It works more or less seamless yet the level of integration of both apps is a little shaky. There are no user accounts handed over from one to the other app. That should be possible but I hesitated to invest the necessary effort to figure it out. If that's what you are looking for I'll try to provide details. good luck Andreas Am 02.12.2011 11:31, schrieb mohit gupta: i have my banking webapplication on tomcat. i want to host my application help on xwiki which will sit on another server(probably xwiki will be having its on app server). Basically what i have to do is i want to provide a link on my banking application on click of which i want to take it to wiki help(help shoud not ask any credentialsat http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**WebHomehttp://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome ) though it should ask for credential if i hit my xwiki URL directly.i am not getting how to start it?i have gone thru xwiki devguide but could not get much out of it. It would be great if somebody can give me heads up how can i can i start it at high level, it would be a great help. As xwiki site states many tools to download like manager,enterprise,platform. which tool one i shoud start with and what should be the starting point in that? i want to give the users to modify the wiki page on the basis of roles in my banking application. So my application and xwiki has to interact a lot. looking for how we can proceed for this. My application is using struts 2. Another question i have is once i dowload xwiki enterprsise, should i host in seperate tomcat or downloaded xwiki application will have its own webserver. Its really urgent for me. Looking for quick reply Thanks in advance Mohit GUpta __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://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
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/ 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
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 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
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 motgu...@gmail.com: 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 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
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.init(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
[xwiki-users] Need Help rgarding customization of xwiki to suit my needs
As i earlier said i have my project web application on one tomcat instance and xwiki application on another tomcat instance. So when i click help link on my project web application it should take me to xwiki webapplication and whatever class i mentioned against xwiki.authentication.authclass should do the custom authentication. So,I downloaded the war file xwiki-enterprise-web-3.2 and started working on that. I have got some questions/issues while working on this. These are:- 1) Is it possible to get the source code of xwiki java files so that if want have detailed some understanding/or modification as per my requirements i can go ahead? After modification i will pack it with existing jar file and deploy it. 2) As i said in the begining i want custom authentication .So my question is what are interfaces/parent class my custome class should extend and with which library(jar file ) it should be packed with .how i can find it out? Is there any api doc like standard java docs something like this? Thanks in advance. ___ 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 motgu...@gmail.com 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.init(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
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 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
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 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 ___ 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 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
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 vinc...@massol.net 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 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 ___ 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