Hi All
I am having a problem uploading a xar file. I get "Java Heap Space, Out
of memory exception" (full message below).
I've downloaded the latest version of XWiki for windows xp (beginner's
version with HSQLDB & Jetty).
In my start_xwiki.bat I have set "set JAVA_OPTS=-Xmx1600m -Xms512m".
1.6gb is the maximum as xwiki would not start if I go over this.
I don't think I have CATALINA.bat any ware so I din not find where to
set CATALINA_OPTS.
I have changed file upload size to 133MB by going to
http://localhost:8080/xwiki/bin/edit/XWiki/XWikiPreferences?editor=objec
t and changing Maximum Upload Size:.
The .xar file is 90MB downloaded as backup from
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Main/WebHome.
I do not know what version this runs on since it is on one of the xwiki
farm things :-).
I have Win XP with 3.5gb memory available.
Has anyone had this error recently?
Regards
Ajdin Brandic
Here is the full error message:
A problem occured while trying to service your request. Please contact
the support if this happens again.
Detailed information:
Error number 11014 in 11: Java Heap Space, Out of memory
exception
Wrapped Exception: null
com.xpn.xwiki.XWikiException: Error number 11014 in 11: Java Heap Space,
Out of memory exception
Wrapped Exception: null
at
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin.getFileItemData(FileUpl
oadPlugin.java:297)
at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:78)
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(RequestPr
ocessor.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(Web
ApplicationHandler.java:830)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion
Filter.java:94)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:287)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
andler.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(WebApplicationCon
text.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.OutOfMemoryError
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(Unknown Source)
at
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin.getFileItemData(FileUpl
oadPlugin.java:293)
at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:78)
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(RequestPr
ocessor.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(Web
ApplicationHandler.java:830)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion
Filter.java:94)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:287)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
andler.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(WebApplicationCon
text.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)
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.
Hi,
I'm trying to install xwiki following all the steps included in
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL.
I'm working with jboss and MySQL.
* First I download xwiki-enterprise-web-1.9.3.war then,
* I installed MySQL 5.1 in this step I created the Data base
- mysql -u root -e "create database xwiki"
- mysql -u root -e "grant all privileges on xwiki.* to
xwiki(a)127.0.0.1 identified by 'xwiki'"
- I included the MySQL JDBC Driver JAR in the WEB-INF/lib
folder
- I changed hibernate.xml with mysql properties
* I installed jboss-4.0.5.GA
- I tried to use a datasource but doesn't work for me, so I am
working without it.
As you see, I followed all the steps described in xwiki site, but I have
many errors and I haven't done nothing different
16:47:20,204 INFO [DefaultLoadEventListener] Error performing load
command
org.hibernate.ObjectNotFoundException: No row with the given identifier
exists: [com.xpn.xwiki.doc.XWikiDocument#104408758]
16:47:20,375 WARN [XWiki] Exception while getting wiki preference
[macros_languages]
java.lang.NullPointerException
16:47:20,469 WARN [XWiki] Exception while getting wiki preference
[macros_velocity]
java.lang.NullPointerException
16:47:20,547 WARN [XWiki] Exception while getting wiki preference
[macros_groovy]
java.lang.NullPointerException
16:47:42,032 WARN [XWiki] Exception while getting wiki preference
[macros_mapping]
java.lang.NullPointerException
16:47:43,313 INFO [DefaultLoadEventListener] Error performing load
command
org.hibernate.ObjectNotFoundException: No row with the given identifier
exists: [com.xpn.xwiki.objects.classes.BaseClass#-629142642]
16:47:56,048 INFO [DefaultLoadEventListener] Error performing load
command
org.hibernate.ObjectNotFoundException: No row with the given identifier
exists: [com.xpn.xwiki.doc.XWikiDocument#-1905796263]
16:47:56,439 WARN [XWiki] Exception while getting wiki preference
[backlinks]
java.lang.NullPointerException
I supposed that all of this errors are happening because I have to
install the *.xar files
And then I got this error and that's all. I can't see nothing else.
16:48:03,158 INFO [STDOUT] Hibernate: select xwikidocum0_.XWD_ID as
XWD1_0_0_, xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikidocum0_.XWD_NAME
as XWD3_0_0_, xwikidocum0_.XWD_TITLE as XWD4_0_0_,
xwikidocum0_.XWD_LANGUAGE as XWD5_0_0_,
xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD6_0_0_,
xwikidocum0_.XWD_TRANSLATION as XWD7_0_0_, xwikidocum0_.XWD_DATE as
XWD8_0_0_, xwikidocum0_.XWD_CONTENT_UPDATE_DATE as XWD9_0_0_,
xwikidocum0_.XWD_CREATION_DATE as XWD10_0_0_, xwikidocum0_.XWD_AUTHOR as
XWD11_0_0_, xwik
idocum0_.XWD_CONTENT_AUTHOR as XWD12_0_0_, xwikidocum0_.XWD_CREATOR as
XWD13_0_0_, xwikidocum0_.XWD_WEB as XWD14_0_0_, xwikidocum0_.XWD_CONTENT
as XWD15_0_0_, xwikidocum0_.XWD_VERSION as XWD16_0_0_,
xwikidocum0_.XWD_CUSTOM_CLASS as XWD17_0_0_, xwikidocum0_.XWD_PARENT as
XWD18_0_0_, xwikidocum0_.XWD_CLASS_XML as XWD19_0_0_,
xwikidocum0_.XWD_ELEMENTS as XWD20_0_0_,
xwikidocum0_.XWD_DEFAULT_TEMPLATE as XWD21_0_0_,
xwikidocum0_.XWD_VALIDATION_SCRIPT as XWD22_0_0_,
xwikidocum0_.XWD_COMMENT as XWD23_0
_0_, xwikidocum0_.XWD_MINOREDIT as XWD24_0_0_,
xwikidocum0_.XWD_SYNTAX_ID as XWD25_0_0_, xwikidocum0_.XWD_HIDDEN as
XWD26_0_0_ from xwikidoc xwikidocum0_ where xwikidocum0_.XWD_ID=?
16:48:03,173 ERROR [[action]] Servlet.service() for servlet action threw
exception
java.lang.NoSuchMethodError:
org.apache.commons.lang.StringUtils.join(Ljava/util/Collection;Ljava/lan
g/String;)Ljava/lang/Stri
at
com.xpn.xwiki.plugin.watchlist.WatchListPlugin.globalSearchDocuments(Wat
chListPlugin.java:596)
at
com.xpn.xwiki.plugin.watchlist.WatchListPlugin.sanitizeWatchlists(WatchL
istPlugin.java:629)
at
com.xpn.xwiki.plugin.watchlist.WatchListPlugin.init(WatchListPlugin.java
:122)
at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.ja
va:155)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.jav
a:92)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.ja
va:120)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1022)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:742)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:670)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:317)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:388)
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(RequestPr
ocessor.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:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion
Filter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:175)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.j
ava:74)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnecti
onValve.java:156)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorker
Thread.java:112)
at java.lang.Thread.run(Thread.java:619)
16:48:13,001 INFO [IndexUpdater] deleting 8 docs from lucene index
16:48:13,189 INFO [IndexUpdater] deleted 8 docs from lucene index
16:48:13,220 INFO [IndexUpdater] indexing 8 docs to lucene index
16:48:13,236 INFO [STDOUT] Hibernate: select xwikidocum0_.XWD_ID as
XWD1_0_0_, xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikid
idocum0_.XWD_CONTENT_AUTHOR as XWD12_0_0_, xwikidocum0_.XWD_CREATOR as
XWD13_0_0_, xwikidocum0_.XWD_WEB as XWD14_0_0_, xwikido
_0_, xwikidocum0_.XWD_MINOREDIT as XWD24_0_0_,
xwikidocum0_.XWD_SYNTAX_ID as XWD25_0_0_, xwikidocum0_.XWD_HIDDEN as
XWD26_0_0_
16:48:13,251 INFO [DefaultLoadEventListener] Error performing load
command
org.hibernate.ObjectNotFoundException: No row with the given identifier
exists: [com.xpn.xwiki.doc.XWikiDocument#723512152]
at
org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFact
oryImpl.java:375)
at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventLi
stener.java:143)
at
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoad
EventListener.java:193)
at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEvent
Listener.java:101)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:784)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore
.java:641)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:20
9)
at
com.xpn.xwiki.doc.XWikiDocument.getTranslatedDocument(XWikiDocument.java
:3676)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:2
21)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:117)
at java.lang.Thread.run(Thread.java:619)
........
I hope that someone can help me!
Thanks in advance!
Carolina Ramirez P
Hello,
As I didn't find a solution about my native renderer problem issue, so I
tried the google charts API one. Unfortunatly, when I write more than a
certain number (not too many) of characters in formula tags, I have an
error. Instead of using the google charts renderer, the snuggletex one is
used...
For instance when I wrote this simple code :
{{formula}}
111111111111111111111111111111\\
111111111111111111111111111111\\
111111111111111111111111111111\\
111111111111111111111111111111\\
111111111111111111111111111111\\
111111111111111111111111111111\\
111111111111111111111111111111\\
111111111111111111111111111111
{{/formula}}
All break lines (\\) weren't rendered. But ! If I write only the four first
lines, all is fine.
Is this a know issue ? What can I do ?
Last question : : When my wiki is local, can it make external HTTP ?
Because, When I want to use the mathtran renderer I have this error :
2010-04-23 15:49:26,238 [
http://localhost:8080/xwiki/bin/tex/Public/FormulaMacro
Again/440bdc8f8001d9d387dbb95e1f1328998c35678a03e22bbf8eb747dc9de8a34d]
ERROR web.XWikiAction - Connection aborted
See Google Charts renderer error lines :
2010-04-23 12:04:37,463 [
http://localhost:8080/xwiki/bin/view/Public/FormulaMacroAgain] ERROR
formula.FormulaMacro
- Invalid renderer: [googlecharts]. Falling back to the safe
renderer.org.xwiki.component.manager.ComponentLookupException:
Failed to render formula using [googlecharts] renderer
at
org.xwiki.rendering.internal.macro.formula.FormulaMacro.render(FormulaMacro.java:162)
at
org.xwiki.rendering.internal.macro.formula.FormulaMacro.execute(FormulaMacro.java:112)
at
org.xwiki.rendering.internal.macro.formula.FormulaMacro.execute(FormulaMacro.java:57)
at
org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:175)
at
org.xwiki.rendering.internal.transformation.MacroTransformation.transform(MacroTransformation.java:120)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
at
com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:5696)
at
com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:5671)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:626)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:595)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:497)
at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1710)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1631)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:123)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224)
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:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:109)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
--
Marine JULIAN
Hi guys,
I found a code snippet on xwiki.org, that does a TreeNav feature, but
actually, this is not what I want. I would like to have the Treeview,
as on /XWiki/Treeview inside a panel. As a matter of fact, it seems
the code for Treeview does only work, when there is nothing else on
that page, so adding just a line of text in the beginning of the
XWiki/Treeview page seems to make the "+"-signs to open the
tree-structure unusable. Probably for the same reason, I did not
manage yet, to get it inside a panel. Do you have some ideas, what I
could do to get what I want?
Thanx,
Sebastian
Hi,
I'm using workspaces 1.2M1 as a virtual xwiki under xem 1.3. I have
configured the XWikiServerClass object under XWikiServerServername to
have the visibility property set to 'Private'. When I look at
XWikiPreferences in the virtual xwiki, there are XWikiGlobalRights
objects configured Deny, Groups:,Levels:Register,Users:XWikiGuest, and
Deny, Groups:XWikiAllGroup, Levels: edit, register, Users:
The registration form still appears on the login page, and upon
filling in the fields and submitting, registration is successful.
I need to not allow registration by anyone except Admin.
Thanks,
Dan Svoboda
Navigating to the Main.LuceneSearch page brings up the following error?
Failed to execute macro: velocity
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [$xwiki.jsfx.use("uicomponents/search/search.js", true)##
$xwiki.ssfx.use("uicomponents/search/search.css", true)##
The page has worked, but what can be wrong now.
The page itself is not changed from the distribution?
Gerritjan
I really love the look and use of the xwiki products, but the lack of
documentation and broken functionality is very frustrating. After finally
getting smtp authorisation working in Enterprize I find the email which is
generated is not forming URLs properly - grrr.
So now I'm back to exploring Workspaces milestone 1.2 and I have found that
setting Public Registration to Allow or Deny makes no difference -
registration is just a matter of supplying a name and email address and
you're in. No admin approval required. This is not acceptable for an admin
setup intended for staff only.
Can anyone explain to me how this might be fixed please?
Cheers
Chris Ellis
Lorne-Aireys Inlet P-12 College
Hello,
I would like to have a specific color theme for my users depending of the
groups. So I modified the colorThemeInit.vm to check the user group and
apply a specific theme.
My problem is after logging, I have to refresh the page manually to see the
new theme, even if I click on a link in the wiki.
How can I force a refresh automatically after logging? Should I call the
template colorThemeInit somewhere else ?
Thanks
Regards
Ben
--
View this message in context: http://xwiki.475771.n2.nabble.com/colorThemeInit-and-updating-theme-problem…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello all!
I'm working with XWiki and I'm a newbie... I've read the tutorial available
on http://code.xwiki.org/xwiki/bin/view/Modules/RenderingModule and the
customization part of the pdf export. I'm still clueless on how to do it
properly... I have java experience, so I can code what is necessary, I just
don't know where to go.
All I want to do is change the default template. Changing the footer,
header, TOC and breaking a page on every h1 found.
I would be glad if someone could give me a hint.
Thank you,
Wilson
In the 2.3 timeframe, a serious security bug was fixed. Hibernate treats backslashes differently from some
database management systems and as a result native SQL can be injected through the searchDocuments function.
This means members of a wiki can finish an SQL query, also this means that badly written searchDocuments or
search queries go from small security issues to larger ones.
NOTE: Passwords are hashed (encrypted) so they cannot easily be read from the database.
Who's at risk?
Database systems which treat backslash as an escape character and allow stacked queries are susceptible to
arbitrary SELECT, INSERT, UPDATE, DELETE, and DROP statements.
These include:
MS-SQL
Postgres
Database systems which treat backslash as an escape character but disallow stacked queries are susceptible
only to arbitrary SELECT statements.
These include:
MySql
Oracle
Database systems which do not treat backslash as an escape character are not vulnerable these include:
HSQLDB (default XWiki zip/exe installation)
You can get a small groovy snippet to test your database and see if it supports stacked queries here:
http://dev.xwiki.org/xwiki/bin/view/Drafts/SecuringXWiki#HMitigationMethods…
What can be done:
#1: XWiki-2.3 and XWiki-2.2.6 Are patched to convert \ to \\ in search queries so upgrading to them will
negate the threat. You can download them here: http://www.xwiki.org/xwiki/bin/Main/Download
#2: If you compile your own branch of XWiki and are unable to upgrade, you can integrate the patch which
was used to fix the problem The patch is here:
http://dev.xwiki.org/xwiki/bin/download/Drafts/SecuringXWiki/XWIKI%2D4755%2…
Since the database controller has changed, you will likely have to port this patch to your version, what's
important is that api.XWiki.searchDocuments and api.XWiki.search have their input filtered.
#3: You can and should make sure to log unexpected SQL at the database level. XWiki doesn't usually use
the backslash character and queries containing backslashes should be logged specially. Also it is a good
idea to log (or block if possible) any SQL comment syntax. Hibernate does not support comments and comment
syntax is central to almost all SQL injection.
Caleb