Re: [xwiki-users] [myxwiki] new wiki request

2015-03-12 Thread Thomas Mortagne
You can access your new wiki on http://peter.myxwiki.org.

Enjoy !

On Thu, Mar 12, 2015 at 1:35 AM, Peter Schussheim
peter.schussh...@bulgari.com wrote:
 I would like to use this wiki for a personal knowledgebase.
 Ownername: peterschussheim
 Wiki name: peter


 Thank you
 This e-mail and any file transmitted with it is for the sole use of the 
 intended recipient and may contain material that is confidential. If you are 
 not the intended recipient of this e-mail, please notify us immediately by 
 reply e-mail or by telephone and then delete this message and any file 
 attached from your system. You should not copy or use it for any purpose, 
 disclose the contents of the same to any other person or forward it without 
 express permission.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [ANN] First version of Extension Tweak released

2015-03-12 Thread vinc...@massol.net
Cool.

Could we have some screenshot on 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Tweak to see how 
it looks?

Thanks
-Vincent

On 10 Mar 2015 at 16:54:30, Thomas Mortagne 
(thomas.morta...@xwiki.com(mailto:thomas.morta...@xwiki.com)) wrote:

 Hi xwikiers,
  
 I finally started an extension that I want to start since a very long
 time now: an extension where to put extensions related tricks that are
 either not polished enough or too dangerous to put in the standard
 Extension Manager UI.
  
 You can find it on
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Tweak
 and you can installed it with Extension Manager of course ;) I tested
 it mostly on 6.4.2 but it's using APIs that are supposed to exist
 since 4.0.
  
 It does not contain much yet but I will put more things I have in mind
 when I have some time and don't hesitate to add scripts you made for
 your needs here and there.
  
 --
 Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [myxwiki] new wiki request

2015-03-12 Thread Peter Schussheim
Thank you Thomas

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne
Sent: Thursday, March 12, 2015 5:19 AM
To: XWiki Users
Subject: Re: [xwiki-users] [myxwiki] new wiki request

You can access your new wiki on http://peter.myxwiki.org.

Enjoy !

On Thu, Mar 12, 2015 at 1:35 AM, Peter Schussheim
peter.schussh...@bulgari.com wrote:
 I would like to use this wiki for a personal knowledgebase.
 Ownername: peterschussheim
 Wiki name: peter


 Thank you
 This e-mail and any file transmitted with it is for the sole use of the 
 intended recipient and may contain material that is confidential. If you are 
 not the intended recipient of this e-mail, please notify us immediately by 
 reply e-mail or by telephone and then delete this message and any file 
 attached from your system. You should not copy or use it for any purpose, 
 disclose the contents of the same to any other person or forward it without 
 express permission.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] java.lang.ClassNotFoundException: com.google.inject.servlet.ServletModuleTargetVisitor from [Module deployment.xwiki.war:main from Service Module Loader]

2015-03-12 Thread xwiki-us...@tomk.pw
I am starting up Xwiki 6.4.2 in JBoss EAP 6.3 (running jdk1.7.0_51_x64).
During startup I get below stacktrace in the server.log. I grepped through
all jar files in the WEB-INF/lib directory but cannot find a class by that
name. Infact, sisu-guice-3.2.4-no_aop.jar contains the com.google.inject
package, but only the subpackages binder, internal, matcher, name, spi and
util. The servlet subpackage is absent but appears to be required.
The application doesn't complain any further. It creates its database
tables and I can launch the Distribution Wizard (though that gives me a
different kind of issue as per my other mail).
What can I do to make my Xwiki install happy?


2015-03-12 18:56:21,287 -0500 WARN  [org.jboss.modules] (ServerService
Thread Pool -- 61) Failed to define class
org.eclipse.sisu.inject.DefaultRankingFunction$ServletVisitor
in Module deployment.xwiki.war:main from Service Module Loader:
java.lang.LinkageError: Failed to link
org/eclipse/sisu/inject/DefaultRankingFunction$ServletVisitor (Module
deployment.xwiki.war:main from Service Module Loader)
at
org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:487)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at org.jboss.modules.Module.loadModuleClass(Module.java:568)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.eclipse.sisu.inject.DefaultRankingFunction.clinit(DefaultRankingFunction.java:40)
[org.eclipse.sisu.inject-0.2.1.jar:]
at
org.codehaus.plexus.DefaultPlexusContainer$DefaultsModule.configure(DefaultPlexusContainer.java:856)
[org.eclipse.sisu.plexus-0.2.1.jar:]
at
com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:253)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.spi.Elements.getElements(Elements.java:108)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.spi.Elements.getElements(Elements.java:99)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at org.eclipse.sisu.wire.WireModule.configure(WireModule.java:75)
[org.eclipse.sisu.inject-0.2.1.jar:]
at
com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:253)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.spi.Elements.getElements(Elements.java:108)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at
com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:135)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.Guice.createInjector(Guice.java:96)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.Guice.createInjector(Guice.java:73)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.Guice.createInjector(Guice.java:62)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at
org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:479)
[org.eclipse.sisu.plexus-0.2.1.jar:]
at
org.codehaus.plexus.DefaultPlexusContainer.init(DefaultPlexusContainer.java:205)
[org.eclipse.sisu.plexus-0.2.1.jar:]
at
org.codehaus.plexus.DefaultPlexusContainer.init(DefaultPlexusContainer.java:168)
[org.eclipse.sisu.plexus-0.2.1.jar:]
at
org.xwiki.extension.repository.aether.internal.components.PlexusContainerProvider.initialize(PlexusContainerProvider.java:63)
[xwiki-commons-extension-repository-ma
ven-6.4.2.jar:]
at
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at

[xwiki-users] [ANN] First version of Extension Tweak released

2015-03-12 Thread Thomas Mortagne
Hi xwikiers,

I finally started an extension that I want to start since a very long
time now: an extension where to put extensions related tricks that are
either not polished enough or too dangerous to put in the standard
Extension Manager UI.

You can find it on
http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Tweak
and you can installed it with Extension Manager of course ;) I tested
it mostly on 6.4.2 but it's using APIs that are supposed to exist
since 4.0.

It does not contain much yet but I will put more things I have in mind
when I have some time and don't hesitate to add scripts you made for
your needs here and there.

-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Cannot upgrade Enterprise UI Extension to 6.4.2

2015-03-12 Thread Thomas Mortagne
You should probably try
http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Tweak
with XE extensions (search for enterprise in Installed Extensions in
administration and open details to find the id).

On Mon, Mar 9, 2015 at 9:52 AM, Thomas Mortagne
thomas.morta...@xwiki.com wrote:
 On Fri, Mar 6, 2015 at 7:59 PM, Charlie Mann charlie.m...@aed.pro wrote:
 Thomas,

 Thanks for the quick reply.  Here is a little more background on our
 install.  We have a test server set up with a mirror of production and that
 is where I am doing the upgrade testing, so I can go back to the current 6.3
 at any time and redo the process till I get it right. We have a main wiki
 with 7 or 8 subwikis.  Despite many different attempts, I have never been
 able to get the Distribution Wizard to appear.   So we have taken to just
 deploying the latest War file and then using the Extension Updater.  I
 generally chose 'Check for updates on farm'.  This then provides me with a
 list of extension that are out of date.  I then go through and update every
 extension that is out of date.  This had worked with every upgrade I have
 tried until 6.4.2.  It worked with 6.4.1 in our test environment, but we
 didn't actually go to 6.4.1 in production because of some the issues present
 in 6.4.1.

 What is the best option here for the place we are at?  Should I try to get
 the Distribution Wizard to appear so that it will handle the upgrade from
 6.3 to 6.4.2?  If so, are there any suggestions on how to do this?

 Or would it be better to try and clean things out first?  Im not quite sure
 how to determine which installed extensions don't make sense. Also, when you
 say clean up, how should I do that?  For most of the extensions I only have
 Uninstall and Downgrade options.  (not sure why there are Downgrade options,
 as I have only seen in that when trying to go to 6.4.2).

 I fixed various inconsistencies check in 6.4.2 regarding installed
 extensions and in your case it found quite a mess since you seems to
 have the all in one UI installed in one wiki and
 org.xwiki.platform:xwiki-platform-appwithinminutes-ui extension (which
 is part of the standard all in one XAR too and so they conflict with
 each other) which is installed in root namespace (On farm option in
 the install UI). You should have various warnings about that in the
 log at startup.

 So it all depends why it's like this and which one is right exactly.
 If you want to go back to a more standard state you can send me the
 content of permdir/xwiki/extension/repository if you want me to look
 at it and maybe cleanup a bit directly (it might be a bit big if you
 installed lots of extensions).

 The difference you will have with Distribution Wizard regarding farm
 upgrade is that it's not upgrading the whole farm in a single job, you
 upgrade the main wiki in a first step and then you take care of other
 wikis either in a following step or you go to each one to have a
 dedicated Distribution Wizard (in case each or some wikis have
 different admins like in http://myxwiki.org farm for example).


 Thanks for the help!
 Charlie

 -Original Message-
 From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne
 Sent: Friday, March 6, 2015 3:18 AM
 To: XWiki Users
 Subject: Re: [xwiki-users] Cannot upgrade Enterprise UI Extension to 6.4.2

 You have several very weird things in your setup:
 * first as you can see in the error it seems like you installed
 org.xwiki.platform:xwiki-platform-appwithinminutes-ui at farm level which is
 a really unusual thing to do for a XAR and especially for a XAR which is a
 standard XE dependency
 * this extension is 6.3 which mean you did not fully upgraded from 6.3 to
 6.4.1 and you have some leftover for some reason
 * as far as I understand you are not using the Distribution Wizard (as
 otherwise you wouldn't have ended up with XWiki Enterprise - UI - Main Wiki
 All and at all or some standard extension installed at farm level), is there
 a specific reason for that ?

 I ideally I would suggest to cleanup a bit (look at installed extension and
 try to clean anything that don't make much sense like
 6.3 standard extension leftover or standard extension installed at farm
 level instead of in the wiki they are used) and then use the Distribution
 Wizard to so a proper upgrade but I don't know your constraints.

 On Thu, Mar 5, 2015 at 10:28 PM, Charlie Mann charlie.m...@aed.pro wrote:
 I am using the Extension Updater to upgrade our XWiki instance from
 6.3 to
 6.4.2  Whenever I try to upgrade the 'XWiki Enterprise - UI - Main Wiki
 All'
 package, I get the following error:

 * An extension with feature
 [org.xwiki.platform:xwiki-platform-appwithinminutes-ui] is already
 installed on root namespace
 ([org.xwiki.platform:xwiki-platform-appwithinminutes-ui-6.3])

 class org.xwiki.extension.InstallException: Failed to resolve
 extension at
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensi