Hi,
I'm using platform version 1.5.2, and when I navigate to a page that
uses the wysiwyg editor in the Safari browser, I get a popup that says:
Editing tools in this location are not supported by the Safari browser.
Please use the Firefox browser to take advantage of these features.
The tinymce site says that it's compatible with Safari. Is this a
version problem? If so, can someone give me a procedure for using a
new version of tinymce? Is it simply downloading and replacing the
tiny_mce directory?
Dan
I want to make additional tinymce editor features available; e.g.
embedded media. Is this a tinymce version issue, or is some supporting
xwiki code required to make it work?
Dan
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.7. This is the final 1.7 version.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Changes from 1.6:
-------------------------
- New XWiki Syntax 2.0 (xwiki/2.0)
- New WYSIWYG 2.0 (Alpha version)
- New script macro (xwiki/2.0)
- New Box macro (xwiki/2.0)
- Multiwiki (a.k.a farm mode or virtual mode) is now available using
special URLs for wikis (and not only subdomains). Note that this
option is available from xwiki.cfg and not enabled by default.
- Webdav support : XWiki now expose a webdav server interface. This
means you can now access/edit/delete page sources and attachments from
any webdav client.
- Groovy upgrade : The groovy engine has been upgraded to the last
1.6 beta version. You can now use all the new features of groovy as
well as speed improvements and bugfixes from groovy 1.0 to 1.6 beta 2.
- New Attachment view in the Index : you can now see all the
attachments of the wiki in the wiki index, under the "Attachment" tab.
- Reorganized, documented and enhanced xwiki.cfg configuration file.
- Added a ROOT webapp to the standalone distribution.
Important bug fixes:
--------------------------
- Saving a blank wiki page throws exception in Oracle
- Registration is still possible when right to register for
Unregistered user is explicit set to deny
- Documents with name with spaces or other special chars can't
properly save added image in WYSIWYG editor
- Support of dots in ldap login has introduce a security hole
- SMTP server address is not re-read when it's changed in global preferences
- Watchlist update sent by email does not contain the full path to a
changed attachment
- Wrong user name is inserted in group during LDAP membership synchronisation
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17
Thanks
-The XWiki dev team
Whenever I try to save this page
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/save/Patterns/TryOnceRe…
I get the following error.
It happens in inline as well as edit modes, and only on this page.
Error number 3201 in 3: Exception while saving document
Patterns.TryOnceRefineOnce
Wrapped Exception: Row was updated or deleted by another transaction
(or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.StringProperty#
]
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
saving document Patterns.TryOnceRefineOnce
Wrapped Exception: Row was updated or deleted by another transaction
(or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.StringProperty#
]
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1270)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
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.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
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:619)
Wrapped Exception:
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.StringProperty#
]
at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412)
at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:866)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:837)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:580)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1270)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
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.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
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:619)
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
I have a problem when trying to export a pdf.
And i didn't find a solution in :
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration
Here is my error message:
Error number 11015 in 11: Exception while exporting Wrapped Exception:
Error number 12002 in 12: Exception while exporting PDF Wrapped
Exception: /usr/share/tomcat5.5/.fop/fop-fonts.cache (No such file or
directory) com.xpn.xwiki.XWikiException: Error number 11015 in 11:
Exception while exporting Wrapped Exception: Error number 12002 in 12:
Exception while exporting PDF Wrapped Exception:
/usr/share/tomcat5.5/.fop/fop-fonts.cache (No such file or directory) at
com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) 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:689) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619) Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 12002 in 12: Exception while
exporting PDF Wrapped Exception:
/usr/share/tomcat5.5/.fop/fop-fonts.cache (No such file or directory) at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java:222)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:165)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:229)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:260)
at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:198)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:61) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) 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:689) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619) Wrapped Exception:
java.io.FileNotFoundException: /usr/share/tomcat5.5/.fop/fop-fonts.cache
(No such file or directory) at
org.apache.fop.util.LogUtil.handleException(LogUtil.java:53) at
org.apache.fop.fonts.FontCache.saveTo(FontCache.java:182) at
org.apache.fop.fonts.FontCache.save(FontCache.java:158) at
org.apache.fop.render.PrintRendererConfigurator.configure(PrintRendererConfigurator.java:100)
at
org.apache.fop.render.pdf.PDFRendererConfigurator.configure(PDFRendererConfigurator.java:71)
at
org.apache.fop.render.RendererFactory.createRenderer(RendererFactory.java:187)
at org.apache.fop.area.RenderPagesModel.(RenderPagesModel.java:68) at
org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:127)
at org.apache.fop.area.AreaTreeHandler.(AreaTreeHandler.java:102) at
org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:224)
at org.apache.fop.fo.FOTreeBuilder.(FOTreeBuilder.java:100) at
org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:100) at
org.apache.fop.apps.Fop.(Fop.java:78) at
org.apache.fop.apps.FopFactory.newFop(FopFactory.java:247) at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java:178)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:165)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:229)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:260)
at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:198)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:61) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) 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:689) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619) ---------
java.io.FileNotFoundException: /usr/share/tomcat5.5/.fop/fop-fonts.cache
(No such file or directory) at java.io.FileOutputStream.open(Native
Method) at java.io.FileOutputStream.(FileOutputStream.java:179) at
java.io.FileOutputStream.(FileOutputStream.java:131) at
org.apache.fop.fonts.FontCache.saveTo(FontCache.java:173) at
org.apache.fop.fonts.FontCache.save(FontCache.java:158) at
org.apache.fop.render.PrintRendererConfigurator.configure(PrintRendererConfigurator.java:100)
at
org.apache.fop.render.pdf.PDFRendererConfigurator.configure(PDFRendererConfigurator.java:71)
at
org.apache.fop.render.RendererFactory.createRenderer(RendererFactory.java:187)
at org.apache.fop.area.RenderPagesModel.(RenderPagesModel.java:68) at
org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:127)
at org.apache.fop.area.AreaTreeHandler.(AreaTreeHandler.java:102) at
org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:224)
at org.apache.fop.fo.FOTreeBuilder.(FOTreeBuilder.java:100) at
org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:100) at
org.apache.fop.apps.Fop.(Fop.java:78) at
org.apache.fop.apps.FopFactory.newFop(FopFactory.java:247) at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java:178)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:165)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:229)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:260)
at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:198)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:61) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) 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:689) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
Well i have already created a FAQ about this point.
My problem is :
I wan to let users modify their profile (first name, last name, company,
description) but not to give them right to modify the other pages of the
wiki.
Thank for your help
Antoine
Hi,
have had anyone got the AttachmentStore from Michael Zach (TNXLabs)
(details here:
http://n2.nabble.com/AttachmentStore---my-filesystem-based-implementation-t…)
installed and running?
I have followed the instructions til:
Then after restarting xwiki everything still works as usual until you
insert an object of class called "HibernatePlusFileAttachmentStore" into
the global/space preferences of your xwiki.
I don't find that class if I'm on Space:Webpreferences in editing-mode
"objects"
What i have to do?
I need to save large files in XWiki and like to do that at the file
system...
Thanks...
Joe
According to the installation/upgrade guide, "You may want to upgrade to
a newer version of the Default Wiki XAR in order to benefit from the
latest changes. As mentioned above in the "Installing the Default Wiki
XAR" section you should be very careful and when doing the import make
sure you selectively decide what pages you wish to import."
Is there any particularly good recommended way of doing this
efficiently? I'm just musing here, but it seems as though the wiki
(potentially) has the entire revision control history of these default
pages. Given that, it should be able to compare the initial default
state, the current state (possibly user-edited or not), and the state of
the new default state for each file within the XAR, and use this
information to perform a three-way merge. I could imagine that merge on
import would be beneficial in other applications if doing crazy
applications involving branching/cloning wikis on a wiki farm or
something like that.
I personally don't need any pretty xwiki app to do this, if I can
accomplish it in my shell, it'd be fine. And barring comments, I'll try
to work this up on my own. Still if such an app could be devised, I
should think it'd make the upgrade process friendlier to the more casual
administrator. The major problem I'd foresee is either finding a
platform independent merge tool, or forcing the user to point to their
own merge tool and command line syntax (similar to Subversion's
configuration).
Again, I may be over thinking this, but any thoughts on the matter would
be appreciated.
Paul Grodt
Software Engineer
Tecore Networks
Hi,
I have been using xwiki on my hosting service for a few weeks now but i am
getting permgen errors (My memory allocation is 64Mb Max permgen, 128Mb Max
Heap). Quite a few of the problems seem to be happening when web bots are
trolling the site.
Essentially i just want to display the information on the page without the
show/print bar at the top and the comment/attachment/history/info tabs at th
bottom so that these links arent visible at all to the web bots, as some
arent reading robots.txt.
Would it be best you just make a new skin? and show the bar using a velicity
template? or is there a way in the permissions or config to block the
show/print bar & comment/attachment/history/info for guests?
regards,
rob.
xwiki.robmunro.net
Hi,
I am using XE 1.6.1 and 1.7 RC1 with Firefox 3.0.4 and IE6. Noticed that the
Font Family and Font Size is not working in the WYSIWYG editor. After I
highlighted the texts and changed the font family or size, it didn't
actually do anything. Only when I clicked on the preview button, (the secone
before it showed preview) the screen refresh and font changed, then it
jumped to the Preview screen which shows the changed Font Family and Size.
Am I missing something or is it a bug please?
Thanks
--
View this message in context: http://n2.nabble.com/Font-Family-and-Size-not-showing-in-WYSIWYG-editor-tp1…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
We have setup the new translation tool on a production server and we are
now looking for volunteers to give it a test drive and start updating
the translations of the XWiki Core.
The new tool is at
http://l10n.xwiki.org
You will need to create an account on this wiki (the xwiki.org does not
yet work, but we plan to connect it to xwiki.org using the new Open ID
implementation done in the Summer of Code).
The first thing that we can start with is working on the empty
translations. For example here are the pages to modify the empty
translations for a few languages
German:
http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?action=viewempty…
French:
http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?action=viewempty…
Spanish: German:
http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?action=viewempty…
Polish: German:
http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?action=viewempty…
You can view the full list at
German: http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources
and click on "View Empty" next to your favorite language.
Currently there is no locking mecanism, so I hope we won't have
conflicts will working on this. The good thing is that of course
everything is kept in wiki style so with versioning.
Let us know who can test drive the application. Make sure you are
putting in real translations since we want to use the result for real !
Once we start getting some updates I'll document the review process so
that we can also start doing that. For reviews we will 'elect' reviewers
that will have the right to review. If you are volunteer for review,
please tell us by responding to this email.
Thanks
Ludovic
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
I've upgraded from Xwiki enterprise 1.3.2 to xwiki enterprise 1.6.1 on Linux
Centos distro using kernel 2.6.18-53.1.21.el5.
The upgrade has been performed as described in the documenation. In
principle removing the old xwiki dir and copying the contents of the new
1.6.1.WAR i9 in /opt/xwiki and making changes to the xwiki.cfg file. I
couldn't copy the old xwiki.cfg from the installed 1.3.2 because the
contents has changed between 1.3.2 and 1.6.1. The hibernate.cfg.xml however
hasn't changed between 1.3.2 and 1.6.1.
In the old 1.3.1 situation by default statistics were disabled but I've
enabled them. In 1.6.1 they are however enabled by default. When I go to
pages like : "All time activity", "most viewed pages", "least active member"
I get the message:
"The statistics module is disabled by default for improved performances. For
more details, see statistics home page."
I've checked the xwiki.cfg file and it shows the following:
# Stats configuration allows to globally activate/deactivate stats module
(launch storage thread, register events...)
xwiki.stats=1
# When statistics are globally enabled, storage can be enabled/disabled by
wiki using the XWikiPreference property "statistics".
# Note: Statistics are disabled by default for improved performances/space.
xwiki.stats.default=0
# It is also possible to choose a different stats service to record
statistics separately from XWiki.
xwiki.stats.class=com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl
When I change xwiki.stats.default=0 into and stop start xWiki I get a large
message like:
Charting exception: Error number 0 in 5: Invalid value for the parameter
domain_axis_upper_date: name:value ";"-separated list expected Wrapped
Exception: Invalid value for the parameter domain_axis_upper_date:
name:value ";"-separated list expected com.xpn.xwiki.XWikiException: Error
number 0 in 5: Invalid value for the parameter domain_axis_upper_date:
name:value ";"-separated list expected Wrapped Exception: Invalid value for
the parameter domain_axis_upper_date: name:value ";"-separated list expected
at
As far as I can tell/see stats should be working. Any help is very much
appreciated.
Jan
--
View this message in context: http://n2.nabble.com/Upgraded-from-1.3.2-to-1.6.1----statistics-stopped-wor…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Is it possible to get all users that are currently logged on to my wiki?
Logged on could also mean having a non-expired session.
I would like to add a panel showing current users.
Thanks,
Henk
--
==
Henk F. Schouten, ICT-architect, Dienst ICT
room: SL 2.32, phone (31) 70 4457611, email: H.F.Schouten(a)hhs.nl
De Haagse Hogeschool, Johanna Westerdijkplein 75, 2521 EN the Hague (NL)
I'm seeing some very strange behaviour on my project wiki.
Links that I create occasionally convert to rubbish, and viewing or
restoring historical versions often fails.
For example, in
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/viewrev/Patterns/TryOnc…
I had some links, such as:
(Bergin, [2000>
http://www.bibsonomy.org/bibtex/2964218adcc854e7688ef4ac788a54a1a])
[Grade it again Sam>
http://csis.pace.edu/%7Ebergin/PedPat1.3.html#gradeitagainsam]
My colleague edited the page, but not this section, and after saving it we
got:
(Bergin,
?>../../edit/Patterns/2000&?parent=Patterns.TryOnceRefineOnce&editor=wysiwyg"
href="/xwiki/bin/edit/Patterns/2000%26%3C%2Fspan?parent=Patterns.TryOnceRefineOnce&editor=wysiwyg">
?)
?>../../edit///csis.pace.edu/~bergin/PedPat1.3/html?parent=Patterns.TryOnceRefineOnce"
href="/xwiki/bin/edit/pace/edu%2F%26?parent=Patterns.TryOnceRefineOnce&editor=wysiwyg">
?
etc.
where those links were.
I tried to restore a previous version, and got:
-------------------
Error number 3201 in 3: Exception while saving document
Patterns.TryOnceRefineOnce
Wrapped Exception: Row was updated or deleted by another transaction
(or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.StringProperty#
]
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
saving document Patterns.TryOnceRefineOnce
Wrapped Exception: Row was updated or deleted by another transaction
(or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.StringProperty#
]
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1270)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1232)
at com.xpn.xwiki.XWiki.rollback(XWiki.java:6403)
at com.xpn.xwiki.web.RollbackAction.action(RollbackAction.java:59)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
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:619)
Wrapped Exception:
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.StringProperty#
]
at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412)
at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:866)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:837)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:580)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1270)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1232)
at com.xpn.xwiki.XWiki.rollback(XWiki.java:6403)
at com.xpn.xwiki.web.RollbackAction.action(RollbackAction.java:59)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
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:619)
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
hello,
I'm trying to install xwiki version 1.7rc1 on the postgres 8.3 using
jdbc - postgresql-8.3-603.jdbc3.jar.
After configuration hibernate have problem with database:
2008-12-03 17:00:54,551
[http://xxx.com/xwiki-enterprise-web-1.7-rc-1/bin/view/Main/] [qtp0-6]
INFO .AbstractXWikiMigrationManager - New storage version is now [7351]
2008-12-03 17:00:58,749 [Lucene index rebuilder thread] [Lucene Index
Rebuilder] WARN util.JDBCExceptionReporter - SQL Error: 0,
SQLState: 42883
2008-12-03 17:00:58,750 [Lucene index rebuilder thread] [Lucene Index
Rebuilder] ERROR util.JDBCExceptionReporter - ERROR: operator does
not exist: boolean <> integer
2008-12-03 17:00:58,768 [Lucene index rebuilder thread] [Lucene Index
Rebuilder] WARN lucene.IndexRebuilder - Error getting
document names for wiki [xwiki]. Internal error is: $s
2008-12-03 17:00:59,153
[http://xxx.com/xwiki-enterprise-web-1.7-rc-1/bin/view/Main/] [qtp0-6]
WARN util.JDBCExceptionReporter - SQL Error: 0, SQLState: 42883
2008-12-03 17:00:59,159
[http://xxx.com/xwiki-enterprise-web-1.7-rc-1/bin/view/Main/] [qtp0-6]
ERROR util.JDBCExceptionReporter - ERROR: operator does not exist:
boolean <> integer
2008-12-03 17:00:59,169
[http://xxx.com/xwiki-enterprise-web-1.7-rc-1/bin/view/Main/] [qtp0-6]
ERROR scheduler.SchedulerPlugin - Failed to initialize the scheduler
com.xpn.xwiki.plugin.scheduler.SchedulerPluginException: Error number
90009 in 5: com.xpn.xwiki.plugin.scheduler.SchedulerPlugin: Failed to
restore existing scheduler jobs
Wrapped Exception: Error number 3223 in 3: Exception while searching
documents with SQL [select distinct doc.space, doc.name from
XWikiDocument as doc , BaseObject as obj where (doc.hidden <> 1 or doc.hid
den is null) and doc.web='Scheduler' and obj.name=doc.fullName and
obj.className='XWiki.SchedulerJobClass']
Wrapped Exception: could not execute query
at
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.restoreExistingJobs(SchedulerPlugin.java:282)
at
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.init(SchedulerPlugin.java:130)
at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:155)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:92)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:120)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1007)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:728)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:656)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:316)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:693)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1121)
at com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1112)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1112)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1112)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1112)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
at
org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
at
org.mortbay.jetty.ajp.Ajp13Connection.access$2800(Ajp13Connection.java:44)
at
org.mortbay.jetty.ajp.Ajp13Connection$RequestHandler.headerComplete(Ajp13Connection.java:232)
at org.mortbay.jetty.ajp.Ajp13Parser.parseNext(Ajp13Parser.java:498)
at
org.mortbay.jetty.ajp.Ajp13Parser.parseAvailable(Ajp13Parser.java:151)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:235)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
...
Wrapped Exception:
org.postgresql.util.PSQLException: ERROR: operator does not exist:
boolean <> integer
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1592)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1327)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:192)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:451)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:350)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:254)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at
org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1787)
at org.hibernate.loader.Loader.doQuery(Loader.java:674)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
at org.hibernate.loader.Loader.doList(Loader.java:2213)
at
org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
at org.hibernate.loader.Loader.list(Loader.java:2099)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
at
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
at
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNamesInternal(XWikiHibernateStore.java:2262)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNames(XWikiHibernateStore.java:2235)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNames(XWikiHibernateStore.java:2708)
at
com.xpn.xwiki.store.XWikiCacheStore.searchDocumentsNames(XWikiCacheStore.java:251)
at
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.restoreExistingJobs(SchedulerPlugin.java:263)
at
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.init(SchedulerPlugin.java:130)
at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:155)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:92)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:120)
Anybody know how to solve this problem?
Thx for help and Greetings,
Bart
--
Bartłomiej Radziszewski
mobile: +48 509 561 540
e-mail: br(a)debian.linux.pl
JID: br(a)debian.linux.pl
ICQ: #305569725
Hello,
I was wondering if anyone has gotten GroovyWS to work with Xwiki on a windows platform?
Issue:
I need to access an external webservice to meet a client requirement. While it would be possible for me to write a plug-in to do this, I'm not really a java programmer so it's likely to be more hackish than necessary. Also, given how easy it is to do a web service with GroovyWS, the (power user) client would likely be able to update or add functionality should their external webservice change.
Problem:
I'm testing using the terraservice example given on the GroovyWS website http://groovy.codehaus.org/GroovyWS , It works for me in the Groovy console, and I've added the same jar file to the WEB-INF/lib directory. However, when I run it through Xwiki, I get the following error:
Dec 3, 2008 2:58:31 PM org.apache.cxf.endpoint.dynamic.DynamicClientFactory outputDebug
INFO: Created classes: com.terraserver_usa.terraserver.AreaBoundingBox, [...] com.terraserver_usa.terraserver.UtmPt
java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in path at index 0: \
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:256)
[...]
It looks to me like I don't have a variable set that I need somewhere. After looking at the following blog entry (http://blogs.sun.com/geertjan/entry/groovy_web_services_and_org) I think I have everything that I need set in CLASSPATH, JAVA_HOME, and GROOVY_HOME. Is there someplace special I need to set these special for Xwiki to be able to find everything, or am I possibly looking in the totally wrong place?
Confused,
Doug
Hi all,
I have downloaded the Xwiki enterprise generic jar and installed it in a
machine which has ubuntu as the operating system. It has installed
successfully, but when I try to run the application, it can't start the
thread server which runs on port 8080.
The exceptions is as follows.
org.mortbay.util.MultiException[java.net.BindException: Address already in
use]
at org.mortbay.http.HttpServer.doStart(HttpServer.java:731)
at org.mortbay.util.Container.start(Container.java:72)
at org.mortbay.jetty.Server.main(Server.java:460)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.mortbay.start.Main.invokeMain(Main.java:151)
at org.mortbay.start.Main.start(Main.java:476)
at org.mortbay.start.Main.main(Main.java:94)
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at
java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:336)
at java.net.ServerSocket.bind(ServerSocket.java:336)
at java.net.ServerSocket.<init>(ServerSocket.java:202)
at
org.mortbay.util.ThreadedServer.newServerSocket(ThreadedServer.java:391)
at org.mortbay.util.ThreadedServer.open(ThreadedServer.java:477)
at org.mortbay.util.ThreadedServer.start(ThreadedServer.java:503)
at org.mortbay.http.SocketListener.start(SocketListener.java:203)
at org.mortbay.http.HttpServer.doStart(HttpServer.java:761)
at org.mortbay.util.Container.start(Container.java:72)
at org.mortbay.jetty.Server.main(Server.java:460)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.mortbay.start.Main.invokeMain(Main.java:151)
at org.mortbay.start.Main.start(Main.java:476)
at org.mortbay.start.Main.main(Main.java:94)
How can I solve this problem??
Hello.
I send you this mail in order to ask for the possibility to create a new
wiki in the Community XWiki farm.
User name in MyWiki : Slyware (Sylvestre JORGENSEN)
Desired Server name : slyware.myxwiki.org
Description : Testing the XWiki framework with the following example :
Attendance management for the staff of non-profit-making organization.
Thank you for your community's work.
Best regards.
Sylvestre JORGENSEN
Hi Thomas,
I am on Xwiki Enterprise 1.6.1
regards,
rob.
-----------Original message ---------------------------------
Message: 1
Date: Mon, 1 Dec 2008 16:20:31 +0100
From: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
Subject:
To: "XWiki Users" <users(a)xwiki.org>
Message-ID:
<a8e97d9c0812010720x228a83b9rb23acfe224598916(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Hi,
Which version of XWiki Core/XE are you using ?
On Mon, Dec 1, 2008 at 4:01 PM, Robert Munro <rrmunro(a)gmail.com> wrote:
> Hi ,
> I am getting some quirky behaviour with the LDAP based login for the first
> time, it only seems to work after 3 tries for new users, and also only if
I
> have lowercase the first two times then uppercase the third time (in our
> LDAP, the usernames are uppercase P and a unique number). I have attached
> the log output, just wondering if anyone can tell me whats happening. on
the
> logon screen I get:-
> 1st try: No message - just returns to the login page - lowercase p
> 2nd try: "Wrong password" - lowercase p
> 3rd try: Works OK. - uppercase P
>
> If it try it with uppercase P all the time then the user record created is
> somehow messed up and i can login with it.
>
> here is the log output:
Hi ,
I am getting some quirky behaviour with the LDAP based login for the first
time, it only seems to work after 3 tries for new users, and also only if I
have lowercase the first two times then uppercase the third time (in our
LDAP, the usernames are uppercase P and a unique number). I have attached
the log output, just wondering if anyone can tell me whats happening. on the
logon screen I get:-
1st try: No message - just returns to the login page - lowercase p
2nd try: "Wrong password" - lowercase p
3rd try: Works OK. - uppercase P
If it try it with uppercase P all the time then the user record created is
somehow messed up and i can login with it.
here is the log output:
----------------------------Log output
---------------------------------------------------------------------------------
14:41:29,871 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:29,886 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:29,886 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: null
14:41:29,902 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:29,902 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
for the user in LDAP: user:p50000351 base:O=MyCompanyGroup
query:(cn=p50000351) uid:cn
14:41:29,918 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:29,918 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Creating new
XWiki user based on LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:29,918 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:30,042 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - New XWiki
user created: null
14:41:30,587 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:30,603 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:30,618 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - LDAP Search
failed
LDAPException: No Such Object (32) No Such Object
LDAPException: Server Message: 0000208D: NameErr: DSID-031521D2, problem
2001 (NO_OBJECT), data 0, best match of:
'O=MyCompanyGroup'
LDAPException: Matched DN: O=MyCompanyGroup
at com.novell.ldap.LDAPResponse.getResultException(Unknown Source)
at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source)
at com.novell.ldap.LDAPSearchResults.next(Unknown Source)
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.searchLDAP(XWikiLDAPConnection.java:303)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:454)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:379)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:129)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3566)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:170)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Local LDAP
authentication failed.
java.lang.NullPointerException
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.updateUserFromLDAP(XWikiLDAPAuthServiceImpl.java:728)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:474)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:379)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:129)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3566)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:170)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Trying
authentication against XWiki DB
14:41:39,512 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:39,527 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:39,527 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - LDAP Search
failed
LDAPException: No Such Object (32) No Such Object
LDAPException: Server Message: 0000208D: NameErr: DSID-031521D2, problem
2001 (NO_OBJECT), data 0, best match of:
'O=MyCompanyGroup'
LDAPException: Matched DN: O=MyCompanyGroup
at com.novell.ldap.LDAPResponse.getResultException(Unknown Source)
at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source)
at com.novell.ldap.LDAPSearchResults.next(Unknown Source)
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.searchLDAP(XWikiLDAPConnection.java:303)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:454)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:379)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3566)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Local LDAP
authentication failed.
java.lang.NullPointerException
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.updateUserFromLDAP(XWikiLDAPAuthServiceImpl.java:728)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:474)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:379)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3566)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
14:41:39,574 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Trying
authentication against XWiki DB
14:41:49,573 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:49,589 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:49,589 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: null
14:41:49,589 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:49,589 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
for the user in LDAP: user:P50000351 base:O=MyCompanyGroup
query:(cn=P50000351) uid:cn
14:41:49,620 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:49,620 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:49,620 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:49,822 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:49,838 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:49,853 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: null
14:41:49,853 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:49,853 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
for the user in LDAP: user:P50000351 base:O=MyCompanyGroup
query:(cn=P50000351) uid:cn
14:41:49,869 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:49,869 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:49,869 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:50,056 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:50,071 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:50,087 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: null
14:41:50,087 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:50,087 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
for the user in LDAP: user:P50000351 base:O=MyCompanyGroup
query:(cn=P50000351) uid:cn
14:41:50,103 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:50,103 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:50,103 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:50,772 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:50,788 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:50,803 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: null
14:41:50,803 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:50,803 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
for the user in LDAP: user:P50000351 base:O=MyCompanyGroup
query:(cn=P50000351) uid:cn
14:41:50,819 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:50,819 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:50,819 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
----------------------------End Log output
---------------------------------------------------------------------------------
Hi,
How want to configure the home page to be another space, I want it to be
Capita.WebHome (our companys space) instead of Main.WebHome? and also i want
to configure this page to show after logout. is this possible?
Regards,
Rob.
I am running xwiki XE on windows 2003 on mysql 5.0.
Until this weekend, we had been on 1.1.2, so I thought it was time to
upgrade. I upgraded a version at a time (don't know if this was required,
but I saw some versions had DB updates). Everything went fine through 1.4.
When I deployed the 1.5 war, I noticed that the admin app was not there and
needed to be imported. I was able to upload the xar file, but when I clicked
on it to import it, I get the message "No documents found in the selected
archive" I also tried this with the default xar and had the same issue.Thinking
this was an software issue, I upgraded to 1.6.1 and had the same problem. At
this point I created a 2nd database in MySQL and tried that. Still no luck.
I can't import the admin or default xar files.Any ideas?
I would like to have a new wiki set up on the XWiki community farm. The
purpose of this site will be to test out XWiki as a platform for storage and
serving of business forms.
I am registered on xwiki.org as jimslaughter. My proposed server name is
DocsTestSite, however I am OK with another name if that is unavailable.
This is more of a proof of concept site at this time.
Thank you.
--
Jim Slaughter
Hi
I have made a skin for my xwiki installation but it doesnt show up when no
user is logged in. Is there a different space or persmiison for guest users
- i have set the View permission for my XWikiGuest group on the skin, but it
still doesnt show up.
regards
rob munro.
I've upgraded from Xwiki enterprise 1.3.2 to xwiki enterprise 1.6.1 on Linux
Centos distro using kernel 2.6.18-53.1.21.el5.
The upgrade has been performed as described in the documenation. In
principle removing the old xwiki dir and copying the contents of the new
1.6.1.WAR i9 in /opt/xwiki and making changes to the xwiki.cfg file. I
couldn't copy the old xwiki.cfg from the installed 1.3.2 because the
contents has changed between 1.3.2 and 1.6.1. The hibernate.cfg.xml however
hasn't changed between 1.3.2 and 1.6.1. Hence I could copy the old
hibernate.cfg.xml file to the WEB-INF dir of 1.6.1.
After the upgrade everything seemed OK. The content was still there as were
the created users and spaces. As version nummer 1.6.1 instead of 1.3.2 was
shown in the footer of each page. As of version 1.5 there is a new
Aministration application which afaik is bundled with xwiki enterprise. The
url is <url>/xwiki/bin/admin/XWiki/XWikiPreferences. When I try to access
this page on my upgraded system I get the message "The administration
application is not installed. Since XWiki Enterprise 1.5 the Administration
is distributed as an application. You can download it from
http://code.xwiki.org/xwiki/bin/view/Applications/AdministrationApplication.".
I've double checked it on my windows system with Stable:
xwiki-enterprise-installer-windows-1.6.1.exe. When entering the url I get
the new Administration tool. At this moment I can't admin my xwiki system.
PS. I did the upgrade at least twice. The first install was performing the
upgrade manually, the second time I used a shell script to make sure I
didn't make mistakes. In both cases I got the same results.
Unless I interpret things the wrong way something is wrong with my upgraded
system. Any help is very much appreciated.
Jan
--
View this message in context: http://n2.nabble.com/upgrade-from-1.3.2-to-1.6.1----new-administrations-too…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have a few pages in my wiki, that "insist" on denying view rights from
registered users.
These pages are generated by form, using a template, following the todo app
example.
they should be created with view for all. edit rights are set by calling:
#setEditors($obj)
############ permissions ################################################
######## allowEdit #####################################################
## set rights to allow creator and contributors to edit
#macro(allowEdit $users)
#if($xwiki.checkAccess($doc.getFullName(),"edit"))
<!-- allowEdit (desObj) $doc $users -->
#set ($rights = $doc.getObject("XWiki.XWikiRights", true))
#set ($result = $rights.set("levels", "edit"))
#set ($result = $rights.set("users", $users))
#set ($result = $rights.set("allow", 1))
$doc.save()
#end
#end
########## setEditors ##################################################
## set owner, contributors, and edit rights
#########################################################################
#macro(setEditors $obj)
#set ($ownr = $obj.Owner)
#if ((!$ownr || $ownr == "" ) && !$doc.getURL.endWith("ClassSheet"))
#set ($needRefresh = true)
#set ($ownr = $doc.getCreator())
#if (!$ownr || $ownr == "")
#set ($ownr = $context.user)
#end
$doc.set("Owner",$ownr,$obj)
#end
#set ($contributors = $obj.Contributors)
##if ($context.user == $ownr)
#set($editors = $contributors+","+$ownr)
<!-- Editors: $editors -->
#allowEdit($editors)
##end
#end
## setEditors ##################################################
For some reason this doesn't always work.
Furthermore, for some pages (but not all), view rights are denied. I try to
set them right, and they revert to their problem state.
For example, in
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/VisualNar…
I set view on for all, but when I leave the page and come back, that right
has disappeared.
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
Hi All,
[Nabble told me my last post didn't get sent, so reposting, apologize if it
caused a duplication]
There are few tabs for comments/attachment etc in the new layout for XE 1.6
which is great. However, can I suggest we do not show the details by default
until users click? (which like version 1.5).
The reason is that currently every page made an authentication call. When we
are using LDAP for authentication this may take 1-2 seconds. Since the
comment field is opened by default, it's another 2 seconds delay for until
the page is completely loaded. Reducing this 2 seconds means 40-50% faster
per page which is very significance.
Many Thanks
Art.
--
View this message in context: http://n2.nabble.com/Comment-field-in-XE-1.6-for-page-display-tp1328527p132…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
Does XWiki has any password policies ?. I could see that it accepts the
password even if it is a single character. Or is there any configuration
need to be provided for this ? Please help. I am using XE1.6
Regards
Syam
--
View this message in context: http://n2.nabble.com/Password-Policies-tp1459548p1459548.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
I am facing a problem with user registration. An user registers by putting
all the required fields and he gets a page saying that 'Registration is
successfull'. A validation email is also been send to him. If he tries to
login without activation, XWiki logs him in and gives a message 'Your
account is not yet active, because your email has not yet been confirmed.'.
He goes back to his mail box, copies the activation link and paste it on the
same window. But the page remains the same and doesn't allow the user to
activate his account. He need to open a new browser or logout to activate
his account and login to XWiki. This looks like a bug. Any comments on this
? I am using XE 1.6.
Regards
Syam
--
View this message in context: http://n2.nabble.com/Issue-on-Registration-tp1449020p1449020.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am out of the office until 12/01/2008.
On holiday! :-)
I won't have my computer with me. If you need help with the IMCS Wiki,
please contact Micah Lau or Shawn Park. Thank you!
Note: This is an automated response to your message "users Digest, Vol 16,
Issue 64" sent on 11/27/08 6:00:04.
This is the only notification you will receive while this person is away.
Dear XWiki Users,
I have a little patch for the "docextra.vm" template which I would like
to submit to the issue tracker, but I am not sure where to post it.
The file to patch is in the SVN repository at
http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk
Which category / project in jira does this part belong to?
Is this still "XWiki Core" aka XWIKI or is it one of the skins,
e.g. "XWiki Toucan Skin" aka XSTOUCAN ?
Cheers,
Clemens
Dear all,
I would like to release XEclipse soon. During the last days I've fixed
many of the outstanding bugs thanks also to the effective collaboration
of Eduard Moraru who provided a lot of patches and I think that now
XEclipse is pretty stable, usable and functional.
This release incorporates a lot of features that have been implemented
during the last months. In particular a better integration with the
Eclipse ecosystem, object editor, translation management, page history,
syntax highlighting and completion (thanks to the work done by Malaka
during the last GSoC and Venkatesh) and many other improvements.
There are still many things to do but I think that it's a priority to
have a new version out asap in order to have more feedbacks from users
and to build upon it.
Due to some previous engagements I think I will be able to release it on
Friday or during the weekend.
WDYT?
-Fabio
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.7 RC 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the first release candidate for the 1.7 version.
Changes from 1.7M3:
* Link feature implemented in the new WYSIWYG editor (link to wiki
page, web page, email).
* Work in progress on the new experimental WYSIWYG editor.
* Work in progress on the new XWiki Syntax v2.0
* Reorganized, documented and enhanced xwiki.cfg configuration file
Important bug fixes:
* XWIKI-2873 : Wrong user name is inserted in group during LDAP
membership synchronisation
Note that general goals for XWiki Enterprise 1.7 are:
* Working and usable (i.e. users can use them for their day to day
work instead of the old Syntax and old WYSIWYG editor) versions of new
rendering and new WYSIWYG editor.
* Working JCR (can be used for day to day work instead of Hibernate).
* Blog revamping
* Webdav integration
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17RC1
Thanks
-The XWiki dev team
Hi xwiki-users,
I have a question (or more of a request) regarding the upcoming Pygments
support in XWiki 1.7. We currently use XWiki at work to keep an internal
documentation wiki for our application. We've created a few plugins which
we've used in the following fashion perfectly (XWiki 1.0 syntax):
{code:sql}
DECLARE myDate DATETIME
SELECT myDate = '$xwiki.dateParser.parseDate( "-1b", "yyyyMMdd" )' -- this
gives us the previous business date in yyyyMMdd format
...
{code}
Vincent kindly gave me a heads up regarding XWiki 1.7's Pygments support
(seems to be supported by running it under Jython - VERY exciting :-D). So,
I was wondering... Would something like the above be supported (i.e.
verbatim code, but allow velocity macros to be run inside the code block)?
If not, are there any documentation out there (other than the source code)
detailing steps to create an XWiki macro (found
http://dev.xwiki.org/xwiki/bin/view/Drafts/Tutorial+to+Write+a+Macro+in+the…
does help a bit if viewed in the code viewer), so that maybe we can
build in support for something like that? Again, thanks for the great work!
Hi,
We (University of Nancy 1, France) are leading a study about enterprise wiki
software. 4 softwares have been selected, and one of them is XWIKI of course
in the XWIKI WORKSPACES version. Our goal is to open the wiki to every
students, teachers, work group, etc ... After some tests, we have some
questions :
The version is XWS 1.1.1, not in virtual mode, with LDAP Authentication.
* Is it impossible to access to the function "WATCH THIS PAGE" in
Workspaces as found in the toolbar of the Enterprise version ?
o How can i add the toolbar (or the functions of the toolbar) of
the Enterprise version which give the
+ "WATCH THIS PAGE" function
+ and EXPORT AS ... as a normal user
o May i modify the template ?
* There is not tags in Workspaces, is there a way to activate them as in
Enterpise version ?
o Whereas i have "xwiki.tags=1" in xwiki.cfg ...
* Comments in blog or wiki are not visible through the RSS
notifications, it is possible ?
* I didn't have found tools for importing another wiki. It is possible
for example from Confluence (i know, you know ... :-) ) :
o
http://confluence.atlassian.com/display/CONFEXT/Universal+Wiki+Converter
o Possible with XWIKI ?
* I18N seem's to be : one language for all spaces
o When as admin user, i select from administration Global
Preferences
+ MULTI LINGUAL=YES
+ Languages = fr,en
+ Default Language = fr
o All spaces fall into EN language ...
o Can we have 2 workspaces in two differents languages ?
Thanks,
Stephane.
--
View this message in context: http://n2.nabble.com/General-questions-about-XWIKI-WORKSPACES-tp1581324p158…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Greetings-
I am need to upgrade an installation of XWiki from 1.2.2 to the latest (currently 1.6.1) and I am trying to put together an attack plan. Should I attempt an upgrade all the way to 1.6.1 in one fell swoop or should I upgrade to 1.3.2 -> 1.4.1 ...etc. Do I need to upgrade the XAR for every release or just once?
I am using hsqldb as my database, but after getting everything upgraded correctly, I will be moving the database to MySQL.
I have searched the archives but I haven't found anything more recent and also dealing with wide range of upgrading I need to do.
Regards
_________________________________________________________________
Get more done, have more fun, and stay more connected with Windows Mobile®.
http://clk.atdmt.com/MRT/go/119642556/direct/01/
I tried changing newdoc.getAttachments() to
newdoc.newDocument(context).getAttachmentList().
I've stripped down the class to remove dependance on getting values
out of the context; i.e I've provided string literals for sender, cc,
etc. I've also changed the rule to DocChangeRule(this), and removed
the test for the change coming from a space's Blog so that any
document save event would trigger email.
Still no joy.
The only clue in the log is when calling the notify method from a
velocity script:
[WARNING] Cannot retrieve method notify from object of class
BlogMailNotificationGroovyClass due to security restrictions.
Dan
Here's the revised class:
/* Groovy Class #* */
import com.xpn.xwiki.api.XWiki;
import com.xpn.xwiki.XWikiContext;
import com.xpn.xwiki.notify.XWikiDocChangeNotificationInterface;
import com.xpn.xwiki.notify.DocObjectChangedRule;
import com.xpn.xwiki.notify.XWikiNotificationRule;
import com.xpn.xwiki.doc.XWikiDocument;
public class BlogMailNotificationGroovyClass implements \
XWikiDocChangeNotificationInterface
{
def xwiki;
def rule;
def name;
public void initClasses(XWikiContext context)
{
this.xwiki = context.getWiki();
// listen to notifications
this.rule = DocChangeRule(this);
context.getWiki().getNotificationManager().addGeneralRule(rule);
}
public void notify(XWikiNotificationRule rule, XWikiDocument
newdoc, \
XWikiDocument olddoc, int event, XWikiContext
context)
{
def ms = xwiki.getPlugin("mailsender");
def nb = ms.sendHtmlMessage("XWiki.Admin", \
"dsvoboda(a)structbio.pitt.edu", \
"dsvoboda(a)structbio.pitt.edu", \
"dsvoboda(a)structbio.pitt.edu", \
"subject", \
newdoc.getRenderedContent(), \
newdoc.getContent(), \
newdoc.newDocument(context).getAttachmentList());
}
}
/* *# */
> Ok, I have another idea. Did you try sending the mail without
> attachments ?
>
> This because what you pass the plugin API are XWikiAttachments
> (http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xw…
> ),
> while it expects "com.xpn.xwiki.api.Attachment" (see the plugin API
> here
> http://code.xwiki.org/xwiki/bin/view/Plugins/MailSenderPlugin).
> If you want to have the proper wrapped attachments to pass the plugin,
> you should use "newdoc.newDocument(context).getAttachmentList()"
>
> Hope this helps,
> Jerome.
>
> Daniel Svoboda wrote:
>> Thanks for the replies.
>>
>> I had already found that bug. If I take the conditional completely
>> out
>> of the class, it still doesn't send an email.
>>
>> Dan
>>
>>> It is probably due to the following :
>>>
>>> "if(newdoc.getSpace().substring(lastFour) == "Blog") {"
>>>
>>> in Java, if you have the following :
>>>
>>> String st1 = "Blog";
>>> String st2 = new String("Blog");
>>>
>>> then st1 == st2 will always return false, as the objects are not the
>>> same. What you want is to compare their values, using
>>> st1.equals(st2),
>>> which will return true.
>>> You can read here to find out more
>>> http://www.unix.com.ua/orelly/java/langref/ch04_09.htm (especially
>>> this
>>> sentence : "Because the == operator determines if two objects are
>>> the
>>> same object, it is not appropriate for comparisons that need to
>>> determine if two objects have the same contents. For example, if you
>>> need to know whether two String objects contain the same sequences
>>> of
>>> characters, the == operator is inappropriate. You should use the
>>> equals() method")
>>>
>>> Anyway, their is even simpler for you. What you want to do is
>>> check if
>>> the space name finishes by "Blog". For this the appropriate method
>>> is
>>> String#endsWith
>>> (http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#endsWith(java…
>>> )
>>> )
>>> As in :
>>>
>>> "if(newdoc.getSpace().endsWith("Blog")) {"
>>>
>>> Hope this helps and fixes your issue,
>>>
>>> Regards,
>>> Jerome
>>>
>>> Daniel Svoboda wrote:
>>>> Yes. The problem is that no mail gets sent, which is the purpose of
>>>> the notification. I reread my initial post, and now I understand
>>>> your
>>>> confusion. I didn't explicitly state that the class wasn't working.
>>>>
>>>> I'm using XWiki Enterprise manager 1.3 with platform version 1.5.2.
>>>>
>>>> Dan
>>>>
>>>>
>>>>> Do you actually encounter a problem, besides the error in the
>>>>> logs ?
>>>>> I believe those logs are generated when you call
>>>>> getRenderedContent on
>>>>> your blog article, so I maintain they have nothing to do with your
>>>>> notification class.
>>>>> Which version of XWiki Enterprise are you using ?
>>>>>
>>>>> Jerome.
>>>>>
>>>>> Dan Svoboda wrote:
>>>>>> Hi,
>>>>>>
>>>>>> See below
>>>>>>
>>>>>> Dan Svoboda wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I'm trying to use the notification system to trigger the
>>>>>>>> sending of
>>>>>>>> email whenever a comment is added to a blog article. I'm
>>>>>>>> patterning my
>>>>>>>> groovy class after the pircbot example on the xwiki snippets
>>>>>>>> site.
>>>>>>>>
>>>>>>>> My system is xwiki workspaces as a virtual xwiki under xem. The
>>>>>>>> platform version is 1.5.2.
>>>>>>>>
>>>>>>>> Here's my groovy class
>>>>>>>> (XWSNotify.BlogMailNotificationGroovyClass):
>>>>>>>>
>>>>>>>> /* Groovy Class #* */
>>>>>>>>
>>>>>>>> import com.xpn.xwiki.api.XWiki;
>>>>>>>> import com.xpn.xwiki.XWikiContext;
>>>>>>>> import
>>>>>>>> com.xpn.xwiki.notify.XWikiDocChangeNotificationInterface;
>>>>>>>> import com.xpn.xwiki.notify.DocObjectChangedRule;
>>>>>>>> import com.xpn.xwiki.notify.XWikiNotificationRule;
>>>>>>>> import com.xpn.xwiki.doc.XWikiDocument;
>>>>>>>>
>>>>>>>> public class BlogMailNotificationGroovyClass implements \
>>>>>>>>
>>>>>>>> XWikiDocChangeNotificationInterface
>>>>>>>>
>>>>>>>> {
>>>>>>>> def xwiki;
>>>>>>>> def rule;
>>>>>>>> def name;
>>>>>>>>
>>>>>>>> public void initClasses(XWikiContext context)
>>>>>>>> {
>>>>>>>> this.xwiki = context.getWiki();
>>>>>>>> // listen to notifications
>>>>>>>> this.rule = DocObjectChangedRule(this);
>>>>>>>>
>>>>>>>> context
>>>>>>>> .getWiki().getNotificationManager().addGeneralRule(rule);
>>>>>>>> }
>>>>>>>>
>>>>>>>> public void notify(XWikiNotificationRule rule, XWikiDocument
>>>>>>>> newdoc, \
>>>>>>>> XWikiDocument olddoc, int event,
>>>>>>>> XWikiContext
>>>>>>>> context)
>>>>>>>> {
>>>>>>>> def length = newdoc.getSpace().length();
>>>>>>>> def lastFour = length - 4;
>>>>>>>> if(newdoc.getSpace().substring(lastFour) == "Blog") {
>>>>>>>>
>>>>>>>> def ms = xwiki.getPlugin("mailsender");
>>>>>>>> def nb = ms.sendHtmlMessage(context.getUser(),
>>>>>>>> "myAddress(a)myHost.org <mailto:myAddress@myHost.org>
>>>>>>>> ", \
>>>>>>>> context.get("ccrecipients"),
>>>>>>>> context.get("bccrecipients"), \
>>>>>>>> context.get("subject"),
>>>>>>>> newdoc.getRenderedContent(), \
>>>>>>>> newdoc.getContent(),
>>>>>>>> newdoc.getAttachments());
>>>>>>>> }
>>>>>>>> }
>>>>>>>> }
>>>>>>>>
>>>>>>>> /* *# */
>>>>>>>>
>>>>>>>> Here's a velocity script I'm using to initialize/test:
>>>>>>>>
>>>>>>>> #set($sc =
>>>>>>>> $context.getContext().getEngineContext().getServletContext())
>>>>>>>> $sc.getAttribute("blgmailnotif")<br/>
>>>>>>>> #set($blgmlnotif =
>>>>>>>> $
>>>>>>>> xwiki
>>>>>>>> .parseGroovyFromPage
>>>>>>>> ("XWSNotify.BlogMailNotificationGroovyClass"))
>>>>>>>> #set($ok = $sc.setAttribute("blgmailnotif", $blgmlnotif))
>>>>>>>> #set($blgmailnotif = $sc.getAttribute("blgmailnotif"))
>>>>>>>> $sc.getAttribute("blgmailnotif")<br/>
>>>>>>>> #set($ok = $blgmlnotif.initClasses($context))
>>>>>>>> #set($ok = $blgmlnotif.notify($blgmlnotif.rule,$newdoc,$newdoc,
>>>>>>>> 3,$context))
>>>>>>>>
>>>>>>>> Here's the output from the velocity script:
>>>>>>>>
>>>>>>>> BlogMailNotificationGroovyClass@68e4a47
>>>>>>>> BlogMailNotificationGroovyClass@3c401d45
>>>>>>>>
>>>>>>>> So, the groovy class gets initialized to a new reference
>>>>>>>> successfully
>>>>>>>> each time parseGroovyFromPage is called.
>>>>>>>>
>>>>>>>> Here's what appears in the log after running the velocity
>>>>>>>> script:
>>>>>>>>
>>>>>>>> [ERROR] Left side ($request.title) of '!=' operation has null
>>>>>>>> value.
>>>>>>>> Operation not possible. [line 53, column 43]
>>>>>>>> [WARNING] Cannot retrieve method notify from object of class
>>>>>>>> BlogMailNotificationGroovyClass due to security restrictions.
>>>>>>>>
>>>>>>>> If I alter the velocity script to:
>>>>>>>>
>>>>>>>> #set($sc =
>>>>>>>> $context.getContext().getEngineContext().getServletContext())
>>>>>>>> $sc.getAttribute("blgmailnotif")<br/>
>>>>>>>>
>>>>>>>> Here's what appears in the log:
>>>>>>>>
>>>>>>>> [ERROR] Left side ($request.title) of '!=' operation has null
>>>>>>>> value.
>>>>>>>> Operation not possible. [line 53, column 43]
>>>>>>>>
>>>>>>>> So, the [WARNING] is the only log entry pertaining to the
>>>>>>>> groovy
>>>>>>>> class.
>>>>>>>>
>>>>>>>> If I add a comment to a Blog article (with or without the
>>>>>>>> BlogMailNotificationGroovyClass initialized), the following
>>>>>>>> appears in
>>>>>>>> the log:
>>>>>>>>
>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>> value.
>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>> value.
>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>> value.
>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>> value.
>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>> value.
>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>> value.
>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>> value.
>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>> value.
>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>> value.
>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>>
>>>>>>>> The number of lines corresponds to the number of comments
>>>>>>>> present
>>>>>>>> in
>>>>>>>> the Blog article. There's nothing in the log pertaining to the
>>>>>>>> groovy
>>>>>>>> class.
>>>>>>> Indeed, this has nothing to do with your groovy notification.
>>>>>>> This
>>>>>>> is
>>>>>>> generated by the velocity engine.
>>>>>>> Is your skin customized ? Is the blog application modified ?
>>>>>>> (The
>>>>>>> log
>>>>>>> says that somewhere a variable $index is trying to add something
>>>>>>> to
>>>>>>> "null". Might be the pagination of blog articles ?)
>>>>>>>
>>>>>>> Jerome.
>>>>>> I can't find a variable $index in any arithmetical expression in
>>>>>> any
>>>>>> velocity script anywhere on the site.
>>>>>>
>>>>>> The skin is customized only to the extent of some inconsequential
>>>>>> tweaks. Same with blog app.
>>>>>>
>>>>>> There's no pagination of blog articles.
>>>>>>
>>>>>> Would someone please review the basic mechanics of how groovy
>>>>>> classes
>>>>>> work, particularly as it pertains to my notification class?
>>>>>>
>>>>>> Also, I see by reading source that there's a newer way of
>>>>>> monitoring
>>>>>> events through the "observation manager". Would someone please
>>>>>> review
>>>>>> how to use this system?
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Dan
Since 1.6 creating headings in the old WYSIWYG-Editor creats html-Headings
Heading 1 -> <h1>Text</h1>
Heading 2 -> <h2>Text</h2>
....
The result is that some functions (e.g. Toc macro) don't work anymore.
Is it planned to fix that? or is there no more development for the old
WYSIWYG?
The new looks great but has not the functionality of the old one (yet?)
Thanks
Helmut
--
View this message in context: http://n2.nabble.com/Headings-in-old-WYSIWYG-and-some-more-questions-tp1575…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'm using JBoss (4.2.1), XWiki XE 1.7 Milestone 1.
Which parameters are to be set or which files have to be modified/moved to
prevent the following DEBUG and ERROR messages?
No matter whether xwiki.cfg file has
xwiki.cache.cachefactory.hint=jbosscache and
xwiki.cache.cachefactory.local.hint=jbosscache/local as comment or not,
there is a DEBUG message on console saying
"Failed to load configuration file xwiki.store.pagecache".
There's a second DEBUG message saying "Failed to load configuration file
default".
I realized this after deletion of log4j-1.2.13.jar in lib folder.
The real problem seems to be that there is an error later with lucene:
ERROR [com.xpn.xwiki.plugin.lucene.IndexUpdater] error indexing document
xwiki:XWiki.420127.default.objects
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document XWiki.420127
(The number is a XWiki "username".)
Logging is very high. It's showing a lot of debug and error messages
relating caching.
Thanks,
Rudolf
Each stack traces are there a lot of times. Stack Details:
1) as first
2008-11-13 00:00:00,015 ERROR [org.quartz.core.QuartzSchedulerThread]
Runtime error occured in main trigger firing loop.
java.lang.NullPointerException
at
org.apache.commons.logging.LogFactory.getCachedFactory(LogFactory.java:979)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:435)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
at org.quartz.core.JobRunShell.<init>(JobRunShell.java:80)
at
org.quartz.impl.StdJobRunShellFactory.borrowJobRunShell(StdJobRunShellFactory.java:86)
at
org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:357)
2) a bit later
2008-11-13 05:10:00,888 INFO
[org.xwiki.cache.jbosscache.internal.JBossCacheCacheFactory] Start JBoss
cache initialisation
2008-11-13 05:10:00,904 DEBUG
[org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration] Failed to
load configuration file xwiki.groovy.content
org.xwiki.cache.jbosscache.internal.PropertiesLoadingCacheException: Can't
find any configuration file forxwiki.groovy.content
at
org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.loadConfig(JBossCacheCacheConfiguration.java:245)
at
org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.load(JBossCacheCacheConfiguration.java:115)
at
org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.<init>(JBossCacheCacheConfiguration.java:99)
at
org.xwiki.cache.jbosscache.internal.JBossCacheCacheFactory.newCache(JBossCacheCacheFactory.java:78)
at
com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.initCache(XWikiGroovyRenderer.java:133)
at
com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.initCache(XWikiGroovyRenderer.java:121)
at
com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.prepareCache(XWikiGroovyRenderer.java:152)
at
com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.parseGroovyFromString(XWikiGroovyRenderer.java:333)
at com.xpn.xwiki.XWiki.parseGroovyFromString(XWiki.java:5698)
at com.xpn.xwiki.api.XWiki.parseGroovyFromPage(XWiki.java:2169)
at gjdk.com.xpn.xwiki.api.XWiki_GroovyReflector.invoke(Unknown Source)
at groovy.lang.MetaMethod.invoke(MetaMethod.java:111)
at
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:657)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:363)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:146)
at
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:85)
at Script1.run(Script1.groovy:8)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:485)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:460)
at com.xpn.xwiki.plugin.scheduler.GroovyJob.execute(GroovyJob.java:83)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
2008-11-13 05:10:00,904 DEBUG
[org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration] Failed to
load configuration file default-local
org.xwiki.cache.jbosscache.internal.PropertiesLoadingCacheException: Can't
find any configuration file fordefault-local
at
org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.loadConfig(JBossCacheCacheConfiguration.java:245)
at
org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.getDefaultConfig(JBossCacheCacheConfiguration.java:216)
at
org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.load(JBossCacheCacheConfiguration.java:118)
at
org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.<init>(JBossCacheCacheConfiguration.java:99)
at
org.xwiki.cache.jbosscache.internal.JBossCacheCacheFactory.newCache(JBossCacheCacheFactory.java:78)
at
com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.initCache(XWikiGroovyRenderer.java:133)
at
com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.initCache(XWikiGroovyRenderer.java:121)
at
com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.prepareCache(XWikiGroovyRenderer.java:152)
at
com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.parseGroovyFromString(XWikiGroovyRenderer.java:333)
at com.xpn.xwiki.XWiki.parseGroovyFromString(XWiki.java:5698)
at com.xpn.xwiki.api.XWiki.parseGroovyFromPage(XWiki.java:2169)
at gjdk.com.xpn.xwiki.api.XWiki_GroovyReflector.invoke(Unknown Source)
at groovy.lang.MetaMethod.invoke(MetaMethod.java:111)
at
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:657)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:363)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:146)
at
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:85)
at Script1.run(Script1.groovy:8)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:485)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:460)
at com.xpn.xwiki.plugin.scheduler.GroovyJob.execute(GroovyJob.java:83)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
2008-11-13 05:10:00,919 INFO [org.jboss.cache.factories.ComponentRegistry]
JBoss Cache version: JBossCache 'Poblano' 2.2.0.GA
2008-11-13 05:10:00,919 INFO
[org.xwiki.cache.jbosscache.internal.JBossCacheCacheFactory] End JBoss cache
initialisation
3) at least each hour
2008-11-13 05:13:05,559 ERROR [com.xpn.xwiki.plugin.lucene.IndexUpdater]
error indexing document xwiki:XWiki.420127.default.objects
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document XWiki.420127
Wrapped Exception: Entry.next=null, data[removeIndex]=XWiki.545365=<?xml
version="1.0" encoding="UTF-8"?>
<class>
<name>XWiki.545365</name>
<customClass></customClass>
<customMapping></customMapping>
<defaultViewSheet></defaultViewSheet>
<defaultEditSheet></defaultEditSheet>
<defaultWeb></defaultWeb>
<nameField></nameField>
<validationScript></validationScript>
</class>
previous=XWiki.420762=<?xml version="1.0" encoding="UTF-8"?>
<class>
<name>XWiki.420762</name>
<customClass></customClass>
<customMapping></customMapping>
<defaultViewSheet></defaultViewSheet>
<defaultEditSheet></defaultEditSheet>
<defaultWeb></defaultWeb>
<nameField></nameField>
<validationScript></validationScript>
</class>
key=XWiki.420127 value=<?xml version="1.0" encoding="UTF-8"?>
<class>
<name>XWiki.420127</name>
<customClass></customClass>
<customMapping></customMapping>
<defaultViewSheet></defaultViewSheet>
<defaultEditSheet></defaultEditSheet>
<defaultWeb></defaultWeb>
<nameField></nameField>
<validationScript></validationScript>
</class>
size=20 maxSize=20 Please check that your keys are immutable, and that you
have used synchronization properly. If so, then please report this to
commons-dev(a)jakarta.apache.org as a bug.
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:744)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:209)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1323)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1363)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:217)
at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:117)
at java.lang.Thread.run(Thread.java:619)
--
View this message in context: http://n2.nabble.com/JBossCacheCacheConfiguration-Failed-to-load-configurat…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I have done an upgrade (WAR and XAR) today from XE 1.6.1 to 1.7.3 with lots
of issues with LDAP.
1. Get a lot of the following errors even when users are just browsing
without loggin
[https://myserver/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP authentication
failed: login null
2. User mapping to Group member ship has issue. (this is more serious)
It used to map OK but currently, after a new user first login, it added the
user in this format "XWiki.XWiki.<USERID>" into the group multiple times.
When user loggedin and browse, it add even more multiple entries. So a user
login for the first time and browse 2 pages, could end up having 10 idential
entries in the group.
Normally it added in the format "XWiki.<USERID>" not "XWiki.XWiki.<USERID>".
3. After a user loggin, browsing, I saw lots of these errors
[TP-Processor8] ERROR LDAP.XWikiLDAPAuthServiceImpl - Failed to add a user
[XWiki.USERID] to a group [XWiki.MYGROUP]
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document XWiki.MYGROUP
Wrapped Exception: Batch update returned unexpected row count from update
[1]; actual row count: 0; expected: 1
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1270)
and
[TP-Processor2] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Local LDAP
authentication failed.
java.lang.NullPointerException
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:369)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:197)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:148)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
Any thoughts please?
I do need to upgrade in order to fix the upload image with space in the
filename issue.
Appreciated, and Thanks!
--
View this message in context: http://n2.nabble.com/LDAP-issue-after-upgrade-from-XE-1.6.1-to-1.7.3-tp1573…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I found something else that was incorrect, but correcting it didn't
help:
newdoc.getRenderedContent() needs to be
newdoc.getRenderedContent(context)
Dan
> I tried changing newdoc.getAttachments() to
> newdoc.newDocument(context).getAttachmentList().
>
> I've stripped down the class to remove dependance on getting values
> out of the context; i.e I've provided string literals for sender,
> cc, etc. I've also changed the rule to DocChangeRule(this), and
> removed the test for the change coming from a space's Blog so that
> any document save event would trigger email.
>
> Still no joy.
>
> The only clue in the log is when calling the notify method from a
> velocity script:
>
> [WARNING] Cannot retrieve method notify from object of class
> BlogMailNotificationGroovyClass due to security restrictions.
>
> Dan
>
> Here's the revised class:
>
> /* Groovy Class #* */
>
> import com.xpn.xwiki.api.XWiki;
> import com.xpn.xwiki.XWikiContext;
> import com.xpn.xwiki.notify.XWikiDocChangeNotificationInterface;
> import com.xpn.xwiki.notify.DocObjectChangedRule;
> import com.xpn.xwiki.notify.XWikiNotificationRule;
> import com.xpn.xwiki.doc.XWikiDocument;
>
> public class BlogMailNotificationGroovyClass implements \
>
> XWikiDocChangeNotificationInterface
>
> {
> def xwiki;
> def rule;
> def name;
>
> public void initClasses(XWikiContext context)
> {
> this.xwiki = context.getWiki();
> // listen to notifications
> this.rule = DocChangeRule(this);
>
> context.getWiki().getNotificationManager().addGeneralRule(rule);
> }
>
> public void notify(XWikiNotificationRule rule, XWikiDocument
> newdoc, \
> XWikiDocument olddoc, int event, XWikiContext
> context)
> {
>
> def ms = xwiki.getPlugin("mailsender");
> def nb = ms.sendHtmlMessage("XWiki.Admin", \
> "dsvoboda(a)structbio.pitt.edu", \
> "dsvoboda(a)structbio.pitt.edu", \
> "dsvoboda(a)structbio.pitt.edu", \
> "subject", \
> newdoc.getRenderedContent(), \
> newdoc.getContent(), \
>
> newdoc.newDocument(context).getAttachmentList());
> }
> }
>
> /* *# */
>
>
>
>> Ok, I have another idea. Did you try sending the mail without
>> attachments ?
>>
>> This because what you pass the plugin API are XWikiAttachments
>> (http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xw…
>> ),
>> while it expects "com.xpn.xwiki.api.Attachment" (see the plugin API
>> here
>> http://code.xwiki.org/xwiki/bin/view/Plugins/MailSenderPlugin).
>> If you want to have the proper wrapped attachments to pass the
>> plugin,
>> you should use "newdoc.newDocument(context).getAttachmentList()"
>>
>> Hope this helps,
>> Jerome.
>>
>> Daniel Svoboda wrote:
>>> Thanks for the replies.
>>>
>>> I had already found that bug. If I take the conditional completely
>>> out
>>> of the class, it still doesn't send an email.
>>>
>>> Dan
>>>
>>>> It is probably due to the following :
>>>>
>>>> "if(newdoc.getSpace().substring(lastFour) == "Blog") {"
>>>>
>>>> in Java, if you have the following :
>>>>
>>>> String st1 = "Blog";
>>>> String st2 = new String("Blog");
>>>>
>>>> then st1 == st2 will always return false, as the objects are not
>>>> the
>>>> same. What you want is to compare their values, using
>>>> st1.equals(st2),
>>>> which will return true.
>>>> You can read here to find out more
>>>> http://www.unix.com.ua/orelly/java/langref/ch04_09.htm (especially
>>>> this
>>>> sentence : "Because the == operator determines if two objects are
>>>> the
>>>> same object, it is not appropriate for comparisons that need to
>>>> determine if two objects have the same contents. For example, if
>>>> you
>>>> need to know whether two String objects contain the same
>>>> sequences of
>>>> characters, the == operator is inappropriate. You should use the
>>>> equals() method")
>>>>
>>>> Anyway, their is even simpler for you. What you want to do is
>>>> check if
>>>> the space name finishes by "Blog". For this the appropriate
>>>> method is
>>>> String#endsWith
>>>> (http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#endsWith(java…
>>>> )
>>>> )
>>>> As in :
>>>>
>>>> "if(newdoc.getSpace().endsWith("Blog")) {"
>>>>
>>>> Hope this helps and fixes your issue,
>>>>
>>>> Regards,
>>>> Jerome
>>>>
>>>> Daniel Svoboda wrote:
>>>>> Yes. The problem is that no mail gets sent, which is the purpose
>>>>> of
>>>>> the notification. I reread my initial post, and now I understand
>>>>> your
>>>>> confusion. I didn't explicitly state that the class wasn't
>>>>> working.
>>>>>
>>>>> I'm using XWiki Enterprise manager 1.3 with platform version
>>>>> 1.5.2.
>>>>>
>>>>> Dan
>>>>>
>>>>>
>>>>>> Do you actually encounter a problem, besides the error in the
>>>>>> logs ?
>>>>>> I believe those logs are generated when you call
>>>>>> getRenderedContent on
>>>>>> your blog article, so I maintain they have nothing to do with
>>>>>> your
>>>>>> notification class.
>>>>>> Which version of XWiki Enterprise are you using ?
>>>>>>
>>>>>> Jerome.
>>>>>>
>>>>>> Dan Svoboda wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> See below
>>>>>>>
>>>>>>> Dan Svoboda wrote:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I'm trying to use the notification system to trigger the
>>>>>>>>> sending of
>>>>>>>>> email whenever a comment is added to a blog article. I'm
>>>>>>>>> patterning my
>>>>>>>>> groovy class after the pircbot example on the xwiki snippets
>>>>>>>>> site.
>>>>>>>>>
>>>>>>>>> My system is xwiki workspaces as a virtual xwiki under xem.
>>>>>>>>> The
>>>>>>>>> platform version is 1.5.2.
>>>>>>>>>
>>>>>>>>> Here's my groovy class
>>>>>>>>> (XWSNotify.BlogMailNotificationGroovyClass):
>>>>>>>>>
>>>>>>>>> /* Groovy Class #* */
>>>>>>>>>
>>>>>>>>> import com.xpn.xwiki.api.XWiki;
>>>>>>>>> import com.xpn.xwiki.XWikiContext;
>>>>>>>>> import
>>>>>>>>> com.xpn.xwiki.notify.XWikiDocChangeNotificationInterface;
>>>>>>>>> import com.xpn.xwiki.notify.DocObjectChangedRule;
>>>>>>>>> import com.xpn.xwiki.notify.XWikiNotificationRule;
>>>>>>>>> import com.xpn.xwiki.doc.XWikiDocument;
>>>>>>>>>
>>>>>>>>> public class BlogMailNotificationGroovyClass implements \
>>>>>>>>>
>>>>>>>>> XWikiDocChangeNotificationInterface
>>>>>>>>>
>>>>>>>>> {
>>>>>>>>> def xwiki;
>>>>>>>>> def rule;
>>>>>>>>> def name;
>>>>>>>>>
>>>>>>>>> public void initClasses(XWikiContext context)
>>>>>>>>> {
>>>>>>>>> this.xwiki = context.getWiki();
>>>>>>>>> // listen to notifications
>>>>>>>>> this.rule = DocObjectChangedRule(this);
>>>>>>>>>
>>>>>>>>> context
>>>>>>>>> .getWiki().getNotificationManager().addGeneralRule(rule);
>>>>>>>>> }
>>>>>>>>>
>>>>>>>>> public void notify(XWikiNotificationRule rule, XWikiDocument
>>>>>>>>> newdoc, \
>>>>>>>>> XWikiDocument olddoc, int event,
>>>>>>>>> XWikiContext
>>>>>>>>> context)
>>>>>>>>> {
>>>>>>>>> def length = newdoc.getSpace().length();
>>>>>>>>> def lastFour = length - 4;
>>>>>>>>> if(newdoc.getSpace().substring(lastFour) == "Blog") {
>>>>>>>>>
>>>>>>>>> def ms = xwiki.getPlugin("mailsender");
>>>>>>>>> def nb = ms.sendHtmlMessage(context.getUser(),
>>>>>>>>> "myAddress(a)myHost.org <mailto:myAddress@myHost.org>
>>>>>>>>> ", \
>>>>>>>>> context.get("ccrecipients"),
>>>>>>>>> context.get("bccrecipients"), \
>>>>>>>>> context.get("subject"),
>>>>>>>>> newdoc.getRenderedContent(), \
>>>>>>>>> newdoc.getContent(),
>>>>>>>>> newdoc.getAttachments());
>>>>>>>>> }
>>>>>>>>> }
>>>>>>>>> }
>>>>>>>>>
>>>>>>>>> /* *# */
>>>>>>>>>
>>>>>>>>> Here's a velocity script I'm using to initialize/test:
>>>>>>>>>
>>>>>>>>> #set($sc =
>>>>>>>>> $context.getContext().getEngineContext().getServletContext())
>>>>>>>>> $sc.getAttribute("blgmailnotif")<br/>
>>>>>>>>> #set($blgmlnotif =
>>>>>>>>> $
>>>>>>>>> xwiki
>>>>>>>>> .parseGroovyFromPage
>>>>>>>>> ("XWSNotify.BlogMailNotificationGroovyClass"))
>>>>>>>>> #set($ok = $sc.setAttribute("blgmailnotif", $blgmlnotif))
>>>>>>>>> #set($blgmailnotif = $sc.getAttribute("blgmailnotif"))
>>>>>>>>> $sc.getAttribute("blgmailnotif")<br/>
>>>>>>>>> #set($ok = $blgmlnotif.initClasses($context))
>>>>>>>>> #set($ok = $blgmlnotif.notify($blgmlnotif.rule,$newdoc,
>>>>>>>>> $newdoc,
>>>>>>>>> 3,$context))
>>>>>>>>>
>>>>>>>>> Here's the output from the velocity script:
>>>>>>>>>
>>>>>>>>> BlogMailNotificationGroovyClass@68e4a47
>>>>>>>>> BlogMailNotificationGroovyClass@3c401d45
>>>>>>>>>
>>>>>>>>> So, the groovy class gets initialized to a new reference
>>>>>>>>> successfully
>>>>>>>>> each time parseGroovyFromPage is called.
>>>>>>>>>
>>>>>>>>> Here's what appears in the log after running the velocity
>>>>>>>>> script:
>>>>>>>>>
>>>>>>>>> [ERROR] Left side ($request.title) of '!=' operation has null
>>>>>>>>> value.
>>>>>>>>> Operation not possible. [line 53, column 43]
>>>>>>>>> [WARNING] Cannot retrieve method notify from object of class
>>>>>>>>> BlogMailNotificationGroovyClass due to security restrictions.
>>>>>>>>>
>>>>>>>>> If I alter the velocity script to:
>>>>>>>>>
>>>>>>>>> #set($sc =
>>>>>>>>> $context.getContext().getEngineContext().getServletContext())
>>>>>>>>> $sc.getAttribute("blgmailnotif")<br/>
>>>>>>>>>
>>>>>>>>> Here's what appears in the log:
>>>>>>>>>
>>>>>>>>> [ERROR] Left side ($request.title) of '!=' operation has null
>>>>>>>>> value.
>>>>>>>>> Operation not possible. [line 53, column 43]
>>>>>>>>>
>>>>>>>>> So, the [WARNING] is the only log entry pertaining to the
>>>>>>>>> groovy
>>>>>>>>> class.
>>>>>>>>>
>>>>>>>>> If I add a comment to a Blog article (with or without the
>>>>>>>>> BlogMailNotificationGroovyClass initialized), the following
>>>>>>>>> appears in
>>>>>>>>> the log:
>>>>>>>>>
>>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>>> value.
>>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>>> value.
>>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>>> value.
>>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>>> value.
>>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>>> value.
>>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>>> value.
>>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>>> value.
>>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>>> value.
>>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>>> [ERROR] Left side ($index) of addition operation has null
>>>>>>>>> value.
>>>>>>>>> Operation not possible. [line 20, column 25]
>>>>>>>>>
>>>>>>>>> The number of lines corresponds to the number of comments
>>>>>>>>> present
>>>>>>>>> in
>>>>>>>>> the Blog article. There's nothing in the log pertaining to the
>>>>>>>>> groovy
>>>>>>>>> class.
>>>>>>>> Indeed, this has nothing to do with your groovy notification.
>>>>>>>> This
>>>>>>>> is
>>>>>>>> generated by the velocity engine.
>>>>>>>> Is your skin customized ? Is the blog application modified ?
>>>>>>>> (The
>>>>>>>> log
>>>>>>>> says that somewhere a variable $index is trying to add
>>>>>>>> something
>>>>>>>> to
>>>>>>>> "null". Might be the pagination of blog articles ?)
>>>>>>>>
>>>>>>>> Jerome.
>>>>>>> I can't find a variable $index in any arithmetical expression in
>>>>>>> any
>>>>>>> velocity script anywhere on the site.
>>>>>>>
>>>>>>> The skin is customized only to the extent of some
>>>>>>> inconsequential
>>>>>>> tweaks. Same with blog app.
>>>>>>>
>>>>>>> There's no pagination of blog articles.
>>>>>>>
>>>>>>> Would someone please review the basic mechanics of how groovy
>>>>>>> classes
>>>>>>> work, particularly as it pertains to my notification class?
>>>>>>>
>>>>>>> Also, I see by reading source that there's a newer way of
>>>>>>> monitoring
>>>>>>> events through the "observation manager". Would someone please
>>>>>>> review
>>>>>>> how to use this system?
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Dan
Hi,
I've updated from 1.5.2 to 1.6.1. After this, I found all groups beeing
empty - so no users were there anymore.
As result I started mapping LDAP groups to XWiki groups to let XWiki
populate the memberships again - I was planning this anyway.
For some reason XWiki is not able to get the groups members and I cannot
understand why. Also it is not putting my user in the XWiki.AllGroup -
still my groups do not have any member.
This are the logs:
DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAP
attribues located at cn=a12345,ou=associates,ou=users,o=wlgore
DEBUG ldap.XWikiLDAPConfig - Ready to create user from LDAP
with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
DEBUG ldap.XWikiLDAPConfig - Groupmapping found:
XWiki.XWikiAdminGroup
cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore
DEBUG ldap.XWikiLDAPConfig - Groupmapping found:
XWiki.MSOEGroup
cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore
DEBUG ldap.XWikiLDAPConfig - Groupmapping found:
XWiki.MedicalFabricsAdmGroup
cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore
DEBUG ldap.XWikiLDAPConfig - Groupmapping found:
XWiki.MedicalFabricsGroup
cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore
DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating group membership for the
user: tzwitano
DEBUG LDAP.XWikiLDAPAuthServiceImpl - The user belongs to following
XWiki groups:
DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.XWikiAllGroup
DEBUG LDAP.XWikiLDAPAuthServiceImpl - All defined XWiki groups:
DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.MSOEGroup
DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.MedicalFabricsAdmGroup
DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.MedicalFabricsGroup
DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.TrillrAdmin
DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.TrillrUser
DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.XWikiAdminGroup
DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.XWikiAllGroup
DEBUG ldap.XWikiLDAPUtils - Found group
[cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore]
members :{}
DEBUG ldap.XWikiLDAPUtils - Found group
[cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore]
members :{}
DEBUG ldap.XWikiLDAPUtils - Found group
[cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore]
members :{}
DEBUG ldap.XWikiLDAPUtils - Found group
[cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore]
members :{}
This is my config:
#-# new LDAP authentication service
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap=1
#-# Force to check password after LDAP connection
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap.validate_password=0
#-# only members of the following group will be verified in the LDAP
# otherwise only users that are found after searching starting from the
base_DN
#xwiki.authentication.ldap.user_group=o=wlgore
#-# base DN for searches
#xwiki.authentication.ldap.base_DN=o=wlgore
#-# Specifies the LDAP attribute containing the identifier to be used as
the XWiki name (default=cn)
xwiki.authentication.ldap.UID_attr=uid
#-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
#-# Specifies the LDAP attribute containing the password to be used "when
xwiki.authentication.ldap.validate_password" is set to 1
# xwiki.authentication.ldap.password_field=userPassword
#-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential LDAP groups classes. Separated by commas.
xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList,Top
#xwiki.authentication.ldap.group_classes=groupOfNames,Top,groupOfNames
#-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential names of the LDAP groups fields containings the members.
Separated by commas.
xwiki.authentication.ldap.group_memberfields=member,equivalentToMe
#-# retrieve the following fields from LDAP and store them in the XWiki
user object (xwiki-attribute=ldap-attribute)
#-# ldap_dn=dn -- dn is set by class, caches dn in XWiki.user object for
faster access
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# on every login update the mapped attributes from LDAP to XWiki
otherwise this happens only once when the XWiki account is created.
xwiki.authentication.ldap.update_user=1
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# mapps XWiki groups to LDAP groups, separator is "|"
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore|\
XWiki.MSOEGroup=cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore|\
XWiki.MedicalFabricsAdmGroup=cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore|\
XWiki.MedicalFabricsGroup=cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# time in s after which the list of members in a group is refreshed from
LDAP (default=3600*6)
xwiki.authentication.ldap.groupcache_expiration=60
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# - create : synchronize group membership only when the user is first
created
#-# - always: synchronize on every login
xwiki.authentication.ldap.mode_group_sync=always
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# if ldap authentication fails for any reason, try XWiki DB
authentication with the same credentials
xwiki.authentication.ldap.trylocal=1
Thanks!
Thomas
Thanks for the replies.
I had already found that bug. If I take the conditional completely out
of the class, it still doesn't send an email.
Dan
> It is probably due to the following :
>
> "if(newdoc.getSpace().substring(lastFour) == "Blog") {"
>
> in Java, if you have the following :
>
> String st1 = "Blog";
> String st2 = new String("Blog");
>
> then st1 == st2 will always return false, as the objects are not the
> same. What you want is to compare their values, using st1.equals(st2),
> which will return true.
> You can read here to find out more
> http://www.unix.com.ua/orelly/java/langref/ch04_09.htm (especially
> this
> sentence : "Because the == operator determines if two objects are the
> same object, it is not appropriate for comparisons that need to
> determine if two objects have the same contents. For example, if you
> need to know whether two String objects contain the same sequences of
> characters, the == operator is inappropriate. You should use the
> equals() method")
>
> Anyway, their is even simpler for you. What you want to do is check if
> the space name finishes by "Blog". For this the appropriate method is
> String#endsWith
> (http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#endsWith(java…
> )
> As in :
>
> "if(newdoc.getSpace().endsWith("Blog")) {"
>
> Hope this helps and fixes your issue,
>
> Regards,
> Jerome
>
> Daniel Svoboda wrote:
>> Yes. The problem is that no mail gets sent, which is the purpose of
>> the notification. I reread my initial post, and now I understand your
>> confusion. I didn't explicitly state that the class wasn't working.
>>
>> I'm using XWiki Enterprise manager 1.3 with platform version 1.5.2.
>>
>> Dan
>>
>>
>>> Do you actually encounter a problem, besides the error in the logs ?
>>> I believe those logs are generated when you call
>>> getRenderedContent on
>>> your blog article, so I maintain they have nothing to do with your
>>> notification class.
>>> Which version of XWiki Enterprise are you using ?
>>>
>>> Jerome.
>>>
>>> Dan Svoboda wrote:
>>>> Hi,
>>>>
>>>> See below
>>>>
>>>> Dan Svoboda wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I'm trying to use the notification system to trigger the
>>>>>> sending of
>>>>>> email whenever a comment is added to a blog article. I'm
>>>>>> patterning my
>>>>>> groovy class after the pircbot example on the xwiki snippets
>>>>>> site.
>>>>>>
>>>>>> My system is xwiki workspaces as a virtual xwiki under xem. The
>>>>>> platform version is 1.5.2.
>>>>>>
>>>>>> Here's my groovy class
>>>>>> (XWSNotify.BlogMailNotificationGroovyClass):
>>>>>>
>>>>>> /* Groovy Class #* */
>>>>>>
>>>>>> import com.xpn.xwiki.api.XWiki;
>>>>>> import com.xpn.xwiki.XWikiContext;
>>>>>> import com.xpn.xwiki.notify.XWikiDocChangeNotificationInterface;
>>>>>> import com.xpn.xwiki.notify.DocObjectChangedRule;
>>>>>> import com.xpn.xwiki.notify.XWikiNotificationRule;
>>>>>> import com.xpn.xwiki.doc.XWikiDocument;
>>>>>>
>>>>>> public class BlogMailNotificationGroovyClass implements \
>>>>>>
>>>>>> XWikiDocChangeNotificationInterface
>>>>>>
>>>>>> {
>>>>>> def xwiki;
>>>>>> def rule;
>>>>>> def name;
>>>>>>
>>>>>> public void initClasses(XWikiContext context)
>>>>>> {
>>>>>> this.xwiki = context.getWiki();
>>>>>> // listen to notifications
>>>>>> this.rule = DocObjectChangedRule(this);
>>>>>>
>>>>>> context.getWiki().getNotificationManager().addGeneralRule(rule);
>>>>>> }
>>>>>>
>>>>>> public void notify(XWikiNotificationRule rule, XWikiDocument
>>>>>> newdoc, \
>>>>>> XWikiDocument olddoc, int event,
>>>>>> XWikiContext
>>>>>> context)
>>>>>> {
>>>>>> def length = newdoc.getSpace().length();
>>>>>> def lastFour = length - 4;
>>>>>> if(newdoc.getSpace().substring(lastFour) == "Blog") {
>>>>>>
>>>>>> def ms = xwiki.getPlugin("mailsender");
>>>>>> def nb = ms.sendHtmlMessage(context.getUser(),
>>>>>> "myAddress(a)myHost.org <mailto:myAddress@myHost.org>
>>>>>> ", \
>>>>>> context.get("ccrecipients"),
>>>>>> context.get("bccrecipients"), \
>>>>>> context.get("subject"),
>>>>>> newdoc.getRenderedContent(), \
>>>>>> newdoc.getContent(),
>>>>>> newdoc.getAttachments());
>>>>>> }
>>>>>> }
>>>>>> }
>>>>>>
>>>>>> /* *# */
>>>>>>
>>>>>> Here's a velocity script I'm using to initialize/test:
>>>>>>
>>>>>> #set($sc =
>>>>>> $context.getContext().getEngineContext().getServletContext())
>>>>>> $sc.getAttribute("blgmailnotif")<br/>
>>>>>> #set($blgmlnotif =
>>>>>> $
>>>>>> xwiki
>>>>>> .parseGroovyFromPage
>>>>>> ("XWSNotify.BlogMailNotificationGroovyClass"))
>>>>>> #set($ok = $sc.setAttribute("blgmailnotif", $blgmlnotif))
>>>>>> #set($blgmailnotif = $sc.getAttribute("blgmailnotif"))
>>>>>> $sc.getAttribute("blgmailnotif")<br/>
>>>>>> #set($ok = $blgmlnotif.initClasses($context))
>>>>>> #set($ok = $blgmlnotif.notify($blgmlnotif.rule,$newdoc,$newdoc,
>>>>>> 3,$context))
>>>>>>
>>>>>> Here's the output from the velocity script:
>>>>>>
>>>>>> BlogMailNotificationGroovyClass@68e4a47
>>>>>> BlogMailNotificationGroovyClass@3c401d45
>>>>>>
>>>>>> So, the groovy class gets initialized to a new reference
>>>>>> successfully
>>>>>> each time parseGroovyFromPage is called.
>>>>>>
>>>>>> Here's what appears in the log after running the velocity script:
>>>>>>
>>>>>> [ERROR] Left side ($request.title) of '!=' operation has null
>>>>>> value.
>>>>>> Operation not possible. [line 53, column 43]
>>>>>> [WARNING] Cannot retrieve method notify from object of class
>>>>>> BlogMailNotificationGroovyClass due to security restrictions.
>>>>>>
>>>>>> If I alter the velocity script to:
>>>>>>
>>>>>> #set($sc =
>>>>>> $context.getContext().getEngineContext().getServletContext())
>>>>>> $sc.getAttribute("blgmailnotif")<br/>
>>>>>>
>>>>>> Here's what appears in the log:
>>>>>>
>>>>>> [ERROR] Left side ($request.title) of '!=' operation has null
>>>>>> value.
>>>>>> Operation not possible. [line 53, column 43]
>>>>>>
>>>>>> So, the [WARNING] is the only log entry pertaining to the groovy
>>>>>> class.
>>>>>>
>>>>>> If I add a comment to a Blog article (with or without the
>>>>>> BlogMailNotificationGroovyClass initialized), the following
>>>>>> appears in
>>>>>> the log:
>>>>>>
>>>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>>>> Operation not possible. [line 20, column 25]
>>>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>>>> Operation not possible. [line 20, column 25]
>>>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>>>> Operation not possible. [line 20, column 25]
>>>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>>>> Operation not possible. [line 20, column 25]
>>>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>>>> Operation not possible. [line 20, column 25]
>>>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>>>> Operation not possible. [line 20, column 25]
>>>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>>>> Operation not possible. [line 20, column 25]
>>>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>>>> Operation not possible. [line 20, column 25]
>>>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>>>> Operation not possible. [line 20, column 25]
>>>>>>
>>>>>> The number of lines corresponds to the number of comments present
>>>>>> in
>>>>>> the Blog article. There's nothing in the log pertaining to the
>>>>>> groovy
>>>>>> class.
>>>>> Indeed, this has nothing to do with your groovy notification. This
>>>>> is
>>>>> generated by the velocity engine.
>>>>> Is your skin customized ? Is the blog application modified ? (The
>>>>> log
>>>>> says that somewhere a variable $index is trying to add something
>>>>> to
>>>>> "null". Might be the pagination of blog articles ?)
>>>>>
>>>>> Jerome.
>>>> I can't find a variable $index in any arithmetical expression in
>>>> any
>>>> velocity script anywhere on the site.
>>>>
>>>> The skin is customized only to the extent of some inconsequential
>>>> tweaks. Same with blog app.
>>>>
>>>> There's no pagination of blog articles.
>>>>
>>>> Would someone please review the basic mechanics of how groovy
>>>> classes
>>>> work, particularly as it pertains to my notification class?
>>>>
>>>> Also, I see by reading source that there's a newer way of
>>>> monitoring
>>>> events through the "observation manager". Would someone please
>>>> review
>>>> how to use this system?
>>>>
>>>> Thanks,
>>>>
>>>> Dan
>>
Yes. The problem is that no mail gets sent, which is the purpose of
the notification. I reread my initial post, and now I understand your
confusion. I didn't explicitly state that the class wasn't working.
I'm using XWiki Enterprise manager 1.3 with platform version 1.5.2.
Dan
> Do you actually encounter a problem, besides the error in the logs ?
> I believe those logs are generated when you call getRenderedContent on
> your blog article, so I maintain they have nothing to do with your
> notification class.
> Which version of XWiki Enterprise are you using ?
>
> Jerome.
>
> Dan Svoboda wrote:
>> Hi,
>>
>> See below
>>
>> Dan Svoboda wrote:
>>>> Hi,
>>>>
>>>> I'm trying to use the notification system to trigger the sending of
>>>> email whenever a comment is added to a blog article. I'm
>>>> patterning my
>>>> groovy class after the pircbot example on the xwiki snippets site.
>>>>
>>>> My system is xwiki workspaces as a virtual xwiki under xem. The
>>>> platform version is 1.5.2.
>>>>
>>>> Here's my groovy class (XWSNotify.BlogMailNotificationGroovyClass):
>>>>
>>>> /* Groovy Class #* */
>>>>
>>>> import com.xpn.xwiki.api.XWiki;
>>>> import com.xpn.xwiki.XWikiContext;
>>>> import com.xpn.xwiki.notify.XWikiDocChangeNotificationInterface;
>>>> import com.xpn.xwiki.notify.DocObjectChangedRule;
>>>> import com.xpn.xwiki.notify.XWikiNotificationRule;
>>>> import com.xpn.xwiki.doc.XWikiDocument;
>>>>
>>>> public class BlogMailNotificationGroovyClass implements \
>>>>
>>>> XWikiDocChangeNotificationInterface
>>>>
>>>> {
>>>> def xwiki;
>>>> def rule;
>>>> def name;
>>>>
>>>> public void initClasses(XWikiContext context)
>>>> {
>>>> this.xwiki = context.getWiki();
>>>> // listen to notifications
>>>> this.rule = DocObjectChangedRule(this);
>>>>
>>>> context.getWiki().getNotificationManager().addGeneralRule(rule);
>>>> }
>>>>
>>>> public void notify(XWikiNotificationRule rule, XWikiDocument
>>>> newdoc, \
>>>> XWikiDocument olddoc, int event, XWikiContext
>>>> context)
>>>> {
>>>> def length = newdoc.getSpace().length();
>>>> def lastFour = length - 4;
>>>> if(newdoc.getSpace().substring(lastFour) == "Blog") {
>>>>
>>>> def ms = xwiki.getPlugin("mailsender");
>>>> def nb = ms.sendHtmlMessage(context.getUser(),
>>>> "myAddress(a)myHost.org <mailto:myAddress@myHost.org>
>>>> ", \
>>>> context.get("ccrecipients"),
>>>> context.get("bccrecipients"), \
>>>> context.get("subject"),
>>>> newdoc.getRenderedContent(), \
>>>> newdoc.getContent(),
>>>> newdoc.getAttachments());
>>>> }
>>>> }
>>>> }
>>>>
>>>> /* *# */
>>>>
>>>> Here's a velocity script I'm using to initialize/test:
>>>>
>>>> #set($sc =
>>>> $context.getContext().getEngineContext().getServletContext())
>>>> $sc.getAttribute("blgmailnotif")<br/>
>>>> #set($blgmlnotif =
>>>> $
>>>> xwiki
>>>> .parseGroovyFromPage("XWSNotify.BlogMailNotificationGroovyClass"))
>>>> #set($ok = $sc.setAttribute("blgmailnotif", $blgmlnotif))
>>>> #set($blgmailnotif = $sc.getAttribute("blgmailnotif"))
>>>> $sc.getAttribute("blgmailnotif")<br/>
>>>> #set($ok = $blgmlnotif.initClasses($context))
>>>> #set($ok = $blgmlnotif.notify($blgmlnotif.rule,$newdoc,$newdoc,
>>>> 3,$context))
>>>>
>>>> Here's the output from the velocity script:
>>>>
>>>> BlogMailNotificationGroovyClass@68e4a47
>>>> BlogMailNotificationGroovyClass@3c401d45
>>>>
>>>> So, the groovy class gets initialized to a new reference
>>>> successfully
>>>> each time parseGroovyFromPage is called.
>>>>
>>>> Here's what appears in the log after running the velocity script:
>>>>
>>>> [ERROR] Left side ($request.title) of '!=' operation has null
>>>> value.
>>>> Operation not possible. [line 53, column 43]
>>>> [WARNING] Cannot retrieve method notify from object of class
>>>> BlogMailNotificationGroovyClass due to security restrictions.
>>>>
>>>> If I alter the velocity script to:
>>>>
>>>> #set($sc =
>>>> $context.getContext().getEngineContext().getServletContext())
>>>> $sc.getAttribute("blgmailnotif")<br/>
>>>>
>>>> Here's what appears in the log:
>>>>
>>>> [ERROR] Left side ($request.title) of '!=' operation has null
>>>> value.
>>>> Operation not possible. [line 53, column 43]
>>>>
>>>> So, the [WARNING] is the only log entry pertaining to the groovy
>>>> class.
>>>>
>>>> If I add a comment to a Blog article (with or without the
>>>> BlogMailNotificationGroovyClass initialized), the following
>>>> appears in
>>>> the log:
>>>>
>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>> Operation not possible. [line 20, column 25]
>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>> Operation not possible. [line 20, column 25]
>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>> Operation not possible. [line 20, column 25]
>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>> Operation not possible. [line 20, column 25]
>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>> Operation not possible. [line 20, column 25]
>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>> Operation not possible. [line 20, column 25]
>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>> Operation not possible. [line 20, column 25]
>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>> Operation not possible. [line 20, column 25]
>>>> [ERROR] Left side ($index) of addition operation has null value.
>>>> Operation not possible. [line 20, column 25]
>>>>
>>>> The number of lines corresponds to the number of comments present
>>>> in
>>>> the Blog article. There's nothing in the log pertaining to the
>>>> groovy
>>>> class.
>>
>>> Indeed, this has nothing to do with your groovy notification. This
>>> is
>>> generated by the velocity engine.
>>> Is your skin customized ? Is the blog application modified ? (The
>>> log
>>> says that somewhere a variable $index is trying to add something to
>>> "null". Might be the pagination of blog articles ?)
>>>
>>> Jerome.
>>
>> I can't find a variable $index in any arithmetical expression in any
>> velocity script anywhere on the site.
>>
>> The skin is customized only to the extent of some inconsequential
>> tweaks. Same with blog app.
>>
>> There's no pagination of blog articles.
>>
>> Would someone please review the basic mechanics of how groovy classes
>> work, particularly as it pertains to my notification class?
>>
>> Also, I see by reading source that there's a newer way of monitoring
>> events through the "observation manager". Would someone please review
>> how to use this system?
>>
>> Thanks,
>>
>> Dan
he XWiki development team is pleased to announce the release of XWiki
Enterprise 1.7 Milestone 3.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Last milestone of the XWiki Enterprise 1.7 version.
Main changes:
* Webdav support
* Groovy upgrade
* New script macro
Important bug fixes:
* The old LDAP authenticator is still used by default in some cases
Note that general goals for XWiki Enterprise 1.7 are
* Working and usable (i.e. users can use them for their day to day
work instead of the old Syntax and old WYSIWYG editor) versions of new
rendering and new WYSIWYG editor.
* Working JCR (can be used for day to day work instead of Hibernate).
* French XE
* Blog revamping
* Webdav integration
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17M3
Thanks, The XWiki dev team
I ran into the same issue Jonathan mentioned the other day with
wysiwyg/wiki editor after applying servlet mapping changes etc to get
'Short URLs' working. There appears to be 2 solutions, one is that you
have to adjust servlet mappings for all directories & .js files at the top
level (*.js, tiny_mce, wiki_editor, yui) in order for everything to play
nice together.
A work around I've found if you don't want to do that (or have easy access
to it) is that everything does appear to work if you move those
directories under /skins/ & adjust the references to those files, in
javascript.vm & editwysiwyg.vm (there may be a couple other references
...)
I'm using a custom skin built on top of the defaults, which has the
advantage that I can have my own versions of those files & not have to
worry about changing paths to those js libraries in the default skin files
upon future upgrades.
I'm undecided which the better method is (servlet mapping vs. moving those
dirs), but in either case, this might be good info to add to the Short
URL instructions - unless Jonathan & I are the only ones who have
encountered this , in which case, not sure where we went wrong in our
respective configurations :-)
Incidentally, the adaptation of XWiki I'm working on is a pilot product
for www.boston.com (http://www.boston.com/yourtown/wiki/Newton/ - not
quite ready for prime time however ;-) as we get it more solidified I'll
be happy to share with the XWiki community & get more involved -
specifically I may be able to contribute some tips & tricks & shortcuts to
the custom skin documentation ...
Best,
Ricky Brennan
rbrennanjr(a)boston.com
Hi,
See below
Dan Svoboda wrote:
> Hi,
>
> I'm trying to use the notification system to trigger the sending of
> email whenever a comment is added to a blog article. I'm patterning my
> groovy class after the pircbot example on the xwiki snippets site.
>
> My system is xwiki workspaces as a virtual xwiki under xem. The
> platform version is 1.5.2.
>
> Here's my groovy class (XWSNotify.BlogMailNotificationGroovyClass):
>
> /* Groovy Class #* */
>
> import com.xpn.xwiki.api.XWiki;
> import com.xpn.xwiki.XWikiContext;
> import com.xpn.xwiki.notify.XWikiDocChangeNotificationInterface;
> import com.xpn.xwiki.notify.DocObjectChangedRule;
> import com.xpn.xwiki.notify.XWikiNotificationRule;
> import com.xpn.xwiki.doc.XWikiDocument;
>
> public class BlogMailNotificationGroovyClass implements \
>
> XWikiDocChangeNotificationInterface
>
> {
> def xwiki;
> def rule;
> def name;
>
> public void initClasses(XWikiContext context)
> {
> this.xwiki = context.getWiki();
> // listen to notifications
> this.rule = DocObjectChangedRule(this);
>
> context.getWiki().getNotificationManager().addGeneralRule(rule);
> }
>
> public void notify(XWikiNotificationRule rule, XWikiDocument
> newdoc, \
> XWikiDocument olddoc, int event, XWikiContext
> context)
> {
> def length = newdoc.getSpace().length();
> def lastFour = length - 4;
> if(newdoc.getSpace().substring(lastFour) == "Blog") {
>
> def ms = xwiki.getPlugin("mailsender");
> def nb = ms.sendHtmlMessage(context.getUser(), "myAddress(a)myHost.org
> ", \
> context.get("ccrecipients"),
> context.get("bccrecipients"), \
> context.get("subject"),
> newdoc.getRenderedContent(), \
> newdoc.getContent(),
> newdoc.getAttachments());
> }
> }
> }
>
> /* *# */
>
> Here's a velocity script I'm using to initialize/test:
>
> #set($sc =
> $context.getContext().getEngineContext().getServletContext())
> $sc.getAttribute("blgmailnotif")<br/>
> #set($blgmlnotif =
> $
> xwiki
> .parseGroovyFromPage("XWSNotify.BlogMailNotificationGroovyClass"))
> #set($ok = $sc.setAttribute("blgmailnotif", $blgmlnotif))
> #set($blgmailnotif = $sc.getAttribute("blgmailnotif"))
> $sc.getAttribute("blgmailnotif")<br/>
> #set($ok = $blgmlnotif.initClasses($context))
> #set($ok = $blgmlnotif.notify($blgmlnotif.rule,$newdoc,$newdoc,
> 3,$context))
>
> Here's the output from the velocity script:
>
> BlogMailNotificationGroovyClass@68e4a47
> BlogMailNotificationGroovyClass@3c401d45
>
> So, the groovy class gets initialized to a new reference successfully
> each time parseGroovyFromPage is called.
>
> Here's what appears in the log after running the velocity script:
>
> [ERROR] Left side ($request.title) of '!=' operation has null value.
> Operation not possible. [line 53, column 43]
> [WARNING] Cannot retrieve method notify from object of class
> BlogMailNotificationGroovyClass due to security restrictions.
>
> If I alter the velocity script to:
>
> #set($sc =
> $context.getContext().getEngineContext().getServletContext())
> $sc.getAttribute("blgmailnotif")<br/>
>
> Here's what appears in the log:
>
> [ERROR] Left side ($request.title) of '!=' operation has null value.
> Operation not possible. [line 53, column 43]
>
> So, the [WARNING] is the only log entry pertaining to the groovy
> class.
>
> If I add a comment to a Blog article (with or without the
> BlogMailNotificationGroovyClass initialized), the following appears in
> the log:
>
> [ERROR] Left side ($index) of addition operation has null value.
> Operation not possible. [line 20, column 25]
> [ERROR] Left side ($index) of addition operation has null value.
> Operation not possible. [line 20, column 25]
> [ERROR] Left side ($index) of addition operation has null value.
> Operation not possible. [line 20, column 25]
> [ERROR] Left side ($index) of addition operation has null value.
> Operation not possible. [line 20, column 25]
> [ERROR] Left side ($index) of addition operation has null value.
> Operation not possible. [line 20, column 25]
> [ERROR] Left side ($index) of addition operation has null value.
> Operation not possible. [line 20, column 25]
> [ERROR] Left side ($index) of addition operation has null value.
> Operation not possible. [line 20, column 25]
> [ERROR] Left side ($index) of addition operation has null value.
> Operation not possible. [line 20, column 25]
> [ERROR] Left side ($index) of addition operation has null value.
> Operation not possible. [line 20, column 25]
>
> The number of lines corresponds to the number of comments present in
> the Blog article. There's nothing in the log pertaining to the groovy
> class.
Indeed, this has nothing to do with your groovy notification. This is
generated by the velocity engine.
Is your skin customized ? Is the blog application modified ? (The log
says that somewhere a variable $index is trying to add something to
"null". Might be the pagination of blog articles ?)
Jerome.
I can't find a variable $index in any arithmetical expression in any
velocity script anywhere on the site.
The skin is customized only to the extent of some inconsequential
tweaks. Same with blog app.
There's no pagination of blog articles.
Would someone please review the basic mechanics of how groovy classes
work, particularly as it pertains to my notification class?
Also, I see by reading source that there's a newer way of monitoring
events through the "observation manager". Would someone please review
how to use this system?
Thanks,
Dan
How can the admin (or other user with admin privileges) modify another
user's picture/avatar?
The only way that I've found of doing this is attaching a file to the
user page and editing the XWiki.XWikiUsers "avatar" class item
manually. It looks like the regular avatar upload page doesn't work
properly for anyone but the user in question.
/DS
Hi
I have been running xwiki on a hosting server with 128Mb private JVM for a
few weeks with no problems - but all of a sudden today i seem to be getting
OutOfMemory errors whenever I try to run the app (i.e. go to the main page).
Is there any links / advice for performance tuning - i was reading something
about the attachment cache taking lots of memory (I would be happy to
disable this cache).
What would be the recommended memory for running xwiki?
It all seems strange as i have been running it for 3 weeks with no probs, I
have other hibernate apps but they are running fine.
reagrds,
rob.
Greetings
I have a problem with AdminSheet. When I select "Administrate wiki" to change some configurations, verify
that no menu image was showed and when I try to export something I recive this error:
A problem occured while trying to service your request. Please contact the support if this happens again.
Detailed information:
Error number 11015 in 11: Exception while exporting
Wrapped Exception: null
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while exporting
Wrapped Exception: null
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Wrapped Exception:
java.lang.NullPointerException
at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:230)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:57)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
I don't remeber of changing the AdminSheet page, but in the begining it show these functions:
$xwiki.jsx.use("XWiki.AdminSheet") $xwiki.ssx.use("XWiki.AdminSheet")
I send a screenShot of this.
Can anyone give me some clue?
Thanks in advance
Bruno Neves
How does one generate new key/value pair for form based authentication?
i.e. new values for;
xwiki.authentication.validationKey=totototototototototototototototo
xwiki.authentication.encryptionKey=titititititititititititititititi
Will anything else have to be changed after changing these values?
Also, what is the meaning of:
xwiki.authentication.cookiedomains=xwiki.com,wiki.fr
Should this be set to my own domain?
Cheers.
Dan Svoboda
Research Assistant Professor
U Pitt Center for HIV Protein Interactions
(412)648-7262
dsvoboda(a)structbio.pitt.edu
My network admin asked the following question when I asked him to let
his email server accept messages for forwarding from my xwiki server:
is your code secure? is there much chance that a malicious bot could
harvest email and start injecting messages through your server?
What should I tell him?
Dan Svoboda
Research Assistant Professor
U Pitt Center for HIV Protein Interactions
(412)648-7262
dsvoboda(a)structbio.pitt.edu
Hi,
I'm trying to use the notification system to trigger the sending of
email whenever a comment is added to a blog article. I'm patterning my
groovy class after the pircbot example on the xwiki snippets site.
My system is xwiki workspaces as a virtual xwiki under xem. The
platform version is 1.5.2.
Here's my groovy class (XWSNotify.BlogMailNotificationGroovyClass):
/* Groovy Class #* */
import com.xpn.xwiki.api.XWiki;
import com.xpn.xwiki.XWikiContext;
import com.xpn.xwiki.notify.XWikiDocChangeNotificationInterface;
import com.xpn.xwiki.notify.DocObjectChangedRule;
import com.xpn.xwiki.notify.XWikiNotificationRule;
import com.xpn.xwiki.doc.XWikiDocument;
public class BlogMailNotificationGroovyClass implements \
XWikiDocChangeNotificationInterface
{
def xwiki;
def rule;
def name;
public void initClasses(XWikiContext context)
{
this.xwiki = context.getWiki();
// listen to notifications
this.rule = DocObjectChangedRule(this);
context.getWiki().getNotificationManager().addGeneralRule(rule);
}
public void notify(XWikiNotificationRule rule, XWikiDocument
newdoc, \
XWikiDocument olddoc, int event, XWikiContext
context)
{
def length = newdoc.getSpace().length();
def lastFour = length - 4;
if(newdoc.getSpace().substring(lastFour) == "Blog") {
def ms = xwiki.getPlugin("mailsender");
def nb = ms.sendHtmlMessage(context.getUser(), "myAddress(a)myHost.org
", \
context.get("ccrecipients"),
context.get("bccrecipients"), \
context.get("subject"),
newdoc.getRenderedContent(), \
newdoc.getContent(),
newdoc.getAttachments());
}
}
}
/* *# */
Here's a velocity script I'm using to initialize/test:
#set($sc = $context.getContext().getEngineContext().getServletContext())
$sc.getAttribute("blgmailnotif")<br/>
#set($blgmlnotif =
$xwiki.parseGroovyFromPage("XWSNotify.BlogMailNotificationGroovyClass"))
#set($ok = $sc.setAttribute("blgmailnotif", $blgmlnotif))
#set($blgmailnotif = $sc.getAttribute("blgmailnotif"))
$sc.getAttribute("blgmailnotif")<br/>
#set($ok = $blgmlnotif.initClasses($context))
#set($ok = $blgmlnotif.notify($blgmlnotif.rule,$newdoc,$newdoc,
3,$context))
Here's the output from the velocity script:
BlogMailNotificationGroovyClass@68e4a47
BlogMailNotificationGroovyClass@3c401d45
So, the groovy class gets initialized to a new reference successfully
each time parseGroovyFromPage is called.
Here's what appears in the log after running the velocity script:
[ERROR] Left side ($request.title) of '!=' operation has null value.
Operation not possible. [line 53, column 43]
[WARNING] Cannot retrieve method notify from object of class
BlogMailNotificationGroovyClass due to security restrictions.
If I alter the velocity script to:
#set($sc = $context.getContext().getEngineContext().getServletContext())
$sc.getAttribute("blgmailnotif")<br/>
Here's what appears in the log:
[ERROR] Left side ($request.title) of '!=' operation has null value.
Operation not possible. [line 53, column 43]
So, the [WARNING] is the only log entry pertaining to the groovy class.
If I add a comment to a Blog article (with or without the
BlogMailNotificationGroovyClass initialized), the following appears in
the log:
[ERROR] Left side ($index) of addition operation has null value.
Operation not possible. [line 20, column 25]
[ERROR] Left side ($index) of addition operation has null value.
Operation not possible. [line 20, column 25]
[ERROR] Left side ($index) of addition operation has null value.
Operation not possible. [line 20, column 25]
[ERROR] Left side ($index) of addition operation has null value.
Operation not possible. [line 20, column 25]
[ERROR] Left side ($index) of addition operation has null value.
Operation not possible. [line 20, column 25]
[ERROR] Left side ($index) of addition operation has null value.
Operation not possible. [line 20, column 25]
[ERROR] Left side ($index) of addition operation has null value.
Operation not possible. [line 20, column 25]
[ERROR] Left side ($index) of addition operation has null value.
Operation not possible. [line 20, column 25]
[ERROR] Left side ($index) of addition operation has null value.
Operation not possible. [line 20, column 25]
The number of lines corresponds to the number of comments present in
the Blog article. There's nothing in the log pertaining to the groovy
class.
What am I doing wrong? Is there a way to put additional groovy
debugging information into the log?
Thanks,
Dan Svoboda
University of Pittsburgh Center for HIV Protein Interactions
Hi ,
I am trying to authenticate against our LDAP but the password field doesnt
seem to be readable, when i change the password field to cn it seem to be
fine - is there anything that has to be done to allow xwiki to read hidden
attributes? the password field should just be the standard "userPassword",
and it works with other systems.
my LDAP config is :-
#-# new LDAP authentication service
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap=1
#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
xwiki.authentication.ldap.server=<HOSTNAME>
xwiki.authentication.ldap.port=389
#-# LDAP login, empty = anonymous access, otherwise specify full dn
#-# {0} is replaced with the username, {1} with the password
xwiki.authentication.ldap.bind_DN=CN=<ADMINUSER>,CN=AdminUsers,O=CapitaGroup
xwiki.authentication.ldap.bind_pass=<ADMINPASSWD>
#-# Force to check password after LDAP connection
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap.validate_password=1
#-# only members of the following group will be verified in the LDAP
#-# otherwise only users that are found after searching starting from the
base_DN
#
xwiki.authentication.ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US
#-# [Since 1.5RC1, XWikiLDAPAuthServiceImpl]
#-# only users not member of the following group can autheticate
# xwiki.authentication.ldap.exclude_group=cn=admin,ou=groups,o=MegaNova,c=US
#-# base DN for searches
xwiki.authentication.ldap.base_DN=O=CapitaGroup
#-# Specifies the LDAP attribute containing the identifier to be used as the
XWiki name (default=cn)
xwiki.authentication.ldap.UID_attr=cn
#xwiki.authentication.ldap.UID_attr=sAMAccountName
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# Specifies the LDAP attribute containing the password to be used "when
xwiki.authentication.ldap.validate_password" is set to 1
#xwiki.authentication.ldap.password_field=userPassword
xwiki.authentication.ldap.password_field=cn
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential LDAP groups classes. Separated by commas.
#
xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential names of the LDAP groups fields containings the members.
Separated by commas.
# xwiki.authentication.ldap.group_memberfields=member,uniqueMember
#-# retrieve the following fields from LDAP and store them in the XWiki user
object (xwiki-attribute=ldap-attribute)
#-# ldap_dn=dn -- dn is set by class, caches dn in XWiki.user object for
faster access
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# on every login update the mapped attributes from LDAP to XWiki otherwise
this happens only once when the XWiki account is created.
xwiki.authentication.ldap.update_user=1
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# mapps XWiki groups to LDAP groups, separator is "|"
# xwiki.authentication.ldap.group_mapping=
XWiki.XWikiAllGroup=CN=MiisRoles,O=CapitaGroup|\
XWiki.sapadmin=
CN=Y_BC_XW_SAPADMIN,CN=MiisRoles,O=CapitaGroup|\
XWiki.portal_developer=CN=Y_BC_XW_EP_DEVELOPER,CN=MiisRoles,O=CapitaGroup|\
XWiki.team_leader=CN=Y_BC_XW_TEAM_LEADER,CN=MiisRoles,O=CapitaGroup
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# time in s after which the list of members in a group is refreshed from
LDAP (default=3600*6)
# xwiki.authentication.ldap.groupcache_expiration=21800
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# - create : synchronize group membership only when the user is first
created
#-# - always: synchronize on every login
# xwiki.authentication.ldap.mode_group_sync=always
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# if ldap authentication fails for any reason, try XWiki DB authentication
with the same credentials
xwiki.authentication.ldap.trylocal=1
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# SSL connection to LDAP server
#-# 0: normal
#-# 1: SSL
# xwiki.authentication.ldap.ssl=0
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# The keystore file to use in SSL connection
# xwiki.authentication.ldap.ssl.keystore=
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The java secure provider used in SSL connection
#
xwiki.authentication.ldap.ssl.secure_provider=com.sun.net.ssl.internal.ssl.Provider
Hello everybody,
Since I have installed xwiki on my Tomcat5 server I have OutOfMemory
problems.
These are related to the PermGen space, not the heap space.
I have read several topics about that with xwiki but with no answers.
If I remove xwiki from the server the problem disappear.
This server is hosted by an external provider and I will not be able to
extend the size of the permgen space.
Could somebody advice please?
Could I modify some configuration? E.g Logs?
This is really anoying because I think this tool is great
Many thanks in advance
Gilles
************************************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please notify the system manager (postmaster(a)lloydsbank.ch) and delete the message with any attached files from your system.
The confidentiality and integrity of this message cannot be guaranteed on the Internet and the sender does not accept liability for its content.
***********************************************************************************
Thanks Sergio,
yes - since I use the same macros in several templates, I thought I should
collect them in a single page and include that.
I've tried includeInContext, includeMacros, and includeForms - but I always
get the same problem.
Date: Wed, 19 Nov 2008 03:31:09 +0100
From: Sergiu Dumitriu <sergiu(a)xwiki.com>
Subject: Re: [xwiki-users] macros not executed?
Yishay Mor wrote:
> At
> http://patternlanguagenetwork.myxwiki.org/
> I'm seeing a strange phenomena. Some macros ocasionaly appear literally in
> the rendered page, and are only evaluated when I refresh.
Where are the macros defined? Is it scripts.IndexPage? There is a
problem in the way macros are included, caused by the way the Velocity
engine works with what it calls macro libraries.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
hi,All
I have a question about the xwiki table usage.When I have a table ,I try
to split one cell to more cells or merge some cells into one cell,I find
this function is invalid,when I click the save button ,the saved table is
not what I want,is anybody know how to solve this issue?or anyone who has
the same problem?is xwiki support this syntax?if so,who has the xwiki script
for the table?
Thanks
Steven
Hi,
I created a new widget displaying some statistical data via the Panel
Wizard. With the 'admin' logins, that widget
is always visible. However, when i logged in with non-admin username ( with
View right granted), the newly created
widget is no longer visible.
Apparently, there are 2 most likely causes:
-The widget contains a Groovy/Velocity snippet that requires Programming
right to see
- The non-admin username does not enough rights to see the widget
Anyone could help me?
All,
Where and how would you suggest to link a xWiki to google analytics?
Besides that, How can I control what content is indexed by external
search engines (like Google, Yahoo)
I have specific content that I would like to exclude from indexes,
although it is on public accessible pages.
In our system it is accessible by clcking a disclosure (because it
contains medical advise)
Gerritjan
Hi xwiki-users,
I've been using XE 1.6 for quite some time and it's one of the best apps
that I've ever used (thank you so much)! Few small questons/issues.
Whenever I create a mailto: link in xwiki 2.0 syntax, I can't put spaces in
it:
[[mailto:test@test.com?cc=test2@test.com&subject=This is a test]]
It used to be possible with the xwiki 1.0 syntax, though.
Also, I'd like to know how people are managing to place code snippets in
xwiki 2.0 syntax. In the past, I had used the {code} macro, but now that
it's gone, what do people use? Do people just wrap it in a <pre> now? How
about code syntax highlighting?
Keep up the good work!
Hello,
we run a small XWiki Enterprise (now V1.6.1) in the out-of-the-box HSQL /
jetty version. Actually it's not so small anymore and the HSQL database
file grew to a size of 1,4 GB. This size doesn't represent the actual size
of the attachments stored in the XWiki, it's much, much bigger. So I guess
there is a lot of space wasted by old versions and other unwanted stuff
maybe left there as the results of several XWiki version upgrades.
Is there any safe way to clean-up the database? Which tables could be
emptied? I can live with losing all the versioned attachments and pages.
Due to limited Java heap size we already get OutOfMemory exceptions when
trying to delete bigger attachments or export some bigger pages. And the
heap size is 1500 MB at the moment which is almost the maximum size
available.
Any ideas?
Thanks!
Bye,
Jan
Euler Hermes is the world's premier credit insurer, offering solutions
for the management of trade receivables, from credit insurance and
financing of trade receivables to bonding and guarantees. Euler
Hermes is a subsidiary of AGF and a member of Allianz.
www.eulerhermes.com
-------------------------------------
This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient or have received this e-mail in error,
notify the sender immediately and destroy this e-mail. Any unauthorised
use, copying, disclosure or distribution of the contents of this e-mail
is strictly forbidden and may be unlawful.
Read our full e-mail disclaimer statement and monitoring policy
(http://www.eulerhermes.com/group/en/disclaim/index.html) before
taking any action based on the contents of this e-mail.
Hello...
I'm trying to find out if XWiki is right for us. We need OpenID
authentication. Is this something XWkiki supports?
I'm new to both XWiki and OpenID, but am relatively literate in linux
and sql.
Thx,
D.
Greetings
I saw this page http://code.xwiki.org/xwiki/bin/view/Plugins/DocumentTreePlugin in the Xwiki Code Zone /
Plugins.
In the document instructions says:
- "Copy the jar-Archive to the %xwikipath%/WEB-INF/lib/ directory of your xwiki installation and add
com.xpn.xwiki.plugin.doctree.DocumentTreePlugin to the xwiki.cfg."
So I search for the link of the plugin, and I saw this note in the top of the page:
- "This plugin cannot currently be downloaded separately"
It cannot be downloaded from where separately from where?
Can anyone give me some clue abou it?
Thanks in advance
Bruno Neves
Greetings
It's possible to set an hierarchy between tags? For example, make a tag parent of another one, like we can do
with the documents.
Best regards
Bruno Neves
Hi,
I hope this isn't inappropriate. I need some help with XWiki development on
http://patternlanguagenetwork.myxwiki.org, roughly half-time for 4 months.
All code / components developed will be open source and will be contributed
back to the community when useful. Please email me if interested in more
details, or if you have any suggestions where I can find someone.
thanks,
- Yishya
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
I'm running an XWiki Farm with 3 XWikis. I upgraded to the latest version
of the XWiki, but now I can't use the Comments, Attachements, History or
Information Tabs (buttons). I click on them and it sends me to the url
domain/xwiki/bin/view/Main/#Attachments, but it doesn't show anything.
These were working before the upgrade.
Any ideas?
Sam
Thanks, that fixed it.
Now, when I try to edit a page with the WYSIWYG editor it doesn't show up,
and I get "wikiEditor is not defined" in firebug.
Jonathan
On Wed, Nov 12, 2008 at 11:05, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
> Jonathan Rudenberg wrote:
> ...
>
> prototype.js is getting included as "/prototype.js", which returns a not
> > found message.
>
> You could move it inside skins, and modify templates/javascript.vm to
> point to /skins/prototype.js instead of the current location.
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/<http://lists.xwiki.org/mailman/listinfo/users>
>
Hi!
In recent changes, we've got a lot of changes like "username in XWiki
2008 Nov 11 at 11:49 User Name ". It's created when the users logs
in (authentication is using LDAP). So, any way to disable these kind
of changes from showing in What's new?
Best regards, Mike
Hello,
I'm running an xwiki farm with 3 xwikis. Even when loading a simple
text page, the request is very slow.
I'm running on a CentOS box, using java in Tomcat and a mysql
database. Mysql usually hits 99.9% CPU and hangs there for a while.
Tomcat goes to about 50%.
We have it authenticating against an LDAP server, but the slowness
occurs even when loading the login screen.
I've turned off global statistics.
Any ideas as to what might be going on?
Sam
Hi XWiki users,
There are some simple ways to contribute to XWiki (see http://dev.xwiki.org/xwiki/bin/view/Community/Contributing)
and one of them is help spread the word about XWiki.
* And one way that helps is for example to click on the "I use this"
button on Ohloh:
http://www.ohloh.net/projects/xwiki
Right now there are only 20 users who taken the time to click on it.
I'm sure we could increase this number easily with your help! Go, go
go :)
* Another way is to create a reference page on http://www.xwiki.org/xwiki/bin/view/References/
(very easy to do), just use the template there.
* We also have a XWiki user map on frappr:
http://www.frappr.com/xwikiusers
* Of course blogging, tweeting and talking to people about XWiki helps
tremendously too. So if you want to see XWiki continue and grow you
know what you have to do!
Thanks a lot for your help
-Vincent on behalf of the XWiki project
Hello,
Seems to me there is a bug with this snippet. It renders fine, displays the
existing tags, etc. The problem arises when you try to add new tags using
this.
Ex:
I replace the 'Tag Panel' code with the snippet code, and change the 'panel
type' to 'view', then add the panel to one of the menu bars (left or right).
I browse to a space that has no tags on it, and use the panel to add 2 new
tags (type the tags in the textbox and press 'update' button). The two tags
were like this:
tag_1|tag_2
But, when I click the 'update' button, it applies the tag to the page, but
instead of seeing two tags titled 'tag_1' and 'tag_2', I see one tag titled
'tag_1 tag_2'.
Has anyone else seen this problem, or know how to fix it? The code snippet
is available here.
--
View this message in context: http://n2.nabble.com/Problem-with-%27Inline-Tag-Edition-Snippet%27-tp149934…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
Can someone help me?
I need urgent two HQL queries:
1. Query for all "wanted pages" - pages that have been linked to, but are
not yet written - new pages (links with the question mark next to them);
2. The version number of the document I restored/rolled back to.
Thanks in advance,
adoro
--
View this message in context: http://n2.nabble.com/Please%2C-badly-need-help-with-HQL...-tp1493848p149384…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Greetings
I have a simple doubt. There is a way to give the privilage of creating new XWiki pages to a user, but
forbidden him of creating tags in new pages?
Thanks in advance
Bruno Neves
Hi, I'm trying to implement xwiki for the first time in our environment. We
have an OpenLDAP server that I would like to use for authentication. I have
been able to get xwiki to authenticate via LDAP for users that already exist
in the xwiki database, but there are a few things that still are not right.
1. I can not log in to xwiki unless the user already exists in the xwiki
database. This would not be a problem (and in fact is probably prefered)
except...
2. When xwiki is configured to use LDAP, I can not add a user to the
database. I also can not change xwiki group membership or permissions for
any user when xwiki is configured for LDAP. Everything related to users
seems to be locked while xwiki is on LDAP.
3. Users can authenticate using their LDAP password or the password that is
stored in the xwiki database. I know that has to do with the
'xwiki.authentication.ldap.trylocal=1' setting, but without that it, the
login form gives no feedback as to why the login failed. ex. "Wrong user
name" etc.
Right now it seems to me that the only way for me to add a new user to xwiki
would be to:
1. take xwiki off LDAP
2. add user to xwiki database
3. set permissions
4. put xwiki back on LDAP
There has to be an easier way to do this. Some of the threads I've been
reading indicate that users are automatically created when authenticated via
LDAP. This would be fine with me as long as the default group had no
permissions, and I could later assign the user to the appropriate group.
I've included an excerpt from my xwiki.cfg file. Please let me know if I'm
doing something wrong.
Thanks.
FYI my xwiki version number is 1.6.1.13621
-------------------
Excerpt from xwiki.cfg:
#-------------------------------------------------------------------------------------
# LDAP
#-------------------------------------------------------------------------------------
#-# new LDAP authentication service
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap=1
#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
xwiki.authentication.ldap.server=192.168.xxx.xxx
xwiki.authentication.ldap.port=389
#-# LDAP login, empty = anonymous access, otherwise specify full dn
#-# {0} is replaced with the username, {1} with the password
xwiki.authentication.ldap.bind_DN=cn=manager,dc=[domain],dc=[TLD]
xwiki.authentication.ldap.bind_pass=xxxxxxxxxxx
#-# Force to check password after LDAP connection
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap.validate_password=0
#-# only members of the following group will be verified in the LDAP
#-# otherwise only users that are found after searching starting from the
base_DN
#
xwiki.authentication.ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US
#-# [Since 1.5RC1, XWikiLDAPAuthServiceImpl]
#-# only users not member of the following group can autheticate
# xwiki.authentication.ldap.exclude_group=cn=admin,ou=groups,o=MegaNova,c=US
#-# base DN for searches
xwiki.authentication.ldap.base_DN=ou=Users,dc=percipenz,dc=com
#-# Specifies the LDAP attribute containing the identifier to be used as the
XWiki name (default=cn)
xwiki.authentication.ldap.UID_attr=uid
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# Specifies the LDAP attribute containing the password to be used "when
xwiki.authentication.ldap.validate_password" i$
# xwiki.authentication.ldap.password_field=userPassword
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential LDAP groups classes. Separated by commas.
#
xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDi$
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential names of the LDAP groups fields containings the members.
Separated by commas.
# xwiki.authentication.ldap.group_memberfields=member,uniqueMember
#-# retrieve the following fields from LDAP and store them in the XWiki user
object (xwiki-attribute=ldap-attribute)
#-# ldap_dn=dn -- dn is set by class, caches dn in XWiki.user object for
faster access
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,fullname=displayName,email=mail
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# on every login update the mapped attributes from LDAP to XWiki otherwise
this happens only once when the XWiki accou$
xwiki.authentication.ldap.update_user=1
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# mapps XWiki groups to LDAP groups, separator is "|"
#
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=AdminRole,ou=groups,o=MegaNova,c=US|\
#
XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# time in s after which the list of members in a group is refreshed from
LDAP (default=3600*6)
# xwiki.authentication.ldap.groupcache_expiration=21800
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# - create : synchronize group membership only when the user is first
created
#-# - always: synchronize on every login
# xwiki.authentication.ldap.mode_group_sync=always
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# if ldap authentication fails for any reason, try XWiki DB authentication
with the same credentials
xwiki.authentication.ldap.trylocal=1
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# SSL connection to LDAP server
#-# 0: normal
#-# 1: SSL
# xwiki.authentication.ldap.ssl=0
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# The keystore file to use in SSL connection
# xwiki.authentication.ldap.ssl.keystore=
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The java secure provider used in SSL connection
#
xwiki.authentication.ldap.ssl.secure_provider=com.sun.net.ssl.internal.ssl.Provider
--
View this message in context: http://n2.nabble.com/New-users-and-LDAP-tp1482130p1482130.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hallo,
can someone help me - how to get a real comment from revision version if I
do rollback (in this case in history it will be always "Rollback to version
...").
Best Regards,
adoro
--
View this message in context: http://n2.nabble.com/How-to-get-a-comment-from-revision-version--tp1489643p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Just looking at the new WYSIWYG editor - just one question - will there be
an option to make it easy to link to a file on a network drive i.e. via
file:// ? Yes I know one could insert files into the wiki itself, but some
people (those new to wikis) prefer the flexibility of storing files on
network drives and it also provides a means of using the wiki as a way of
indexing files on network drives and commenting on what the files are.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Jean-Vincent Drean
Sent: 13 November 2008 11:51
To: XWiki Developers; XWiki Users
Subject: [xwiki-users] [ANN] XWiki Enterprise 1.7 Milestone 2 Released
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.7 Milestone 2. Second milestone of the XWiki Enterprise
1.7 version.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Main changes:
* Work in progress on the new XWiki Syntax v2.0.
* Work in progress on the new WYSIWYG editor.
* Added a ROOT webapp to the standalone distribution.
Important bug fixes:
* SMTP server address is not re-read when it's changed in global preferences
* Watchlist update sent by email does not contain the full path to a
changed attachment
Note that general goals for XWiki Enterprise 1.7 are:
* Working and usable (i.e. users can use them for their day to day
work instead of the old Syntax and old WYSIWYG editor) versions of new
rendering and new WYSIWYG editor.
* Working JCR (can be used for day to day work instead of Hibernate).
* French XE
* Blog revamping
* Webdav integration
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17M2
Thanks,
The XWiki dev team
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi,
I was running in similar problems. By now i'm using hibernate.cfg.xml with
pure JDBC connection.
DataSource was working up to 1.5.2 - and is not working since 1.6zzz.
JBoss (4.2.1, 4.2.2) shows JNDI reference but it is not recognized by xwiki.
Should I raise a JIRA?
regards,
Rudi
semasont wrote:
>
> Hi all,
>
> since xwiki 1.6 release I'm keen on having fun with it, but there is a
> problem while setting it up.
> I'm running Jboss (vers. 4.2.1) and I've already successfully installed
> xwiki 1.1.1 on it. My plan was
> to "upgrade" simply by implementing the new .war of the 1.6 (like
> described in Admin'sGuide and Admin's
> Guide/JBoss). I configuered my hibernate-config-xml, web.xml and xwiki.cfg
> with my old settings (I'm using
> DataSource). When everything is set and I want to start the run.bat all
> seems ok, but one "WARN" appears:
>
> WARN [javax.enterprise.resource.webcontainer.jsf.config] Unable to
> process deployment descriptor for context 'null' (from server.log)
>
> when I try to start xwiki via browser(http://localhost:8080/xwiki)
> exception 404 is thrown
>
> So, does anyone here tried out xwiki with the upper combination, or knows
> smth I did wrong???
> I'd be really happy and thankful for some help/advice =)
>
> greetz markus
>
--
View this message in context: http://n2.nabble.com/Problems-with-migration-to-xwiki-1.6.war-in-jboss-4.2.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Ik was wondering if it would be useful to allow userpages (including
XWiki.XWikiUserClass) in another space than the XWiki 'system' space. I
tried this, but logging on only seems to work if users are in the XWiki
space. I would like them to be in a seperate space to allow users to
edit content on their own page and others to comment on them.
Regards,
Henk
==
Henk F. Schouten, ICT-architect, Dienst ICT
room: SL 2.32, phone (31) 70 4457611, email: H.F.Schouten(a)hhs.nl
De Haagse Hogeschool, Johanna Westerdijkplein 75, 2521 EN the Hague (NL)
Hello community,
This may be a bit of an easy/stupid question, but bear with me! Is there a
way to assess what page is currently being viewed by the user (with
Velocity), so that I may be able to do something like this:
#if (currentPage = someOtherPage)
...do this...
#else
... do something else...
#end
Any input on this would be amazing! Cheers once again to the XWiki
community.
--
View this message in context: http://n2.nabble.com/How-to-assess-what-page-is-currently-being-viewed-by-t…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Also is there going to be an table properties option to set the table border
on/off, border line widths/colours, table cell colours, column, row widths,
column headings, etc - our users would like the flexibility of tables to
help layout their wiki pages (hiding the table borders) to mimic magazine
layouts.
Richard
-----Original Message-----
From: goldring, richard
Sent: 13 November 2008 13:56
To: 'XWiki Users'
Subject: RE: [xwiki-users] [ANN] XWiki Enterprise 1.7 Milestone 2
Released
Just looking at the new WYSIWYG editor - just one question - will there be
an option to make it easy to link to a file on a network drive i.e. via
file:// ? Yes I know one could insert files into the wiki itself, but some
people (those new to wikis) prefer the flexibility of storing files on
network drives and it also provides a means of using the wiki as a way of
indexing files on network drives and commenting on what the files are.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Jean-Vincent Drean
Sent: 13 November 2008 11:51
To: XWiki Developers; XWiki Users
Subject: [xwiki-users] [ANN] XWiki Enterprise 1.7 Milestone 2 Released
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.7 Milestone 2. Second milestone of the XWiki Enterprise
1.7 version.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Main changes:
* Work in progress on the new XWiki Syntax v2.0.
* Work in progress on the new WYSIWYG editor.
* Added a ROOT webapp to the standalone distribution.
Important bug fixes:
* SMTP server address is not re-read when it's changed in global preferences
* Watchlist update sent by email does not contain the full path to a
changed attachment
Note that general goals for XWiki Enterprise 1.7 are:
* Working and usable (i.e. users can use them for their day to day
work instead of the old Syntax and old WYSIWYG editor) versions of new
rendering and new WYSIWYG editor.
* Working JCR (can be used for day to day work instead of Hibernate).
* French XE
* Blog revamping
* Webdav integration
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17M2
Thanks,
The XWiki dev team
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.7 Milestone 2. Second milestone of the XWiki Enterprise
1.7 version.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Main changes:
* Work in progress on the new XWiki Syntax v2.0.
* Work in progress on the new WYSIWYG editor.
* Added a ROOT webapp to the standalone distribution.
Important bug fixes:
* SMTP server address is not re-read when it's changed in global preferences
* Watchlist update sent by email does not contain the full path to a
changed attachment
Note that general goals for XWiki Enterprise 1.7 are:
* Working and usable (i.e. users can use them for their day to day
work instead of the old Syntax and old WYSIWYG editor) versions of new
rendering and new WYSIWYG editor.
* Working JCR (can be used for day to day work instead of Hibernate).
* French XE
* Blog revamping
* Webdav integration
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17M2
Thanks,
The XWiki dev team
Hello,
I am building a documentation wiki and have hundreds of pages being
generated by scripts.
In generating the pages I have used an existing unique identifier as the
name of the document.
Now when using the Insert/edit link dialog in the Wysiwyg editor, I can
only see the short
name (i.e. the unique identifier). Since this makes it difficult for my
users to recognize which
document to link to, I would prefer to see the title in this dialog. Is
there any way to change
this? Is a velocity template being used for this dialog.
Thanks,
Henk
--
==
Henk F. Schouten, ICT-architect, Dienst ICT
room: SL 2.32, phone (31) 70 4457611, email: H.F.Schouten(a)hhs.nl
De Haagse Hogeschool, Johanna Westerdijkplein 75, 2521 EN the Hague (NL)
Hey everyone,
While using XWiki version 1.1.2.5797 to document some software, the
following problem occurred:
I tried to insert snippets of a XSL file into a XWiki page using a {code}
macro. As far as I know this macro treats input as plaintext, which would
be exactly what I need. However, it turned out to work differently. It
parsed HTML entities, so instead of displaying inputs like
<!ENTITY Auml "&#196;">
exactly as they are, the HTML parts are parsed to
<!ENTITY Auml "Ä">
Having failed with the {code} macro, I tried {pre} and \, but none of them
worked. The same problem occurred when I used XWiki 1.7 which is running
on a test server in the company I work for. Does anyone of you know how to
make XWiki display HTML and XML entities as plaintext?
I could not find anything about this problem in the documentation, the
FAQ, or in the mailing list archive. Did I simply miss something? Since I
read some threads about issues with the WYSIWYG editor, let me add that I
use the XWiki editor, not the WYSIWYG editor.
Any help would be greatly appreciated!
Best regards,
Sascha
Hi all,
I use XWS version 1.1 or 1.2M with the same problem since few days :-(
There is no problem for locals users (even or simple user), but when users
auth via LDAP (openldap), when they connect, there is an error :
You cannot create a personnal space since your not registered on this wiki!
whereas they are connected ...
I didn't find any clues to solve the problem and never see this error in the
archives ...
Here is the ldap config :
xwiki.authentication.ldap=1
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap.server=ldap.test.com
xwiki.authentication.ldap.port=391
xwiki.authentication.ldap.bind_DN=uid={0},ou=people,dc=uhp-nancy,dc=fr
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.validate_password=0
xwiki.authentication.ldap.base_DN=ou=people,dc=uhp-nancy,dc=fr
xwiki.authentication.ldap.UID_attr=uid
xwiki.authentication.ldap.group_classes=groupOfNames
xwiki.authentication.ldap.group_memberfields=member
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
xwiki.authentication.ldap.update_user=1
xwiki.authentication.ldap.trylocal=1
xwiki.authentication.ldap.ssl=0
Here is the debug, we can find an error "New XWiki user created: null" :
18:48:59,211
[http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the
user object: null
18:48:59,212
[http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Searching for the user
in LDAP: user:massenot base:ou=people,dc=uhp-nancy,dc=fr
query:(uid=massenot) uid:uid
18:48:59,212
[http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG ldap.XWikiLDAPConfig - Ready to create user
from LDAP with fields
last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
18:48:59,216
[http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will
be used to update XWiki attributes.
18:48:59,216
[http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Creating new XWiki
user based on LDAP attribues located at
uid=massenot,ou=people,dc=uhp-nancy,dc=fr
18:48:59,216
[http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG ldap.XWikiLDAPConfig - Ready to create user
from LDAP with fields
last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
18:48:59,266
[http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - New XWiki user
created: null
18:48:59,435
[http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/$!redirect]
[http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the
user object: uid=massenot,ou=people,dc=uhp-nancy,dc=fr
18:48:59,435
[http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/$!redirect]
[http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will
be used to update XWiki attributes.
18:48:59,435
[http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/$!redirect]
[http-8080-1] DEBUG ldap.XWikiLDAPConfig - Ready to create user
from LDAP with fields
last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
18:48:59,437
[http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/$!redirect]
[http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating existing user
with LDAP attribues located at uid=massenot,ou=people,dc=uhp-nancy,dc=fr
18:48:59,437
[http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/$!redirect]
[http-8080-1] DEBUG ldap.XWikiLDAPConfig - Ready to create user
from LDAP with fields
last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
18:48:59,615 [http://172.22.123.8:8080/xwiki/bin/view/Main/] [http-8080-1]
DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user object:
uid=massenot,ou=people,dc=uhp-nancy,dc=fr
18:48:59,616 [http://172.22.123.8:8080/xwiki/bin/view/Main/] [http-8080-1]
DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will be used to
update XWiki attributes.
18:48:59,616 [http://172.22.123.8:8080/xwiki/bin/view/Main/] [http-8080-1]
DEBUG ldap.XWikiLDAPConfig - Ready to create user from LDAP with
fields
last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
18:48:59,618 [http://172.22.123.8:8080/xwiki/bin/view/Main/] [http-8080-1]
DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAP
attribues located at uid=massenot,ou=people,dc=uhp-nancy,dc=fr
18:48:59,618 [http://172.22.123.8:8080/xwiki/bin/view/Main/] [http-8080-1]
DEBUG ldap.XWikiLDAPConfig - Ready to create user from LDAP with
fields
last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
Any clues ?
I have try the old method for LDAP
(com.xpn.xwiki.user.impl.LDAP.LDAPAuthServiceImpl), the result is different
but not correct ...)
Thx.
(Sorry if you received twice, i didn't validate my account in the list the
first one ...).
--
View this message in context: http://n2.nabble.com/You-cannot-create-a-personnal-space-since-your-not-reg…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I'm running XWiki 1.6.1 as a root application in Jetty. I've made all the
modifications on http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs,
but prototype.js is getting included as "/prototype.js", which returns a not
found message.
In the comments on the Short URLs article, someone mentions that they had
the same issue, and had to add another servlet mapping. How do I do this?
Jonathan
Hallo Community,
perhaps a stupid question:
I have created a new class, e.g. "XwikiTestClass"
How can I add an object from this class to all documents in my Wiki (or to
some selected spaces) ?
Thanks in advance
Alla
--
View this message in context: http://n2.nabble.com/Add-object-tp1489281p1489281.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
no solution jet. I also think the jar-File is corrupted.
Greetings Helmut
Florian Rhomberg wrote:
>
> Hi!
> I have the same problem when I tried to install the plugin yesterday. Have
> you already found a solution? I believe that the jar file is corrupted.
>
> Greetings,
> Florian
>
>
--
View this message in context: http://n2.nabble.com/DocumentTree-Plugin-tp1111723p1125613.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
I have created a class and multiple documents under that. Is there any way
in XWiki to get mostly viewed documents of this particular class ? Please
help. i am using XE 1.6
Regards
Syam
--
View this message in context: http://n2.nabble.com/Getting-Most-accessed-documents-tp1489044p1489044.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Does anyone know of some way to limit concurrent use of a user account? I
need to prevent the same user account being used by more than one person at
the same time.
Thanks
--
View this message in context: http://n2.nabble.com/Concurrent-users-tp1477107p1477107.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello community,
I'm not sure if this is a bug, or a feature, but the behavior is puzzling to
me. My company has set our XWiki site on a domain name, which is working
perfectly for us.
As you browse through the website, the domain name is always present in the
address bar and does not reveal the IP address of the server. However, when
a user elects to 'Edit' a page, they are then transferred to the editor they
chose (Wiki/Wysiwyg/objects/etc.), and when they are transferred, the domain
name in the address bar is replaced with the IP address. This behavior is
frustrating as we would like to keep the IP address of the server private,
so the users are not privy to that information. Has anybody else
experienced this behavior? And, is there a way to avoid or change this?
Also, I've noticed that all links generated by XWiki use the IP address of
the server machine as well. For instance, when you hover over any of the
links generated by the XWiki rendering engine, the address can be seen by
the user in the bottom left hand corner in the information panel, and they
always use the IP address. This again defeats the purpose of using a domain
name. Is there a way to change this also?
Thanks in advance
--
View this message in context: http://n2.nabble.com/Domain-name-in-address-bar-changed-to-IP-address-when-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Please help!
Have to edit the registration. I have added Xwiki registration and started
off by copying registerinline.vm into it, and removing the outer if clause
I have added several properties to the xwikiuser class, and by looking at
the code in registration have got the new fields in.
I have added the new fields to the profile pages too.
When I register a new user and go to their profile all the new fields are
blank - they display their boxes, but nothing in them.
Have I missed a step somewhere???
Very happy to share code if needs be but I am really stuck!
Could somebody please help!
Hi users,
We can't get a consensus between the developers, so we need your opinion
about this (as fast as possible):
What is the best term:
1. blog post
2. blog entry
3. blog article
Thank you.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hi,
We are busy building a multilanguage xWiki.
My polish friends are complaining about the fact that the words are
not displaying correctly
Is it due to ApplicationResources_pl.properties supplied in xWiki 1.6.1?
Or is a setting ?
Gerritjan