Hi,
I have update the XWiki 6.2.2 to 7.1.1 with using "apt-get upgrade xwiki-enterprise-tomcat7-mysql" on Ubuntu server with success. But when I restart the Xwiki, they are the following message in the catalina.out file:
2015-07-30 15:31:10,713 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server.
Jul 30, 2015 3:31:15 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/ROOT.xml
2015-07-30 15:31:45,555 [localhost-startStop-1] ERROR .o.i.DefaultObservationManager - Failed to lookup listeners
org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [role = [interface org.xwiki.observation.EventListener] hint = [DistributionInitializerListener]]
at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:216) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:198) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.observation.internal.DefaultObservationManager.initializeListeners(DefaultObservationManager.java:164) [xwiki-commons-observation-local-7.1.1.jar:na]
at org.xwiki.observation.internal.DefaultObservationManager.getListenersByEvent(DefaultObservationManager.java:131) [xwiki-commons-observation-local-7.1.1.jar:na]
at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:267) [xwiki-commons-observation-local-7.1.1.jar:na]
at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:321) [xwiki-commons-observation-local-7.1.1.jar:na]
at org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:118) [xwiki-platform-container-servlet-7.1.1.jar:na]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839) [tomcat-catalina-7.0.52.jar:7.0.52]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_79]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.extension.distribution.internal.DefaultDistributionManager] identified by [role = [interface org.xwiki.extension.distribution.internal.DistributionManager] hint = [default]]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:394) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:214) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
... 19 common frames omitted
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.context.internal.DefaultExecutionContextManager] identified by [role = [interface org.xwiki.context.ExecutionContextManager] hint = [default]]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:394) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
... 24 common frames omitted
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [role = [interface org.xwiki.context.ExecutionContextInitializer] hint = [velocity]]
at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:216) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:198) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:350) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392) ~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
... 29 common frames omitted
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.velocity.internal.DefaultVelocityContextFactory] identified by [role = [interface org.xwiki.velocity.VelocityContextFactory] hint = [default]]
And I'm not able to change the configuration of the ROOT path to access to the XWiki. I need to use the following urtl http://<server>:8080/xwiki<http://%3cserver%3e:8080/xwiki>. But I want to access with the url http://<server>:8080/<http://%3cserver%3e:8080/>.
Some help, please.
Regards
/Olivier
Some time last year I had to write a component for XWiki 6.3 that required the current user name, which following the advice at the time required injecting a DocumentAccessBridge:
@Inject
private DocumentAccessBridge documentAccessBridge;
and then calling documentAccessBridge.getCurrentUserReference().getName())
This has the consequence of having to pull in the xwiki-core-bridge module from the XWiki Remote Maven repo, rather than just using the XWiki Commons code in Maven Central.
At the time, Vincent mentioned (http://xwiki.475771.n2.nabble.com/Getting-user-name-with-a-Java-Component-t…) "You're right, our goal is to have all context information (including the user) be put in the Execution Context."
I'm now having to rewrite some of this component, and I'm now using XWiki 7.1.1. Has there been any development in shifting the user name over to the Execution Context so that I can avoid using the bridge module?
Thanks,
Bryn
Hi guys,
The wiki home page displays, by default, the list of spaces that exist
in the wiki (hidden or not, depending on the user profile settings).
This is done using the
http://extensions.xwiki.org/xwiki/bin/view/Extension/Spaces+Macro . As
we have started to work on adding support for nested spaces/documents,
we need to review the purpose of this macro. Is it still relevant to
display a list of spaces when there is a tree hierarchy? It only makes
sense if you want to display just the list of direct children of a
given node.
I see the following options:
(1) Display the list of top level nodes (space/document) on the wiki
home page. No tree. The rationale is that loading the tree (even if
done lazy) is more expensive that displaying a static list of links.
For this we can extend the Spaces Macro with a parameter to specify
the parent node. When this parameter is not specified the macro will
list the top level nodes. (In the context of nested documents we could
introduce a new macro Document List instead)
(2) Display the tree hierarchy on the wiki home page, using
http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro
.Of course, the tree will be lazy loaded, and only the top level nodes
are displayed initially. If we do this then we can probably deprecate
the Spaces Macro and advice the users to use the Document Tree Macro
instead.
WDYT?
Thanks,
Marius
Hi guys,
I've this problem:
I installed xwiki 7.1 under jboss in my office network, uploading the
package xar with the main pages.
This network is under a proxy server that block at all some sites: when I
try to edit a page with the wysywyg editor the tool hanging because is
blocked the external loading of a single javascript, jsTree.min.js from the
site cloudflare.
So, I know that this js is present in my installation, but the application
always check it on the external site.
Can I instrument xwiki to load this file locally?
Thank you.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Wysiwyg-editor-broken-by-proxy-tp7595540.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello everyone,
I am new to XWiki and wanted to thank you for your great work.
XWiki is a really robust system and I enjoy working with it.
However, I try to update XWiki 7.1-rc1 to xwiki 7.2 and the distribution
wizard moves into an endless loop (
http://jira.xwiki.org/browse/XWIKI-12315 ).
I already upgraded the default wiki pages with
xwiki-enterprise-ui-mainwiki-all-7.2-mil~.xar but now some of the
translations are broken.
In the administration panel it shows "wikis.rights" instead of the
translatet word for "Rights".
What could cause that error?
Can someone explain how I could update the enterprise ui packages manually?
Is there a workarround known already?
Thank you, Louis
Hi!
Ubuntu 14.04.2 LTS, XWiki 6.4.4 clean install.
LDAP set up as described here: http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application
nmap shows OpenLDAP is ready:
nmap -p 388 myserver.com
Starting Nmap 6.40 ( http://nmap.org )
Nmap scan report for myserver.com
Host is up (0.0086s latency).
rDNS record for myserver.com:
PORT STATE SERVICE
388/tcp open ldap
An attempt to log in with "Dummy User" gives following:
2015-07-24 14:06:36,182 [http://myserver.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin] TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2015-07-24 14:06:36,182 [http://myserver.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG c.x.x.p.l.XWikiLDAPConfig - ldap_group_classes: [groupofnames, groupwisedistributionlist, dynamicgroup, dynamicgroupaux, g
roupofuniquenames, posixgroup, apple-group, group]
2015-07-24 14:06:36,182 [http://myserver.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG c.x.x.p.l.XWikiLDAPConfig - ldap_group_memberfields: [member, memberuid, uniquemember]
2015-07-24 14:06:36,182 [http://myserver.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG c.x.x.p.l.XWikiLDAPConnection - Connection to LDAP server [myserver.com:388]
2015-07-24 14:06:36,197 [http://myserver.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG c.x.x.p.l.XWikiLDAPConnection - Binding to LDAP server with credentials login=[cn=Dummy User,ou=people,dc=optrak,dc=com]
2015-07-24 14:06:36,209 [http://myserver.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 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.4.jar:na]
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:125) ~[xwiki-platform-ldap-authenticator-6.4.4.jar:na]
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:305) [xwiki-platform-ldap-authenticator-6.4.4.jar:na]
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:182) [xwiki-platform-ldap-authenticator-6.4.4.jar:na]
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:129) [xwiki-platform-ldap-authenticator-6.4.4.jar:na]
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:272) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:192) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:174) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:239) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3295) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at org.xwiki.security.authorization.internal.XWikiCachingRightService.authenticateUser(XWikiCachingRightService.java:241) [xwiki-platform-security-bridge-6.4.4.jar:na]
at org.xwiki.security.authorization.internal.XWikiCachingRightService.checkAccess(XWikiCachingRightService.java:271) [xwiki-platform-security-bridge-6.4.4.jar:na]
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3308) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4304) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:269) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.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:646) [servlet-api-3.0.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [servlet-api-3.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at org.xwiki.security.authorization.internal.XWikiCachingRightService.authenticateUser(XWikiCachingRightService.java:241) [xwiki-platform-security-bridge-6.4.4.jar:na]
at org.xwiki.security.authorization.internal.XWikiCachingRightService.checkAccess(XWikiCachingRightService.java:271) [xwiki-platform-security-bridge-6.4.4.jar:na]
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3308) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4304) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:269) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.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:646) [servlet-api-3.0.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [servlet-api-3.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-6.4.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-6.4.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-6.4.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-6.4.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-6.4.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [tomcat-catalina-7.0.52.jar:7.0.52]
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041) [tomcat-coyote-7.0.52.jar:7.0.52]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote-7.0.52.jar:7.0.52]
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313) [tomcat-coyote-7.0.52.jar:7.0.52]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
Caused by: com.novell.ldap.LDAPException:Confidentiality Required
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.4.jar:na]
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:193) ~[xwiki-platform-ldap-authenticator-6.4.4.jar:na]
... 55 common frames omitted
2015-07-24 14:06:36,209 [http://myserver.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG u.i.L.XWikiLDAPAuthServiceImpl - Trying authentication against XWiki DB
2015-07-24 14:06:36,212 [http://myserver.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication failed for user [Dummy User]
Does anyone know how to fix "Confidentiality Required" error?
Thanks in advance!
Kind regards,
Dmitry
Hello,
My goal is to send array json variable from velocity to javacript or more precisely I want loop over all objects of same Class of a page and put them in a json array (http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsfr…)
But I didn't manage to edit an velocity array variable (add an entries or modify one) AND
With velocity I declare my array like this:
#set ($MyArray={
'Index1':{'Field1':'value1','field2':'value2'},
'Index3':{'Field1':'A value','field2':'Another value'}
})
How can I add an "Index2" entrie by example:
'Index2':{'Field1':'A new value','field2':'Another new value'}"
and/or can how can I modify a value ('Index 1'.field2' by example)?
I tried to generate arraw velocity variable from a string like this,
but unfortunaly generate a unique ... string :-(
Here my code:
{{velocity}}
#set ($MyArray={
'Index1':{'Field1':'value1','field2':'value2'},
'Index3':{'Field1':'A value','field2':'Another value'}
})
$jsontool.serialize($MyArray)
Correct json arraw but I can NOT edit it :-(
{"Index1":{"Field1":"value1","field2":"value2"},"Index3":{"Field1":"A value","field2":"Another value"}}
----
#set ($MyArrayString="{")
#set ($MyArrayString=$MyArrayString +"'Index1':{'Field1':'value1','field2':'value2'},")
#set ($MyArrayString=$MyArrayString +"'Index3':{'Field1':'A value','field2':'Another value'}")
#set ($MyArrayString=$MyArrayString +"}")
$jsontool.serialize($MyArrayString)
I can edit this json arraw but it as wrong json arraw because the "" characters :-(
"{'Index1':{'Field1':'value1','field2':'value2'},'Index3':{'Field1':'A value','field2':'Another value'}}"
{{/velocity}}
Thxs for any help
Pascal b
Hi,
Is there a convenient way to install XWiki Platform without all the extra Enterprise Wiki packages? I'm wanting to run an instance for a specific project, and I'd prefer not to distract users with all the wiki-related elements. I'm running Ubuntu and there only appears to be xwiki-enterprise deb package available.
Thanks,
Bryn