Hi,
I have little problem with xWiki LOGO for unregistered users.
Could you tell me, if the unregistered user should have an access to home
page to see logo, which I set?
Warm wishes to you,
Maciek
Hi Vincent, Eduard,
Thanks for the answers. They look ridiculously simple since it’s absolutely in line with the XWQL and HQL format - something that I could have guessed. Very very helpful. Sorry to bother you but it’s a great help!
With kind regards,
Peter
Hi,
I have been looking into the Solr search to identify which wiki links ([>>doc:] in TEXTAREA’s within Objects on a page) are being used for a certain document. I want to use this from my Java packages. I have not been able to identify an (easy?) way of incorporating Solr search into this. If I’m not mistaken, it even discouraged to use. It works like a charm in velocity but that’s not where I want to use it.
Now, I’m not an expert in Java so maybe I do not have the right knowledge to understand how this works but can you please enlighten me a bit on this topic?
With kind regards,
Peter
All,
After I completed an `apt-get upgrade` on my Ubuntu 14.04 server and then
restarted I noticed that tomcat would not load XWiki up anymore (as in it
wouldn't even try to load it, catalina.out didn't show any attempts to
load). After scratching my head for a little bit I decided to do a
reinstall of the tomcat portion by running the following:
sudo apt-get install --reinstall xwiki-enterprise-tomcat7-common
After running this command I was able to access XWiki and perform the rest
of the upgrade process. I hope this helps someone else that may run into
this issue.
--
*Josh Patten*
*IT Manager*
*Westpark Communications, L.P*.
20475 State Highway 249, Suite 100
Houston, TX 77070
http://www.westparkcom.net
Hi everybody,
The pages get their language when created. It is the default language of the
wiki specified in the configuration.
I need to change this. The wiki language has been set to the desired value
after a lot of pages where already created. Those pages are not easily found
when searching the wiki.
How can I fix this fpr many pages at once?
Thanks in advance...
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-change-language-of-page-tp7595520.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Eduard,
Thanks. I figured that one out. Fortunately, I have been able to use the recursion in the DeleteListener to my advantage without having to set any kind of context variable. It works like a charm!
Thanks again for the effort.
With kind regards,
Peter
Hi,
I am looking for a solution to “automatically” delete children for a XWiki page using the DeleteEvent listener. Is there a way to prevent recursion when deleting such a child XWiki page from a Java lib?
Thanks for your feedback,
Peter
The XWiki development team is proud to announce the availability of XWiki 7.2 Milestone 2.
The focus of this release was on fixing issues introduced in 7.2 Milestone 1 with the new Nested Document/Nested Spaces features and to continue adding support for this feature in various existing features (using a tree for the Import UI instead of a list, new DB table to have performant Space queries, start of Nested Spaces support in the XWiki JS APIs, etc). Another major feature added was the new Script permission to allow forbidding Script execution to specific Users or Groups.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki7.2M2
The following people have contributed code to this release:
Thomas Mortagne
Vincent Massol
Caleb James DeLisle
Eduard Moraru
Guillaume Delhumeau
Marius Dumitru Florea
Sergiu Dumitriu
Thanks for your support
-The XWiki dev team
Hi,
I am looking for a way to create a document reference without the “hassle” of worrying about the WikiName. In a listener, I get a document name which I use for input in a query. The result is a list of documentNames in the format [space.docname]. I need to transform this into a DocumentReference. I can do this without using the wiki, but this gives me “wiki” as the default Wiki. I gate get the wiki from (e.g.) the context, but this means I have to do - as far as I know - one of the two following creations:
1 - documentReferenceResolver ( wikiName + “:” + docFullName)
Where docFullName is in the format [space.docname]
2 - new DocumentReference ( wikiName, spaceName, docName)
In this case, I will have to split the fullName string in order to get access to the spaceName and the docName. If I use a query that delivers me only the pageName, I have the problem of not being able to resolve the spaceName.
I am fairly sure I miss something essential here. Could someone help me out? I’m also fine with any answer that gives me a XWikiDocument :-)
With kind regards,
Peter
Hello everyone,
I am running into issues with getting any information from my instance of
Xwiki using the rest API. I'm curling to the site as per this
documentation:
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HXWikiRES…
Our instance of XWiki responds with a 200 for GET and POST calls (I'm aware
of the known issue with PUT) but doesn't actually give us relevant
information. The returned data is html for a page with the message:
<div class="panel-body">
<p class="xwikimessage">A problem occurred while trying to process
your request. Please contact the webmaster if this happens a
gain.</p>
</div>
I have four questions concerning this situation:
1. Is the documentation up to date? have there been changes with the
REST api in XWiki 7 that aren't reflected there?
2. Are there config settings that need to be set before being able to
use the REST api?
3. Should I be concerned that I am getting a simple html instead of the
XML the documentation suggests?
4. This is probably the most crucial question: How can I best debug such
an issue? all our logs are set to debug, yet I am not seeing any error
message related to this.
Thanks in advance,
Mehdi
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
Hi!
I think that after a some years using XWiki, I can now more or less
understand the magic behind it: documents are "populated" with XWiki
objects which make them behave in one or other way and content several
flavours of information. Logic can be also implemented in XWiki pages
facilitating different kinds of outputs. Thus, a XWiki user is "only" a
XWiki document where we instantiate XWikiUsers class. A XWiki group
is"only" a document where we instantiate XWikiGroups class.
It is really simple to use XWiki group as metaphor for many of the items we
have to deal with in the day-by-day managerial work: a research project
team, a consolidated research group or scientific publication authorship
can all be represented/stored as a XWiki group. That is a really simple
operation.
But what I'm not able to figure out how to store properties that
characterise a given combination of user and group.
Please, allow me to present three cases of use:
1) A person (represented by a XWiki user) can participate in several
research project teams with different roles (main researchers, teammate,
lab responsible, task responsible...)
2) A person (represented by a XWiki user) can participate in the authorship
of several scientific publications, but he/she will appear in a different
position in the authors list. And order matters in this case!
3) A person can participate in two scientific publications with different
filiations, let's call them different *hats*.
Case 1) is illustrated by...
http://atriumkm.idisantiago.es/bin/USiRModel/Projects
Red user participates in all three projects, but only in one of them act as
leader (a star on the chest). Light blue user participates in two projects,
as a leader in one of them. But her/his leadership comes from a different
source (different color of the star)
...and cases 2) and 3) by...
http://atriumkm.idisantiago.es/bin/USiRModel/Publications
Red user participates in all three publications BUT in a different position
(the order matters!) and on behalf of a different meta-organisation (white
or black hats).
A couple of simple questions:
a) If I use a XWiki group to represent a publication, how could I store the
position of each author if authorship is represented by the membership of
that group?
b) Red user belongs to at least five different groups: three publications
and two hats. How could I represent the hat associated with red user in
publications 02 and 03?
I ended up calling this concept "user alias": a user alias is a set of
XWiki documents only one of which includes an instance of XWikiUsers class.
I'm sure there is some "strong concept" in software design and data
modeling that apply to what I'm looking for, but I've not enough formation
as for looking for it. Your insights will be really welcome!
Please, does this make any sense for you? Any idea?
Thank you so much,
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
Hello All,
I'm struggling trying to get various resources to render or load correctly
when moving xwiki from:
/usr/share/tomcat/webapps/xwiki to
/usr/share/tomcat/webapps/ROOT
I've followed the 'Deploying as ROOT' step on the XWiki page below:
http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs#HDeployingasROOT
Including setting the xwiki.cfg value:
xwiki.webapppath=
However, when restarting tomcat and testing these changes, the
logo, glyphicons fail to load as per the screenshot:
http://i.imgur.com/SUfMtjs.png
I am at wits' end trying to work this one out! Can anyone help or give me
some clue what I can check?
This is with Fedora 22 server, Java 1.8 and Tomcat 8 with XWiki 7.1.1 and
XWiki 7.2M1
Many thanks,
Alex