Hi All,
I have some issues with the xwiki war deploy. I downloaded the XWiki 9.3.1 war file and wanted to deploy to wildfly-10.1.0.Final (also tried to deploy to 11.0.0.Alpha1), but the deploy fails. In the past days google did not tell me any wise thing how I should solve the issue (it can be that i asked wrong....). Does anyone have an idea what i missed or how i can get it work? Thanks a lot for the help,Vik XWiki: 9.3.1WildFly: wildfly-10.1.0.Final (also 11.0.0.Alpha1)JAVA:java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) Install instructions which I followed:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationWAR - Added the mysql connector
- Created the database and actualized the database settings in WEB-INF/hibernate.cfg.xml
- Added the "META-INF/jboss-all.xml" as it is written on the fix link.
(http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationJBoss) This is the error message which I receive on the web interface:Cannot upload deployment: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"xwiki-enterprise-web-9.3.1.war\" Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class com.codahale.metrics.jetty9.InstrumentedHandler$7 with ClassLoader ModuleClassLoader for Module \"deployment.xwiki-enterprise-web-9.3.1.war:main\" from Service Module Loader Caused by: java.lang.NoClassDefFoundError: Failed to link com/codahale/metrics/jetty9/InstrumentedHandler (Module \"deployment.xwiki-enterprise-web-9.3.1.war:main\" from Service Module Loader): org/eclipse/jetty/server/handler/HandlerWr
apper"},"WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE"],"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined} In the server log this is what has been generated:
17:39:22,675 WARN [org.jboss.modules] (MSC service thread 1-7) Failed to define class com.codahale.metrics.jetty9.InstrumentedHandler in Module "deployment.xwiki-enterprise-web-9.3.1.war:main" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link com/codahale/metrics/jetty9/InstrumentedHandler (Module "deployment.xwiki-enterprise-web-9.3.1.war:main" from Service Module Loader): org/eclipse/jetty/server/handler/HandlerWrapper
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:446)
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:78)
at org.jboss.modules.Module.loadModuleClass(Module.java:606)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredFields(Class.java:1916)
at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:72)
at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66)
at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:57)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:106)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:91)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:76)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)17:39:22,677 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."xwiki-enterprise-web-9.3.1.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."xwiki-enterprise-web-9.3.1.war".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "xwiki-enterprise-web-9.3.1.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class com.codahale.metrics.jetty9.InstrumentedHandler$7 with ClassLoader ModuleClassLoader for Module "deployment.xwiki-enterprise-web-9.3.1.war:main" from Service Module Loader
at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:57)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:106)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:91)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:76)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
... 5 more
Caused by: java.lang.NoClassDefFoundError: Failed to link com/codahale/metrics/jetty9/InstrumentedHandler (Module "deployment.xwiki-enterprise-web-9.3.1.war:main" from Service Module Loader): org/eclipse/jetty/server/handler/HandlerWrapper
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:446)
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:78)
at org.jboss.modules.Module.loadModuleClass(Module.java:606)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredFields(Class.java:1916)
at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:72)
at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66)
... 10 more17:39:22,679 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 5) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "xwiki-enterprise-web-9.3.1.war")]) - failure description: {
"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"xwiki-enterprise-web-9.3.1.war\"
Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class com.codahale.metrics.jetty9.InstrumentedHandler$7 with ClassLoader ModuleClassLoader for Module \"deployment.xwiki-enterprise-web-9.3.1.war:main\" from Service Module Loader
Caused by: java.lang.NoClassDefFoundError: Failed to link com/codahale/metrics/jetty9/InstrumentedHandler (Module \"deployment.xwiki-enterprise-web-9.3.1.war:main\" from Service Module Loader): org/eclipse/jetty/server/handler/HandlerWrapper"},
"WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
17:39:22,682 ERROR [org.jboss.as.server] (External Management Request Threads -- 5) WFLYSRV0021: Deploy of deployment "xwiki-enterprise-web-9.3.1.war" was rolled back with the following failure message:
{
"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"xwiki-enterprise-web-9.3.1.war\"
Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class com.codahale.metrics.jetty9.InstrumentedHandler$7 with ClassLoader ModuleClassLoader for Module \"deployment.xwiki-enterprise-web-9.3.1.war:main\" from Service Module Loader
Caused by: java.lang.NoClassDefFoundError: Failed to link com/codahale/metrics/jetty9/InstrumentedHandler (Module \"deployment.xwiki-enterprise-web-9.3.1.war:main\" from Service Module Loader): org/eclipse/jetty/server/handler/HandlerWrapper"},
"WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"xwiki-enterprise-web-9.3.1.war\".POST_MODULE"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
On Tue, May 9, 2017 at 11:20 PM, Olivier Seres <oseres(a)gmail.com> wrote:
> Caty,
> Thanks for this work!
> We should also consider that there could be other options to be added in
> the future, like "Allow realtime" radio button, or introduced by some
> forecoming extensions
>
Ideal we could also remove options :) and make it more simpler :)
On mobile the options will go on 2 rows, so we currently have this problems.
Thanks,
Caty
> In order to avoid messing up the layout (in beeing be obliged to placing
> the option in some weird places - like underneath because there is no other
> options), it might be wise to think to an elegant design solution within
> this bottom bar to take their growth into account.
> Currently thinking to an unfolding menu, but I'm sure there are many other
> ways.
>
>
>
> Olivier
>
>
> On Tue, May 9, 2017 at 6:13 PM, Ecaterina Moraru (Valica) <
> valicac(a)gmail.com> wrote:
>
>> Hi,
>>
>> The initial proposal was about the fixed bottom position. For that we will
>> have https://jira.xwiki.org/browse/XWIKI-14162 issue
>> In order to have a bottom bar, we compacted the save options, for that we
>> will have the https://jira.xwiki.org/browse/XWIKI-14267
>>
>> Thanks to everyone who responded in the survey. The results are available
>> at
>> https://docs.google.com/forms/d/1DM74hlXQQ22WVdqhYbGWyITWXTH
>> 5qgmKSMIrS3eHDKE/viewanalytics
>>
>> The proposal we will implement is
>> http://design.xwiki.org/xwiki/bin/download/Proposal/IdeaVisi
>> bleSave/proposal9xCK.png
>>
>> Initially I wanted to remove some buttons and reduce their number, but the
>> feedback was mixed, so this has been postponed, until we gather more usage
>> data or feedback.
>>
>> Some conclusions:
>> - "Save & View" received 12 votes as used most often. Since it's also an
>> action that changes modes (takes the user to view) and is a final action,
>> it will be marked with primary state (blue).
>> - "Save" was also voted and voters were against remove it. Since it
>> received 12 votes and is related to save, it will be the next action. We
>> simplified the name from "Save&Continue" to "Save".
>> - "Preview" received just 4 votes, but we consider this action to be
>> directed towards newcomer users that need to be comfortable with their
>> changes and be able to preview them.
>> - "Cancel" was kept near the other actions in order to be consistent with
>> the other layout we have across XWiki. It will be displayed outside of the
>> button group.
>>
>> Thanks,
>> Caty
>>
>> On Thu, Apr 27, 2017 at 4:29 PM, Ecaterina Moraru (Valica) <
>> valicac(a)gmail.com> wrote:
>>
>> > Sorry. The link was https://goo.gl/forms/QyG5eOM44rBkd3qk2
>> >
>> > On Thu, Apr 27, 2017 at 4:23 PM, Ecaterina Moraru (Valica) <
>> > valicac(a)gmail.com> wrote:
>> >
>> >> I've created this form to gather data about the buttons usage, in order
>> >> to make a proposal for the buttons location
>> >> https://docs.google.com/forms/d/e/1FAIpQLSeQwjxlFl321Ap97xKlYRcf
>> -39wlG-
>> >> cJXXqM1nududfjo3KHQ/viewanalytics
>> >>
>> >> Hope everyone is comfortable with Google Forms.
>> >> Thanks,
>> >> Caty
>> >>
>> >>
>> >> On Thu, Apr 27, 2017 at 12:56 PM, Denis GERMAIN <dt.germain(a)gmail.com>
>> >> wrote:
>> >>
>> >>> Great proposition ! I like it.
>> >>>
>> >>> I see that the subject has also diverted to the fact that you can
>> "save
>> >>> and
>> >>> continue" and "save and view". Some of our users are lost the first
>> time
>> >>> as
>> >>> they click "save and continue" and don't understand why they are
>> still in
>> >>> edit mode. Clarifying this would indeed be a good idea, even though
>> they
>> >>> usually get the distinction quickly after that.
>> >>>
>> >>> Regards,
>> >>> Denis
>> >>>
>> >>> 2017-04-26 17:01 GMT+02:00 Ecaterina Moraru (Valica) <
>> valicac(a)gmail.com
>> >>> >:
>> >>>
>> >>> > On Wed, Apr 26, 2017 at 5:41 PM, Craig Wright <crw+xwiki(a)crw.xyz>
>> >>> wrote:
>> >>> >
>> >>> > > Hi Caty,
>> >>> > >
>> >>> > > I am a fan of “B”.
>> >>> > >
>> >>> > > I like the idea of putting the changelog and autosave options
>> above
>> >>> on a
>> >>> > > preceding row. I would argue that for most users, their eyes only
>> >>> see the
>> >>> > > leftmost buttons as the functionally useful area. Thus putting
>> >>> Cancel on
>> >>> > > the far right effectively “hides” the button.
>> >>> > >
>> >>> >
>> >>> > Yes, the most visible buttons are the ones on the left side and
>> that's
>> >>> the
>> >>> > purpose. We need people to see the Save button :)
>> >>> > Now, 'summary' functionality is not mandatory when editing and can
>> >>> also be
>> >>> > disabled from Administration - Editing.
>> >>> > Having it on a separate line is not an option since we initial idea
>> of
>> >>> the
>> >>> > thread is to provide a fixed bottom bar, when the viewport is
>> small. So
>> >>> > there are all on a single bar in order to be compact.
>> >>> >
>> >>> >
>> >>> > >
>> >>> > > For the purposes of mobile, I think it is acceptable to hide the
>> >>> > changelog
>> >>> > > and autosave options on small-screen resolutions. (Such as when I
>> am
>> >>> > > editing from iPhone, I am highly unlikely to leave a changelog
>> >>> message
>> >>> > > anyway.)
>> >>> > >
>> >>> >
>> >>> > I haven't iterated much on the mobile version, but the mockup I
>> have is
>> >>> > http://design.xwiki.org/xwiki/bin/download/Proposal/
>> >>> > IdeaVisibleSave/mobile.png
>> >>> > It can be improved, and as you said we could decide that on mobile
>> we
>> >>> can
>> >>> > hide some functionality, but again hard to have stats to justify
>> what
>> >>> is
>> >>> > used/needed or not.
>> >>> >
>> >>> > Thanks,
>> >>> > Caty
>> >>> >
>> >>> >
>> >>> > > FWIW, taborder should be the following:
>> >>> > >
>> >>> > > 1. Edit input
>> >>> > > 2. Changelog input
>> >>> > > 3. Save button
>> >>> > > 4. Preview button
>> >>> > > 5. Cancel button
>> >>> > > 6. Autosave option
>> >>> > >
>> >>> > > My $0.02. :)
>> >>> > >
>> >>> > > Thanks,
>> >>> > > Craig
>> >>> > >
>> >>> > > > On Apr 26, 2017, at 2:20 PM, Ecaterina Moraru (Valica) <
>> >>> > > valicac(a)gmail.com> wrote:
>> >>> > > >
>> >>> > > > Hi,
>> >>> > > >
>> >>> > > > On Wed, Apr 26, 2017 at 2:39 PM, Craig Wright <
>> crw+xwiki(a)crw.xyz
>> >>> > > <mailto:crw+xwiki@crw.xyz>> wrote:
>> >>> > > >
>> >>> > > >> Overall I like these changes. A couple of suggestions:
>> >>> > > >>
>> >>> > > >> No one in my community understands “Save and Continue” versus
>> >>> “Save
>> >>> > and
>> >>> > > >> View”. Dropping the “and Continue” is a great step, but I
>> would go
>> >>> > > farther
>> >>> > > >> and give “Save and View” the emphasis color (blue, in this
>> case).
>> >>> That
>> >>> > > is
>> >>> > > >> the more highly understood behavior. “Save” (and continue
>> >>> editing) is
>> >>> > > >> useful but not as generally useful as “Save and View”.
>> Especially
>> >>> if
>> >>> > you
>> >>> > > >> are dropping Preview.
>> >>> > > >>
>> >>> > > >> FWIW, I use Preview more often from WYSIWYG mode since there is
>> >>> not a
>> >>> > > 1:1
>> >>> > > >> translation of editor view to page view. Whereas, when I am
>> >>> editing
>> >>> > > source,
>> >>> > > >> I can predict how it will look most of the time. :)
>> >>> > > >>
>> >>> > > >> I would also move the Cancel button over next to the other
>> >>> buttons.
>> >>> > If I
>> >>> > > >> had to rate which buttons I use the most frequently, “Cancel”
>> >>> would be
>> >>> > > at
>> >>> > > >> the top, followed by “Save and View,” followed very very
>> >>> distantly by
>> >>> > > “Save
>> >>> > > >> and Continue."
>> >>> > > >>
>> >>> > > >>
>> >>> > > > This is very interesting behavior. I would love to be able to
>> have
>> >>> some
>> >>> > > > usage stats, but with XWiki being installable and independently
>> >>> hosted,
>> >>> > > > stats are always hard to get by.
>> >>> > > >
>> >>> > > > Personally I use "Save" a lot (I like to save often in order to
>> not
>> >>> > lose
>> >>> > > > stuff), but I usually use the keyboard shortcut, not necessarily
>> >>> the
>> >>> > > > button. It is true that 'Preview' in WYSIWYG has its usages,
>> >>> especially
>> >>> > > > when using macros or nested macros, since the result is not
>> >>> accurate.
>> >>> > > >
>> >>> > > > Regarding "Save & View" I always do it as a final step, while I
>> >>> never
>> >>> > use
>> >>> > > > "Cancel" - i just navigate away or hit the browser's 'Back'.
>> >>> > > >
>> >>> > > > Also in terms of functionality the "Autosave" can be used
>> instead
>> >>> of
>> >>> > the
>> >>> > > > "Save", so we can remove 'Save' (especially in case of advanced
>> >>> users).
>> >>> > > >
>> >>> > > > So the only stats I have are from the http://playground.xwiki.
>> org
>> >>> <
>> >>> > > http://playground.xwiki.org/> from the
>> >>> > > > past 2 months. These are the top 3 pages edited, see
>> >>> > > > http://design.xwiki.org/xwiki/bin/download/Proposal/IdeaVisi
>> >>> bleSave/
>> >>> > > UsageFebApr2017.png <http://design.xwiki.org/
>> >>> > xwiki/bin/download/Proposal/
>> >>> > > IdeaVisibleSave/UsageFebApr2017.png>
>> >>> > > >
>> >>> > > > Now let's see the heatmaps:
>> >>> > > > - Sandbox.WebHome:
>> >>> > > > http://design.xwiki.org/xwiki/bin/download/Proposal/
>> >>> > > IdeaVisibleSave/Sandbox-Home.png <http://design.xwiki.org/
>> >>> > > xwiki/bin/download/Proposal/IdeaVisibleSave/Sandbox-Home.png>
>> >>> > > > - Sandbox.TestPage1:
>> >>> > > > http://design.xwiki.org/xwiki/bin/download/Proposal/
>> >>> > > IdeaVisibleSave/Sandbox-TestPage1.png <http://design.xwiki.org/
>> >>> > > xwiki/bin/download/Proposal/IdeaVisibleSave/Sandbox-TestPage
>> 1.png>
>> >>> > > > - Sandbox.Test.WebHome:
>> >>> > > > http://design.xwiki.org/xwiki/bin/download/Proposal/
>> >>> > > IdeaVisibleSave/Sandbox-Test.png <http://design.xwiki.org/
>> >>> > > xwiki/bin/download/Proposal/IdeaVisibleSave/Sandbox-Test.png>
>> >>> > > >
>> >>> > > > From these heatmaps we see that 'Preview' has the most usage and
>> >>> after
>> >>> > is
>> >>> > > > "Save&View", with no usage for "Save & Continue" and "Cancel".
>> >>> > > > Not we need to take into account 2 aspects: Sandbox is used by
>> >>> > first-time
>> >>> > > > users of XWiki and they usually are afraid to mess things up so
>> the
>> >>> > > Preview
>> >>> > > > is comforting for them. Also in the current layout 'Preview' is
>> the
>> >>> > first
>> >>> > > > button from left-to-right, so it's assumed as the primary
>> action.
>> >>> > > >
>> >>> > > > So if the initial proposal was 'varA', what do you think about
>> >>> 'varB'?
>> >>> > > > - var A [Save; Save & View]:
>> >>> > > > http://design.xwiki.org/xwiki/bin/download/Proposal/
>> >>> > > IdeaVisibleSave/varA.png <http://design.xwiki.org/
>> >>> > > xwiki/bin/download/Proposal/IdeaVisibleSave/varA.png>
>> >>> > > > - var B [Save & View; Preview]:
>> >>> > > > http://design.xwiki.org/xwiki/bin/download/Proposal/
>> >>> > > IdeaVisibleSave/varB.png <http://design.xwiki.org/
>> >>> > > xwiki/bin/download/Proposal/IdeaVisibleSave/varB.png>
>> >>> > > > - var C [Save & View; Save]:
>> >>> > > > http://design.xwiki.org/xwiki/bin/download/Proposal/
>> >>> > > IdeaVisibleSave/varC.png <http://design.xwiki.org/
>> >>> > > xwiki/bin/download/Proposal/IdeaVisibleSave/varC.png>
>> >>> > > >
>> >>> > > > Note: users that went to 'Preview', usually come back to the
>> >>> previous
>> >>> > > view,
>> >>> > > > see
>> >>> > > > http://design.xwiki.org/xwiki/bin/download/Proposal/
>> >>> > > IdeaVisibleSave/Sandbox-Test-preview.png <
>> http://design.xwiki.org/
>> >>> > > xwiki/bin/download/Proposal/IdeaVisibleSave/Sandbox-Test-pre
>> >>> view.png>
>> >>> > > >
>> >>> > > > I left 'Cancel' at the end, in order to be the last button and
>> have
>> >>> > > > visibility (not get lost in all the other options). Users need
>> to
>> >>> use
>> >>> > it
>> >>> > > as
>> >>> > > > an 'escape' route, so it's better to find it fast and always
>> have a
>> >>> > > static
>> >>> > > > position = last. For this usually the first and last positions
>> are
>> >>> > best.
>> >>> > > >
>> >>> > > > My initial rationale to remove 'Preview' from the WYSIWYG editor
>> >>> was
>> >>> > that
>> >>> > > > WYSIWYG does life preview, so I though not many users use it,
>> >>> since I
>> >>> > > never
>> >>> > > > used it. Seeing the stats for newcomers is impressive, still it
>> >>> would
>> >>> > be
>> >>> > > > great if more advanced / long-term users of XWiki would
>> summaries
>> >>> a bit
>> >>> > > > their button usage, so we could take a more informed decision.
>> >>> XWiki
>> >>> > > needs
>> >>> > > > to accommodate both newcomers, but also long term users.
>> >>> > > >
>> >>> > > > Thanks,
>> >>> > > > Caty
>> >>> > > >
>> >>> > > >
>> >>> > > >> Nice work!
>> >>> > > >>
>> >>> > > >> Craig
>> >>> > > >>
>> >>> > > >>
>> >>> > > >>> On Apr 25, 2017, at 6:21 PM, Ecaterina Moraru (Valica) <
>> >>> > > >> valicac(a)gmail.com> wrote:
>> >>> > > >>>
>> >>> > > >>> Hi,
>> >>> > > >>>
>> >>> > > >>> We had some users complaining that the first time they edit a
>> >>> page
>> >>> > they
>> >>> > > >>> don't know how to save it. Depending on the screen resolution,
>> >>> the
>> >>> > save
>> >>> > > >>> buttons since they are at the bottom of the page are not
>> visible
>> >>> and
>> >>> > > some
>> >>> > > >>> users don't know they need to scroll in order to see them.
>> >>> > > >>>
>> >>> > > >>> We want to make some changes to XWiki, that:
>> >>> > > >>> - Display the save buttons in a fixed bottom bar, when they
>> are
>> >>> out
>> >>> > of
>> >>> > > >> the
>> >>> > > >>> viewport, see
>> >>> > > >>> http://design.xwiki.org/xwiki/bin/download/Proposal/
>> >>> > > >> IdeaVisibleSave/bottomBar.png
>> >>> > > >>> - When the user scroll, the buttons go into their position,
>> see
>> >>> > > >>> http://design.xwiki.org/xwiki/bin/download/Proposal/
>> >>> > > >> IdeaVisibleSave/after.png
>> >>> > > >>> - We compacted the bottom functionalities (summary, minor,
>> >>> > auto-save),
>> >>> > > >> see
>> >>> > > >>> before:
>> >>> > > >>> http://design.xwiki.org/xwiki/bin/download/Proposal/
>> >>> > > >> IdeaVisibleSave/before.png
>> >>> > > >>> after:
>> >>> > > >>> http://design.xwiki.org/xwiki/bin/download/Proposal/
>> >>> > > >> IdeaVisibleSave/smallViewPort.png
>> >>> > > >>>
>> >>> > > >>> What do you think about this proposal? Would it improve the
>> >>> > visibility
>> >>> > > of
>> >>> > > >>> the buttons? Do you have other ideas? Is it something we
>> should
>> >>> > > >> implement?
>> >>> > > >>>
>> >>> > > >>> Thanks,
>> >>> > > >>> Caty
>>
>>
>
>
Hi,
We had feedback that new users don't know where to find the 'Edit' and
'Create' buttons. Also there is some confusions of why we have a 'cog' icon
that contains actions like 'Delete' and a 'three dots' icon that contain
other actions.
Would be great if you could tell us which version you prefer:
P2:
http://design.xwiki.org/xwiki/bin/download/Proposal/IdeaLabeledActions/adva…
P4:
http://design.xwiki.org/xwiki/bin/download/Proposal/IdeaLabeledActions/P4_1…
Both proposals add backgrounds around the icons, the main difference is
that P2 also uses descriptive labels, while P4 keeps the consistency with
the top icons and a more minimalist style.
For the more actions menu, we want to combine the actions and add category
labels, see
http://design.xwiki.org/xwiki/bin/download/Proposal/IdeaLabeledActions/more…
What do you think? Do you have other solutions for your instances? Did you
encounter the same problem?
Thanks,
Caty
Hi,
when checking for extension updates in xwiki administration, the extension
updater lists some errors.
After some investigation, I've found that xwiki is trying to call some REST
api pointing to url like this:
https://store.xwiki.com/xwiki/rest/repository/extensions/[URL_ENDING_PART]
where the [URL_ENDING_PART] was one of the following examples found in the
log:
- com.google.code.findbugs%3Aannotations/versions/api
-
org.xwiki.platform%3Axwiki-platform-blog-ui/versions?requireTotalHits=true&start=0&number=-1
-
org.xwiki.contrib.ldap%3Aldap-authenticator/versions?requireTotalHits=true&start=0&number=-1
The reason for the above listed https calls is due to our proxy that is
inspecting every outgoing communication and has denied the requests to
store.xwiki.com. The proxy uses CISCO list of untrusted web sites which
says this:
Reason: BLOCK-MALWARE
Threat Type: othermalware
Threat Reason: Domain reported and verified as serving malware. Identified
as malicious IP. Identified as malicious domain or URL.
Notification: WBRS
Can be this domain trusted or not? Is it a false threat or not?
Is it legal when xwiki calls the API at https://store.xwiki.com?
Thank you
Hello
I have fresh installation of xwiki 9.3.1. Into this instance we migrated
many pages from an old version - approximately 1000 pages. When I'm
updating the Rights in the Global admin section, any toggle takes almost
1-2 minutes to get propagated.
Is that normal or there is something wrong?
Thanks
Jan
Greets,
For some reason NGINX sometimes stops serving my tomcat pages and starts wanting to serve pages from .../nginx/html/.
I don't get it. On Friday, at 13:39, I was happily browsing my XWiki site, as you can see from the NGINX access_log. Then from that log you see no activity until 10:31 this morning, at which time it no longer wants to redirect hits to port 8080 or to /xwiki, it just wants to serve from its own html/ subdir.
When I come in this morning, When I go to hit the site NGINX shows me the placeholder page, .../nginx/html/index.html, which starts out "If you can see this page, ..."
I can still hit my xwiki at :8080/xwiki. It has not been restarted, altho so what if it had?
NGINX has not been restarted, and the config files (conf/nginx.conf, conf.d/tomcat.conf) have not changed.
Anybody else seen this? Why did it change behavior, and doe it have anything to do with the
"signal process started" messages?
Thanks
NGINX Access log, showing a few hits to xwiki at 13:39 on 05/05, then non-redirected hits at 10:31-10:41 AM on 05/08
------------------
10.13.107.52 - - [05/May/2017:13:39:39 -0700] "GET /xwiki/bin/get/Portfolio%20Management/Project%20Budget/WebHome?outputSyntax=plain&sheet=XWiki.DocumentTree&showAttachments=false&showTranslations=false&&data=children&id=document%3Axwiki%3APortfolio+Management.WebHome HTTP/1.1" 200 1671 "http://dwswiki10.westmarine.net/xwiki/bin/view/Portfolio%20Management/Proje…" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [05/May/2017:13:39:41 -0700] "GET /xwiki/bin/get/Portfolio%20Management/Project%20Budget/WebHome?outputSyntax=plain&sheet=XWiki.DocumentTree&showAttachments=false&showTranslations=false&&data=children&id=document%3Axwiki%3APortfolio+Management.Projects.WebHome HTTP/1.1" 200 1178 "http://dwswiki10.westmarine.net/xwiki/bin/view/Portfolio%20Management/Proje…" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [05/May/2017:13:39:43 -0700] "GET /xwiki/bin/get/Portfolio%20Management/Project%20Budget/WebHome?outputSyntax=plain&sheet=XWiki.DocumentTree&showAttachments=false&showTranslations=false&&data=children&id=document%3Axwiki%3APortfolio+Management.Projects.Project+A.WebHome HTTP/1.1" 200 4330 "http://dwswiki10.westmarine.net/xwiki/bin/view/Portfolio%20Management/Proje…" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [05/May/2017:13:39:45 -0700] "GET /xwiki/bin/get/Portfolio%20Management/Project%20Budget/WebHome?outputSyntax=plain&sheet=XWiki.DocumentTree&showAttachments=false&showTranslations=false&&data=children&id=document%3Axwiki%3APortfolio+Management.Projects.Project+A.Design.WebHome HTTP/1.1" 200 6935 "http://dwswiki10.westmarine.net/xwiki/bin/view/Portfolio%20Management/Proje…" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [08/May/2017:10:30:44 -0700] "GET / HTTP/1.1" 200 612 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [08/May/2017:10:30:45 -0700] "GET /favicon.ico HTTP/1.1" 404 571 "http://dwswiki10/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [08/May/2017:10:31:27 -0700] "GET /xwiki HTTP/1.1" 404 571 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [08/May/2017:10:31:44 -0700] "GET / HTTP/1.1" 200 612 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [08/May/2017:10:31:44 -0700] "GET /favicon.ico HTTP/1.1" 404 571 "https://dwswiki10/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [08/May/2017:10:41:26 -0700] "GET / HTTP/1.1" 200 612 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)"
10.13.107.52 - - [08/May/2017:10:41:26 -0700] "GET /favicon.ico HTTP/1.1" 404 571 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)"
10.13.107.52 - - [08/May/2017:10:41:29 -0700] "GET / HTTP/1.1" 304 0 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)"
10.13.107.52 - - [08/May/2017:10:41:29 -0700] "GET /favicon.ico HTTP/1.1" 404 571 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)"
NGINX error log, showing some " signal process started" messages:
--------------------------------
2017/05/05 00:27:05 [error] 14431#0: *6148 open() "/data/nginx/html/servlet/admin" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "GET /servlet/admin?category=server&method=listAll&Authorization=Digest+username%3D%22admin%22%2C+response%3D%22ae9f86d6beaa3f9ecb9a5b7e072a4138%22%2C+nonce%3D%222b089ba7985a883ab2eddcd3539a6c94%22%2C+realm%3D%22adminRealm%22%2C+uri%3D%22%2Fservlet%2Fadmin%22&service= HTTP/1.0"
2017/05/05 00:27:05 [error] 14431#0: *6152 open() "/data/nginx/html/servlet/admin" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "GET /servlet/admin?category=server&method=listAll&Authorization=Digest+username%3D%22admin%22%2C+response%3D%22ae9f86d6beaa3f9ecb9a5b7e072a4138%22%2C+nonce%3D%222b089ba7985a883ab2eddcd3539a6c94%22%2C+realm%3D%22adminRealm%22%2C+uri%3D%22%2Fservlet%2Fadmin%22&service= HTTP/1.0"
2017/05/05 00:27:05 [error] 14431#0: *6156 "/data/nginx/html/HTTP1.0/index.html" is not found (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "GET /HTTP1.0/"
2017/05/05 00:27:12 [error] 14431#0: *6443 open() "/data/nginx/html/home.htm" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "GET /home.htm HTTP/1.1", host: "10.13.4.247"
2017/05/05 00:27:16 [error] 14431#0: *6550 open() "/data/nginx/html/spipe" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "POST /spipe?Source=nessus HTTP/1.0"
2017/05/05 00:27:16 [error] 14431#0: *6552 open() "/data/nginx/html/spipe" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "POST /spipe?Source=nessus HTTP/1.0"
2017/05/05 00:27:20 [error] 14431#0: *6661 open() "/data/nginx/html/logout" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "GET /logout HTTP/1.0"
2017/05/05 00:27:20 [error] 14431#0: *6668 open() "/data/nginx/html/logout" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "GET /logout HTTP/1.0"
2017/05/05 00:27:22 [error] 14431#0: *6752 open() "/data/nginx/html/yYWiy2DH.asp" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "GET //yYWiy2DH.asp HTTP/1.0"
2017/05/05 00:27:22 [error] 14431#0: *6757 open() "/data/nginx/html/tnq0ObbP.asp" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "GET //tnq0ObbP.asp HTTP/1.0"
2017/05/05 00:27:25 [error] 14431#0: *6882 open() "/data/nginx/html/content/YmEIoHwZQ6.mp3" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "GET /content/YmEIoHwZQ6.mp3 HTTP/1.0"
2017/05/05 00:27:25 [error] 14431#0: *6885 open() "/data/nginx/html/content/YmEIoHwZQ6.mp3" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "GET /content/YmEIoHwZQ6.mp3 HTTP/1.0"
2017/05/05 00:27:46 [error] 14431#0: *7313 open() "/data/nginx/html/iControl/iControlPortal.cgi" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "POST http://127.0.0.1/iControl/iControlPortal.cgi HTTP/1.1", host: "dwswiki10.westmarine.net"
2017/05/05 00:27:46 [error] 14431#0: *7315 open() "/data/nginx/html/iControl/iControlPortal.cgi" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "POST http://127.0.0.1/iControl/iControlPortal.cgi HTTP/1.1", host: "dwswiki10.westmarine.net"
2017/05/05 00:27:47 [error] 14431#0: *7342 open() "/data/nginx/html/.anydomain.test" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "GET /.anydomain.test HTTP/1.0"
2017/05/05 00:27:47 [error] 14431#0: *7343 open() "/data/nginx/html/.anydomain.test" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "GET /.anydomain.test HTTP/1.0"
2017/05/05 00:27:47 [error] 14431#0: *7345 open() "/data/nginx/html/index.jsp" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "GET /index.jsp HTTP/1.1", host: "sjfklsjfkldfjklsdfjdlksjfdsljk.foo."
2017/05/05 00:27:48 [error] 14431#0: *7351 open() "/data/nginx/html/index.jsp" failed (2: No such file or directory), client: 10.13.122.42, server: localhost, request: "GET /index.jsp HTTP/1.1", host: "sjfklsjfkldfjklsdfjdlksjfdsljk.foo."
2017/05/05 00:27:50 [crit] 14431#0: *7396 SSL_do_handshake() failed (SSL: error:14094085:SSL routines:SSL3_READ_BYTES:ccs received early) while SSL handshaking, client: 10.13.122.42, server: 0.0.0.0:443
2017/05/05 00:27:50 [crit] 14431#0: *7397 SSL_do_handshake() failed (SSL: error:05066066:Diffie-Hellman routines:COMPUTE_KEY:invalid public key error:1408B005:SSL routines:SSL3_GET_CLIENT_KEY_EXCHANGE:DH lib) while SSL handshaking, client: 10.13.122.42, server: 0.0.0.0:443
2017/05/05 10:40:33 [notice] 20325#0: signal process started
2017/05/05 10:41:12 [notice] 20357#0: signal process started
2017/05/05 10:43:18 [notice] 20416#0: signal process started
2017/05/05 12:59:34 [notice] 23321#0: signal process started
2017/05/08 10:30:45 [error] 23325#0: *132 open() "/data/nginx/html/favicon.ico" failed (2: No such file or directory), client: 10.13.107.52, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "dwswiki10", referrer: "http://dwswiki10/"
2017/05/08 10:31:27 [error] 23325#0: *132 open() "/data/nginx/html/xwiki" failed (2: No such file or directory), client: 10.13.107.52, server: localhost, request: "GET /xwiki HTTP/1.1", host: "dwswiki10"
2017/05/08 10:31:44 [error] 23325#0: *140 open() "/data/nginx/html/favicon.ico" failed (2: No such file or directory), client: 10.13.107.52, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "dwswiki10", referrer: "https://dwswiki10/"
2017/05/08 10:40:43 [notice] 16545#0: signal process started
2017/05/08 10:41:26 [error] 16566#0: *1 open() "/data/nginx/html/favicon.ico" failed (2: No such file or directory), client: 10.13.107.52, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "dwswiki10"
2017/05/08 10:41:29 [error] 16566#0: *1 open() "/data/nginx/html/favicon.ico" failed (2: No such file or directory), client: 10.13.107.52, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "dwswiki10"
2017/05/08 10:42:26 [notice] 16651#0: signal process started
The information contained in this transmission may contain West Marine proprietary, confidential and/or privileged
information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are
hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited.
If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original
message. To reply to our email administrator directly, please send an email to netadmin(a)westmarine.com.
Hello Xwikiers,
I need to import xwiki's user and password credentials to database of other
application to configure single sign on in tomcat. How can I verify
user/password from xwiki database.
I am using mysql database.
Thank you in advance.
Best,
Tadewos
Hello, guys.
Info: I have a Xwiki forum, installed on Debian 8 (64-bit). Xwiki version is
9.1.2. And I use LDAP auth.
My problem is:
I have 1 user user (with Developer skills, eg with nickname "developer")
When forum was started, "developer" had the Program and Script rights and he
installed
Now forum functions stably, and I as administrator don't want, that
"developer" had this rights.
But because "developer" was a owner of scripts and extensions => when I
untick from Program and Scripts => I get errors, like a:
*"Failed to execute the [velocity] macro.
Cause: [The execution of the [velocity] script macro is not allowed.
Check the rights of its last author or the parameters if it's rendered from
another script.].
Click on this message for details."*
... on main page in places where should be navigation panels and menus. This
elements was created by "developer".
May be my question could be like: "How I should be change owner of
scripts/elements, that I can untick rights from 'developer' and don't get
errors"
P.s.0 I read about of Script rights, and in this doc about of changes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72#HScrip…
and I ticked Script rights for XWikiAllGroup, but without this action my
forum works fine.
P.s.1 For messages like a: "Create new user for developer, and leave afk
first dev account" - sorry, but it is not my solution.
Thanks for understanding, Xwiki community.
-----
--
Best regards,
Arthur
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-Problem-with-program-and-Script-r…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
after upgrade from very old 5.X version to the new 9.X version, I'm
fighting with correct rights settings. I need to reset all pages to the
default rights setting.
Is there any easy way how to do it?
Or another question, is there any chance how to export/dump the current
page rights settings, so I can easily identify those pages, which I have
update?
Thanks for any comments/hints.
Jan
I'm integrating Xwiki with OAuth2. I managed to login but now I'm struggling
with logging out from the server when I click on 'logout' in Xwiki. This is
the code snippet that performs the redirection to the server to logout from
it:
else if ("logout".equals(context.getAction())
&& wrappedRequest.getUserPrincipal() != null) {
// redirect to the OAuth2 logout page
wrappedRequest.setUserPrincipal(null);
try {
context.getResponse().sendRedirect(
configuration.getOAuth2Param(
LOGOUT_URL.replace(".", "_"), LOGOUT_URL,
"logouturl", context));
} catch (IOException e) {
throw new XWikiException(XWikiException.MODULE_XWIKI_USER,
XWikiException.ERROR_XWIKI_USER_INIT,
"Can't redirect to the OAuth2 logout page", e);
}
return null;
}
I wrote a XWikiOAuth2Authenticator class that extends XWikiAuthServiceImpl
and overrides checkAuth.
The code works since I get redirected to LOGOUT_URL but I also get the
following stacktrace due to the calling of other Xwiki classes out of my
control:
2017-04-28 17:05:31,155
[http://localhost:8080/xwiki/bin/logout/XWiki/XWikiLogout?xredirect=%2Fxwiki…
%2F] 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:474)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
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.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
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:112)
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.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
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
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.j
ava: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.j
ava:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
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:505)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2476)
at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2465)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: Cannot create a session after
the response has been committed
at
org.apache.catalina.connector.Request.doGetSession(Request.java:3008)
at
org.apache.catalina.connector.Request.getSession(Request.java:2384)
at
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:897)
at
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
at
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
at com.xpn.xwiki.web.LogoutAction.action(LogoutAction.java:57)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:446)
... 46 common frames omitted
I'm obviously doing something wrong and I couldn't find an example of how to
logout from a server. What's the correct way and where is the correct place
to do that? Or...how can I avoid this exception? Thank you.
--
View this message in context: http://xwiki.475771.n2.nabble.com/OAuth2-Logout-tp7603692.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Xwiki,
GDN is a non-profit organization based in India that conducts research to
improve well-being of poor people in developing countries and work with
local research agencies to inform better policies to the local government.
We’d like to create a wiki for researchers and policy makers to collaborate
and share their ideas to inform better policies to the local government.
Thank you!
Owner Name: gdni
Wiki Name: gdni
Thank you!
Hello,
We decided to use XWiki as our company wiki. I am trying to configure it,
but currently I'm stuck at implementing a very simple Document Tree as a
panel. Our Wiki is in one space : Main, which contains three children pages,
let's say Our A, Our B and Our C. I'm trying to build a document tree to
list all the subpages starting to Our A instead of Main.
Currently, using this reference as root:
$services.model.createDocumentReference('xwiki', 'Main', 'WebHome')
I can build a document tree showing the 3 sub-pages. However, I couldn't
manage to catch the reference of one of the sub-page. I tried :
$services.model.createDocumentReference('xwiki', 'Main', 'Our A')
$services.model.createDocumentReference('xwiki', 'Main.Our A', 'WebHome')
$services.model.createDocumentReference('xwiki', 'Our A', 'WebHome')
but none of them is working. I don't know if the problem comes from the
space, or if I'm not getting at all the notion of spaces and pages (which is
deprecated from what I read).
Thank you for your help,
J
--
View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-Document-Tree-tp7603755.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Is it possible to make announcements to users on XWiki so they can see it
easily when they log in?
Not sure whether this functionality is already available somehow on XWiki
(I'm using version 8.4.5) and I am thinking of presenting the announcements
within a panel wizard similar to one like "recently modified".
Best regards,
Sebastian
Hi,
Please, I run into strange situation after upgrade from obsolete version
5.4.5 to 9.3.1.
Now I have for example following links:
https://czwiki2/xwiki/bin/view/Main/Komunity/https://czwiki2/xwiki/bin/view/Komunity/
Both links are pointing to same page, however I would like to have just one
link.
Rename or deleting always affect both links.
Any ideas how to fix it?
Thanks!
Description: The College Transition Collaborative is a non-profit organization based out of Stanford University that conducts research to improve well-being and achievement for college students. We’d like to create an internal wiki for team operations and knowledge sharing. Thank you!
Owner Name: xali
Wiki Name: ctc
Hi everybody,
I have a huge issue here with our XWiki 7.4.4 instance running on CentOS 7
/ Tomcat 8.0.33.
We had a document space "Customer Docs" in a sub wiki "Customers" with
several nested docs (customers with more nested docs).
A user managed to break the whole document space by renaming it to "@Spain
Wiki". When accessing the page now the browser throws a "This page does not
work, <SERVERNAME> has redirected too often" (translated from German).
I see the pages with the old names in Page Index under deleted documents
but when I click the actions icon (which says it can't be restored because
it already has been recreated?!) I get the same browser error.
Is there any way I can restore the old document space?
(Restoring a database backup will not work because too many other things
have been changed in other parts of the wiki, the renaming was done on
April 20th but discovered today)
Regs,
Dennis
Hi,
I've been wondering if there is something else do to to get the source maps for css enabled.
I followed the instructions on the Extension page of the "LESS Module".
I edited and un-commented the property "lesscss.generateInlineSourceMaps = true" within "xwiki.properties".
Afterwards I restarted the server service.
I also switched color themes to clean the cache.
But I cannot see a change in the developer views of Chromium or Firefox. Every style still refers to style.css.
At this point I also want to ask about the usage of the manual cleaning method for the cache.
The documentation says that I can use the LESS CSS script service and provides a snippet
{{velocity}}
$service.lesscss.clearCache()
{{velocity}}
But where should I put this?
The section "Script Service" on the LESS Module page only has a link to the source code on GitHub. I'm still digging into the XWiki world so maybe it is just a matter of time if can figure it out. The whole velocity less scripting thing is a huge topic though.
Regards,
sthag
Hello,
I just want to try out xwiki and see what are the opportunities an what i
can do with it so i can start building my own xwiki.
EvghenyOnegin
xwiki name: Evgheny1
c Уважением.
Hi,
I'm trying to create a new skin. I followed the section Skins within the Developer's Guide and also Platform Features / Skins.
The article "How to create a new skin" says to copy the whole colibri (should be flamingo by now) skin folder and make an example change. Then there is a part about skin.properties. The property "parent" indicates a skin to inherit from. It says that it always has a value, even if I don't explicitly enter one for myself it will inherit from WAR or whatever is configured in "xwiki.defaultbaseskin".
Does that mean I don't have to copy the whole flamingo folder if I reference flamingo as "parent"? This way I could only create a custom named folder within the xwiki/skins folder with the skin.properties file and for example a logo.png file which would replace the flamingo logo.png file.
I don't understand the behavior and the functionality of this inheriting and parent child relation of skins from the articles in the documentation. Why have a parent if I copy the whole skin folder anyways?
Regards,
sthag
Hello,
I have a problem to set up the right page permissions (or may be I have a understanding problem ... ) using XWIKI 9.3
I want to set up access permissions to a certain page and to all children of this page.
- A group "XWikiAdminDocumentation" was created.
- A page "Administration" was created to be filled with documentation for administrators only.
- Only members of group "XWikiAdminDocumentation" should have access to page "Administration"
(and all coming child pages of "Administration").
- At page "Administration", menu "Administer Page - Users and Groups - Rights: Page & Children"
I set up the following permissions:
--- ALL rights to groups "XWikiAdminDocumentation" and "XWikiAdminGroup".
--- NO rights to groups like "XWikiAllGroup" and "XWikiGuests".
--- Please, have a look at the attached screenshot (sorry fort he "German screenshot" but the screenshot should be self-explaining I hope).
- The problems are:
--- First thing: As an administrator I can't forbid the right "Admin". Yes, I can disable this right. But if I open the menu
"Page Administration: Rights: Page & Children" a second time the former set right "is lost" (see screenshot).
--- Second thing: Despite oft he defined page permission rights a user of the group "XWikiAllGroup" kann read and edit
the page "Administration". Much worse, this user can also open the "Administer Page" menu and he can change the permissions.
I found no corresponding exceptions in the xwiki.log, therefore, from a technical point of view every thing seems to be okay.
Now, I have no more ideas what elso to do :(
Kind regards, Thomas
Hello all,
I have an issue installing the .deb packages from the maven repositories.
The installation of xwiki-enterprise-tomcat8-mysql (and all other mysql installations) has a dependency to the old "mysql-server" package from the old versions of debian.
It was replaced/removed in debian Jessie.
It would be great if you could fix the dependency so the automatic installation works as it should. :)
Kind regards,
Timo Dachs-Wegmann
-IT-