Thanks for pointing me to the JIRA issue Thomas.
> About templatexe standard wiki issue: yes this is known and fixed, it
> will be part of XEM 2.1.2. See
> http://jira.xwiki.org/jira/browse/XAWM-110
> Note that this wiki is not absolutely needed, you can create a empty
> virtual wiki (without any template) and import the xar you want for it
> like you would do for any XE installation. The template is just an
> help when you want to create a wiki which is a XE of the same version
> as XEM bout you could want to create something else like Workspaces
> instead of XE.
Hi,
I have an instance of XWiki Enterprise v2.1.1 deployed using a MySQL
database. I've noticed that the engine used in MySQL is MyISAM and was
wondering if there was a particular reason why InnoDB was not the
engine of choice.
Won't the use of MyISAM prove troublesome if lots of attachments are
added to the Wiki? MyISAM uses a single file for all data in a table,
and thus all attachements being stored in the same table, this MyISAM
file might grow huge, which is usually not something suitable.
Any past experience with attachement heavy Wiki instances using MySQL
for storage? Any plan of using InnoDB in the near future?
Thanks,
Mathias.
Hi. I searched this mailing list and xwiki docs for this information but didn't find anything.
Is there any plan to extend the authentication mechanism in WebDAV component to support LDAP? I felt that having access to page content and attachment folders via shared drive (using NetDrive) would be immensely attractive for end users because of the ability to use enhanced editors to directly edit page content and the ability to upload/manage multiple attachments.
Thanks,
Milind
M
Hi all,
This problem is driving me nuts...
I try to retrieve some HTML content from a field of a specific object, and
display it in a page (rendered, not as code).
I wrote this kind of code, and it's the unique content of my page :
{{velocity filter="none"}}
{{html clean="false" wiki="false"}}
#set ($obj = $doc.getObject("MyClass"))
#set ($htmlbody = $obj.bodyhtml)
#set ($htmlbody = $htmlbody.replaceAll(" ", "
").replaceAll("<","<").replaceAll(">",">").replaceAll("<br/>","").replaceAll("&",
"&").replaceAll(""", '"'))
<div class="mail_body_html">
$htmlbody
</div>
{{/html}}
{{/velocity}}
The replacements are here because, for any reason, I could not manage to
store my HTML in the field without having many characters substituted in the
process (like "<" and such), and line break tags are inserted randomly, but
the resulting string looks like regular HTML content (I debugged it in
server logs).
Problem is that, when rendered, this page shows the following :
{{html clean="false" wiki="false"}}
[... html content rendered ...]
So there are 2 problems IMO, and I really don't see from where they come :
- my {{html}} macro is not understood by the wiki engine
- even if not understood, the page understands the $htmlbody is html and
renders it like that. But it assumes wiki="true", and so, for example, all
links are broken (replaced by bunches of "<span class="xwikilink""), and the
result is not clean
Thanks,
Jeremie
Hello there,
Thanks for suggesting these options in detail. I was already using the max
heap size option.
However, I was not aware of replacing the dll in the jvm. Now, I'm eager to
try this one and see what are the results.
Once again, thank you so much....
Hi Dilipkumar,
I've done some tomcat monitoring too (tomcat 6.0.20 (64bit), java 1.6.0_17
and now 1.6.0_18).
- I've never seen more than 96MB memory used for MaxPermGen - and I
understood, that this memory is not used / counted for the heap size.
- For the production system I am using -server -Xms1024m -Xmx2048m
-XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
- It sounds, that you are using the tomcat service (me too) - please note,
that the "-server" option should be replaced by selecting the java server
dll.
Kind regards
mb
Hi Thomas,
I think I might have figured out how to get this working. Had to create the
XWiki.XWikiServerTemplatexe file manually.
Although, I have just tested this over my intranet and not over the internet
for now.
1. I did a fresh install of the latest xwiki 2.2 ML1
2. Followed steps for XEM install (used XEM 2.1.1 xar file +
wikimanager/applicationmanager plugins). Configured virtual wiki server for
main wiki instance
3. Tried installing the template-xe.xar file. Got the following error:
XWiki Enterprise Manager installation failed (Error number 50040 in 5:
com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin: Fail to install package
xar?).
4. Checked that though the above install fails, it does create a
'templatexe' database in MySql. The database is big enough in size. So I had
to assume that this database was an equivalent of a fresh xwiki install.
Also, this cleared my suspicion with something being wrong on the database
side.
5. Went back to the install page again. The page said - no further action
needed.
6. Checked the stdout logs for tomcat. Got a stacktrace that said :
2010-01-15 18:51:07,597
[http://localhost:8080/xwiki/bin/view/XemManager/Install?confirm=1] ERROR
wikimanager.WikiManagerPluginApi - Wiki
[XWiki.XWikiServerTemplatexe,templatexe.template.local,XWiki.Admin] creation
failed
com.xpn.xwiki.plugin.wikimanager.WikiManagerException: Error number 50040 in
5: com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin: Fail to install
package [template-xe.xar]
7. Realised that the file that XWiki was trying to create was
XWiki.XWikiServerTemplatexe. templatexe.template.local was probably the
domain/alias & XWiki.Admin was the default owner for the templatexe wiki
instance.
8. Manually created a XWiki.XWikiServerTemplatexe and filled all the details
as stated in the stacktrace.
9. Created a new wiki using this template as the template. Everything worked
out just fine. Imported the default .xar files & the new wiki works perfect.
I am yet to test this using internet domains. Hopefully, everything works
out just fine.
As always thanks a ton for your help & guidance. Have a great weekend... :)
P.S. The stacktrace in case this is of any use to the XWiki developers:
2010-01-15 18:51:07,597
[http://localhost:8080/xwiki/bin/view/XemManager/Install?confirm=1] ERROR
wikimanager.WikiManagerPluginApi - Wiki
[XWiki.XWikiServerTemplatexe,templatexe.template.local,XWiki.Admin] creation
failed
com.xpn.xwiki.plugin.wikimanager.WikiManagerException: Error number 50040 in
5: com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin: Fail to install
package [template-xe.xar]
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.importPackage(WikiManager.java:
700)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.java:
541)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWikiFromPackage(WikiMa
nager.java:404)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createWikiTemplate(WikiManager.
java:877)
at
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createWikiTemplate(Wik
iManagerPluginApi.java:655)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.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(Ub
erspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java
:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.ja
va:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirecti
ve.java:142)
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.ASTIfStatement.render(ASTIfStatement
.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:33
6)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
va:116)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java
:93)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRend
eringEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRend
eringEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRend
eringEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWiki
RenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:697)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:714)
at
com.xpn.xwiki.api.Document.getRenderedContent(Document.java:492)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.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(Ub
erspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java
:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.ja
va:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirecti
ve.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:33
6)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:33
6)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
va:116)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1797)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1718)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:740)
at sun.reflect.GeneratedMethodAccessor118.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(Ub
erspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroPro
xy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:
247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.jav
a: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:33
6)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:33
6)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
va:116)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1797)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1718)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:148)
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(RequestProces
sor.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(Application
FilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilt
er.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:118)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFi
lter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi
lter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va: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:263)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http
11Protocol.java:584)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
2010-01-15 18:56:23,378
[http://localhost:8080/xwiki/bin/edit/XWiki/XWikiServerTemplatexe?template=&
parent=XWiki.XWikiServerXwiki&title=XWiki.XWikiServerTemplatexe] ERROR
web.XWikiAction - Connection aborted
Hi Mathias,
I've a fresh new XWiki 2.1.1 installed on a win 2008 server. This is hosted
on 4Gb RAM & 3 GHz processor VM.
Tomcat is 6.0.20 & MySql is 5.0.37. The memory usage is on the higher side
even though the wiki is practically empty (nothing except the default
pages). What concerns me is that the CPU usage spikes to 100% every once in
a while. Checked the process list & find tomcat eating 98% of CPU usage.
This is definitely scary since this is my production machine. The test
machine which has a similar config (except the OS which is win 2003 server)
works just fine. The tomcat CPU usage doesn't exceed 20% CPU usage ever. And
yes, both machine have same version mysql installed and do not run any other
application or servers.
For the memory part, Tomcat was not satiated with 512 Mb RAM MaxPermGen and
kept throwing OOM almost every day. Had to ramp it to 1024 Mb. That seems to
have taken care of the memory issue for now.
I am still investigating....thanks.
Hi Thomas,
> This error is pretty weird.
> How are you creating the wiki exactly ? Are you using a template ?
No, I am using the main wiki. I was not able to import the template
due to an error while importing the template. However, when I went
back to the installation page, it said - no further action required.
My assumption was everything got installed ok despite the error.
> If i understand well the error it seems like you are creating a wiki using main the main wiki as template. Note that even if it does not seems a very good idea i think It should technically work so i don't know what is the really issue here.
> What database engine are you using ? MySQL ?
I am using MySql community version. Is there a specific version that
you would recommend or a specific methodology to install XEM e.g.
installing XE version x.x.x and then upgrading to XEM version x.x.x.
Or directly install a particular XEM x.x.x. Thanks.
Hi Thomas,
The complete stack trace is as follows:
Error number 4001 in 4: Error while parsing velocity page
WikiManager.CreateNewWiki Wrapped Exception: Failed to evaluate
content with id Create New Wiki
Error number 4001 in 4: Error while parsing velocity page
WikiManager.CreateNewWiki
Wrapped Exception: Failed to evaluate content with id Create New Wiki
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page WikiManager.CreateNewWiki
Wrapped Exception: Failed to evaluate content with id Create New Wiki
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:547)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:564)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
at sun.reflect.GeneratedMethodAccessor285.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1694)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1615)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1694)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1615)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
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:155)
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:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'createNewWiki' in class
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi threw exception
com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while
saving attachment xwiki-enterprise-manager-application-xem-2.0.5.zip
of document XWiki.Import
Wrapped Exception: Could not execute JDBC batch update at
WikiManager.CreateNewWikiline 157, column 32?
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
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.ASTIfStatement.render(ASTIfStatement.java:87)
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:108)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:547)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:564)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
at sun.reflect.GeneratedMethodAccessor285.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1694)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1615)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1694)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1615)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
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:155)
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:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.xpn.xwiki.XWikiException: Error number 3232 in 3:
Exception while saving attachment
xwiki-enterprise-manager-application-xem-2.0.5.zip of document
XWiki.Import
Wrapped Exception: Could not execute JDBC batch update
at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiHibernateAttachmentStore.java:122)
at com.xpn.xwiki.XWiki.copyDocument(XWiki.java:4148)
at com.xpn.xwiki.XWiki.copyDocument(XWiki.java:4062)
at com.xpn.xwiki.XWiki.copyDocument(XWiki.java:4056)
at com.xpn.xwiki.XWiki.copyDocument(XWiki.java:4050)
at com.xpn.xwiki.XWiki.copyWikiWeb(XWiki.java:4319)
at com.xpn.xwiki.plugin.wikimanager.WikiManager.copyWiki(WikiManager.java:343)
at com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.java:536)
at com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createNewWiki(WikiManagerPluginApi.java:222)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
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)
… 97 more