All,
I have a problem. I logging in, after I'm close the window of my wiki
When I open my site, I follow loggin in. So I clean all the cookies, the
cache, but I always follow loggin in.
Thanks in advance
Hello!
I installed a new instance of xwiki on my local machine. I tried to set up the email notification but it didn't really work. In the XWiki Preferences I set the outgoing smtp server to several smtp servers such as smtp.google.com, smtp.comcast.net, etc. Howver, there seem to be some authentication issues and I get the following error message:
***
Error number 4001 in 4: Error while parsing velocity page Demo.SendMailTestPage Wrapped Exception: Invocation of method 'sendMessage' in class com.xpn.xwiki.XWiki threw exception class com.xpn.xwiki.XWikiException : Error number 10006 in 10: Could not send mail to server smtp.comcast.net port 25 error code 530 (530 Authentication required ) OR
Error number 4001 in 4: Error while parsing velocity page Demo.SendMailTestPage Wrapped Exception: Invocation of method 'sendMessage' in class com.xpn.xwiki.XWiki threw exception class com.xpn.xwiki.XWikiException : Error number 10006 in 10: Could not send mail to server smtp.gmail.com port 25 error code 530 (530 5.7.0 Must issue a STARTTLS command first h14sm757315wxd )
***
I also tried to use my own smtp server (hmailserver) but then I had some relay problems and the following error message:
***
Error number 4001 in 4: Error while parsing velocity page Demo.SendMailTestPage Wrapped Exception: Invocation of method 'sendMessage' in class com.xpn.xwiki.XWiki threw exception class com.xpn.xwiki.XWikiException : Error number 10006 in 10: Could not send mail to server mail.hmailserver.com port 25 error code 550 (550-207-105-15-139.ded.pacbell.net (XWiki version 0.9.840) 207.105.15.139? is 550-currently not permitted to relay through this server. Perhaps you have not 550-logged into the pop/imap server in the last 30 minutes or do not have SMTP 550 Authentication turned on in your email client. )
***
I have right now no idea how to resolve these issues. I would appreciate any help in setting up the smtp server for the email notification.
Cheers,
Jens
Hi,
We got a new load of spam related hammering on xwiki.com. It is more and
more horrible and creates more and more unuseful load on xwiki.com. Spam
robots have included creation of XWiki accounts and use of these
accounts to publish spam data in the wiki pages.
I've had to deactivate statistics since each spam-related request that
cannot be catched by mod_security creates load on the database for these
statistics.
The only way to get statistics back will be to use Javascripts which
triggers a statistics storage request in the database (which would be
ignored by spam robots and search engines), or to wait until we can read
Google Analytics or another external statistics engine and redisplay it
on xwiki.com.
In the future we will propose a tutorial to activate Google Analytics on
your wikis. If you know how to do it you should include this on your
wiki pages to get statistics for your wiki.
I'm getting more and more worried about these spam robots and would
welcome any help and ideas on how to handle this to make xwiki.com a
viable platform for hosted public wikis.
Ludovic
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Hi,
I've been using xwiki for a month now without problems. I use it as an
internal tool with less than 5 users.
Yesterday I have started to have some problems when saving pages. When
I write a add text to an existing page or I write a new page I often
(not always) have the following error:
Error number 3201 in 3: Exception while saving document Projects.xwikiPb
Wrapped Exception: Could not execute JDBC batch update
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
saving document Projects.xwikiPb
Wrapped Exception: Could not execute JDBC batch update
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:540)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77
)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:560)
at com.xpn.xwiki.XWikiService.actionSave(XWikiService.java:445)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:155)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
at java.lang.Thread.run(Unknown Source)
Wrapped Exception:
java.sql.BatchUpdateException: Data truncation: Data too long for column
'XWD_CONTENT' at row 1
at
com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.
java:1103)
at
com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:853
)
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingState
ment.java:294)
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingState
ment.java:294)
at
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:5
7)
at
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:172
)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:226)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:136)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
AbstractFlushingEventListener.java:274)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEv
entListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at
org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:320)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:86
)
at
com.xpn.xwiki.store.XWikiHibernateStore.endTransaction(XWikiHibernateSto
re.java:350)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:535)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77
)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:560)
at com.xpn.xwiki.XWikiService.actionSave(XWikiService.java:445)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:155)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
at java.lang.Thread.run(Unknown Source)
Nonetheless the exception I can edit and view the page. When I edit it,
I have a similar exception but for the XWD_ARCHIVE column
When I delete the page I have another exception saying that the page
does not exist even thought it is still displayed
When I restart Tomcat, the page is really deleted.
I am using:
- Tomcat 5.0 (same problems with Tomcat 5.5)
- MySql 5.0 (I check tables for corruption with mysql administrator and
everything seems fine)
I tried the following to solve my problem without success:
- I already configured xwiki to support large attachments.
- I modified the hibernate.cgf file with the useServerPrepStmts=false
option
- I tried with mysql 5.0 driver
- I checked for resource usage
Thanks for any help.
Frederic Aymard
Hi
I am sure somebody encountered the same problem before. I am working on
long documents, this is why I split them in 3 or 4 parts. Later on, I
assemble them to print them of to view them (includeTopic() is good for
that).
But now I would like to get a diff between a complete version of an old
document and a new one. What would be the simplest way to achieve this
result in your opinion?
I don't know the history api well enough to think of something
definitive. But what if I could list all revision dates of all the parts
documents twice in 2 columns, and then pick the old in the left and the
new date in the right (eg. as radio buttons)? I would see the combined
history computed this way:
- compute rev date for each part document
. If the date matches keep it, otherwise use the next existing
date in the timeline
- generate the "old" document by merging part documents for the
respective dates computed above
- in moreless the same way, generate the new document
- use xwiki $doc.getContentDiff(old, new) to generate the big diff
Alternatively,
- combine the history pages for each one of the part document as an
interface
- modify (reuse) the xwiki code that creates the page above to have the
user choose a revision date for each one of the parts. Then the user
clicks a big button which calls the existing diff mechanism for each
parts and then assemble the diff for the user to see.
Is that doable?
Marc Lijour
Hi
Is there a way to embed groovy code into a velocity macro?
I am trying to do some string manipulation with groovy pattern
matching/replacement. If there is a better way let me know!
Thank you.
Marc Lijour
P
Avez-vous vraiment besoin d'imprimer ce courriel?
Do you really have to print this email?
Hi
I have been using a wiki running on jetty and hsqldb. Now, I would like to move the data (the whole wiki) to a stable repository. I have been thinking of MySQL.
What would be the easiest route to migrate the wiki?
Marc Lijour
Agent d'éducation
Direction des politiques et programmes
d'éducation en langue française
Ministère de l'Éducation
8e étage, édifice Mowat
900, rue Bay
Toronto (Ontario) M7A 1L2
Téléphone : 416 314-3501
Télécopieur : 416 325-2156
P
Avez-vous vraiment besoin d'imprimer ce courriel?
Do you really have to print this email?
<<Lijour, Marc (EDU).vcf>>