Hello,
I'm having a problem with xwiki + groovy which throw PermGen exception a
lot.
I built a page(page A) which send ajax continuously to another page(page B)
At page B, it use groovy to process the request.
The problem as I checked is : It seem like each request, the engine compile
and load groovy script => many Script classes, objects are created that
stress out the memory.
I use jconsole to check and see something like this as Loaded classes:
[Loaded Script2523$_getData_closure6 from file:/groovy/script]
[Loaded Script2524$_getData_closure6 from file:/groovy/script]
[Loaded Script2525$_getData_closure6 from file:/groovy/script]
[Loaded Script2526$_getData_closure6 from file:/groovy/script]
I look like Xwiki engine use something like GroovyShell to evaluate the
groovy script each time it's loaded so it create a lot of Script classes
(something like that, i'm not sure)
How can I fix this? or anyway to work around?
Note that I have already set environment variables
-Xmx512m -XX:MaxPermSize=512m -XX+CMSClassUnloadingEnabled
--
View this message in context: http://xwiki.475771.n2.nabble.com/groovy-and-PermGen-space-exception-tp7590…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
after successfully adding objects of a certain class to a page document
via groovy, I cannot find any hint in API nor in the documentation, how
to delete an object. Can anybody help, please?
Matthias
Hi,
I'd like to change the output of XWiki RSS feeds to show more details.
Currently it only shows "The document <Document Name> was created/changed".
More details like a summary of changes or the whole document contents in
case it's a new one would be appreciated.
Is it possible to edit the default RSS output?
Thanks in advance,
Dennis
Hi all,
I've got xWiki Enterprise 6.0.1 installed on a Windows 7 machine.
Installed latest OpenOffice 4.1
Here's my xwiki.properties file, OpenOffice Server section:
#-------------------------------------------------------------------------------------
# Settings for the OpenOffice server instance consumed by the OfficeImporter
component
#-------------------------------------------------------------------------------------
#-# [Since 1.9M2]
#-# Type of the openoffice server instance used by officeimporter component.
#-# 0 - Internally managed server instance. (Default)
#-# 1 - Externally managed (local) server instance.
openoffice.serverType=0
#-# [Since 1.9M2]
#-# Port number used for connecting to the openoffice server instance.
#-# Default port is 8100
# openoffice.serverPort=8100
#-# [Since 1.9M2]
#-# If the openoffice server should be started / connected upon XE start.
#-# Default value is false
openoffice.autoStart=true
#-# [Since 1.8RC3]
#-# Path to openoffice installation (serverType:0 only).
#-# If no path is provided, a default value will be calculated based on the
operating environment.
#-# Example: openoffice.homePath=C:/Program Files (x86)/OpenOffice 4
openoffice.homePath=openoffice.homePath=C:/Program Files (x86)/OpenOffice 4
#-# [Since 1.8RC3]
#-# Path to openoffice execution profile (serverType:0 only).
#-# If no path is provided, a default value will be calculated based on the
operating environment.
#-# Example:
openoffice.profilePath=C:/Users/install/AppData/Roaming/OpenOffice/4
openoffice.profilePath=C:/Users/install/AppData/Roaming/OpenOffice/4
#-# [Since 1.8RC3]
#-# Maximum number of simultaneous conversion tasks to be handled by a
single openoffice process (serverType:0 only).
#-# Default value is 50
# openoffice.maxTasksPerProcess=50
#-# [Since 1.8RC3]
#-# Timeout for conversion tasks (in milliseconds) (serverType:0 only).
#-# Default value is 30 seconds
# openoffice.taskExecutionTimeout=30000
And here's how it looks in the GUI:
<http://xwiki.475771.n2.nabble.com/file/n7590861/Capture1.png>
And I get this error message when clicking update:
<http://xwiki.475771.n2.nabble.com/file/n7590861/Capture2.png>
Please, if anyone know how to get this going / what I'm doing wrong, help is
much appreciated!
/Chris
--
View this message in context: http://xwiki.475771.n2.nabble.com/Need-help-to-get-Open-Server-importing-fe…
Sent from the XWiki- Users mailing list archive at Nabble.com.
bonjour ;
j'ai besoin d'aide Svp.
je suis un informaticien, j'ai un stage de fin d'études, mon sujet de rétro
ingénierie sur les wikis.
pour cela j'ai besoin de récupérer le code source, mais malheureusement je
n'arrive pas à le faire.
j'ai essayé en suivant les instructions de site mais sans résultat.
j'ai trouvé une discussion dans les forums xwiki "download code source" mais
apparemment il y a des changements et des nouveautés non signalés.
bref, j'ai besoin d'aide pour récupérer le code source de la version 5.4.5
pour la faire marcher sur mon PC.
merci par avance.
Cordialement.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Code-source-de-la-version-5-4-5-tp7590809…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Vincent,
Error number 0 in 11: Uncaught exception
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:317)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:425)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:210)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.j
ava:126)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:210)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:210)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:210)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFi
lter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:210)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFi
lter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100
)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Proce
ssor.java:1041)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Abstrac
tProtocol.java:603)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:
310)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
45)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
15)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.IllegalArgumentException: An Entity Reference name
cannot be null or empty
at
org.xwiki.model.reference.EntityReference.setName(EntityReference.java:183)
at
org.xwiki.model.reference.EntityReference.<init>(EntityReference.java:151)
at
org.xwiki.model.reference.DocumentReference.<init>(DocumentReference.java:15
6)
at
org.xwiki.model.reference.DocumentReference.<init>(DocumentReference.java:89
)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.findUser(XWikiAuthService
Impl.java:458)
at
com.xpn.xwiki.user.impl.sso.SSOAuthServiceImpl.createUserIfNeeded(SSOAuthSer
viceImpl.java:269)
at
com.xpn.xwiki.user.impl.sso.SSOAuthServiceImpl.checkAuth(SSOAuthServiceImpl.
java:115)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3555)
at
org.xwiki.security.authorization.internal.XWikiCachingRightService.getCurren
tUser(XWikiCachingRightService.java:229)
at
org.xwiki.security.authorization.internal.XWikiCachingRightService.checkAcce
ss(XWikiCachingRightService.java:306)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3568)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4579)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:242)
... 41 more
I want to prevent these kind of pages from being displayed to users.
Hi XWiki-Fans,
i am starting a REST-Client for XWiki and want to code a small Client. I
uploaded the main-class to
http://www.file-upload.net/download-8990392/RestfulClient.java.html
<http://www.file-upload.net/download-8990392/RestfulClient.java.html> .
Since yesterday i have a working GET and PUT-Method for a Page. You can
start it with
You have an idea how i can "compress" the method /createMethodGet(UriBuilder
builder)/ and /putPage(String wiki, String space, Page page)/ in a elegant
way. They are so big and i want to add also methods for objects, classes and
so on. Also the Delete-Method is needed. When i do that in the actual way i
produce a lot of redundant lines which i want to avoid.
I have not really a problem, its more like a puzzle with the question how to
split the logic in a nice way.
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Code-minimization-in-RESTful-Client-tp759…
Sent from the XWiki- Users mailing list archive at Nabble.com.
There was missing the settings.xml.
Thanks!
Danilo
Grupo Energisa
Danilo Oliveira
Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI
e-mail: danilo.oliveira(a)energisa.com.br | tel: (32) 3429-6342 | cel: (32) 8452-9478
Esta mensagem contém informação confidencial. Se você a recebeu por engano, não divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do not disclose or copy its contents. Please notify sender and delete immediately.
-----Mensagem original-----
De: users [mailto:users-bounces@xwiki.org] Em nome de Jeremie BOUSQUET
Enviada em: sexta-feira, 30 de maio de 2014 12:12
Para: XWiki Users
Assunto: Re: [xwiki-users] RES: New Notifications Tutorial (a.k.a Event Listener)
Hi,
Yes, see here:
http://dev.xwiki.org/xwiki/bin/view/Community/Building
Br,
Jérémie
Le 30 mai 2014 16:22, "Danilo Amaral de Oliveira" < danilo.oliveira(a)energisa.com.br> a écrit :
> I am trying to use the maven to mount the Listener component, however
> I am getting this following error:
> > mvn clean install
>
> [ERROR] Failed to execute goal on project commentListener: Could not
> resolve dep endencies for project
> com.energisa:commentListener:jar:1.0-SNAPSHOT: The followi ng
> artifacts could not be resolved:
> org.xwiki.platform:xwiki-platform-oldcore:ja
> r:5.4.4, org.xwiki.platform:xwiki-platform-mailsender:jar:5.4.4: Could
> not find artifact org.xwiki.platform:xwiki-platform-oldcore:jar:5.4.4
> in central (http://
> repo.maven.apache.org/maven2) -> [Help 1] [ERROR] [ERROR] To see the
> full stack trace of the errors, re-run Maven with the -e swit ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please rea d the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
> lutionException
>
>
>
> Do I need to configure the repositories in Maven, in order to make it
> download from the right place?
>
> Thank you.
> Danilo
>
>
>
> Grupo Energisa
> Danilo Oliveira
> Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI
> e-mail: danilo.oliveira(a)energisa.com.br | tel: (32) 3429-6342 | cel:
> (32)
> 8452-9478
>
> Esta mensagem contém informação confidencial. Se você a recebeu por
> engano, não divulgue ou copie seu conteúdo. Por favor, avise ao
> remetente imediatamente e apague-a do computador.
> Privileged and confidential. If this message has been received by
> mistake, do not disclose or copy its contents. Please notify sender
> and delete immediately.
>
>
> -----Mensagem original-----
> De: users [mailto:users-bounces@xwiki.org] Em nome de Marius Dumitru
> Florea Enviada em: sexta-feira, 30 de maio de 2014 04:32
> Para: XWiki Users
> Assunto: Re: [xwiki-users] New Notifications Tutorial (a.k.a Event
> Listener)
>
> On Fri, May 30, 2014 at 9:32 AM, vincent(a)massol.net
> <vincent(a)massol.net>
> wrote:
> >
> >
> >
> >
> > On 30 May 2014 at 07:39:44, Marius Dumitru Florea (
> mariusdumitru.florea@xwiki.com(mailto:mariusdumitru.florea@xwiki.com))
> wrote:
> >
> >> Event listeners should not keep a reference to the XWiki context
> >> from when they were created. XWiki context is created per request
> >> while the event listener is used on multiple requests. I updated
> >> the LoggingEventListener.
> >
>
> > Thanks but I think it’s better to get it from the passed “data”
> parameters which represents the XWikiContext.
>
> I didn't say otherwise :) , even if you get it from the passed "data"
> or from the execution context you should still not keep a reference to
> the XWiki context between events.
>
> >
> > Also
> http://platform.xwiki.org/xwiki/bin/download/DevGuide/WritingEventList
> enerTutorial/groovynotifier.txt
> needs to be updated too.
> >
> > Thanks
> > -Vincent
> >
> >> Thanks,
> >> Marius
> >>
> >> On Thu, May 29, 2014 at 7:39 PM, vincent(a)massol.net wrote:
> >> > Dear XWiki users,
> >> >
> >> > Since I’ve seen several questions recently on the list related to
> XWiki events, I’ve spent several hours rewriting the XWiki
> Notifications Tutorial here:
> >> >
> >> > http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingEventLis
> >> > te
> >> > nerTutorial
> >> >
> >> > You’ll learn for example:
> >> > - Adding content to pages on save
> >> > - Log when a document is modified
> >> > - Send a mail whenever a comment is added
> >> >
> >> > Enjoy!
> >> >
> >> > Thanks
> >> > -Vincent
> >> >
> >> >
> >> > _______________________________________________
> >> > users mailing list
> >> > users(a)xwiki.org
> >> > http://lists.xwiki.org/mailman/listinfo/users
> >> _______________________________________________
> >> users mailing list
> >> users(a)xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
I need to create 3 wiki macros in my wiki space.
In order to make my life easier I create a page, named Macros, and created
all macros in that page.
Trying to use them I saw only one, the first, is visible and usable.
Other 2 are not visible and not usable in all pages (included Macros).
What's wrong ?
What should I do to make all visible.
Tks
--
View this message in context: http://xwiki.475771.n2.nabble.com/More-than-a-Wiki-macro-in-a-page-tp759076…
Sent from the XWiki- Users mailing list archive at Nabble.com.