Hello
I am new on Xwiki. I like to rebuild Xwiki platform or common packages. I fixed all problems related to build. Except one thing if the module has component codes or components.txt I always got build error. Please see the attached error log. I think I missed one thing but I don't know yet. Can you help me on this issue.
Thanks
Ken
Sent from my iPhone
Begin forwarded message:
> From: "LIANG, KEN K (CTR)" <ken.k.liang(a)cbp.dhs.gov>
> Date: April 16, 2015 at 10:13:14 AM EDT
> To: "khjintcorp(a)gmail.com" <khjintcorp(a)gmail.com>
> Subject: Can't build project xwiki-platform-wiki-default
>
>
> [INFO] XWiki Platform - Wiki - Parent POM ................. SUCCESS [ 7.463 s]
> [INFO] XWiki Platform - Wiki - API ........................ SUCCESS [ 8.459 s]
> [INFO] XWiki Platform - Wiki - Default Implementation ..... FAILURE [ 25.449 s]
> [INFO] XWiki Platform - Wiki - REST - Parent POM .......... SKIPPED
> [INFO] XWiki Platform - Wiki - REST - API ................. SKIPPED
> [INFO] XWiki Platform - Wiki - Template - Parent POM ...... SKIPPED
> [INFO] XWiki Platform - Wiki - Template - API ............. SKIPPED
> [INFO] XWiki Platform - Wiki - REST - Default implementation SKIPPED
> [INFO] XWiki Platform - Wiki - Script services ............ SKIPPED
> [INFO] XWiki Platform - Wiki - Template - Default ......... SKIPPED
> [INFO] XWiki Platform - Wiki - Template - Script .......... SKIPPED
> [INFO] XWiki Platform - Wiki - User - Parent POM .......... SKIPPED
> [INFO] XWiki Platform - Wiki - User - API ................. SKIPPED
> [INFO] XWiki Platform - Wiki - User - Default ............. SKIPPED
> [INFO] XWiki Platform - Wiki - User - Script .............. SKIPPED
> [INFO] XWiki Platform - Wiki - UI - Parent POM ............ SKIPPED
> [INFO] XWiki Platform - Wiki - UI - Common ................ SKIPPED
> [INFO] XWiki Platform - Wiki - UI - Main Wiki ............. SKIPPED
> [INFO] XWiki Platform - Wiki - UI - Wiki .................. SKIPPED
> [INFO] XWiki Platform - Wiki - Workspaces Migrator ........ SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 43.351 s
> [INFO] Finished at: 2015-04-16T10:11:32-04:00
> [INFO] Final Memory: 72M/912M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project xwiki-platform-wiki-default: Compilation failure: Compilation failure:
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.manager.DefaultWikiCreator] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.builder.DefaultWikiDescriptorBuilder] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.manager.WikiDescriptorCache] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.listener.WikiDescriptorListener] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.manager.DefaultWikiDeleter] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.document.XWikiServerClassDocumentInitializer] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.provisioning.DefaultWikiCopier] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.migrator.WikiDescriptorMigrator] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.configuration.DefaultWikiConfiguration] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.descriptor.properties.DefaultWikiPropertyGroupManager] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.provisioning.DefaultWikiProvisioningJobExecutor] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component [org.xwiki.wiki.internal.manager.DefaultWikiManager] isn't declared! Consider adding a components.txt file or if it's normal use the "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [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 read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :xwiki-platform-wiki-default
> FATAL ERROR in native method: JDWP on getting class status, jvmtiError=JVMTI_ERROR_WRONG_PHASE(112)
> JDWP exit error JVMTI_ERROR_WRONG_PHASE(112): on getting class status [util.c:1283]
>
>
> Ken Liang
> Contractor
> Unisys
> Supporting the Targeting & Analysis Systems Program Directorate
> Office of Information and Technology
> U.S. Customs & Border Protection
> Office: 571-468-2782
>
>
I'll be more than happy to test. Except, maybe I've misunderstood something, but I believe I am running XWiki Enterprise 7.0. So will I have to wait for the next release of the 7.x train?
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: 16 April 2015 14:38
To: XWiki Users
Subject: Re: [xwiki-users] User Permissions Issue
On Thu, Apr 16, 2015 at 3:50 PM, Mahomed Hussein
<Mahomed(a)custodiandc.com> wrote:
> Hi Marius
>
> Thank you for responding. This does look like it may be the issue because at some points it works for a bit then it stops working for me. In most cases it's pretty consistent with adding/removing the permissions.
>
> I can replicate the issue pretty consistently and can provide a test case. Would you like me to contribute any info or assist in any testing, or have you got everything you need to resolve this?
A fix has been committed already (thanks to Denis) and will be
included in 6.4.4 to be released in the following days. Would be great
if you can test the fix after the release is available.
Thanks,
Marius
>
>
> Kind regards,
>
> Mahomed
>
>
>
>
> -----Original Message-----
> From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius Dumitru Florea
> Sent: 16 April 2015 10:00
> To: XWiki Users
> Subject: Re: [xwiki-users] User Permissions Issue
>
> We just added a note to the 6.4.3 RN
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki643
> . Check the text in red. Maybe you are facing the same issue.
>
> On Tue, Apr 14, 2015 at 7:22 PM, mahomed <Mahomed(a)custodiandc.com> wrote:
>> Thanks for still responding Hamster. Am I correct that you are using version
>> 5.4.3 and not version 7? I think it got changed/broken in v6
>>
>>
>>
>> --
>> View this message in context: http://xwiki.475771.n2.nabble.com/User-Permissions-Issue-tp7594486p7594646.…
>> Sent from the XWiki- Users mailing list archive at Nabble.com.
>> _______________________________________________
>> 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
Hi Marius
Thank you for responding. This does look like it may be the issue because at some points it works for a bit then it stops working for me. In most cases it's pretty consistent with adding/removing the permissions.
I can replicate the issue pretty consistently and can provide a test case. Would you like me to contribute any info or assist in any testing, or have you got everything you need to resolve this?
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: 16 April 2015 10:00
To: XWiki Users
Subject: Re: [xwiki-users] User Permissions Issue
We just added a note to the 6.4.3 RN
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki643
. Check the text in red. Maybe you are facing the same issue.
On Tue, Apr 14, 2015 at 7:22 PM, mahomed <Mahomed(a)custodiandc.com> wrote:
> Thanks for still responding Hamster. Am I correct that you are using version
> 5.4.3 and not version 7? I think it got changed/broken in v6
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.com/User-Permissions-Issue-tp7594486p7594646.…
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
> >
> > My purpose is to
> display a list of page (with MyClass object): this point is
> working well but ...
> >
>
> > I want that the user
> select in my select list: one page OR nothing.
>
> The HTML select element
> supports either single selection (exactly one
> item selected) or multiple selection (0..*). To
> achieve 0..1 you need
> to have a special item
> "Nothing" with value '' (empty string) and
> in
> order to add this item to a Page
> (actually DatabaseList) property you
> have to
> write a custom displayer. Another solution may be to create
> a
> special page with a MyClass object that
> represents the "nothing" value
> (when selected), but you still need to hack
> something in order to have
> this option
> displayed first.
>
Yes thxs I though about "custom display" field.
Then I can use a String type with "custom display" or perhaps with database list+"custom display" I can catch HTML rendering of select list to add my empty option value line...
Anyway Do you know where is source code of Page type to improve it (IMA view mode must display a link to the target)?
> >
> > Do you have an idea, how can I do that?
> >
>
> > I
> found a issue too: my select list list all page (with
> MyClass object) ... even my Template with MyClass object who
> is hidden.
>
> Does it behave
> the same with a DatabaseList property? The Page
> property is nothing more than a wrapper for the
> DatabaseList property.
Yes it is the same: I just tested. hidden filter is not applied (of course I checked that user preference is "don't show hidden doc")
Do you know where is query to check it?
Hello,
I create MyClass/Sheet/Template and in another AnotherClass I add a Page type property with:
- Display Type : select
- XWiki Class Name: MyClass
- Id Field Name: doc.fullName
- Value Field Name : doc.name
My purpose is to display a list of page (with MyClass object): this point is working well but ...
I want that the user select in my select list: one page OR nothing.
Do you have an idea, how can I do that?
I found a issue too: my select list list all page (with MyClass object) ... even my Template with MyClass object who is hidden.
Thxs.
Pascal B (xWiki 6.4)
In XWiki configuration document extra panel is not shown, therefore one
cannot easily see changes between settings.
What is best/easiest way to enable this (e.g. enable showing document
extra panel, or something other)?
Thanks!
Valdis
I have adjusted maximum upload size in XWikiPreferences to 64MB in the main
wiki and can successfully upload for import a 48MB XAR file.
However, when I tried to upload the same file in a sub wiki, I was
restricted by the default 32MB limit. Realising that the sub wiki would
have its own XWikiPreferences, I eventually figured out how to edit that and
made the same change as for the main wiki.
However, in this case, changing the preference had no effect and uploads are
still restricted to the default 32MB.
What do I need to change to allow sub wiki to upload attachments greater
than 32MB in size?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Maximum-Upload-Size-XWiki-7-sub-wiki-tp75…
Sent from the XWiki- Users mailing list archive at Nabble.com.
When I import ojects from XWIKI 6.4.3 or 5.2.1 I get a NULL POINTER
exception.
I only import selected spaces, all the objects are imported.
I can provide you with a (quite large) XAR backup of one of our system.
5-04-14 19:37:20,613 [http://wiki/xwiki/wiki/icwiki/view/Main/] WARN
o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.get] in 57:icwiki:IC
Dashboard.Dashboard@1,6
2015-04-14 19:37:25,365 [http://wiki/xwiki/wiki/icwiki/view/IC+Dashboard/]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.get] in 57:icwiki:IC
Dashboard.Dashboard@1,6
2015-04-14 19:37:39,406 [http://wiki/xwiki/wiki/icwiki/view/IC+Dashboard/]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.get] in 57:icwiki:IC
Dashboard.Dashboard@1,6
2015-04-14 19:37:39,429 [http://wiki/xwiki/wiki/icwiki/view/IC+Dashboard/]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.get] in 29:icwiki:IC
Dashboard.Dashboard@1,6
2015-04-14 19:40:31,721
[http://wiki/xwiki/wiki/icwiki/admin/XWiki/XWikiPreferences] WARN
o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.get] in 32:icwiki:IC Dashboard.Dash
board@1,6
2015-04-14 19:40:36,274
[http://wiki/xwiki/wiki/icwiki/import/XWiki/XWikiPreferences?editor=globalad…]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.
get] in 58:icwiki:IC Dashboard.Dashboard@1,6
2015-04-14 19:41:14,748
[http://wiki/xwiki/wiki/icwiki/import/XWiki/XWikiPreferences?editor=globalad…]
WARN c.x.x.w.XWikiAction
- Uncaught exception: Error number 11015 in 11: Error number 11015 in 11:
Exception while importing
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
importing
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:110)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.xwiki.filter.FilterException: Failed to read XAR package
at
org.xwiki.filter.xar.internal.input.XARInputFilterStream.readXAR(XARInputFilterStream.java:111)
at
org.xwiki.filter.xar.internal.input.XARInputFilterStream.read(XARInputFilterStream.java:95)
at
org.xwiki.filter.xar.internal.input.XARInputFilterStream.read(XARInputFilterStream.java:46)
at
org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)
at
com.xpn.xwiki.web.ImportAction.importPackageFilterStream(ImportAction.java:328)
at com.xpn.xwiki.web.ImportAction.importPackage(ImportAction.java:146)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:107)
... 42 more
Caused by: java.lang.NullPointerException
at
org.xwiki.filter.instance.internal.output.XWikiDocumentOutputFilterStream.endWikiSpace(XWikiDocumentOutputFilterStream.java:238)
at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:90)
at
org.xwiki.filter.internal.CompositeFilter.invoke(CompositeFilter.java:75)
at com.sun.proxy.$Proxy87.endWikiSpace(Unknown Source)
at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:90)
at
org.xwiki.filter.internal.CompositeFilter.invoke(CompositeFilter.java:75)
at com.sun.proxy.$Proxy88.endWikiSpace(Unknown Source)
at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:90)
at
org.xwiki.filter.internal.CompositeFilter.invoke(CompositeFilter.java:75)
at com.sun.proxy.$Proxy89.endWikiSpace(Unknown Source)
at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:90)
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:63)
at com.sun.proxy.$Proxy90.endWikiSpace(Unknown Source)
at org.xwiki.filter.xar.internal.input.WikiReader.read(WikiReader.java:99)
at
org.xwiki.filter.xar.internal.input.XARInputFilterStream.readXAR(XARInputFilterStream.java:109)
... 48 more
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWIKI-7-0-Admin-IMPORT-fails-with-NULL-PO…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Ricardo
Thanks. I'd already checked the CSS out (I use Chrome's Developer tools but will checkout firebug) and was hoping there was a built in way or a pre-written extension to save some time.
Thanks for the "View Source" tip. I didn't have this option available as I hadn’t registered on xwiki.org yet (didn't have an actual need until now).
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Ricardo.Julio.Rodriguez.Fernandez(a)sergas.es
Sent: 15 April 2015 13:46
To: users(a)xwiki.org
Subject: Re: [xwiki-users] Keyboard icons in XWiki articles
Hi Mahomed!
Once again CSS is king! Install Firebug or Firebug Lite (http://getfirebug.com) or any other software that allow you to inspect the page and you'll see how CSS class key does the trick!
XWiki view source feature is also useful for understanding the whole picture. A XWiki.StyleSheetExtension holds the CSS code rendering this nice key images.
Hope this helps,
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
________________________________________
De: users [users-bounces(a)xwiki.org] en nombre de Mahomed Hussein [Mahomed(a)CustodianDC.com]
Enviado: miércoles, 15 de abril de 2015 14:27
Para: XWiki Users
Asunto: [xwiki-users] Keyboard icons in XWiki articles
Hi
Can anyone please tell me how I can create keyboard icons in my own wiki/document similar to how the icons appear on this page - http://platform.xwiki.org/xwiki/bin/view/Features/KeyboardShortcuts ? Hopefully this is built in ☺
Thanks in advance.
Kind regards,
Mahomed
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
________________________________
Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada.
Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi
Can anyone please tell me how I can create keyboard icons in my own wiki/document similar to how the icons appear on this page - http://platform.xwiki.org/xwiki/bin/view/Features/KeyboardShortcuts ? Hopefully this is built in ☺
Thanks in advance.
Kind regards,
Mahomed
Hi everybody,
I recently migrated our XWiki Windows Server installation to an Ubuntu
Server 14.10 (x64) setup with XWiki 7, Tomcat 8, Java 8 and Nginx proxy.
All issues that occurred were fixed and everything is running smoothly now
except for one thing.
JPG images don't show up on XWiki, I get the error output appended below.
The crucial line seems to be: "Could not initialize class
com.sun.imageio.plugins.jpeg.JPEGImageReader". I searched on google and
downgraded to JRE 7 but that didn't fix the issue so I re-installed JRE-8
and purged JRE-7 again.
Could someone please point me in the right direction how to fix this?
---[CATALINA LOG OUTPUT]---
WARN c.x.x.w.XWikiAction - Uncaught exception: 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:368)
[XWikiAction.class:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146)
[XWikiAction.class:na]
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
[RequestProcessor.class:1.3.10]
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
[RequestProcessor.class:1.3.10]
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
[ActionServlet.class:1.3.10]
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
[ActionServlet.class:1.3.10]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
[tomcat8-servlet-api-8.0.9.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
[tomcat8-servlet-api-8.0.9.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
[ActionFilter.class:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
[ConversionFilter.class:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
[tomcat8-websocket-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
[SetHTTPHeaderFilter.class:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
[XWikiDavFilter.class:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
[SavedRequestRestorerFilter.class:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
[SetCharacterEncodingFilter.class:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526)
[tomcat8-catalina-8.0.9.jar:8.0.9]
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
[tomcat8-coyote-8.0.9.jar:8.0.9]
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:655)
[tomcat8-coyote-8.0.9.jar:8.0.9]
at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
[tomcat8-coyote-8.0.9.jar:8.0.9]
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)
[tomcat8-coyote-8.0.9.jar:8.0.9]
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)
[tomcat8-coyote-8.0.9.jar:8.0.9]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_40-internal]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_40-internal]
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
[tomcat8-util-8.0.9.jar:8.0.9]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40-internal]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
com.sun.imageio.plugins.jpeg.JPEGImageReader
at
com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi.createReaderInstance(JPEGImageReaderSpi.java:85)
~[na:1.8.0_40-internal]
at
javax.imageio.spi.ImageReaderSpi.createReaderInstance(ImageReaderSpi.java:320)
~[na:1.8.0_40-internal]
at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:529)
~[na:1.8.0_40-internal]
at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:513)
~[na:1.8.0_40-internal]
at javax.imageio.ImageIO.read(ImageIO.java:1443)
~[na:1.8.0_40-internal]
at javax.imageio.ImageIO.read(ImageIO.java:1352)
~[na:1.8.0_40-internal]
at
com.xpn.xwiki.internal.plugin.image.DefaultImageProcessor.readImage(DefaultImageProcessor.java:58)
~[DefaultImageProcessor.class:na]
at
com.xpn.xwiki.plugin.image.ImagePlugin.shrinkImage(ImagePlugin.java:311)
~[ImagePlugin.class:na]
at
com.xpn.xwiki.plugin.image.ImagePlugin.downloadImageFromCache(ImagePlugin.java:285)
~[ImagePlugin.class:na]
at
com.xpn.xwiki.plugin.image.ImagePlugin.downloadImage(ImagePlugin.java:248)
~[ImagePlugin.class:na]
at
com.xpn.xwiki.plugin.image.ImagePlugin.downloadAttachment(ImagePlugin.java:221)
~[ImagePlugin.class:na]
at
com.xpn.xwiki.plugin.XWikiPluginManager.downloadAttachment(XWikiPluginManager.java:287)
~[XWikiPluginManager.class:na]
at com.xpn.xwiki.web.DownloadAction.render(DownloadAction.java:111)
~[DownloadAction.class:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345)
[XWikiAction.class:na]
... 47 common frames omitted
Thanks in advance,
Dennis
Hello,
I wrote a component in eclipse using maven.
@Inject
private Container container;
....
HttpServletRequest request = (HttpServletRequest) container.getRequest();
String environement = request.getParameter(PARAM_ENVIRONNEMENT);
String referer = request.getHeader(REFERER);
...
And i tried to access this component in an xwiki page by :
def jsonObject = services.jenkinsJobsPresenter.presentJobs(); /*this method returns a jsonNode*/
But i have got this error
org.xwiki.container.servlet.ServletRequest cannot be cast to javax.servlet.ServletRequest
I want to get the HttpServletRequest , to get the parameters and the headers
First, i was trying to get the request from the XwikiContext but i noticed that it was deprecated.
Sincerely,
PS : i'm a junior developper and i have just started using xwiki from 2 weeks for a specific project.
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Hello,
I wrote a component in eclipse using maven.
@Inject
private Container container;
....
ServletRequest request = (ServletRequest) container.getRequest();
HttpServletRequest req = (HttpServletRequest) request;
String environement = req.getParameter(PARAM_ENVIRONNEMENT);
String referer = req.getHeader(REFERER);
...
And i tried to access this component in an xwiki page by :
def jsonObject = services.jenkinsJobsPresenter.presentJobs(); /*this method returns a jsonNode*/
But i have got this error
org.xwiki.container.servlet.ServletRequest cannot be cast to javax.servlet.ServletRequest
I want to get the HttpServletRequest , to get the parameters and the headers
First, i was trying to get the request from the XwikiContext but i noticed that it was deprecated.
Sincerely,
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Hi!
In a user profile page with new tabs, I wish div dashboardleft occupy all available width for privateSpacePane.
I'm not able to find the right place to inject a width: 100%; property that is working for me when trying it with Inspector (Mac OS X, Safari)
http://atriumkm.idisantiago.es/bin/download/ICT/CSS/css.OnPrivateSpace02.png
Please, could you point me in the right direction? Must I add a XWiki.StyleSheetExtension object to XWiki.XWikiUserSheet? Must I add it to each user page? Could I use inline code in the concerned div element? I've tried a number of things but failed all and every time!
Thanks for your help!
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
________________________________
Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada.
Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm
Hello,
My problems:
1. Double button on the top panel (How to switch off this?) (screen shot
is in attachment)
2. How to hide who modified something?
Greetings,
Maciek.
Hi All
I have problem to configure xwiki7
To attach big file to wiki
The steps that I did are:
Size Limit
The maximum size of an attachment is limited by a configuration parameter in the XWikiPreferences document. It is set to about 32MB by default.
To change it follow these steps:
1. Go to http://<yourwiki>/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object<http://%3cyourwiki%3e/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object>
2. Click on the line that says XWikiPreferences 0 (right below the line that says Objects of type XWiki.XWikiPreferences (1))
1. Scroll down to the field that says Maximum Upload Size and change the number to 10737418240 bytes which is 10GB
2. Scroll to the bottom and click "Save"
3. Restarted the tomcat 8
This didn't work:
I am getting message that I can't attach files larger then 32mb
1. I have tried to attach a video file that about 32mb I got those messages:
[Caused by: java.lang.OutOfMemoryError: Java heap space among the long message]
A problem occurred while trying to process your request. Please contact the webmaster if this happens again.
Detailed information:
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:368)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2367)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
at java.lang.StringBuffer.append(StringBuffer.java:232)
at org.suigeneris.jrcs.util.ToString.arrayToString(ToString.java:110)
at org.suigeneris.jrcs.rcs.impl.Node.setText(Node.java:349)
at org.suigeneris.jrcs.rcs.Archive.<init>(Archive.java:243)
at org.suigeneris.jrcs.rcs.Archive.<init>(Archive.java:214)
at com.xpn.xwiki.doc.XWikiAttachmentArchive.updateArchive(XWikiAttachmentArchive.java:185)
at com.xpn.xwiki.doc.XWikiAttachment.updateContentArchive(XWikiAttachment.java:891)
at com.xpn.xwiki.store.XWikiHibernateStore.saveAttachment(XWikiHibernateStore.java:1643)
at com.xpn.xwiki.store.XWikiHibernateStore.saveAttachmentList(XWikiHibernateStore.java:1602)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:543)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1423)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1367)
at com.xpn.xwiki.web.UploadAction.uploadAttachment(UploadAction.java:214)
at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:344)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
2. I have change the attachment location to:
a. To change the storage location do:
[root@ cat /usr/apache-tomcat-8.0.20/webapps/xwiki-enterprise-web-7.0/WEB-INF/xwiki.properties |grep -n environment.permanentDirectory
78:# environment.permanentDirectory=/var/local/xwiki/
b. I will change it to :
environment.permanentDirectory=/usr/apache-tomcat-8.0.20/Attachments
a. c. My vim setenv.sh
JAVA_OPTS="${JAVA_OPTS} -Djava.awt.headless=true"
CATALINA_OPTS="-server -Xms800m -Xmx800m -XX:MaxPermSize=196m -Dfile.encoding=utf-8 -Djava.awt.headless=true -XX:+UseParallelGC -XX:MaxGCPauseMillis=100"
export JAVA_OPTS CATALINA_OPTS
Please advise how to change the configuration to be able to attach big files to wikis
Thanks
>
> It seems that my livetable working like a charm now. :-)
>
> By the way, it's a shame that boolean property didn't work
> with columnsProperties with this :
> #set ($columnsProperties = {
> 'MyBooleanPropertyField':
> {"type":"list",'class':'xxxxx'},
> It didn't work with text either.
> Then I suppose I must change the property field type in a
> database list or in static list.
Right, I found this issue for that: http://jira.xwiki.org/browse/XWIKI-6118: "Add boolean property support on livetables"
> >
> > You
> > can use https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
> > as an example of a custom results page.
>
> Thanks, I will give a try.
> With ResultPage, I wonder if I could use select list of
> livetable.
>
Hello,
I didn't used ExternalLinksJSON.xml example because I need tag cloud and all nice livetable features :-)
Then I copy/paste XWiki.LiveTableResultsMacros in MyApply.MyResultPage and use this lovetable option:
#set ($options = {
'resultPage':'MyApply.MyResultPage',
'translationPrefix' : 'FormSMQ.livetable.',
In MyApply.MyResultPage, I replace these lines (and add tons of debug code :-)) ):
#set($whereSql = "${whereSql} and ${objectAlias}.name = doc.fullName and ${objectAlias}.className = ?")
#set($discard = $whereParams.add($propClassName))
by
- ## Hack #set($whereSql = "${whereSql} and ${objectAlias}.name = doc.fullName and ${objectAlias}.className = ?")
#set($whereSql = "${whereSql} and ${objectAlias}.name = doc.fullName and ${objectAlias}.className like ? and doc.fullName NOT like 'FormSMQ.%Template'")
#set($discard = $whereParams.add('FormSMQ.%Class'))
and to avoid hidden doc when no filter is applied:
I replace
#set($sql = "$!fromSql $!filterfrom where 1=1 $!whereSql $!filterwhere")
by
#set($sql = "$!fromSql $!filterfrom where 1=1 and doc.hidden=false $!whereSql $!filterwhere")
It seems that my livetable working like a charm now. :-)
By the way, it's a shame that boolean property didn't work with columnsProperties with this :
#set ($columnsProperties = {
'MyBooleanPropertyField': {"type":"list",'class':'xxxxx'},
It didn't work with text either.
Then I suppose I must change the property field type in a database list or in static list.
Thxs for all
Pascal B
Hi,
I'm currently migrating my company's wiki to XWIKI. I've installed version 7.0.
Well, this application rocks but I've got an annoying problem :
- I've downloaded the file manager and tried it on both Firefox and Chrome. When I open the page, I've just got an empty folder. I tried to click, double click, right clic... Nothing happens.
For your information, my xwiki is configured in french, and I'm logged with a superadmin account...
Do you have an idea ? Or a fix to help me ?
Laurent
Hello,
I am trying to connect to an LDAP server using the LDAP Admin
Application and failing. The settings I have configured are as follows:
- LDAP - enabled
- LDAP SERVER ADDRESS - server IP address
- LDAP SERVER PORT - 389
- LDAP LOGIN MATCHING - cn={0},ou=people,dc=info,dc=uaic,dc=ro
- LDAP PASSWORD MATCHING - {1}
- TRY LOCAL LOGIN - yes
- UPDATE USER FROM LDAP AFTER LOGIN - yes
- LDAP USER FIELDS MAPPING - last_name=sn,first_name=givenName,email=mail
Everything else is left blank, and in the xwiki.cfg file, the only
uncommented line is
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
Every time I try to log in using LDAP credentials the attempt fails with
the log entry given at the end of the message. I have also tried the
exact same settings in the xwiki.cfg file, with the same error message.
The server I am using is Tomcat, and the xwiki version is 6.4.
Best regards,
Alex Moruz
2015-04-09 16:28:13,172
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2015-04-09 16:28:13,185
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - The provided user is null. We
don't try to authenticate, it probably means the user is in non logged
mode.
2015-04-09 16:28:13,185
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2015-04-09 16:28:13,229
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP
bind failed with LDAPException.
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:197)
~[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:125)
~[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:305)
[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:182)
[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:129)
[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:272)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:192)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:174)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:239)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3293)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
org.xwiki.security.authorization.internal.XWikiCachingRightService.authenticateUser(XWikiCachingRightService.java:241)
[xwiki-platform-security-bridge-6.4.jar:na]
at
org.xwiki.security.authorization.internal.XWikiCachingRightService.checkAccess(XWikiCachingRightService.java:271)
[xwiki-platform-security-bridge-6.4.jar:na]
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3306)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4299)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:269)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
[struts-core-1.3.10.jar:1.3.10]
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
[struts-core-1.3.10.jar:1.3.10]
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
[struts-core-1.3.10.jar:1.3.10]
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
[struts-core-1.3.10.jar:1.3.10]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
[servlet-api.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
[servlet-api.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
[xwiki-platform-wysiwyg-server-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
[xwiki-platform-container-servlet-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
[xwiki-platform-webdav-server-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
[xwiki-platform-container-servlet-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
[xwiki-platform-container-servlet-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[catalina.jar:6.0.43]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[catalina.jar:6.0.43]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
[catalina.jar:6.0.43]
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
[tomcat-coyote.jar:6.0.43]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
[tomcat-coyote.jar:6.0.43]
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[tomcat-coyote.jar:6.0.43]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_25]
Caused by: com.novell.ldap.LDAPException: Invalid Credentials
at com.novell.ldap.LDAPResponse.getResultException(Unknown Source)
~[jldap-4.3.jar:na]
at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source)
~[jldap-4.3.jar:na]
at com.novell.ldap.LDAPConnection.chkResultCode(Unknown Source)
~[jldap-4.3.jar:na]
at com.novell.ldap.LDAPConnection.bind(Unknown Source)
~[jldap-4.3.jar:na]
at com.novell.ldap.LDAPConnection.bind(Unknown Source)
~[jldap-4.3.jar:na]
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.bind(XWikiLDAPConnection.java:231)
~[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:193)
~[xwiki-platform-ldap-authenticator-6.4.jar:na]
... 51 common frames omitted
2015-04-09 16:28:13,231
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - Trying authentication against
XWiki DB
2015-04-09 16:28:13,237
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication failed for
user [mmoruz]
2015-04-09 16:28:13,558
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/ssx/XWiki/DefaultSkin?la…]
TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2015-04-09 16:28:13,558
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/ssx/XWiki/DefaultSkin?la…]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - The provided user is null. We
don't try to authenticate, it probably means the user is in non logged
mode.
description: wiki for managing Oaza's staff
owner name: Konrad Fierek (fiercio)
wiki name: oaza-swanna.myxwiki.org (or staff.oaza-swanna.info if is it possible)
Best regards,
Konrad