[xwiki-users] looking for answers?
hello. i found this on the official website of xwiki ( http://dev.xwiki.org/xwiki/bin/view/Design/DistributedXWikiSearchEngine ) - was this developed? Week 11-12: Implementation of customized search depending on document types, Code documentation and User documentation still in strungle with search thing. if i copy the code from the FAq from the website. it does absolutely nothing. if i use Lucene Search it appears to do the search but it does not show them. does anyone have a clue about these things? and why the don't work? :-| Take care , Gabriela Radu :) www.gabrielaradu.com - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Cannot rollback history
Diego Ruotolo ha scritto: Hi, I've just upgraded the XWiki of my company from version 0.9.840 to version 1.3.2 (latest stable version), using the database copy method to copy data. Everything is OK now, but I cannot rollback any page to a previous version in the history , even if the page is created in the new installation (1.3.2). I've got this error: WARN web.XWikiAction - Uncaught exception: Error number 3004 in 3: Exception while manipulating the archive for file new.jpg Wrapped Exception: Error number 2002 in 2: Error parsing xml Wrapped Exception: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog. com.xpn.xwiki.XWikiException: Error number 3004 in 3: Exception while manipulating the archive for file new.jpg Wrapped Exception: Error number 2002 in 2: Error parsing xml Wrapped Exception: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog. at com.xpn.xwiki.doc.XWikiAttachment.getAttachmentRevision(XWikiAttachment.java:513) at com.xpn.xwiki.XWiki.rollback(XWiki.java:6127) at com.xpn.xwiki.web.RollbackAction.action(RollbackAction.java:59) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:197) 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:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 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.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) 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:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:286) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:595) Wrapped Exception: com.xpn.xwiki.XWikiException: Error number 2002 in 2: Error parsing xml Wrapped Exception: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog. at com.xpn.xwiki.doc.XWikiAttachment.fromXML(XWikiAttachment.java:327) at com.xpn.xwiki.doc.XWikiAttachment.getAttachmentRevision(XWikiAttachment.java:507) at com.xpn.xwiki.XWiki.rollback(XWiki.java:6127) at com.xpn.xwiki.web.RollbackAction.action(RollbackAction.java:59) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:197) 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:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 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.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at
[xwiki-users] email show error
Hello When set up the SMTP server and administrator E-Mail address at the xwiki1.3 version, receive the e-mail of all Chinese to show ??? ? Any suggestion? Thanks a lot! sunjin ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Installation problems
Hello! I wonder if you could help me out a little. I have just reinstalled Xwiki (emptied the tablespace), undeployed the old one and installed xwiki-enterprise-1.3.2 as a standalone war file. I did it by deploying it to the application server. The system runs Oracle Application Server and Oracle Database 10g. I can login (right now I have superadmin enabled), but when I try to create an account, nothing happens. When I check the logs I get: com.xpn.xwiki.XWikiException: Error number 8002 in 8: Cannot create user XWiki.KaninHare Wrapped Exception: Error number 3201 in 3: Exception while saving document XWiki.KaninHare Wrapped Exception: Error number 3212 in 3: Exception while saving property groups of object XWiki.KaninHare Wrapped Exception: dereferenced: baseproper0_.id.id [select prop.name from com.xpn.xwiki.objects.BaseProperty as prop where prop.id.id = :id and prop.id.name= :name] 08/05/05 11:06:41 at com.xpn.xwiki.XWiki.createUser(XWiki.java:3156) 08/05/05 11:06:41 at com.xpn.xwiki.XWiki.createUser(XWiki.java:2919) ... Wrapped Exception: com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.KaninHare Wrapped Exception: Error number 3212 in 3: Exception while saving property groups of object XWiki.KaninHare Wrapped Exception: dereferenced: baseproper0_.id.id [select prop.name from com.xpn.xwiki.objects.BaseProperty as prop where prop.id.id = :id and prop.id.name= :name] 08/05/05 11:06:41 at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:457) 08/05/05 11:06:41 at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97) ... 08/05/05 11:06:41 Wrapped Exception: com.xpn.xwiki.XWikiException: Error number 3212 in 3: Exception while saving property groups of object XWiki.KaninHare Wrapped Exception: dereferenced: baseproper0_.id.id [select prop.name from com.xpn.xwiki.objects.BaseProperty as prop where prop.id.id = :id and prop.id.name= :name] 08/05/05 11:06:41 at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiProperty(XWikiHibernateStore.java:1151) 08/05/05 11:06:41 at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiCollection(XWikiHibernateStore.java:776) ... 08/05/05 11:06:41 Wrapped Exception: org.hibernate.QueryException: dereferenced: baseproper0_.id.id [select prop.name from com.xpn.xwiki.objects.BaseProperty as prop where prop.id.id = :id and pr op.id.name= :name] at org.hibernate.hql.classic.PathExpressionParser.token(PathExpressionParser.java:167) at org.hibernate.hql.classic.WhereParser.doPathExpression(WhereParser.java:347) ... and the list goes on Does anyone knows what is wrong here? I think it is related to any modification. When I try to modify a page I get: Error number 3201 in 3: Exception while saving document Main.WebHome Wrapped Exception: Error number 3212 in 3: Exception while saving property tags of object Main.WebHome Wrapped Exception: dereferenced: baseproper0_.id.id [select prop.name from com.xpn.xwiki.objects.BaseProperty as prop where prop.id.id = :id and prop.id.name= :name] com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document Main.WebHome Wrapped Exception: Error number 3212 in 3: Exception while saving property tags of object Main.WebHome Wrapped Exception: dereferenced: baseproper0_.id.id [select prop.name from com.xpn.xwiki.objects.BaseProperty as prop where prop.id.id = :id and prop.id.name= :name] at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:457) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97) ... Wrapped Exception: com.xpn.xwiki.XWikiException: Error number 3212 in 3: Exception while saving property tags of object Main.WebHome Wrapped Exception: dereferenced: baseproper0_.id.id [select prop.name from com.xpn.xwiki.objects.BaseProperty as prop where prop.id.id = :id and prop.id.name= :name] at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiProperty(XWikiHibernateStore.java:1151) at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiCollection(XWikiHibernateStore.java:776) ... Wrapped Exception: org.hibernate.QueryException: dereferenced: baseproper0_.id.id [select prop.name from com.xpn.xwiki.objects.BaseProperty as prop where prop.id.id = :id and prop.id.name= :name] at org.hibernate.hql.classic.PathExpressionParser.token(PathExpressionParser.java:167) at org.hibernate.hql.classic.WhereParser.doPathExpression(WhereParser.java:347) ... Thanks for any help I get. PS: To get everything working I had to add to hibernate.cfg.xml: property name=hibernate.query.factory_classorg.hibernate.hql.classic.ClassicQueryTranslatorFactory/property Anders Andersson ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] problem in comments.
Hi Shruti Shruti Modi wrote: Hi , I am working on Blogs, I want to add some more links when all the comments for an article is getting displayed. That is the page from where one can add more comments and can view all the previous comments. When I am putting the cursor on comments then it redirects me to some xpage=comments. can anyone help me to know from where the above mentioned page is coming and where I can get the code for it. thanks in advance. Shruti Modi To the best of my knowledge, each blog entry is an instance of the class ArticleClass. As to any other document, you could apply actions to it. xpage=comments is one of this actions. xpage interprets velocity macros stored in ../xwiki/templates. Look for comments.vm there. Hope this helps, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] upload accessories
see this: http://tinyurl.com/56qj4k On Mon, May 5, 2008 at 5:17 PM, 孙进 [EMAIL PROTECTED] wrote: Hello When upload the accessories at the xwiki1.3 version, all Chinese will be deleted in file name. Any suggestion? Thanks a lot! sunjin ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Sincerely, Wang Ning ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [myxwiki]new wiki request
Hi, I wanna own my own xwiki in the internat to share my thought and post blog. My username in myxwiki.org is daning. Thanks. -- Sincerely, Wang Ning ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [myxwiki]new wiki request
Hello, What server name would you like ? daning.myxwiki.org, or something else ? Let me know and I'll create you the wiki. Jerome. Hi, I wanna own my own xwiki in the internat to share my thought and post blog. My username in myxwiki.org is daning. Thanks. -- Sincerely, Wang Ning ___ 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
[xwiki-users] Hashmap vs. Objects (theoretical question about a data model)
Hi All, This question might be related to the thread that has been active in the past couple of days about the data model. We have a similar situation with the only difference being that we want to create lists or collections (like Groups) of certain pre- created Objects. The Object as a whole may/will belong to more than one such collection - which means that if we were to use a Document to link a Collection and its contents, then every document will have a COPY of the same object and this is definitely not desirable for good performance - Right? So, in that case, we have 2 alternatives: 1) Use the techiniques used in XWiki to create Groups: each group has objects of class XWikiGroup with just one field that refers to the Member name. OR 2) Use XWiki.getHashmap() and add the Collection and its members to the hashmap (as the Key and Value resp.) The XWiki API indicates that the option #2 must be used in xwiki when Objects can not be created. My Question is: - Even though I could use option #1 and create objects and add them to the document that would represent the Collection, can I still use option #2 because I think that it will provide better performance. Am I right in my assumption? What should I do? Thanks a lot for all help! ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Install question
I need to install XKiki on an internet hosting account on Linux. I don't know anything of Java... I installed xwiki-enterprise-hsqldb-1.3.2.zip and it worked just fine. As far as I undesrtand, this runs with the database in memory. Can I just change that instalation so that I have the database in the disk? I do not expect to have a big database, but I need to make online backups :) Is there a reason why I should not try that? I have no Java experience and it can be a lot to learn just to make the install... Thanks, Alain ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Install question
Alain M. wrote: I need to install XKiki on an internet hosting account on Linux. I don't know anything of Java... I installed xwiki-enterprise-hsqldb-1.3.2.zip and it worked just fine. As far as I undesrtand, this runs with the database in memory. Can I just change that instalation so that I have the database in the disk? I do not expect to have a big database, but I need to make online backups :) No, the database is stored on disc (see the database directory). It is loaded in memory at all time for better performance, but all changes are flushed to the disk every 30 seconds, if I remember correctly. The provided database system, hsqldb, is pretty good for small wikis, but you can change whenever you want to another DBMS, like the more popular mysql, postgresql or oracle. You need to copy the appropriate connector to the WEB-INF/lib directory (http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.5/mysql-connector-java-5.1.5.jar for mysql) and edit WEB-INF/hibernate.cfg.xml (the file is commented pretty well, so you'll understand what you have to do). You need to export the current wiki (see Administration-Export) while still using the old database, and import it back in the new database. Is there a reason why I should not try that? I have no Java experience and it can be a lot to learn just to make the install... Thanks, Alain -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] looking for answers?
Hi Gabriela, On May 5, 2008, at 8:43 AM, Gabriela Radu wrote: hello. i found this on the official website of xwiki ( http://dev.xwiki.org/xwiki/bin/view/Design/DistributedXWikiSearchEngine ) - was this developed? Week 11-12: Implementation of customized search depending on document types, Code documentation and User documentation Not yet. It's a google summer of code 2008 that will start in a few days/weeks. still in strungle with search thing. if i copy the code from the FAq from the website. it does absolutely nothing. if i use Lucene Search it appears to do the search but it does not show them. does anyone have a clue about these things? and why the don't work? :-| They do work, since it works on xwiki.org and on any XWiki Enterprise that you install. As I told you in some previous email the best is to look at how it's done in the Main.WebSearch page for example. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [ANN] XWiki @ JavaOne
Hi everyone, Just to let you know that XWiki has a booth at JavaOne (actually sharing the OW2 booth). Booth #212. There are 3 XWiki committers present: Ludovic Dubost, Jean-Vincent Drean and Vincent Massol. If you're at JavaOne come and say hello! See you there, -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [myxwiki]new wiki request
daning.myxwiki.org is ok. Thanks. On Mon, May 5, 2008 at 11:22 PM, Jerome Velociter [EMAIL PROTECTED] wrote: Hello, What server name would you like ? daning.myxwiki.org, or something else ? Let me know and I'll create you the wiki. Jerome. Hi, I wanna own my own xwiki in the internat to share my thought and post blog. My username in myxwiki.org is daning. Thanks. -- Sincerely, Wang Ning ___ 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 -- Sincerely, Wang Ning ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users