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
Hi,
I am currently running XWiki enterprise v2.1.1 in a Tomcat 6.0.20 on a
dev box. I run into memory consumption problems, jconsole reports hops
of 50Mb when rendering a small page (with no attachements) making use
of the code macro (a single user rendering this page). The same
jconsole also shows roughly 14000 classes loaded! I had to push
MaxPermGen to 128Mb, otherwise I hit OOM.
Any other experience of such a high memory consumption?
Mathias.
Hi Thomas,
Thanks for taking the time to reply to my email. I went through the
link that you provided and was able to get my wiki up and running. I
had to go through my domain name setup for the main instance with my
IT and got it working.
However, after all the imports and setup when i went to create a new
wiki I keep getting errors. I checked the mailing list, online docs &
even googled it and found that the mailing lists suggested using a
different version of XEM.
I tried converting XE 2.0.2 to XEM 2.1.1. I also tried XEM 2.1.1
direct installation. Everything went fine except for the creating of
the wiki. Following is the stack trace which I have shortened so I
could fit it into the email. I believe it is somewhere in my server
environment that there is an issue. All the errors point to execute
JDBC batch update. Please help. Thank you.
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)
...............
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 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)
> Message: 7
> Date: Fri, 15 Jan 2010 11:08:33 +0100
> From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
> Subject: Re: [xwiki-users] XEM Setup over internet
> To: XWiki Users <users(a)xwiki.org>
> Message-ID:
> <a8e97d9c1001150208w56d0ed31kec3c2ec10c807aad(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Thu, Jan 14, 2010 at 22:03, Dilipkumar Jadhav
> <jadhav.dilipkumar(a)gmail.com> wrote:
>> Hello guys,
>> I ran into some difficulties with setting up a wiki farm again.
>> The website address of the main wiki is (assume):
>> http://internal.ext.com:8080/xwiki
>> In the XWiki.XWikiServerClass the default value is localhost.
>> The moment I restart the tomcat server after switching
>> xwiki.virtual=1, I can no longer access the main wiki from
>> http://internal.ext.com:8080/xwiki over the internet. But I can access
>> it on server as http://localhost:8080/xwiki.
>> I?ve gone through the documents for XEM setup & also setup the
>> ?property? in XWiki.XWikiServerClass as internal.ext.com, ext.com,
>> internal.ext.com:8080, etc. But none of the values seem to help. The
>
> As you can see in the documentation you have to set up the complete
> domain names used to access the wiki (here "internal.ext.com") as
> alias. Are you sure your domain even access the wiki server ?
>
>> localhost value just allows me to access the wiki on localhost only.
>> The setup worked for me over intranet (It was an internal IP address
>> and not a domain name) and the xwiki farm worked fine. But on the
>> internet it just doesn?t work.
>> I am also planning to use URL path based xwiki access and have set
>> xwiki.virtual.usepath to 1.
>> Could someone please guide me in the right direction.
>
> See http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki for
> details on both multiwiki modes.
>
>> Thank you for your time and consideration guys.
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Thomas Mortagne
>
>
Hi Thomas,
Thanks for taking the time to reply to me email. I went through the
link that you provided and was able to get my wiki up and running. I
had to go through my domain name setup for the main instance with my
IT and got it working.
However, after all the imports and setup when i went to create a new
wiki I keep getting errors. I checked the mailing list, online docs &
even googled it but found that the mailing lists suggested using a
different version of XEM.
I tried XEM 2.1.1
> Message: 7
> Date: Fri, 15 Jan 2010 11:08:33 +0100
> From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
> Subject: Re: [xwiki-users] XEM Setup over internet
> To: XWiki Users <users(a)xwiki.org>
> Message-ID:
> <a8e97d9c1001150208w56d0ed31kec3c2ec10c807aad(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Thu, Jan 14, 2010 at 22:03, Dilipkumar Jadhav
> <jadhav.dilipkumar(a)gmail.com> wrote:
>> Hello guys,
>> I ran into some difficulties with setting up a wiki farm again.
>> The website address of the main wiki is (assume):
>> http://internal.ext.com:8080/xwiki
>> In the XWiki.XWikiServerClass the default value is localhost.
>> The moment I restart the tomcat server after switching
>> xwiki.virtual=1, I can no longer access the main wiki from
>> http://internal.ext.com:8080/xwiki over the internet. But I can access
>> it on server as http://localhost:8080/xwiki.
>> I?ve gone through the documents for XEM setup & also setup the
>> ?property? in XWiki.XWikiServerClass as internal.ext.com, ext.com,
>> internal.ext.com:8080, etc. But none of the values seem to help. The
>
> As you can see in the documentation you have to set up the complete
> domain names used to access the wiki (here "internal.ext.com") as
> alias. Are you sure your domain even access the wiki server ?
>
>> localhost value just allows me to access the wiki on localhost only.
>> The setup worked for me over intranet (It was an internal IP address
>> and not a domain name) and the xwiki farm worked fine. But on the
>> internet it just doesn?t work.
>> I am also planning to use URL path based xwiki access and have set
>> xwiki.virtual.usepath to 1.
>> Could someone please guide me in the right direction.
>
> See http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki for
> details on both multiwiki modes.
>
>> Thank you for your time and consideration guys.
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Thomas Mortagne
>
>
Hi,
I need to understand the differences between some of the modules in XWIKI.
What exactly are the differences between Xwiki Enterprise, Xwiki Enterprise
Manager and Workspaces.
I downloaded Xwiki Enterprise + the the XAR file that came with it. When i
installed it i found that it already had the ability to create new spaces.
Does that mean that workspaces are already included in the Xwiki Enterprise
distribution?
Is the Enterprise manager just a way of managing multiple Xwiki enterprise
instance? I seem to be a bit confused. When i looked at the manuals it says
that enterprise manager allows you to manage multiple wikis but i thought
that this was already possible using spaces in the "Xwiki Enterprise"
installation that i tried.
Thanks
Hi,
Following this page<http://code.xwiki.org/xwiki/bin/view/Applications/SearchApplicationLuceneSe…>,
I was interested in using lucene to search for pages containing specific
objects using, for example, syntax like "object:XWiki.XWikiUsers AND
jbousque".
I did not manage to have any results, with different classes. I also tested
using only "object:XWiki.XWikiUsers", expecting to retrieve the list of
users, but again no result at all.
Am I missing something ?
Thanks,
Jeremie