[xwiki-users] Install LDAP extension via command line

2016-11-08 Thread Sean Whalen
I ran apt-get update on my wiki server, which upgraded XWiki to 8.3. Now
that the LDAP extension has been removed from the core, I can't login to
the wiki. How can I install the LDAP extension without wiki access?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 8.1 to 8.1+1 Debian package causes JmxDomainConflictException

2016-06-23 Thread Sean Whalen
I'm not intending to if I am. Perhaps some configuration got duplicated?
Any suggestions on which config files to check?

On Thu, Jun 23, 2016 at 9:54 AM, Vincent Massol <vinc...@massol.net> wrote:

> Hi Sean,
>
> AFAIK this means you’re running two instances of XWiki in the same JVM at
> the same time. Is that so?
>
> Thanks
> -Vincent
>
> > On 23 Jun 2016, at 15:51, Sean Whalen <whalens...@gmail.com> wrote:
> >
> > Hi,
> >
> > I just upgraded XWiki 8.1 to 8.1+1 on Ubuntu Server 16.04 LTS using the
> > XWiki Debain repository. Now I get an HTTP error with this as the root
> > cause:
> >
> > org.infinispan.jmx.JmxDomainConflictException: ISPN34: There's
> already
> > a JMX MBean instance type=CacheManager,name="xwiki" already registered
> > under 'org.xwiki.infinispan' JMX domain. If you want to allow multiple
> > instances configured with same JMX domain enable 'allowDuplicateDomains'
> > attribute in 'globalJmxStatistics' config element
> >at org.infinispan.jmx.JmxUtil.buildJmxDomain(JmxUtil.java:52)
> >at
> >
> org.infinispan.jmx.CacheManagerJmxRegistration.updateDomain(CacheManagerJmxRegistration.java:79)
> >at
> >
> org.infinispan.jmx.CacheManagerJmxRegistration.buildRegistrar(CacheManagerJmxRegistration.java:73)
> >at
> >
> org.infinispan.jmx.AbstractJmxRegistration.registerMBeans(AbstractJmxRegistration.java:37)
> >at
> >
> org.infinispan.jmx.CacheManagerJmxRegistration.start(CacheManagerJmxRegistration.java:41)
> >at
> >
> org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:657)
> >at
> >
> org.infinispan.manager.DefaultCacheManager.(DefaultCacheManager.java:310)
> >at
> >
> org.infinispan.manager.DefaultCacheManager.(DefaultCacheManager.java:285)
> >at
> >
> org.infinispan.manager.DefaultCacheManager.(DefaultCacheManager.java:271)
> >at
> >
> org.xwiki.cache.infinispan.internal.InfinispanCacheFactory.initialize(InfinispanCacheFactory.java:106)
> >at
> >
> org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
> >at
> >
> org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:322)
> >at
> >
> org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
> >at
> >
> org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
> >... 53 common frames omitted
> >
> > How can I fix this?
> > ___
> > 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
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XWiki 8.1 to 8.1+1 Debian package causes JmxDomainConflictException

2016-06-23 Thread Sean Whalen
Hi,

I just upgraded XWiki 8.1 to 8.1+1 on Ubuntu Server 16.04 LTS using the
XWiki Debain repository. Now I get an HTTP error with this as the root
cause:

org.infinispan.jmx.JmxDomainConflictException: ISPN34: There's already
a JMX MBean instance type=CacheManager,name="xwiki" already registered
under 'org.xwiki.infinispan' JMX domain. If you want to allow multiple
instances configured with same JMX domain enable 'allowDuplicateDomains'
attribute in 'globalJmxStatistics' config element
at org.infinispan.jmx.JmxUtil.buildJmxDomain(JmxUtil.java:52)
at
org.infinispan.jmx.CacheManagerJmxRegistration.updateDomain(CacheManagerJmxRegistration.java:79)
at
org.infinispan.jmx.CacheManagerJmxRegistration.buildRegistrar(CacheManagerJmxRegistration.java:73)
at
org.infinispan.jmx.AbstractJmxRegistration.registerMBeans(AbstractJmxRegistration.java:37)
at
org.infinispan.jmx.CacheManagerJmxRegistration.start(CacheManagerJmxRegistration.java:41)
at
org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:657)
at
org.infinispan.manager.DefaultCacheManager.(DefaultCacheManager.java:310)
at
org.infinispan.manager.DefaultCacheManager.(DefaultCacheManager.java:285)
at
org.infinispan.manager.DefaultCacheManager.(DefaultCacheManager.java:271)
at
org.xwiki.cache.infinispan.internal.InfinispanCacheFactory.initialize(InfinispanCacheFactory.java:106)
at
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:322)
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
... 53 common frames omitted

How can I fix this?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can't start Xwiki after upgrade from Ubuntu 15.10 to 16.04 Xwiki 8.0 to 8.1

2016-06-04 Thread Sean Whalen
Yep. That was it. The root cause details were in the logs. I had Java 8
installed, but still had tomcat 7, which was configured to use Java 7
Thanks!

On Sat, Jun 4, 2016 at 2:18 AM, Thomas Mortagne <thomas.morta...@xwiki.com>
wrote:

> The first thing to check when you move to 8.1 is to check if you are
> using Java 8.
>
> On Fri, Jun 3, 2016 at 11:38 PM, Vincent Massol <vinc...@massol.net>
> wrote:
> > Hi Sean,
> >
> >> On 03 Jun 2016, at 22:33, Sean Whalen <whalens...@gmail.com> wrote:
> >>
> >> Any ideas on what is causing this and how to fix it? Full traceback is
> >> below:
> >
> > [snip]
> >
> > What’s important is to show us the root cause, ie. the deepest root
> cause.
> >
> > The problem is that your log is not complete, it’s not showing the
> deepest root cause. It’s showing:
> >
> >> org.xwiki.cache.CacheException: Failed to get cache factory for role
> >> hint [infinispan]
> >>
>  
> org.xwiki.cache.internal.DefaultCacheManager.createNewCache(DefaultCacheManager.java:109)
> >
> > However that’s not the root cause.
> >
> > The code that generates this is:
> >
> > ...
> > } catch (ComponentLookupException e) {
> > throw new CacheException("Failed to get cache factory for role hint
> [" + cacheHint + "]", e);
> > …
> >
> > As you can see there’s an exception passed and thus there’s a deeper
> root cause ;)
> >
> > Thanks
> > -Vincent
> >
> >> *note* *The full stack trace of the root cause is available in the
> Apache
> >> Tomcat/7.0.68 (Ubuntu) logs.*
> >> --
> >> Apache Tomcat/7.0.68 (Ubuntu)
> > ___
> > 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] Can't start Xwiki after upgrade from Ubuntu 15.10 to 16.04 Xwiki 8.0 to 8.1

2016-06-03 Thread Sean Whalen
Any ideas on what is causing this and how to fix it? Full traceback is
below:

HTTP Status 500 - Failed to locate an ExtendedURL Resource Type Resolver
component
--

*type* Exception report

*message* *Failed to locate an ExtendedURL Resource Type Resolver component*

*description* *The server encountered an internal error that prevented it
from fulfilling this request.*

*exception*

javax.servlet.ServletException: Failed to locate an ExtendedURL
Resource Type Resolver component

org.xwiki.resource.servlet.RoutingFilter.getResourceTypeResolver(RoutingFilter.java:181)

org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:103)

*root cause*

org.xwiki.component.manager.ComponentLookupException: Failed to lookup
component [org.xwiki.url.internal.DefaultResourceTypeResolver]
identified by [role = [org.xwiki.resource.ResourceTypeResolver<
org.xwiki.url.ExtendedURL >] hint = [default]]

org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:394)

org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:184)

org.xwiki.resource.servlet.RoutingFilter.getResourceTypeResolver(RoutingFilter.java:177)

org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:103)

*root cause*

org.xwiki.component.manager.ComponentLookupException: Failed to lookup
component [org.xwiki.component.internal.ContextComponentManager]
identified by [role = [interface
org.xwiki.component.manager.ComponentManager] hint = [context]]

org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:394)

org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)

org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)

org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)

org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)

org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)

org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:184)

org.xwiki.resource.servlet.RoutingFilter.getResourceTypeResolver(RoutingFilter.java:177)

org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:103)

*root cause*

org.xwiki.component.manager.ComponentLookupException: Failed to lookup
component [org.xwiki.component.internal.UserComponentManager]
identified by [role = [interface
org.xwiki.component.manager.ComponentManager] hint = [user]]

org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:394)

org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)

org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)

org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)

org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)

org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)

org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)

org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)

org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)

org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)

org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)

org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:184)

org.xwiki.resource.servlet.RoutingFilter.getResourceTypeResolver(RoutingFilter.java:177)

org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:103)

*root cause*

org.xwiki.component.manager.ComponentLookupException: Failed to lookup
component [org.xwiki.component.internal.DocumentComponentManager]
identified by [role = [interface
org.xwiki.component.manager.ComponentManager] hint = [document]]

org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:394)

org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)


[xwiki-users] Reset extension install status in extension manager

2016-04-10 Thread Sean Whalen
Hi all,

I'm new to Xwiki, and I recently imported a XAR for an extension, to see
what the process would be like for airgapped instances. Unfortunately, that
extension was already installed, and that seems to have broken its status
in the extension manager. If I click uninstall  from the extension manager,
i get:

Starting job of type [uninstallplan] with identifier
[extension/plan/org.xwiki.contrib:application-project-management-taskmanager/wiki:xwiki]
Extension [org.xwiki.contrib:application-project-management-taskmanager] is
not installed
Finished job of type [uninstallplan] with identifier
[extension/plan/org.xwiki.contrib:application-project-management-taskmanager/wiki:xwiki]

Manually deleteing all of the extension's pages doesn't work either. How
can I fix things so I can use extension manager for this extension again?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users