Hello All, My xWiki is beginning to get a lot of comment spamming; is there a way to force a user to enter some random value displayed in an image, or to send me an e-mail, etc? I would prefer the site to send me an e-mail anytime a new comment is added anywhere; at least this would be a good start. Anyone have any ideas? Bob Mixon Microsoft SharePoint Portal Server MVP <mailto:[email protected]> [email protected] Skype ID: brm1999 http://bobmixon.xwiki.com KM, BPM, Intranet and Portal Technologies The Possibilities are Endless
Hi Bob, We are getting more and more spam on xwiki.com. This is also affecting stability and performance. I've had to block access to certain unused wikis that were open to anonymous users and getting more and more spam. We have installed mod_security but it cannot catch everything Currently, I recommend: - closing down anonymous editing and comment - updated the RegisterNewUser page (if it's open) with the addition Captcha of the most recent default wikis (users are asked to answer the 1+1 question) (check a recently created wiki for the code) - create an anonymous account to allow users to comment anonymously and show the credentials in the comments page (changing the template) I'm doing this on my bliki http://www.ludovic.org and using this method I'm not getting any spam at this point. Concerning comment moderation or more advanced captcha or antispam rules, this is more work and we don't have anybody to work on this at this point. Spam is awfull. I can't tell you how mad I am at the cowards doing this. Ludovic Bob Mixon a écrit :
Hello All,
My xWiki is beginning to get a lot of comment spamming; is there a way to force a user to enter some random value displayed in an image, or to send me an e-mail, etc? I would prefer the site to send me an e-mail anytime a new comment is added anywhere; at least this would be a good start.
Anyone have any ideas?
*Bob Mixon* /Microsoft SharePoint Portal Server MVP/
[email protected] <mailto:[email protected]> Skype ID: brm1999 http://bobmixon.xwiki.com
*/KM, BPM, Intranet and Portal Technologies/* The Possibilities are Endless
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
Ludovic, Unfortunately, I don't remember how to change the xWiki security so my site no longer accepts anonymous comments. Seems like every time I change security, I screw something else up. Can you please remind me the appropriate way of doing this? Bob Mixon Microsoft SharePoint Portal Server MVP [email protected] http://bobmixon.xwiki.com/ Skype ID: brm1999 -----Original Message----- From: Ludovic Dubost [mailto:[email protected]] Sent: Monday, March 20, 2006 1:56 PM To: [email protected] Subject: Re: [xwiki-users] Comment Spam Hi Bob, We are getting more and more spam on xwiki.com. This is also affecting stability and performance. I've had to block access to certain unused wikis that were open to anonymous users and getting more and more spam. We have installed mod_security but it cannot catch everything Currently, I recommend: - closing down anonymous editing and comment - updated the RegisterNewUser page (if it's open) with the addition Captcha of the most recent default wikis (users are asked to answer the 1+1 question) (check a recently created wiki for the code) - create an anonymous account to allow users to comment anonymously and show the credentials in the comments page (changing the template) I'm doing this on my bliki http://www.ludovic.org and using this method I'm not getting any spam at this point. Concerning comment moderation or more advanced captcha or antispam rules, this is more work and we don't have anybody to work on this at this point. Spam is awfull. I can't tell you how mad I am at the cowards doing this. Ludovic Bob Mixon a écrit :
Hello All,
My xWiki is beginning to get a lot of comment spamming; is there a way to force a user to enter some random value displayed in an image, or to send me an e-mail, etc? I would prefer the site to send me an e-mail anytime a new comment is added anywhere; at least this would be a good start.
Anyone have any ideas?
*Bob Mixon* /Microsoft SharePoint Portal Server MVP/
[email protected] <mailto:[email protected]> Skype ID: brm1999 http://bobmixon.xwiki.com
*/KM, BPM, Intranet and Portal Technologies/* The Possibilities are Endless
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected]
mailing list.
To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
A good way to have only logged user editing and commenting is: groups: XWiki.XWikiAllGroup, xwiki:XWiki.XWikiAllGroup users: empty level: edit, comment allow: Allow I did it on the bobmixon wiki Ludovic Bob Mixon a écrit :
Ludovic,
Unfortunately, I don't remember how to change the xWiki security so my site no longer accepts anonymous comments. Seems like every time I change security, I screw something else up.
Can you please remind me the appropriate way of doing this?
Bob Mixon Microsoft SharePoint Portal Server MVP
[email protected] http://bobmixon.xwiki.com/ Skype ID: brm1999
-----Original Message----- From: Ludovic Dubost [mailto:[email protected]] Sent: Monday, March 20, 2006 1:56 PM To: [email protected] Subject: Re: [xwiki-users] Comment Spam
Hi Bob,
We are getting more and more spam on xwiki.com. This is also affecting stability and performance. I've had to block access to certain unused wikis that were open to anonymous users and getting more and more spam. We have installed mod_security but it cannot catch everything
Currently, I recommend:
- closing down anonymous editing and comment - updated the RegisterNewUser page (if it's open) with the addition Captcha of the most recent default wikis (users are asked to answer the 1+1 question) (check a recently created wiki for the code) - create an anonymous account to allow users to comment anonymously and show the credentials in the comments page (changing the template)
I'm doing this on my bliki http://www.ludovic.org and using this method I'm not getting any spam at this point.
Concerning comment moderation or more advanced captcha or antispam rules, this is more work and we don't have anybody to work on this at this point. Spam is awfull. I can't tell you how mad I am at the cowards doing this.
Ludovic
Bob Mixon a écrit :
Hello All,
My xWiki is beginning to get a lot of comment spamming; is there a way to force a user to enter some random value displayed in an image, or to send me an e-mail, etc? I would prefer the site to send me an e-mail anytime a new comment is added anywhere; at least this would be a good start.
Anyone have any ideas?
*Bob Mixon* /Microsoft SharePoint Portal Server MVP/
[email protected] <mailto:[email protected]> Skype ID: brm1999 http://bobmixon.xwiki.com
*/KM, BPM, Intranet and Portal Technologies/* The Possibilities are Endless
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected]
mailing list.
To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
hello, I am trying to get an xwiki installation working on Kubuntu Linux. I get the following problem... javax.servlet.ServletException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences Wrapped Exception: Error number 3221 in 3: Exception while saving class XWiki.XWikiPreferences Wrapped Exception: Error number 3222 in 3: Exception while saving class XWiki.XWikiPreferences Wrapped Exception: Cannot open connection org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127) Any ideas?jmz
The error is not in this log. It's probably in the following lines in your log. There is a good chance it is a database connection problem. Ludovic Josh Zeidner a écrit :
hello,
I am trying to get an xwiki installation working on Kubuntu Linux. I get the following problem...
javax.servlet.ServletException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences Wrapped Exception: Error number 3221 in 3: Exception while saving class XWiki.XWikiPreferences Wrapped Exception: Error number 3222 in 3: Exception while saving class XWiki.XWikiPreferences Wrapped Exception: Cannot open connection
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
Any ideas?jmz
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- 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 Ludovic, Can you tell me anything about this? : Wrapped Exception: java.sql.BatchUpdateException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.io.EOFException STACKTRACE: java.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1842) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2288) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2784) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1531) at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1347) at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:958) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1957) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1880) at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:781) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:57) 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:141) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726) at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty(XWikiHibernateStore.java:1288) at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateStore.java:1165) at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:517) 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:556) at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418) at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405) at com.xpn.xwiki.XWiki.<init>(XWiki.java:343) at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134) at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202) at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doGet(ActionServlet.java:397) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** On Monday 27 March 2006 00:14, Ludovic Dubost wrote:
The error is not in this log. It's probably in the following lines in your log. There is a good chance it is a database connection problem.
Ludovic
Josh Zeidner a écrit :
hello,
I am trying to get an xwiki installation working on Kubuntu Linux. I get the following problem...
javax.servlet.ServletException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences Wrapped Exception: Error number 3221 in 3: Exception while saving class XWiki.XWikiPreferences Wrapped Exception: Error number 3222 in 3: Exception while saving class XWiki.XWikiPreferences Wrapped Exception: Cannot open connection
org.apache.struts.action.RequestProcessor.processException(RequestProcess or.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPro cessor.java:423) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:2 26) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodin gFilter.java:127)
Any ideas?jmz
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Hi, It's probably your MySQL version and/or the mysql driver Ludovic Josh Zeidner a écrit :
Hi Ludovic,
Can you tell me anything about this? :
Wrapped Exception:
java.sql.BatchUpdateException: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.io.EOFException
STACKTRACE:
java.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1842) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2288) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2784) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1531) at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1347) at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:958) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1957) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1880) at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:781) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:57) 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:141) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726) at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty(XWikiHibernateStore.java:1288) at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateStore.java:1165) at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:517) 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:556) at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418) at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405) at com.xpn.xwiki.XWiki.<init>(XWiki.java:343) at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134) at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202) at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doGet(ActionServlet.java:397) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:595)
** END NESTED EXCEPTION **
On Monday 27 March 2006 00:14, Ludovic Dubost wrote:
The error is not in this log. It's probably in the following lines in your log. There is a good chance it is a database connection problem.
Ludovic
Josh Zeidner a écrit :
hello,
I am trying to get an xwiki installation working on Kubuntu Linux. I get the following problem...
javax.servlet.ServletException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences Wrapped Exception: Error number 3221 in 3: Exception while saving class XWiki.XWikiPreferences Wrapped Exception: Error number 3222 in 3: Exception while saving class XWiki.XWikiPreferences Wrapped Exception: Cannot open connection
org.apache.struts.action.RequestProcessor.processException(RequestProcess or.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPro cessor.java:423) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:2 26) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodin gFilter.java:127)
Any ideas?jmz
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
Hello! On 27.03.2006, 02:30 -0700 Josh Zeidner wrote:
Can you tell me anything about this? :
java.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1842)
Could be also a problem with MySQL dying when using server side prepared statements. At least that is what I got with some versions of MySQL 5.0 (it seems to be fixed now with 5.0.19). Switching off server side prepared statements solved this problem for me. -- Michael Reinsch <[email protected]> http://mr.uue.org/ ------------------------------------------------------------------------
Ludovic, I appreciate it but something is not working correctly. When I am not logged into my bobmixon site, not only can I still add comments but I can delete virtually any object. Also, when I am not logged in, I see the 'Edit this page' link and I can get to and change and of the preferences. This is why I have tried to be so careful to not change security. Bob Mixon Microsoft SharePoint Portal Server MVP [email protected] http://bobmixon.xwiki.com/ Skype ID: brm1999 -----Original Message----- From: Ludovic Dubost [mailto:[email protected]] Sent: Sunday, March 26, 2006 10:49 AM To: [email protected] Subject: Re: [xwiki-users] Comment Spam A good way to have only logged user editing and commenting is: groups: XWiki.XWikiAllGroup, xwiki:XWiki.XWikiAllGroup users: empty level: edit, comment allow: Allow I did it on the bobmixon wiki Ludovic Bob Mixon a écrit :
Ludovic,
Unfortunately, I don't remember how to change the xWiki security so my site no longer accepts anonymous comments. Seems like every time I change security, I screw something else up.
Can you please remind me the appropriate way of doing this?
Bob Mixon Microsoft SharePoint Portal Server MVP
[email protected] http://bobmixon.xwiki.com/ Skype ID: brm1999
-----Original Message----- From: Ludovic Dubost [mailto:[email protected]] Sent: Monday, March 20, 2006 1:56 PM To: [email protected] Subject: Re: [xwiki-users] Comment Spam
Hi Bob,
We are getting more and more spam on xwiki.com. This is also affecting stability and performance. I've had to block access to certain unused wikis that were open to anonymous users and getting more and more spam. We have installed mod_security but it cannot catch everything
Currently, I recommend:
- closing down anonymous editing and comment - updated the RegisterNewUser page (if it's open) with the addition Captcha of the most recent default wikis (users are asked to answer the 1+1 question) (check a recently created wiki for the code) - create an anonymous account to allow users to comment anonymously and show the credentials in the comments page (changing the template)
I'm doing this on my bliki http://www.ludovic.org and using this method I'm not getting any spam at this point.
Concerning comment moderation or more advanced captcha or antispam rules, this is more work and we don't have anybody to work on this at this point. Spam is awfull. I can't tell you how mad I am at the cowards doing this.
Ludovic
Bob Mixon a écrit :
Hello All,
My xWiki is beginning to get a lot of comment spamming; is there a way to force a user to enter some random value displayed in an image, or to send me an e-mail, etc? I would prefer the site to send me an e-mail anytime a new comment is added anywhere; at least this would be a good start.
Anyone have any ideas?
*Bob Mixon* /Microsoft SharePoint Portal Server MVP/
[email protected] <mailto:[email protected]> Skype ID: brm1999 http://bobmixon.xwiki.com
*/KM, BPM, Intranet and Portal Technologies/* The Possibilities are Endless
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected]
mailing list.
To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- 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 Bob, Sorry I didn't see it was configured on "deny". It should be better now. This is probably why you did not manage to configure the right properly. "Deny" is very rarely used. Ludovic Bob Mixon a écrit :
Ludovic,
I appreciate it but something is not working correctly. When I am not logged into my bobmixon site, not only can I still add comments but I can delete virtually any object. Also, when I am not logged in, I see the 'Edit this page' link and I can get to and change and of the preferences.
This is why I have tried to be so careful to not change security.
Bob Mixon Microsoft SharePoint Portal Server MVP
[email protected] http://bobmixon.xwiki.com/ Skype ID: brm1999
-----Original Message----- From: Ludovic Dubost [mailto:[email protected]] Sent: Sunday, March 26, 2006 10:49 AM To: [email protected] Subject: Re: [xwiki-users] Comment Spam
A good way to have only logged user editing and commenting is:
groups: XWiki.XWikiAllGroup, xwiki:XWiki.XWikiAllGroup users: empty level: edit, comment allow: Allow
I did it on the bobmixon wiki
Ludovic
Bob Mixon a écrit :
Ludovic,
Unfortunately, I don't remember how to change the xWiki security so my
site
no longer accepts anonymous comments. Seems like every time I change security, I screw something else up.
Can you please remind me the appropriate way of doing this?
Bob Mixon Microsoft SharePoint Portal Server MVP
[email protected] http://bobmixon.xwiki.com/ Skype ID: brm1999
-----Original Message----- From: Ludovic Dubost [mailto:[email protected]] Sent: Monday, March 20, 2006 1:56 PM To: [email protected] Subject: Re: [xwiki-users] Comment Spam
Hi Bob,
We are getting more and more spam on xwiki.com. This is also affecting stability and performance. I've had to block access to certain unused wikis that were open to anonymous users and getting more and more spam. We have installed mod_security but it cannot catch everything
Currently, I recommend:
- closing down anonymous editing and comment - updated the RegisterNewUser page (if it's open) with the addition Captcha of the most recent default wikis (users are asked to answer the 1+1 question) (check a recently created wiki for the code) - create an anonymous account to allow users to comment anonymously and show the credentials in the comments page (changing the template)
I'm doing this on my bliki http://www.ludovic.org and using this method I'm not getting any spam at this point.
Concerning comment moderation or more advanced captcha or antispam rules, this is more work and we don't have anybody to work on this at this point. Spam is awfull. I can't tell you how mad I am at the cowards doing this.
Ludovic
Bob Mixon a écrit :
Hello All,
My xWiki is beginning to get a lot of comment spamming; is there a way to force a user to enter some random value displayed in an image, or to send me an e-mail, etc? I would prefer the site to send me an e-mail anytime a new comment is added anywhere; at least this would be a good start.
Anyone have any ideas?
*Bob Mixon* /Microsoft SharePoint Portal Server MVP/
[email protected] <mailto:[email protected]> Skype ID: brm1999 http://bobmixon.xwiki.com
*/KM, BPM, Intranet and Portal Technologies/* The Possibilities are Endless
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected]
mailing list.
To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected]
mailing list.
To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
Thank you Ludovic; that looks like it worked! Bob Mixon Microsoft SharePoint Portal Server MVP [email protected] http://bobmixon.xwiki.com/ Skype ID: brm1999 -----Original Message----- From: Ludovic Dubost [mailto:[email protected]] Sent: Sunday, March 26, 2006 11:17 PM To: [email protected] Subject: Re: [xwiki-users] Comment Spam Hi Bob, Sorry I didn't see it was configured on "deny". It should be better now. This is probably why you did not manage to configure the right properly. "Deny" is very rarely used. Ludovic Bob Mixon a écrit :
Ludovic,
I appreciate it but something is not working correctly. When I am not logged into my bobmixon site, not only can I still add comments but I can delete virtually any object. Also, when I am not logged in, I see the 'Edit this page' link and I can get to and change and of the preferences.
This is why I have tried to be so careful to not change security.
Bob Mixon Microsoft SharePoint Portal Server MVP
[email protected] http://bobmixon.xwiki.com/ Skype ID: brm1999
-----Original Message----- From: Ludovic Dubost [mailto:[email protected]] Sent: Sunday, March 26, 2006 10:49 AM To: [email protected] Subject: Re: [xwiki-users] Comment Spam
A good way to have only logged user editing and commenting is:
groups: XWiki.XWikiAllGroup, xwiki:XWiki.XWikiAllGroup users: empty level: edit, comment allow: Allow
I did it on the bobmixon wiki
Ludovic
Bob Mixon a écrit :
Ludovic,
Unfortunately, I don't remember how to change the xWiki security so my
site
no longer accepts anonymous comments. Seems like every time I change security, I screw something else up.
Can you please remind me the appropriate way of doing this?
Bob Mixon Microsoft SharePoint Portal Server MVP
[email protected] http://bobmixon.xwiki.com/ Skype ID: brm1999
-----Original Message----- From: Ludovic Dubost [mailto:[email protected]] Sent: Monday, March 20, 2006 1:56 PM To: [email protected] Subject: Re: [xwiki-users] Comment Spam
Hi Bob,
We are getting more and more spam on xwiki.com. This is also affecting stability and performance. I've had to block access to certain unused wikis that were open to anonymous users and getting more and more spam. We have installed mod_security but it cannot catch everything
Currently, I recommend:
- closing down anonymous editing and comment - updated the RegisterNewUser page (if it's open) with the addition Captcha of the most recent default wikis (users are asked to answer the 1+1 question) (check a recently created wiki for the code) - create an anonymous account to allow users to comment anonymously and show the credentials in the comments page (changing the template)
I'm doing this on my bliki http://www.ludovic.org and using this method I'm not getting any spam at this point.
Concerning comment moderation or more advanced captcha or antispam rules, this is more work and we don't have anybody to work on this at this point. Spam is awfull. I can't tell you how mad I am at the cowards doing this.
Ludovic
Bob Mixon a écrit :
Hello All,
My xWiki is beginning to get a lot of comment spamming; is there a way to force a user to enter some random value displayed in an image, or to send me an e-mail, etc? I would prefer the site to send me an e-mail anytime a new comment is added anywhere; at least this would be a good start.
Anyone have any ideas?
*Bob Mixon* /Microsoft SharePoint Portal Server MVP/
[email protected] <mailto:[email protected]> Skype ID: brm1999 http://bobmixon.xwiki.com
*/KM, BPM, Intranet and Portal Technologies/* The Possibilities are Endless
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected]
mailing list.
To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected]
mailing list.
To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
Ludovic, I agree, cowards! The more I go through my site, the more comment spam I find. As soon as you can help me get anonymous comments locked down, I will continue to go through and delete all of the spam. Some of this stuff is really disgusting too. Bob Mixon Microsoft SharePoint Portal Server MVP [email protected] http://bobmixon.xwiki.com/ Skype ID: brm1999 -----Original Message----- From: Ludovic Dubost [mailto:[email protected]] Sent: Sunday, March 26, 2006 10:49 AM To: [email protected] Subject: Re: [xwiki-users] Comment Spam A good way to have only logged user editing and commenting is: groups: XWiki.XWikiAllGroup, xwiki:XWiki.XWikiAllGroup users: empty level: edit, comment allow: Allow I did it on the bobmixon wiki Ludovic Bob Mixon a écrit :
Ludovic,
Unfortunately, I don't remember how to change the xWiki security so my site no longer accepts anonymous comments. Seems like every time I change security, I screw something else up.
Can you please remind me the appropriate way of doing this?
Bob Mixon Microsoft SharePoint Portal Server MVP
[email protected] http://bobmixon.xwiki.com/ Skype ID: brm1999
-----Original Message----- From: Ludovic Dubost [mailto:[email protected]] Sent: Monday, March 20, 2006 1:56 PM To: [email protected] Subject: Re: [xwiki-users] Comment Spam
Hi Bob,
We are getting more and more spam on xwiki.com. This is also affecting stability and performance. I've had to block access to certain unused wikis that were open to anonymous users and getting more and more spam. We have installed mod_security but it cannot catch everything
Currently, I recommend:
- closing down anonymous editing and comment - updated the RegisterNewUser page (if it's open) with the addition Captcha of the most recent default wikis (users are asked to answer the 1+1 question) (check a recently created wiki for the code) - create an anonymous account to allow users to comment anonymously and show the credentials in the comments page (changing the template)
I'm doing this on my bliki http://www.ludovic.org and using this method I'm not getting any spam at this point.
Concerning comment moderation or more advanced captcha or antispam rules, this is more work and we don't have anybody to work on this at this point. Spam is awfull. I can't tell you how mad I am at the cowards doing this.
Ludovic
Bob Mixon a écrit :
Hello All,
My xWiki is beginning to get a lot of comment spamming; is there a way to force a user to enter some random value displayed in an image, or to send me an e-mail, etc? I would prefer the site to send me an e-mail anytime a new comment is added anywhere; at least this would be a good start.
Anyone have any ideas?
*Bob Mixon* /Microsoft SharePoint Portal Server MVP/
[email protected] <mailto:[email protected]> Skype ID: brm1999 http://bobmixon.xwiki.com
*/KM, BPM, Intranet and Portal Technologies/* The Possibilities are Endless
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected]
mailing list.
To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
participants (4)
-
Bob Mixon -
Josh Zeidner -
Ludovic Dubost -
Michael Reinsch