Hi all,
I found a problem of treeview in URL path based virtual mode. When using
IP to access, the treeview works fine in the "Document Index" and the
"Link" widget, i.e. accessing https://<IP Address>:8443/xwiki/wiki/<Wiki
Name>/view/Main/AllDocs?view=tree is fine. However, if using "hostname",
treeview breaks: it shows "loading data...." and stuck, i.e. accessing
https://<Hostname>:8443/xwiki/wiki/<Wiki
Name>/view/Main/AllDocs?view=tree has problem.
Did anyone experience this problem before and have a work-around? Or any
idea would be greatly appreciated.
Cheers,
Wesley
Hi,
Is there a smart way to find the error causing a "Failed to execute macro: include"
When I click details of the error it displays a whole page of errorlines ending with
... 91 more
I have the feeling important information is missing.
for experts; the error codes i see;
org.xwiki.rendering.macro.MacroExecutionException: Failed to get content for Document [CategorySheet]
at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:143)
at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:49)
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:569)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:583)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
at sun.reflect.GeneratedMethodAccessor265.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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.value(ASTReference.java:493)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
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.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor142.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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:152)
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.ActionFilter.doFilter(ActionFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
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:295)
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:191)
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:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at com.xpn.xwiki.util.Util.getWeb(Util.java:231)
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.isSuperUser(XWikiRightServiceImpl.java:869)
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.hasAccessLevel(XWikiRightServiceImpl.java:626)
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.hasAccessLevel(XWikiRightServiceImpl.java:308)
at com.xpn.xwiki.doc.DefaultDocumentAccessBridge.hasRight(DefaultDocumentAccessBridge.java:571)
at com.xpn.xwiki.doc.DefaultDocumentAccessBridge.isDocumentViewable(DefaultDocumentAccessBridge.java:491)
at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:135)
Is there a restriction that the database be named xwiki? I renamed the database to xwiki_old and changed the URL in the database configuration file to :
<property name="connection.url">jdbc:mysql://localhost/xwiki_old?useServerPrepStmts=false&useUnicode=true&characterEncoding=UTF-8&sessionVariables=sql_mode=''</property>
XWiki would not start. Here is the stack trace:
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences
Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it.
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences
Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it.
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:374)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:435)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
Michael Maslak, Jr.
RESPONSE, LLC
Technical Specialist I
407-444-7898
RESPONSESupport(a)national.aaa.com<blocked::mailto:RESPONSESupport@national.aaa.com>
________________________________
This communication (including all attachments) is intended solely for
the use of the person(s) to whom it is addressed and should be treated
as a confidential AAA communication. If you are not the intended
recipient, any use, distribution, printing, or copying of this email is
strictly prohibited. If you received this email in error, please
immediately delete it from your system and notify the originator. Your
cooperation is appreciated.
Hi,
I 'm using XEM 2.3.1 and I discovered that, by default, there is no job task
defined in the subwikis. In the main wiki, the 3 notifiers are present and
notification by email works fine.
So a user in a subwiki can't define a notifier because the listbox is empty.
My questions :
- Is it normal ?
- Do I have to create manually the notifiers in each subwiki ? And how to do
that ?
If someone can help me in this summer period, I will be very happy.
Maxime
Hi there,
we'd like to update by version 2.0.4 to xwiki 2.4.
After exporting from 2.0.4 and importing die XAR-file to 2.4 file I see
the structure and imported pages. So far so good but once I select a
page I get the alert box "ERROR: xwikiexplorer.js depends on xwiki.js"
and after selecting "OK" the page is loading forever. Tested in Firefox
3.6.x.
This also happend in milestone 1 and was the reason to wait for the
final release.
As I just entered this ML and found no solution in the archive, I am
interested if there are hints to fix this? Is this a bug or am I just
unable to import the wiki data sucessfully?
Old xwiki: xwiki-enterprise-jetty-hsqldb-2.0.4
New xwiki: xwiki-enterprise-jetty-hsqldb-2.4
Greets,
Stefan
Hi all,
My XWiki (v1.7.2.16857) Web site has been spamdexed, so several articles
have hundreds of fake comments.
I would like to know if it is possible to delete all the comments of an
article in one shot.
Thanx,
Alexis
Hello XWikiers!
If you have used syntax highlighter (
http://code.google.com/p/syntaxhighlighter/) in wordpress, blogger etc. you
are going to like this one:
http://asiri.rathnayake.org/xwiki/bin/view/Macro/MCode
Now because of the flexibility of XWiki SSX and JSX, you can easily
customize this macro (if you wish to extend it). There are few things I wish
if I could improve (implementation details) but I hope this would be useful
the way it is now :)
Let me know if it looks good.
Thanks.
- Asiri
I have installed the standalone version of XWiki Enterprise 2.4 M1
The standalone installation have a HSQLDB Database which I should not use.
Is it right?
So I have to change the Database. And I decided to use PostgreSQL 8.3 cause
it was already installed on this pc. At this time I dont have the rights
(password) to create a Database and I have to contact the Admin for that.
But I'm not sure how this all should work.
Now I have a Folder "\XWiki Enterprise\database" where my XWiki content will
be saved. Is it right?
But changing to PostgreSQL I can erase this Folder because my Database will
now been in "\PostgreSQL\8.3\data". Right?
I know that I have to change my hibernate.cfg.xml and to add a .jar to
"\XWiki Enterprise\webapps\xwiki\WEB-INF\lib". But what .jar is the right
one? "postgresql-8.3-603.jdbc3.jar" or "postgresql-8.3-603.jdbc4.jar"
And if I have done that I can access the wiki over
http://localhost:5432/xwiki/bin/view/Main/
(5432 instead of 8080 because of PostgreSQL)
But how could the other people access the wiki. I heared it will be possible
with "\\myip:5432/xwiki/bin/view/Main" if all pc's are in the same network.
But it would mean that my pc have to run constantly. And the start_xwiki.bat
file has to be opened. I think that would not be the problem. But would my
wiki get performance problems after a few days?! And how safe is this all...
Sorry I'm very new to this all and I have read many tutorials and helps in
the last weeks but I'm not sure if I understand them right.
If someone could answer my questions and give me some tips how to implement
this all, it would be very helpful.
Thank you!
--
View this message in context: http://xwiki.475771.n2.nabble.com/HSQLDB-to-PostgreSQL-cause-of-embedded-da…
Sent from the XWiki- Users mailing list archive at Nabble.com.