Thanks Thomas, my previous issue was a problem when I imported the db to the new server.
After the migration, I got this error.
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.
I searched but I cant find where to set right for the velocity macro.
Can you help me a bit please ?
Sébastien
Resending as plaintext
Hi All
Hopefully someone can help with this issue.
We are running 8.1 and some users are not able to see the “create page” button. This is what I am expecting:
http://pasteboard.co/6y8jirpqd.png
Instead, the user sees this:
http://pasteboard.co/6y9FK2KQT.png
So I assumed it must be a permissions issue. So I checked that the Group had the correct permissions to Edit (in this case I am using the Sandbox as an example, but it applies to all other top level pages – what were once spaces).
As you can see below, the XWikiAllGroup has View and Edit permissions and the user can certainly see and edit the page. But I was sure that having “Edit” also meant the ability to “add” pages. If “adding” is a separate permission, please tell me where I can find this.
http://pasteboard.co/6yZBCg4ye.png
I have also tried giving the user directly ALL the permissions and still the user doesn’t get the “add” button. Yet if I browse directly to http://xwiki.local:8080/xwiki/bin/create/Sandbox/ I get the create page and I can successfully create/edit/save the page.
I have also tried:
• Giving all permissions to all the groups the user is a member of
• Different combinations of different groups
• Removing permissions for all groups and just giving the user permission directly
• Looking through the mailing list for any reported issues (though it was a quick browse so I may have missed it).
• Checked that I do not have any overriding *.vm files attached to the skin that would cause this
The next step will be to upgrade to 8.2 to see if this resolves it, but I am not hopeful. Any help would be sincerely appreciated. Thanks in advance.
Any help please?
Kind regards,
Mahomed Hussein
Custodian Data Centre
Email: Mahomed(a)CustodianDC.com
http://www.CustodianDC.com
Hello-
I am a new user and I have a question regarding changing the default method
of numbering used for numbered lists. I am attempting to use xwiki to store
our company policy, which as of now is kept in a series of individual
documents. The difficulty is that management is insistent that I maintain
the current numbering schema used for numbered lists which is in the format:
A. Item One
1. Sub-Item 1
a. Sub-Sub Item 1
While I can do so manually using the xwiki syntax this is a great deal of
work when dealing with dozens of lists within hundreds of policies. In
addition I would like to make it as easy as possible for whomever comes
after me. I believe that the css code for something like this would be
something along the lines of:
ol {list-style-type:upper-alpha;}
ol ol {list-style-type:decimal;}
ol ol ol {list-style-type:lower-alpha;}
but I am uncertain as to whether this is the proper method of implementing
this change, and if so am uncertain as to where that code would go. Any help
would be appreciated.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Question-regarding-changing-default-forma…
Sent from the XWiki- Users mailing list archive at Nabble.com.
To migrate my XWiki from 7.0.1 to 8.2.1, I followed those steps :
cd /glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/\r
tar -jcvf /backup/xwiki.tar.bz2 /glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/WEB-INF/hibernate.cfg.xml /glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/WEB-INF/xwiki.cfg /glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/WEB-INF/xwiki.properties /glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/WEB-INF/classes/logback.xml /glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/WEB-INF/observation/*
mysqldump --add-drop-database --all-databases > /backup/xwiki.sql
Then I restore dit back on the next server :
mysql -e "SET FOREIGN_KEY_CHECKS=0;"
mysql -e "CREATE DATABASE IF NOT EXISTS xwiki DEFAULT CHARACTER SET utf8;"
mysql xwiki --user=root -p < xwiki.sql
mysql -e "SET FOREIGN_KEY_CHECKS=1;"
reboot
I set the right options in the xwiki.cfg but I got this problem after the migration... :(
http://pastebin.com/cS8Th8c4
Anyone can tell me what am I doing wrong ?
Should I update to an older version before upgrading to 8.2.1 ?
Sebastien
Hi community,
I implemented a customer profile holding information about customers as an
XWiki application. Now in another app I'd like to have an optional field
that can contain the customer if it is related to one. Therefor I want to
list all customers (existing pages of App 1) as dropdown values of a field
of App 2.
To illustrate what I'd like to achieve:
App 1 (holding customer information):
|-- Page "Customer 1"
|-- Page "Customer 2"
...
App 2 (holding other information but can be customer related):
|-- Page 1
|-- Field "Customer" = Dropdown of Pages of App 1 (Customer 1, Customer
2 ...)
I'm rather new in scripting in XWiki/Velocity so I'd really appreciate some
help on this :)
Regards,
Dennis
Hi,
I am currently implementing my first XWiki application and starting to
learn velocity. There is one thing that makes me mad.
There is a static list field with code "ddlProductFamily".
I try to display the items in this list in a nice way (one below the other).
Different approaches including googling didn't lead to any outcome.
#foreach ($prodFam in $ddlProductFamily)
$prodFam\\
#end
#foreach ($prodFam in $doc.display('ddlProductFamily'))
$prodFam\\
#end
On the frontend it's always empty. Other #foreach loops work fine.
I'm sure I just misunderstand something but I can't find the fault myself.
Can somebody please help me?
Thanks in advance,
Dennis
Hi,
I'm trying to implement a basic password manager as an XWiki application. I
have short text fields for username and password. In view mode the password
is replaced by ********** to hide it from prying eyes.
Now I'd like to have a button next to the username and password fields for
copying the values to the clipboard.
I found two sources:
1.
http://extensions.xwiki.org/xwiki/bin/view/Extension/Cross-browser+JavaScri…
2. https://clipboardjs.com/
As the Wiki entry (1) is rather old I tried to replace it by (2) but I'm
not sure how to insert the code exactly.
I uploaded the clipboard.min.js as an attachment to the Application code
page.
My Application sheet looks like this:
{{velocity}}
{{html wiki="true"}}
#set ($discard = $doc.use('XPass.Code.XPassClass'))
#set($theSharedPanel = $xwiki.getDocument('XPass.Code'))
<script src="$theSharedPanel.getAttachmentURL('clipboard.min.js')"></script>
(% class="xform" %)
(((
<script>
var clipboard = new Clipboard('.btn');
clipboard.on('success', function(e) {
console.log(e);
});
clipboard.on('error', function(e) {
console.log(e);
});
</script>
; <label
for="XPass.Code.XPassClass_0_sTxtName">$escapetool.xml($doc.displayPrettyName('sTxtName',
false, false))</label>
: $doc.display('sTxtName')
; <label
for="XPass.Code.XPassClass_0_sListCategory">$escapetool.xml($doc.displayPrettyName('sListCategory',
false, false))</label>
: $doc.display('sListCategory')
; <label
for="XPass.Code.XPassClass_0_sTxtURL">$escapetool.xml($doc.displayPrettyName('sTxtURL',
false, false))</label>
: $doc.display('sTxtURL')
; <label
for="XPass.Code.XPassClass_0_lTxtDesc">$escapetool.xml($doc.displayPrettyName('lTxtDesc',
false, false))</label>
: $doc.display('lTxtDesc')
; <label
for="XPass.Code.XPassClass_0_sTxtUser">$escapetool.xml($doc.displayPrettyName('sTxtUser',
false, false))</label>
: $doc.display('sTxtUser')
; <label
for="XPass.Code.XPassClass_0_sTxtPassword">$escapetool.xml($doc.displayPrettyName('sTxtPassword',
false, false))</label>
:
#if ($context.display == 'edit')
$doc.display('sTxtPassword')
#else
~*~*~*~*~*~*~*~*~*~*
#end
<button class="btn" data-clipboard-target="$doc.display('sTxtPassword')">
<img src="assets/clippy.svg" alt="Copy to clipboard">
</button>
)))
{{/html}}
{{/velocity}}
Now then pressing the "Copy to clipboard" button the clipboard is not
updated and the console shows:
"ReferenceError: Clipboard is not defined"
I'm not sure where to place the scripts to make it work so mybe someone can
enlighten me.
Regards,
Dennis
Hi,
I'm having a hard time getting XWiki (on CentOS 7 / Tomcat 8.0.33) to work
with our companies new authenticated proxy.
First of all: in general the service user I'm using can successfully
authenticate on the proxy (tested in firefox on my computer and elinks on
the Linux machine). Before we had a proxy server not requiring
authentication and that worked like a charm.
I've already tried several approaches to make the authenticated proxy work:
1. approach via catalina.properties:
http.proxyUser=USERNAME
http.proxyPassword=Pass!W0rd
https.proxyHost=proxy.address.com
https.proxyPort=8080
http.nonProxyHosts=localhost|127.*|[::1]|several other internal domain
exceptions that worked before
restarted tomcat
When accessing the extensions settings page of the XWiki instance
(/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=XWiki.AddExtensions)
nothing can be found.
catalina.out shows
2016-08-08 15:48:16,405 [
http://10.170.64.121/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globalad…]
ERROR aultExtensionRepositoryManager - F
org.xwiki.extension.repository.search.SearchException: Failed to search
extensions based on pattern []
at
org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.search(XWikiExtensionRepository.java:417)
~[xwiki-commons-extension-repository-xwiki-7.4.4.
at
org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.search(XWikiExtensionRepository.java:434)
~[xwiki-commons-extension-repository-xwiki-7.4.4.
at
org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.search(DefaultExtensionRepositoryManager.java:381)
[xwiki-commons-extension-api-7.4.4.ja
at
org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.search(DefaultExtensionRepositoryManager.java:335)
[xwiki-commons-extension-api-7.4.4.ja
at
org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.search(DefaultExtensionRepositoryManager.java:314)
[xwiki-commons-extension-api-7.4.4.ja
at
org.xwiki.extension.script.ExtensionManagerScriptService.search(ExtensionManagerScriptService.java:171)
[xwiki-platform-extension-script-7.4.4.jar:7.4.4]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.8.0_91]
[...]
Caused by: java.io.IOException: Invalid answer [407] from the server when
requesting [
http://extensions.xwiki.org/xwiki/rest/repository/search?start=0&number=20&…
]
at
org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.getRESTResource(XWikiExtensionRepository.java:245)
~[xwiki-commons-extension-repository-xwi
at
org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.getRESTObject(XWikiExtensionRepository.java:295)
~[xwiki-commons-extension-repository-xwiki
at
org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.search(XWikiExtensionRepository.java:415)
~[xwiki-commons-extension-repository-xwiki-7.4.4.
... 183 common frames omitted
407 indicates an authentication issue but the correct data is in
catalina.properties verified by using the same proxy settings in other
applications. I also tried "domain\USERNAME" followed by a tomcat restart
with the same outcome.
2. approach via separate squid instance (without authentication) that
authenticates on the parent proxy:
catalina.properties:
http.proxyHost=localhost
http.proxyPort=3128
https.proxyHost=localhost
https.proxyPort=3128
http.nonProxyHosts=localhost|127.*|[::1]|several other internal domain
exceptions that worked before
squid.conf:
http_access allow all
http_port 3128
coredump_dir /var/spool/squid
cache deny all
dns_v4_first on
cache_peer proxy.address.com parent 8080 0 no-query no-digest
no-netdb-exchange default login=USERNAME:Pass!W0rd
restarted tomcat
restarted squid
Again verified that it's working by using the squid instance in firefox and
elinks.
Again trying to access the extensions page of the XWiki instance no
extensions can be found.
Squids access.log shows:
127.0.0.1 TCP_MISS_ABORTED/000 0 POST
http://extensions.xwiki.org/xwiki/rest/repository/search - HIER_DIRECT/
104.25.106.17 -
catalina.out shows:
Caused by: java.io.IOException: Failed to request [
http://extensions.xwiki.org/xwiki/rest/repository/search]
at
org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.postRESTResource(XWikiExtensionRepository.java:281)
~[xwiki-commons-extension-repository-xw
at
org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.postRESTObject(XWikiExtensionRepository.java:304)
~[xwiki-commons-extension-repository-xwik
at
org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.search(XWikiExtensionRepository.java:460)
~[xwiki-commons-extension-repository-xwiki-7.4.4.
... 182 common frames omitted
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
~[na:1.8.0_91]
at
java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
~[na:1.8.0_91]
at java.net.SocketInputStream.read(SocketInputStream.java:170)
~[na:1.8.0_91]
at java.net.SocketInputStream.read(SocketInputStream.java:141)
~[na:1.8.0_91]
at
org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)
~[httpcore-4.4.4.jar:4.4.4]
at
org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)
~[httpcore-4.4.4.jar:4.4.4]
at
org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)
~[httpcore-4.4.4.jar:4.4.4]
at
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
~[httpclient-4.5.1.jar:4.5.1]
at
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
~[httpclient-4.5.1.jar:4.5.1]
at
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
~[httpcore-4.4.4.jar:4.4.4]
at
org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)
~[httpcore-4.4.4.jar:4.4.4]
at
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)
~[httpcore-4.4.4.jar:4.4.4]
at
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
~[httpcore-4.4.4.jar:4.4.4]
at
org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)
~[httpclient-4.5.1.jar:4.5.1]
at
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
~[httpclient-4.5.1.jar:4.5.1]
at
org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
~[httpclient-4.5.1.jar:4.5.1]
at
org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
~[httpclient-4.5.1.jar:4.5.1]
at
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
~[httpclient-4.5.1.jar:4.5.1]
at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
~[httpclient-4.5.1.jar:4.5.1]
at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
~[httpclient-4.5.1.jar:4.5.1]
at
org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.postRESTResource(XWikiExtensionRepository.java:278)
~[xwiki-commons-extension-repository-xw
... 184 common frames omitted
Apart from XWiki/Tomcat I don't have any issues using the company proxy
directly or via my own squid instance.
I hope somebody can help me out here.
Regards,
Dennis
Hi,
You can use a SSX object to overwriting CSS instruction:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial#HM…
On my xwiki I use this extension:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Numbered+Headings
I modified the SSX object to displaynumbered lists like this:
A. Item One
A.1. Sub-Item 1
A.1.1 Sub-Sub Item 1
If you want I can send you my CSS code.
Pascal B
--------------------------------------------
En date de : Ven 5.8.16, rlarkin <rdlarkin(a)washeriff.net> a écrit :
Objet: [xwiki-users] Question regarding changing default format of Numbered Lists
À: users(a)xwiki.org
Date: Vendredi 5 août 2016, 18h06
Hello-
I am a new user and I have a question regarding changing the
default method
of numbering used for numbered lists. I am attempting to use
xwiki to store
our company policy, which as of now is kept in a series of
individual
documents. The difficulty is that management is insistent
that I maintain
the current numbering schema used for numbered lists which
is in the format:
A. Item One
1. Sub-Item 1
a. Sub-Sub Item 1
While I can do so manually using the xwiki syntax this is a
great deal of
work when dealing with dozens of lists within hundreds of
policies. In
addition I would like to make it as easy as possible for
whomever comes
after me. I believe that the css code for something like
this would be
something along the lines of:
ol {list-style-type:upper-alpha;}
ol ol {list-style-type:decimal;}
ol ol ol {list-style-type:lower-alpha;}
but I am uncertain as to whether this is the proper method
of implementing
this change, and if so am uncertain as to where that code
would go. Any help
would be appreciated.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Question-regarding-changing-default-forma…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello,
I want to create a wiki link which opens the current page in a given language. I tried the following:
{{velocity}} [[English>>doc:$doc.fullName/?language=en]]{{/velocity}}
But it does not work, it generates a create page link. I could not find anything on http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?syntax=2.1§io… either.
How may I achieve this? Thank you.
Mario
The wiki will be used for low-volume updates and discussions on projects of non-profit organisation.
The owner name is aveq_consexec
Requested wiki name is aves
Best,
Isaac
Isaac Stethem
Conseiller à l’exécutif | Advisor to the Executive
Association pour la voix étudiante au Québec | Association for the Voice of Education in Québec
1-888-994-9177 x1
cons.exec(a)aveq-nous.ca
Les bureaux de l’AVEQ sont situés sur des terres Kanien’kehá:ka occupées
The AVEQ offices are located on occupied Kanien’kehá:ka territory
Hello,
I am trying to control access to XWiki based on the incoming IP address.
Currently, I have the wiki set up to allow view access to everyone
including guests, and write access to logged in users. This works fine on
the local LAN, but I'd like to allow external users access to the wiki as
well. I would like to force users accessing the Wiki from outside my
network to log on before they can view Wiki pages.
There doesn't seem to be any build in mechanism for filtering access by IP.
Is there a work-around that would let me to this?
Thanks.
Hello:
What would need to happen (install engine?) for me to be able to do the
following:
{{script language="javascript"}}
{{/sript}}
in other words, server side javascript
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Using-Javascript-as-a-scripting-language-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
To whom it may concern:
I am sending this mail to request a new wiki on myxwiki.org <http://myxwiki.org/>.
Description: wiki for a small group to keep information on system admin, development and other misc. info
Owner name: chomg
wiki name: chomg.myxwiki.org <http://chomg.myxwiki.org/>
Thanks in advance.
Best,
Mike
Hello everyone , actually I wanted to know , what all are the programming
languages that would be beneficial for GSoC . I will be taking part in GSoC
next year and I have pretty good hands in java . So I just wanted your
advice regarding that as I am new to this group
On Thu, Aug 4, 2016 at 8:11 PM, <users-request(a)xwiki.org> wrote:
> Send users mailing list submissions to
> users(a)xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xwiki.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)xwiki.org
>
> You can reach the person managing the list at
> users-owner(a)xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. [myxwiki] XWiki Enterprise 8.2.1 Upgrade (Thomas Mortagne)
> 2. Re: Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException
> (St?phane LASSIRE)
> 3. Re: Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException
> (Thomas Mortagne)
> 4. How to create a link to a page translation? (Hofst?tter Mario)
> 5. [ANN] Contrib Parent pom 6.4-3 (Thomas Mortagne)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 4 Aug 2016 12:14:46 +0200
> From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
> To: XWiki Users <users(a)xwiki.org>, XWiki Developers <devs(a)xwiki.org>
> Subject: [xwiki-users] [myxwiki] XWiki Enterprise 8.2.1 Upgrade
> Message-ID:
> <CAPnKnLGTst4CHWB6PMND-o5zOFYWemiybG6Ns7pnjZx_ej68pA@
> mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi everyone,
>
> myxwiki.org has been upgraded to XE 8.2.1. If you own a wiki hosted
> there you should have a look at the release notes for this version at:
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/
>
> You should automatically get an upgrade wizard for your wiki when you
> login as admin.
> For more details see the upgrade guide available at :
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#
> HUpgradingwikidocuments
>
> To be notified of the myxwiki.org server upgrade you can follow
> myxwiki on twitter:
> http://twitter.com/myxwiki
>
> Thanks,
> -XWiki Community
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 4 Aug 2016 13:09:46 +0200 (CEST)
> From: St?phane LASSIRE <slassire(a)cesap.asso.fr>
> To: "XWiki Users" <users(a)xwiki.org>
> Subject: Re: [xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE:
> "IOException
> Message-ID: <007d01d1ee40$d2d3d270$787b7750$(a)cesap.asso.fr>
> Content-Type: text/plain; charset="utf-8"
>
> Hello Thomas,
>
> Well, this is strange story.
>
> For persistent session I found a tip here : uncomment the rule in
> context.xml :
>
> <Context>
>
> <!-- Default set of monitored resources -->
> <WatchedResource>WEB-INF/web.xml</WatchedResource>
>
> <!-- Uncomment this to disable session persistence across Tomcat
> restarts -->
> <Manager pathname="" />
> <!--
> <Manager pathname="" />
> -->
> **end of context.xml**
> And it is OK
>
> The answer to your question :
>
> root@CESAP-WIKI01:/usr/lib/xwiki/WEB-INF/lib# ll
> xwiki-platform-container-*
> -rw-r--r-- 1 root root 24971 juil. 29 17:26
> xwiki-platform-container-api-8.2.1.jar
> -rw-r--r-- 1 root root 35318 juil. 29 17:26
> xwiki-platform-container-servlet-8.2.1.jar
>
> The jar file is there.
>
> Could it be a problem with tomcat 7.0.56 ?
> Will it be easier for me to migrate to tomcat8 ? and put away the tomcat7
> unstable
>
> Thanks
>
> Cordialement
>
> St?phane Lassire
> Charg? de l'informatique et de la communication
> T?l direct : 01 42 85 81 87
> Courriel : slassire(a)cesap.asso.fr
>
>
> -----Message d'origine-----
> De : users [mailto:users-bounces@xwiki.org] De la part de Thomas Mortagne
> Envoy? : jeudi 4 ao?t 2016 11:51
> ? : XWiki Users
> Objet : Re: [xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException
>
> Ok this time it's a very different error which indeed looks more serious.
> But it still seems related to persistent storage of the session and in this
> case it seems to be trying to load a saved request (which is really not the
> kind of thing that make sense to store). For me your Tomcat is in a pretty
> weird state and try to load stuff that don't make much sense in the context
> of XWiki but I don't know anything about persistent storage. Seems to be to
> have something to clean somewhere and some option to disable (if it's still
> enabled).
>
> Tomcat cannot find the class
> org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest
> which is supposed to be located in jar
> /usr/lib/xwiki/WEB-INF/lib/xwiki-platform-container-servlet-<version>.jar.
>
> You should probably check if you have this jar file and if tomcat is
> allowed
> to read it.
>
> On Thu, Aug 4, 2016 at 11:42 AM, St?phane LASSIRE <slassire(a)cesap.asso.fr>
> wrote:
> > Hello Thomas,
> >
> > THanks for your help.
> >
> > That's the strange behaviour.
> > Catalina log file came with lot of messages from solr (some indexing
> > problems), but I do have on the browser only a blank page.
> >
> > I just changed the Xmx java tuning from 512 to 1024 (I though it was
> > may be a memory error).
> > But same behaviour : on launching a percentage on the browser from 12
> > to 50% and a blank page.
> >
> > Last Catalina :
> > ao?t 04, 2016 11:36:12 AM
> > org.apache.catalina.startup.ClassLoaderFactory
> > validateFile
> > AVERTISSEMENT: Problem with directory
> > [/usr/share/tomcat7/common/classes],
> > exists: [false], isDirectory: [false], canRead: [false] ao?t 04, 2016
> > 11:36:12 AM org.apache.catalina.startup.ClassLoaderFactory
> > validateFile
> > AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/common],
> exists:
> > [false], isDirectory: [false], canRead: [false] ao?t 04, 2016 11:36:12
> > AM org.apache.catalina.startup.ClassLoaderFactory
> > validateFile
> > AVERTISSEMENT: Problem with directory
> > [/usr/share/tomcat7/server/classes],
> > exists: [false], isDirectory: [false], canRead: [false] ao?t 04, 2016
> > 11:36:12 AM org.apache.catalina.startup.ClassLoaderFactory
> > validateFile
> > AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/server],
> exists:
> > [false], isDirectory: [false], canRead: [false] ao?t 04, 2016 11:36:12
> > AM org.apache.catalina.startup.ClassLoaderFactory
> > validateFile
> > AVERTISSEMENT: Problem with directory
> > [/usr/share/tomcat7/shared/classes],
> > exists: [false], isDirectory: [false], canRead: [false] ao?t 04, 2016
> > 11:36:12 AM org.apache.catalina.startup.ClassLoaderFactory
> > validateFile
> > AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/shared],
> exists:
> > [false], isDirectory: [false], canRead: [false] ao?t 04, 2016 11:36:12
> > AM org.apache.coyote.AbstractProtocol init
> > INFOS: Initializing ProtocolHandler ["http-bio-8080"] ao?t 04, 2016
> > 11:36:12 AM org.apache.catalina.startup.Catalina load
> > INFOS: Initialization processed in 720 ms ao?t 04, 2016 11:36:12 AM
> > org.apache.catalina.core.StandardService
> > startInternal
> > INFOS: D?marrage du service Catalina
> > ao?t 04, 2016 11:36:12 AM org.apache.catalina.core.StandardEngine
> > startInternal
> > INFOS: Starting Servlet Engine: Apache Tomcat/7.0.56 (Debian) ao?t 04,
> > 2016 11:36:12 AM org.apache.catalina.startup.HostConfig
> > deployDescriptor
> > INFOS: D?ploiement du descripteur de configuration
> > /etc/tomcat7/Catalina/localhost/xwiki.xml
> > 2016-08-04 11:36:32,385 [localhost-startStop-1] WARN
> > ltInstalledExtensionRepository - Invalid extension
> > [org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki-7.1.2] on namespace
> > [wiki:xwiki] (InvalidExtensionException: No compatible extension is
> > installed for dependency
> > [org.xwiki.platform:xwiki-platform-chart-plugin-7.1.2])
> > 2016-08-04 11:36:32,403 [localhost-startStop-1] WARN
> > ltInstalledExtensionRepository - Invalid extension
> > [org.xwiki.contrib.forum:application-forum-ui-1.9.4]
> > (InvalidExtensionException: No compatible extension is installed for
> > dependency [org.xwiki.platform:xwiki-platform-ratings-api-6.4.4])
> > 2016-08-04 11:36:32,404 [localhost-startStop-1] WARN
> > ltInstalledExtensionRepository - Invalid extension
> > [org.xwiki.platform:xwiki-platform-search-lucene-ui-6.4.2] on
> > namespace [wiki:xwiki] (InvalidExtensionException: No compatible
> > extension is installed for dependency
> > [org.xwiki.platform:xwiki-platform-search-lucene-api-6.4.2])
> > 2016-08-04 11:36:35,578 [localhost-startStop-1] INFO
> > o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
> > 2016-08-04 11:36:35,578 [localhost-startStop-1] INFO
> > o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
> > [/var/lib/xwiki/data/solr]
> > 2016-08-04 11:36:39,896 [localhost-startStop-1] INFO
> > o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server.
> > ao?t 04, 2016 11:36:40 AM org.apache.catalina.session.StandardManager
> > doLoad
> >
> > GRAVE: "ClassNotFoundException" lors du chargement de sessions
> > persistantes:
> > java.lang.ClassNotFoundException:
> > org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest
> > java.lang.ClassNotFoundException:
> > org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest
> > at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> > at java.lang.Thread.run(Thread.java:745)
> >
> > ao?t 04, 2016 11:36:40 AM org.apache.catalina.session.StandardManager
> > startInternal
> > GRAVE: Exception au chargement des sessions depuis le stockage
> > persistant (persistent storage)
> > java.lang.ClassNotFoundException:
> > org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest
> > at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> > at java.lang.Thread.run(Thread.java:745)
> >
> > Cordialement
> >
> > St?phane Lassire
> > Courriel : slassire(a)cesap.asso.fr
> >
> >
> > -----Message d'origine-----
> > De : users [mailto:users-bounces@xwiki.org] De la part de Thomas
> > Mortagne Envoy? : jeudi 4 ao?t 2016 11:03 ? : XWiki Users Objet : Re:
> > [xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException
> >
> > It's the first time I see this error.
> >
> > Not even sure what a persistent session is. Maybe Tomcat is configured
> > to stored the session on disk to get it back when restarting and
> > something put a not serializable object
> > (DefaultStringEntityReferenceResolver
> > which is indeed not serializable) in it.
> >
> > Is XWiki running properly after that ? Even if it's indicated GRAVE it
> > seems to me you just lost this part of the session but XWiki does not
> > really expect the session to be serailized anyway so you should
> > probably disable that if possible.
> >
> >
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 4 Aug 2016 14:22:04 +0200
> From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
> To: XWiki Users <users(a)xwiki.org>
> Subject: Re: [xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE:
> "IOException
> Message-ID:
> <CAPnKnLGN7HUc984H621sZUVwng4-QnfhXr3PVS-NscMnAMa1+Q@mail.
> gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> I'm still using Tomcat 7 (7.0.52 on Ubuntu 14.04) and I never had this
> kind of issue.
>
> On Thu, Aug 4, 2016 at 1:09 PM, St?phane LASSIRE <slassire(a)cesap.asso.fr>
> wrote:
> > Hello Thomas,
> >
> > Well, this is strange story.
> >
> > For persistent session I found a tip here : uncomment the rule in
> > context.xml :
> >
> > <Context>
> >
> > <!-- Default set of monitored resources -->
> > <WatchedResource>WEB-INF/web.xml</WatchedResource>
> >
> > <!-- Uncomment this to disable session persistence across Tomcat
> > restarts -->
> > <Manager pathname="" />
> > <!--
> > <Manager pathname="" />
> > -->
> > **end of context.xml**
> > And it is OK
> >
> > The answer to your question :
> >
> > root@CESAP-WIKI01:/usr/lib/xwiki/WEB-INF/lib# ll
> xwiki-platform-container-*
> > -rw-r--r-- 1 root root 24971 juil. 29 17:26
> > xwiki-platform-container-api-8.2.1.jar
> > -rw-r--r-- 1 root root 35318 juil. 29 17:26
> > xwiki-platform-container-servlet-8.2.1.jar
> >
> > The jar file is there.
> >
> > Could it be a problem with tomcat 7.0.56 ?
> > Will it be easier for me to migrate to tomcat8 ? and put away the
> tomcat7
> > unstable
> >
> > Thanks
> >
> > Cordialement
> >
> > St?phane Lassire
> > Charg? de l'informatique et de la communication
> > T?l direct : 01 42 85 81 87
> > Courriel : slassire(a)cesap.asso.fr
> >
> >
> > -----Message d'origine-----
> > De : users [mailto:users-bounces@xwiki.org] De la part de Thomas
> Mortagne
> > Envoy? : jeudi 4 ao?t 2016 11:51
> > ? : XWiki Users
> > Objet : Re: [xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE:
> "IOException
> >
> > Ok this time it's a very different error which indeed looks more serious.
> > But it still seems related to persistent storage of the session and in
> this
> > case it seems to be trying to load a saved request (which is really not
> the
> > kind of thing that make sense to store). For me your Tomcat is in a
> pretty
> > weird state and try to load stuff that don't make much sense in the
> context
> > of XWiki but I don't know anything about persistent storage. Seems to be
> to
> > have something to clean somewhere and some option to disable (if it's
> still
> > enabled).
> >
> > Tomcat cannot find the class
> > org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest
> > which is supposed to be located in jar
> > /usr/lib/xwiki/WEB-INF/lib/xwiki-platform-container-
> servlet-<version>.jar.
> >
> > You should probably check if you have this jar file and if tomcat is
> allowed
> > to read it.
> >
> > On Thu, Aug 4, 2016 at 11:42 AM, St?phane LASSIRE <
> slassire(a)cesap.asso.fr>
> > wrote:
> >> Hello Thomas,
> >>
> >> THanks for your help.
> >>
> >> That's the strange behaviour.
> >> Catalina log file came with lot of messages from solr (some indexing
> >> problems), but I do have on the browser only a blank page.
> >>
> >> I just changed the Xmx java tuning from 512 to 1024 (I though it was
> >> may be a memory error).
> >> But same behaviour : on launching a percentage on the browser from 12
> >> to 50% and a blank page.
> >>
> >> Last Catalina :
> >> ao?t 04, 2016 11:36:12 AM
> >> org.apache.catalina.startup.ClassLoaderFactory
> >> validateFile
> >> AVERTISSEMENT: Problem with directory
> >> [/usr/share/tomcat7/common/classes],
> >> exists: [false], isDirectory: [false], canRead: [false] ao?t 04, 2016
> >> 11:36:12 AM org.apache.catalina.startup.ClassLoaderFactory
> >> validateFile
> >> AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/common],
> exists:
> >> [false], isDirectory: [false], canRead: [false] ao?t 04, 2016 11:36:12
> >> AM org.apache.catalina.startup.ClassLoaderFactory
> >> validateFile
> >> AVERTISSEMENT: Problem with directory
> >> [/usr/share/tomcat7/server/classes],
> >> exists: [false], isDirectory: [false], canRead: [false] ao?t 04, 2016
> >> 11:36:12 AM org.apache.catalina.startup.ClassLoaderFactory
> >> validateFile
> >> AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/server],
> exists:
> >> [false], isDirectory: [false], canRead: [false] ao?t 04, 2016 11:36:12
> >> AM org.apache.catalina.startup.ClassLoaderFactory
> >> validateFile
> >> AVERTISSEMENT: Problem with directory
> >> [/usr/share/tomcat7/shared/classes],
> >> exists: [false], isDirectory: [false], canRead: [false] ao?t 04, 2016
> >> 11:36:12 AM org.apache.catalina.startup.ClassLoaderFactory
> >> validateFile
> >> AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/shared],
> exists:
> >> [false], isDirectory: [false], canRead: [false] ao?t 04, 2016 11:36:12
> >> AM org.apache.coyote.AbstractProtocol init
> >> INFOS: Initializing ProtocolHandler ["http-bio-8080"] ao?t 04, 2016
> >> 11:36:12 AM org.apache.catalina.startup.Catalina load
> >> INFOS: Initialization processed in 720 ms ao?t 04, 2016 11:36:12 AM
> >> org.apache.catalina.core.StandardService
> >> startInternal
> >> INFOS: D?marrage du service Catalina
> >> ao?t 04, 2016 11:36:12 AM org.apache.catalina.core.StandardEngine
> >> startInternal
> >> INFOS: Starting Servlet Engine: Apache Tomcat/7.0.56 (Debian) ao?t 04,
> >> 2016 11:36:12 AM org.apache.catalina.startup.HostConfig
> >> deployDescriptor
> >> INFOS: D?ploiement du descripteur de configuration
> >> /etc/tomcat7/Catalina/localhost/xwiki.xml
> >> 2016-08-04 11:36:32,385 [localhost-startStop-1] WARN
> >> ltInstalledExtensionRepository - Invalid extension
> >> [org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki-7.1.2] on namespace
> >> [wiki:xwiki] (InvalidExtensionException: No compatible extension is
> >> installed for dependency
> >> [org.xwiki.platform:xwiki-platform-chart-plugin-7.1.2])
> >> 2016-08-04 11:36:32,403 [localhost-startStop-1] WARN
> >> ltInstalledExtensionRepository - Invalid extension
> >> [org.xwiki.contrib.forum:application-forum-ui-1.9.4]
> >> (InvalidExtensionException: No compatible extension is installed for
> >> dependency [org.xwiki.platform:xwiki-platform-ratings-api-6.4.4])
> >> 2016-08-04 11:36:32,404 [localhost-startStop-1] WARN
> >> ltInstalledExtensionRepository - Invalid extension
> >> [org.xwiki.platform:xwiki-platform-search-lucene-ui-6.4.2] on
> >> namespace [wiki:xwiki] (InvalidExtensionException: No compatible
> >> extension is installed for dependency
> >> [org.xwiki.platform:xwiki-platform-search-lucene-api-6.4.2])
> >> 2016-08-04 11:36:35,578 [localhost-startStop-1] INFO
> >> o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
> >> 2016-08-04 11:36:35,578 [localhost-startStop-1] INFO
> >> o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
> >> [/var/lib/xwiki/data/solr]
> >> 2016-08-04 11:36:39,896 [localhost-startStop-1] INFO
> >> o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server.
> >> ao?t 04, 2016 11:36:40 AM org.apache.catalina.session.StandardManager
> >> doLoad
> >>
> >> GRAVE: "ClassNotFoundException" lors du chargement de sessions
> >> persistantes:
> >> java.lang.ClassNotFoundException:
> >> org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest
> >> java.lang.ClassNotFoundException:
> >> org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest
> >> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> >> at java.lang.Thread.run(Thread.java:745)
> >>
> >> ao?t 04, 2016 11:36:40 AM org.apache.catalina.session.StandardManager
> >> startInternal
> >> GRAVE: Exception au chargement des sessions depuis le stockage
> >> persistant (persistent storage)
> >> java.lang.ClassNotFoundException:
> >> org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest
> >> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> >> at java.lang.Thread.run(Thread.java:745)
> >>
> >> Cordialement
> >>
> >> St?phane Lassire
> >> Courriel : slassire(a)cesap.asso.fr
> >>
> >>
> >> -----Message d'origine-----
> >> De : users [mailto:users-bounces@xwiki.org] De la part de Thomas
> >> Mortagne Envoy? : jeudi 4 ao?t 2016 11:03 ? : XWiki Users Objet : Re:
> >> [xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException
> >>
> >> It's the first time I see this error.
> >>
> >> Not even sure what a persistent session is. Maybe Tomcat is configured
> >> to stored the session on disk to get it back when restarting and
> >> something put a not serializable object
> >> (DefaultStringEntityReferenceResolver
> >> which is indeed not serializable) in it.
> >>
> >> Is XWiki running properly after that ? Even if it's indicated GRAVE it
> >> seems to me you just lost this part of the session but XWiki does not
> >> really expect the session to be serailized anyway so you should
> >> probably disable that if possible.
> >>
> >>
> >> _______________________________________________
> >> users mailing list
> >> users(a)xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >
> >
> >
> > --
> > Thomas Mortagne
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 4 Aug 2016 14:14:26 +0000
> From: Hofst?tter Mario <Mario.Hofstaetter(a)automationx.com>
> To: "users(a)xwiki.org" <users(a)xwiki.org>
> Subject: [xwiki-users] How to create a link to a page translation?
> Message-ID:
> <E9FF2BDE6BD0C34D903C19E1B596E80F44C3A3BC(a)08GR54.gawgroup.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello,
>
> I want to create a wiki link which opens the current page in a given
> language. I tried the following:
> {{velocity}} [[English>>doc:$doc.fullName/?language=en]]{{/velocity}}
>
> But it does not work, it generates a create page link. I could not find
> anything on http://platform.xwiki.org/xwiki/bin/view/Main/
> XWikiSyntax?syntax=2.1§ion=Links either.
> How may I achieve this? Thank you.
> Mario
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 4 Aug 2016 16:41:53 +0200
> From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
> To: XWiki Developers <devs(a)xwiki.org>, XWiki Users <users(a)xwiki.org>
> Subject: [xwiki-users] [ANN] Contrib Parent pom 6.4-3
> Message-ID:
> <CAPnKnLG1dFJ1qC9+Xvn60xSs0ePH_39gPU9vsE89H5G0+
> xqPoA(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> I just released a 6.4-3 version of the Contrib Parent pom. Mostly
> merged improvement I made in the 7.4 branch.
>
> --
> Thomas Mortagne
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> ------------------------------
>
> End of users Digest, Vol 109, Issue 11
> **************************************
>
I have xwiki version 8.1. And when I rename page (not the page title) all
pages that refers to this page, will contain renamed link which is OK, but
what is wrong is that the page will become modified by the XWikiGuest user
and in the history there's comment with "Renamed back-links."
This modification has bad consequences. I've noticed this unwanted
behaviour on the Menu with global visibility, wich has lost after renaming
page that is mentioned in the menu.
I'm not able to test this issue against latest version 8.2.1. Can anyone
confirm that this has been fixed in the latest version?
The simplest scenario is to have two pages,where one is referring to
another.
1. Page1 --> Page2, where Page1 has a link to Page2 and Page2 will have
backlink to Page1
2. Rename Page2 to something else (leave all options as they are), for
example Page2a
3. Page1 should have a link to a Page2a and it should become modified by
XWikiGuest user
Thanks
Miroslav Galajda
I just released an extension to easily add support for Let's Encrypt
in your wiki.
The extension automatically register Let's Encrypt root certificate in
the trust store at runtime to allow you to request Let's Encrypt
signed HTTP servers.
See http://extensions.xwiki.org/xwiki/bin/view/Extension/Let%27s+Encrypt+suppor…
--
Thomas Mortagne
Hello,
I am on the way to finish the migration of our xwiki 7 to xwiki 8 on a
Debian server.
Yesterday Thomas find the tip for solr.
Now solr is running (the directory grows after tomcat running)
But when tomcat is launch, on the browser I saw a percentage (12 / 25 / 50%)
and a blank page.
The tomcat Catalina error is :
août 04, 2016 10:34:10 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/common/classes],
exists: [false], isDirectory: [false], canRead: [false]
août 04, 2016 10:34:10 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/common], exists:
[false], isDirectory: [false], canRead: [false]
août 04, 2016 10:34:11 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/server/classes],
exists: [false], isDirectory: [false], canRead: [false]
août 04, 2016 10:34:11 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/server], exists:
[false], isDirectory: [false], canRead: [false]
août 04, 2016 10:34:11 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/shared/classes],
exists: [false], isDirectory: [false], canRead: [false]
août 04, 2016 10:34:11 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
AVERTISSEMENT: Problem with directory [/usr/share/tomcat7/shared], exists:
[false], isDirectory: [false], canRead: [false]
août 04, 2016 10:34:11 AM org.apache.coyote.AbstractProtocol init
INFOS: Initializing ProtocolHandler ["http-bio-8080"]
août 04, 2016 10:34:11 AM org.apache.catalina.startup.Catalina load
INFOS: Initialization processed in 687 ms
août 04, 2016 10:34:11 AM org.apache.catalina.core.StandardService
startInternal
INFOS: Démarrage du service Catalina
août 04, 2016 10:34:11 AM org.apache.catalina.core.StandardEngine
startInternal
INFOS: Starting Servlet Engine: Apache Tomcat/7.0.56 (Debian)
août 04, 2016 10:34:11 AM org.apache.catalina.startup.HostConfig
deployDescriptor
INFOS: Déploiement du descripteur de configuration
/etc/tomcat7/Catalina/localhost/xwiki.xml
2016-08-04 10:34:30,649 [localhost-startStop-1] WARN
ltInstalledExtensionRepository - Invalid extension
[org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki-7.1.2] on namespace
[wiki:xwiki] (InvalidExtensionException: No compatible extension is
installed for dependency
[org.xwiki.platform:xwiki-platform-chart-plugin-7.1.2])
2016-08-04 10:34:30,669 [localhost-startStop-1] WARN
ltInstalledExtensionRepository - Invalid extension
[org.xwiki.contrib.forum:application-forum-ui-1.9.4]
(InvalidExtensionException: No compatible extension is installed for
dependency [org.xwiki.platform:xwiki-platform-ratings-api-6.4.4])
2016-08-04 10:34:30,670 [localhost-startStop-1] WARN
ltInstalledExtensionRepository - Invalid extension
[org.xwiki.platform:xwiki-platform-search-lucene-ui-6.4.2] on namespace
[wiki:xwiki] (InvalidExtensionException: No compatible extension is
installed for dependency
[org.xwiki.platform:xwiki-platform-search-lucene-api-6.4.2])
2016-08-04 10:34:30,738 [localhost-startStop-1] INFO
o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
2016-08-04 10:34:30,738 [localhost-startStop-1] INFO
o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
[/var/lib/xwiki/data/solr]
2016-08-04 10:34:34,703 [localhost-startStop-1] INFO
o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server.
2016-08-04 10:34:34,704 [recoveryExecutor-9-thread-1-processing-x:xwiki]
WARN o.a.s.u.UpdateLog - Starting log replay
tlog{file=/var/lib/xwiki/data/solr/xwiki/data/tlog/tlog.0000000000000003809
refcount=2} active=false starting pos=0
2016-08-04 10:34:35,495 [recoveryExecutor-9-thread-1-processing-x:xwiki]
WARN o.a.s.u.UpdateLog - Log replay finished.
recoveryInfo=RecoveryInfo{adds=1 deletes=0 deleteByQuery=0 errors=0
positionOfStart=0}
août 04, 2016 10:34:37 AM org.apache.catalina.session.StandardManager doLoad
GRAVE: "IOException" lors du chargement de sessions persistantes:
java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:
org.xwiki.model.internal.reference.DefaultStringEntityReferenceResolver
java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:
org.xwiki.model.internal.reference.DefaultStringEntityReferenceResolver
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1357)
…
(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.NotSerializableException:
org.xwiki.model.internal.reference.DefaultStringEntityReferenceResolver
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
... 4 more
août 04, 2016 10:34:37 AM org.apache.catalina.session.StandardManager
startInternal
GRAVE: Exception au chargement des sessions depuis le stockage persistant
(persistent storage)
java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:
org.xwiki.model.internal.reference.DefaultStringEntityReferenceResolver
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1357)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.NotSerializableException:
org.xwiki.model.internal.reference.DefaultStringEntityReferenceResolver
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
... 4 more
août 04, 2016 10:34:37 AM org.apache.catalina.startup.HostConfig
deployDescriptor
INFOS: Deployment of configuration descriptor
/etc/tomcat7/Catalina/localhost/xwiki.xml has finished in 25 891 ms
août 04, 2016 10:34:37 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFOS: Déploiement du répertoire /var/lib/tomcat7/webapps/ROOT de
l'application web
août 04, 2016 10:34:37 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFOS: Deployment of web application directory /var/lib/tomcat7/webapps/ROOT
has finished in 186 ms
août 04, 2016 10:34:37 AM org.apache.coyote.AbstractProtocol start
INFOS: Starting ProtocolHandler ["http-bio-8080"]
août 04, 2016 10:34:37 AM org.apache.catalina.startup.Catalina start
INFOS: Server startup in 26153 ms
I saw the GRAVE error, read that some SESSIONS.ser must be deleted, but I do
not found that file.
Any idea ?
Thanks
Cordialement
Stéphane Lassire
Chargé de l'informatique et de la communication
Tél direct : 01 42 85 81 87
Courriel : <mailto:slassire@cesap.asso.fr> slassire(a)cesap.asso.fr
I apologize for the vague topic description. I have been trying to install
XWiki on a freshly installed Ubuntu server running 14.04 for a few days and
am just getting pulled in all sorts of directions when it comes to
installation and am just getting a little agitated.
I am relatively new to Ubuntu in general. I am just looking for a guide to
install the newest version of XWiki Enterprise on Ubuntu Server 14.04 using
what I believe would be a .WAR install. (I want to avoid the stand-alone
installer since it is not recommended on production.)
All guides that I have found seem to breeze thru the installation process
and jump right into "Getting Started using the software". I am still stuck
on the actual installation and cannot seem to follow the guide without
getting thrown off by a step that makes absolutely no sense.
If someone could please point me in the right direction, it would be greatly
appreciated.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Need-Help-Installing-XWiki-on-Ubuntu-Serv…
Sent from the XWiki- Users mailing list archive at Nabble.com.
hello:
This seems like a simple question, but I looked through the API and couldn't
igure it out. How do you get the data type of a field? is there a way to
know from velocity if a field is a text field, number, date, etc?
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-get-property-data-type-tp7600548.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I am migrating my Debian server from Wheezy to Jessie to have the latest
xwiki stable version.
Tomcat 7.0.56
Apache 2.4.10
JAVA 8
At this moment I got some errors in catalina.out about the missing of the
file solr.xml.
How can I retrieve it ?
I look on the net without success, I reinstall the package xwiki-solr, but
this file do not came back.
root@CESAP-WIKI01:/var/lib/xwiki/data/solr# dpkg -l | grep wiki
rc xwiki-common 8.2.1 all
XWiki is a free wiki software platform written in Java with a design
emphasis
ii xwiki-enterprise-common 8.2.1 all
XWiki is a free wiki software platform written in Java with a design
emphasis
ii xwiki-enterprise-pgsql-common 8.2.1 all
XWiki is a free wiki software platform written in Java with a design
emphasis
rc xwiki-enterprise-tomcat-common 6.4.2+1 all
XWiki is a free wiki software platform written in Java with a design
emphasis
ii xwiki-enterprise-tomcat7-common 8.2.1 all
XWiki is a free wiki software platform written in Java with a design
emphasis
ii xwiki-enterprise-tomcat7-pgsql 8.2.1 all
XWiki is a free wiki software platform written in Java with a design
emphasis
ii xwiki-solr-data 8.2.1 all
XWiki is a free wiki software platform written in Java with a design
emphasis
root@CESAP-WIKI01:/var/lib/xwiki/data/solr#
Have you any idea ?
THanks a lot
Cordialement
Stéphane Lassire
Good afternoon all,
I upgraded from 8.1 to 8.2 and for some reason when I use the include or
display macro I now need to specify .WebHome at the end of every document I
want to pull in.
Most of the pages that are being pulled in are pages and not spaces, from
my understanding you only need to specify .WebHome if you pull from a space
but this does not seem to be the case.
Thanks in advance,
- Patrick
Hi,
I am trying to install xwiki (mysql) using the doc at:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
Here's the output:
http://paste.ubuntu.com/21810285/
Setting up tomcat7 (7.0.68-1ubuntu0.1) ...
Creating config file /etc/default/tomcat7 with new version
Adding system user `tomcat7' (UID 113) ...
Adding new user `tomcat7' (UID 113) with group `tomcat7' ...
Not creating home directory `/usr/share/tomcat7'.
Creating config file /etc/logrotate.d/tomcat7 with new version
Job for tomcat7.service failed because the control process exited with
error code. See "systemctl status tomcat7.service" and "journalctl
-xe" for details.
invoke-rc.d: initscript tomcat7, action "start" failed.
dpkg: error processing package tomcat7 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up xwiki-enterprise-common (8.2.1) ...
Setting up xwiki-enterprise-mysql-common (8.2.1) ...
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
Creating config file /etc/dbconfig-common/xwiki.conf with new version
Creating config file /etc/xwiki/hibernate.cfg.xml with new version
granting access to database xwiki for xwiki@localhost: success.
verifying access for xwiki@localhost: success.
creating database xwiki: success.
verifying database xwiki exists: success.
dbconfig-common: flushing administrative password
allow xwiki user to create new databases
dpkg: dependency problems prevent configuration of
xwiki-enterprise-tomcat7-common:
xwiki-enterprise-tomcat7-common depends on tomcat7; however:
Package tomcat7 is not configured yet.
dpkg: error processing package xwiki-enterprise-tomcat7-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of
xwiki-enterprise-tomcat7-mysql:No apport report written because the
error message indicates its a followup error from a previous failure.
xwiki-enterprise-tomcat7-mysql depends on
xwiki-enterprise-tomcat7-common (= 8.2.1); however:
Package xwiki-enterprise-tomcat7-common is not configured yet.
dpkg: error processing package xwiki-enterprise-tomcat7-mysql (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu3) ...No apport report
written because the error message indicates its a followup error from
a previous failure.
Processing triggers for systemd (229-4ubuntu7) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
tomcat7
xwiki-enterprise-tomcat7-common
xwiki-enterprise-tomcat7-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)
I need to migrate a Wiki in Filesystem attachment Store mode because I
have an existing wiki in which I need to import a big XAR file (>130MB)
The procedure is explained here
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments
"If you already have a wiki and want to take advantage of the Filesystem
Attachment Store, you should use the Filesystem Attachment Porter to move
your existing attachments onto the filesystem. "
but the script seem to have been removed a few days/weeks ago ...
http://extensions.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+…
How can I move from DB to FS ?
Regards,
Hi,
I have trouble renaming pages because of an old redirection on my 7.4.2
XWiki instance.
I'll try to summerize how it happened :
- First, a wiki page called "Framework" with a lot of subpages was
created.
- Then, the users wanted to rearrange the subpages so they created a copy
which they named Framework.new
- When they where happy with the new page, they renamed the initial
Framework page in Framework.old.
- Trying to rename Framework.new into Framework failed
My problem is that by default, when you rename a page (in this version of
XWiki at least), the checkbox "Redirect to new page" is checked,
effectivement creating a HTTP redirect when users are still using the old
link. I understand the advantage of this method : you can have the page
renamed without breaking the existing links.
But now Framework.new can't be renamed in Framework, as the
Framework.WebHome URL points to Framework.old.WebHome. Even if I remove
all the pages from Framework.old, I still can't rename it.
Is there a menu/velocity script to remove these redirections ?
Thanks in advance
In our class we have a computed field
It shows a Date and two numbers
- the date represents a observation date calculated based on the two numbers and date of birth.
- The two numbers are
-- 1 Years since birth
-- Months
- Together they represent Years + Months that a person reaches a certain milestone.
(example: The child started to grab objects at age 0 years and 6 months, the child started walking at age 4 years and 5 months)
We would like to see the following in our sheet:
View mode: the date as a non-editable value and the two numbers with their labels
Edit mode: only the two numbers with labels
Preferably we would like to use in our sheet $objectDoc.Display('computed field')
But when we use the values in Velocity as class.attribute.value.years
and class.attribute.value.months
But it looks like the requirement for $doc.display('') forces us to write html code in our computed field that we need to strip away when using the velocity.value?
Any suggestions...
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Hi everybody,
I've just got running a fresh new install of 8.2.1 in a Wildfly instance (9.0.x) with datasource and PostgreSQL. No problems until there, and nothing special in config settings other than the default ones.
However, as I try to create a new page (child or whatever) clicking on the "+" in any place, XE fires a NullPointerException. Here's the extract of the Stack Trace:
Error number 4001 in 4: Error while evaluating velocity template createinline.vm
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while evaluating velocity template createinline.vm
...
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [/templates/create.vm]
...
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getParameter' in class com.xpn.xwiki.web.XWikiServletRequest threw exception java.lang.NullPointerException at 284:/templates/create.vm[line 90, column 31]
...
Caused by: java.lang.NullPointerException
Am I missing something in configs?
Regards,
RAMON GOMES BRANDÃO
Fixed. Downloaded and imported manually. Chose the "replace" option.
Keith Davis (214) 906-5183 - I.T. Director
From: Keith Davis
Sent: Saturday, July 30, 2016 9:45 AM
To: 'XWiki Users'
Subject: Unknown macro: documentTree
I just upgraded to 8.2.1. I finally figured out how to fix my permissions issue (login as superadmin, no users were admins any longer, added all users, that part works fine now).
However, a number of panels don't work due to:
Unknown macro: documentTree
How would that be missing?
Keith Davis (214) 906-5183 - I.T. Director
I just upgraded to 8.2.1. I finally figured out how to fix my permissions issue (login as superadmin, no users were admins any longer, added all users, that part works fine now).
However, a number of panels don't work due to:
Unknown macro: documentTree
How would that be missing?
Keith Davis (214) 906-5183 - I.T. Director
Hello, this question has been asked, but I want to do something different:
can you change the columns being displayed from javascript? is the entire
funcionality of the livetable contained in javascript, or is it only a
rendering of the table?
I want to have a list of headings with a checkbox each, and when the user
checks a checkbox, that heading is included in the livetable.
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Refreshing-livetable-tp7600510.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
What is the best way of storing the attached files (Database Attachment Store or Filesystem Attachment Store)? Currently we store in the database, but already with a dump postgres in 17GB. I am in doubt about what is the best form of storage.
Thank you in advance.
Regards,Julio
Hi,
I'm doing tests with the 7.4.4 version, using the skin colibri. When I give right of access "program" to non-registered users, they gain the ability to manage the XWiki, anonymously.
I gave this kind of access that is occurring parsing error when I use the skin colibri. Codes velocity, for example, in XWiki Preferences not work.
In other words, there are two problems: anonymous users with the right management and errors in the execution of velocity codes.
Log:WARN org.xwiki.velocity.internal.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseContent] in 41:/skins/colibri/view.vm@25,47
Thank you in advance,Julio
Hello all,
I've just upgraded my XWiki to 8.2 and have set again the rights for
view and edit to XWikiGuest.
However, when I execute the velocity code included, hasEdit shows false
and, indeed, the attachments tab does not show the upload input button.
What have I made wrong?
Do I have a way to debug that?
Before the upgrade, that page was displaying the attachment box (but
somehow the upload was broken).
As a logged-in user inserting attachments works worry free. It really
seems to be a rights issue.
thanks in advance.
paul
The XWiki development team is proud to announce the availability of XWiki
8.2.
This release integrates CKEditor as the default WYSIWYG content editor. It
also features a redesigned default homepage, a tour on the homepage to
describe the XWiki user interface to newcomers, new default templates, a
new application index in the drawer and a new administration UI to help
manage available syntaxes. There are also minor improvements to the
template providers, the Flamingo skin and Ratings. For developers, we have
Livetable macro improvements and a long overdue change of behavior for the
getRenderedContent() method.
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/ReleaseNotesXWiki82
Thanks for your support
-The XWiki dev team
Hi,
i added the extension "AutoCompletion" via extension manager to my new
xwiki installation (version 8.1). When editing a new page with the
content editor no auto completion is available and even there is no
syntax highlighting.
Could you tell me, what have i done wrong?
Best regards
Alina
Hi all,
I have made an application with the following elements (with the default
language set to English)
* class
* sheet
* template
The class (bookSystemCode.bookClass) has these objects on it:
* XWiki.DocumentSheetBinding : XWiki.ClassSheet
* AppWithinMinutes.MetadataClass : books
* XWiki.ClassSheetBinding : bookSystemCode.bookSheet
The sheet (bookSystemCode.bookSheet) has these objects on it:
* XWiki.SheetClass : (empty)
* XWiki.SheetDescriptorClass : edit
The problem is that when I create a new XObject, fill the input fields
and save the XObject it does not save the answers I have given in the
input fields. This happens only when I open the XObject in another
language as the default language. In the default language it works as it
should.
I understand that the XObject is linked to the default document but when
done with AppWithinMinutes this change of language and saving the input
works nicely.
Can you give me a hint of what I am doing wrong here? Am I forgetting
something?
Thanks in advance
Jan-Paul
---
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
https://www.avast.com/antivirus
Hello:
I have a page that is the parent document of a space. I want to display on
that page a livetable of all the sub documents in that space. I already put
the code there, but the livetable also displays the WebHome page, wich is
the parent itself. How do I hide the WebHome page from the livetable?
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/excluding-WebHome-from-space-directory-li…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am trying to figure out how to display a vertical menu within a page. I was playing around with the Menu Macro and I can get it to work just fine in a panel, but in a page, only the horizontal menu hides the sub items until the main item is expanded. With the Vertical, it simply displays all items.
Any thoughts on this would be appreciated.
Paul Pinkerton
KnowledgeNow Project/ ACLCO
I'm trying to list the children of the current page. According to this post:
http://lists.xwiki.org/pipermail/users/2015-December/031639.html, I believe
this should work, but all I get is "No pages found":
{{velocity}}
{{documentTree root="$doc.documentReference" /}}
{{/velocity}}
If I use {{velocity}} $doc.documentReference {{/velocity}}, the correct
value is returned.
Can anyone tell me what I'm doing wrong or if there is a better way to list
all the children of the current page?
Thanks,
Jared
--
View this message in context: http://xwiki.475771.n2.nabble.com/Trying-to-use-doc-documentReference-as-th…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Sorry if this topic has been already exposed but I was unable to find any
reference in any past emails.
We have a 7.4 xwiki installation with multiple subwikis and we want to
install Menu Application for every wiki. I just launched a farm
installation from Principal wiki and everything seems to work fine but we
have found an strange issue.
If user has permissions in the last subwiki where Menu Application has been
installed he's able to see menu with styling. However, if another user has
only permission to an specific wiki (i.e. local user) he can see the menu
but no styling is applied.
After some browser debugging we have found that Menu Application is making
this call for EVERY subwiki.
<DOMAIN>/xwiki/wiki/<SUBWIKI>/ssx/Menu/MenuMacro?language=en&colorTheme=xwiki%3AFlamingoThemes.Charcoal
The SUBWIKI param is always the same and matches the last subwiki where
Menu Application has been installed.
Is there any way to make this call like this:
<DOMAIN>/xwiki/wiki/<CURRENT_SUBWIKI>/ssx/Menu/MenuMacro?language=en&colorTheme=xwiki%3AFlamingoThemes.Charcoal
Thanks in advance!
Hi xwiki team,
i get big white spaces around my images in the exported pdfs, after
making the images smaller on our wiki pages.
I tried changing the margin, padding, and the border size of the images
in the css (used for the pdf export) but that didn't change anything.
The background of the image in the exported pdf is bigger than the image
itself (i changed the background color for evaluation).
Best regards
Alina
These are the steps that worked for me installing XWiki on Ubuntu Server 16.04.01 LTS with Jetty and Postgres. I have double checked most of these steps, but not all of them so your mileage may vary.
This is my first time installing the WAR version of XWiki and I've had quite a bit of help getting this far. I'd appreciate any feedback from more experienced installers if they see issues with my process.
- Jared
Please note that Postgres Installed with the initial Ubuntu installation
Install Java
-----------
sudo apt-get update
sudo apt-get install default-jdk
Edit /etc/environment
Add JAVA_HOME=/usr/bin/java
Install Jetty
-----------
sudo apt-get install jetty9
Edit /etc/default/jetty9 to set the JVM parameters
JAVA_OPTIONS="-server -Xms800m -Xmx1048m -Dfile.encoding=utf-8 -Djava.awt.headless=true -XX:+UseParallelGC -XX:MaxGCPauseMillis=100"
Install & Configure XWiki
------------------------
Download the current WAR
wget http://download.forge.ow2.org/xwiki/xwiki-enterprise-web-8.1.war
Expand the WAR to the XWiki root
cd /usr/share/jetty9/webapps/root
sudo rm *
sudo jar -xvf <path to war>/xwiki-enterprise-web-8.1.war
Configure the Permanent Directory
----------------------------------
sudo mkdir /var/local/xwiki
sudo chown jetty:adm /var/local/xwiki
Edit /usr/share/jetty9/webapps/root/WEB-INF/xwiki.properties
Uncomment # environment.permanentDirectory=/var/local/xwiki/
Configure xwiki as the the JVM root
-----------------------------------
Edit /usr/share/jetty9/webapps/root/WEB-INF/xwiki.cfg (Note that this is a different config file than xwiki.properties)
Uncomment # xwiki.webapppath=
Configure xwiki to use the filesystem for attachments
----------------------------------------------------
Edit /usr/share/jetty9/webapps/root/WEB-INF/xwiki.cfg
Uncomment the following lines and change hibernate to file
# xwiki.store.attachment.hint=hibernate
# xwiki.store.attachment.versioning.hint=hibernate
# xwiki.store.attachment.recyclebin.hint=hibernate
New Values:
xwiki.store.attachment.hint=file
xwiki.store.attachment.versioning.hint=file
xwiki.store.attachment.recyclebin.hint=file
Edit /usr/share/jetty9/webapps/root/WEB-INF/hibernate.cfg.xml to use Postgres
------------------------------------------------------------------------------
Comment out default database
Uncomment Postgres section (don't forget to remove the closing comment line from the Postgres section)
Install the Postgres JDBC Driver
-------------------------------
cd /usr/share/jetty9/webapps/root/WEB-INF/lib
sudo wget https://jdbc.postgresql.org/download/postgresql-9.4.1208.jar
Set the ownership on the xwiki directory
---------------------------------------
cd /usr/share/jetty9/webapps/
sudo chown -R jetty:adm root
Configure Postgres
-------------------
sudo -u postgres psql
psql (9.5.3)
Type "help" for help.
postgres=# CREATE DATABASE xwiki
postgres-# WITH OWNER = postgres
postgres-# ENCODING = 'UNICODE'
postgres-# TABLESPACE = pg_default;
CREATE DATABASE
postgres=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+----------+----------+-------------+-------------+-----------------------
postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
xwiki | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
(4 rows)
postgres=# \connect xwiki
You are now connected to database "xwiki" as user "postgres".
xwiki=# CREATE USER xwiki PASSWORD 'xwiki' VALID UNTIL 'infinity';
CREATE ROLE
xwiki=# \du
List of roles
Role name | Attributes | Member of
-----------+------------------------------------------------------------+-----------
postgres | Superuser, Create role, Create DB, Replication, Bypass RLS | {}
xwiki | Password valid until infinity | {}
xwiki=# GRANT ALL ON SCHEMA public TO xwiki;
GRANT
xwiki=# \q
Optional - Configure redirection from 80 to 8080
------------------------------------------------
sudo iptables -A PREROUTING -t nat -p tcp --dport 80 -j REDIRECT --to-port 8080
sudo apt-get install iptables-persistent
sudo bash -c "iptables-save > /etc/iptables/rules.v4" to save future changes
Restart Jetty to apply changes since the initial installation
--------------------------------------------------------
sudo systemctl restart jetty9
> I apologize for the vague topic description. I have been trying to install
> XWiki on a freshly installed Ubuntu server running 14.04 for a few days and
> am just getting pulled in all sorts of directions when it comes to
> installation and am just getting a little agitated.
>
> I am relatively new to Ubuntu in general. I am just looking for a guide to
> install the newest version of XWiki Enterprise on Ubuntu Server 14.04 using
> what I believe would be a .WAR install. (I want to avoid the stand-alone
> installer since it is not recommended on production.)
>
> All guides that I have found seem to breeze thru the installation process
> and jump right into "Getting Started using the software". I am still stuck
> on the actual installation and cannot seem to follow the guide without
> getting thrown off by a step that makes absolutely no sense.
>
> If someone could please point me in the right direction, it would be greatly
> appreciated.
Hello,
I would like to disable registration so wiki accounts must be created by an admin. I followed the instruction on this page: http://lists.xwiki.org/pipermail/users/2016-February/032129.html to only have Register checked for the XWikiAdminGroup, but users are still able to register and log in. I can't find the Guest user to remove the Registration right from that user as well. Does the Guest user still exist in 8.1 and is that still the correct way to disable registration?
I would also like to display the default skin on the login page. This page http://lists.xwiki.org/pipermail/users/2011-July/020305.html recommended allowing unregistered users to view the default skin, but I have checked "Prevent unregistered users from viewing pages, regardless of the page or space rights" on the Administration: Rights page which seems like it will override any permissions I set on the default skin. The page that looks like it should be the right one is bin/view/XWiki/DefaultSkin, but clicking on the sprocket only gives me the option to "Administer Parent". Is there a way to enable the default skin for the login screen while still disabling unregistered users to view anything other than the login screen?
Thanks,
Jared
Hi,
i used the "include" macro to include pages and sections in a new page,
but the images that where attached in the included pages/sections are
not displayed. Instead the image names are shown.
Our "include" marco has version 8.1, like the Xwiki version. I found the
ticket http://jira.xwiki.org/browse/XWIKI-6196 that describes my
problem. But this should be fixed since version 3.0. Is there any
solution for the problem or do i have to use the workaround that is
mentioned in the ticket?
Best regards and thanks in advance!
Alina
Setting the permanent directory resolved the issue with the Distribution Wizard. Sorry I missed your answer the first time you sent it.
Thanks again for the help getting us up and running.
- Jared
> Vincent,
>
> You are my hero. I was editing the JVM settings in /usr/share/jetty9/bin/jetty.sh, but they were not being used. Once I applied them to /etc/default/jetty9 the memory errors disappeared. I tested on the current install and then built the whole server from scratch and the Distribution Wizard finished without any errors and I've been able to work in the wiki without any issues. The performance is on par with the standalone instance as well.
>
> The only piece that doesn't seem to be working right is the Distribution Wizard still starts every time I start XWiki. Is there something I need to do so that doesn't happen?
Actually I answered that question in the previous mail I sent you.
"Indeed that’s not the normal behavior ;)
The only reason I can think of is that you’ve not configured the xwiki permanent directory location and it’s using some temporary directory by default and for some reason you’re clearing that directory every time before restarting XWiki.
“
Have you checked the permanent dir location?
Thanks
-Vincent
> Thanks again for the help.
>
> - Jared
Hi,
I am having problems getting the index application in tableview to show any pages. I am not sure when this happened but uninstalling and re-installing the Index application both using the extension manager and manually appears to have not fixed the issue. Checking Tree, Attachments, Deleted Pages and Deleted Attachments they all appear to be working fine.
The URL it is going to is /xwiki/bin/view/Main/AllDocs
Is there anything else I can try to get the page working?
Regards
Please consider the environment before printing this e-mail.
-------------------------------------------------------------------------------------
Zenith Insurance Management UK Limited is an appointed service provider to Zenith Insurance Plc and is not an Agent of Zenith Insurance Plc.
Markerstudy Limited is an appointed service provider to Markerstudy Insurance Company Limited and is not an Agent of Markerstudy Insurance
Company Limited. Zenith and Markerstudy are part of the Markerstudy Group of Companies.
Zenith Insurance Management UK Limited registered in England and Wales (No. 5678970) with registered office at Chester House, Harlands Road,
Haywards Heath, West Sussex RH16 1LR. Authorised and regulated by the Financial Conduct Authority (No. 429279)
Markerstudy Limited registered in England and Wales (No. 5678970) with registered office at Markerstudy House, 45 Westerham Road, Sevenoaks,
Kent TN13 2QB. Authorised and regulated by the Financial Conduct Authority (No. 312214)
Any views and opinions expressed in this e-mail are solely those of the author and do not necessarily represent those of the Markerstudy Group
of Companies. This message (and any attachments) contains information that may be confidential and protected from disclosure by law and if you
are not the intended recipient you must not retain, copy, distribute or take any action in reliance on it, nor disclose all or part of its
content to any other individual or entity.
Markerstudy Group of Companies uses reasonable endeavours to virus scan all electronic communications leaving the organisation but no warranty
is given that this communication and any attachments are virus free. You should undertake your own virus checking.
-------------------------------------------------------------------------------------
This email message has been scanned for viruses by Mimecast.
Mimecast delivers a complete managed email solution from a single web based platform.
For more information please visit http://www.mimecast.com
-------------------------------------------------------------------------------------
Vincent,
You are my hero. I was editing the JVM settings in /usr/share/jetty9/bin/jetty.sh, but they were not being used. Once I applied them to /etc/default/jetty9 the memory errors disappeared. I tested on the current install and then built the whole server from scratch and the Distribution Wizard finished without any errors and I've been able to work in the wiki without any issues. The performance is on par with the standalone instance as well.
The only piece that doesn't seem to be working right is the Distribution Wizard still starts every time I start XWiki. Is there something I need to do so that doesn't happen?
Thanks again for the help.
- Jared
Thanks for the suggestions.
I tried removing the garbage collection parameters but still got the out of memory errors so I tried removing all the Java parameters and got the same behavior.
Vincent, I started with "-Xmx1024m" but increased it to 2048m after getting the out of memory errors and reading the page you referenced (http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HMemory). I also used the parameters and values that page referenced as what is used on the xwiki.org site.
The other odd thing is that every time I restart Jetty, the Distribution Wizard starts. This is my first experience with the Distribution Wizard, but I'm guessing that isn't the expected behavior. It even starts up when I restart Jetty before running into the out of memory errors.
I probably also should have mentioned that the VM I'm trying to run xwiki on is configured with 8GB of memory and 4 vCPUs.
Any other suggestions for how to get a stable installation running?
Thanks,
Jared
This is the most recent error I got during testing this morning:
2016-07-19 07:56:20,847 [http://nhhqwiki01:8080/xwiki/bin/view/Infrastructure/Policies%2C+Process%2C…] ERROR o.x.v.i.DefaultVelocityEngine - Exception in macro #template called at 12:/skins/flamingo/view.vm[line 9, column 1]
2016-07-19 07:56:20,848 [http://nhhqwiki01:8080/xwiki/bin/view/Infrastructure/Policies%2C+Process%2C…] ERROR c.x.x.XWiki - Error while evaluating velocity template [endpage.vm]
org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [/skins/flamingo/view.vm]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:227)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:726)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1896)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1874)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:822)
at sun.reflect.GeneratedMethodAccessor221.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:726)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1896)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:449)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:193)
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:622)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'parseTemplate' in class com.xpn.xwiki.api.XWiki threw exception java.lang.OutOfMemoryError: GC overhead limit exceeded at /templates/macros.vm[line 20, column 8]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:261)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
... 79 common frames omitted
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
When our user use the wysywig editor to insert a image
And the user chooses to upload the image from computer
The system will attach the image to the current $doc
But it will insert a link [[image:xxxxx.xxx]] where xxxxz.xxx is the attached filename.
This works fine when page is visited.
But when in BLOG or using {{include reference='docWithImage'/}}
It can not find the link and show the according 'can not find image' icon
Is it possible to automatically insert a image as [[image:wiki:space.page@xxxxx.xxxx]] (is this called extended reference to attached image])
Same for any attached file where user chooses to add a link to attachment (PDF, .doc, .xls)
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Hi everybody,
I've tried the whole afternoon (including checking the source code of the
corresponding java files) but I was unable to resolve my problem by myself.
What have I done:
* I've created a XWiki instance and I'm running 4 or 5 separate wikis there.
* I've set up mail sending in the "main" section to test some features
* The mails are sended and are received by the testclient
So far no problem. But if I'm looking into the console output I've got the
strange exception with an error level there and I'm not able to solve it:
2016-07-18 19:41:52,401 [Mail Sender Thread] ERROR
o.x.m.i.t.SendMailRunnable - Unexpected error in the Mail Sender Thread
java.lang.IllegalArgumentException: An Entity Reference name cannot be null
or empty
at
org.xwiki.model.reference.EntityReference.setName(EntityReference.java:187)
at
org.xwiki.model.reference.EntityReference.<init>(EntityReference.java:172)
at
org.xwiki.model.reference.EntityReference.<init>(EntityReference.java:143)
at
org.xwiki.model.reference.WikiReference.<init>(WikiReference.java:61)
at
org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.
getCurrentWikiReference(AbstractDocumentConfigurationSource.java:185)
at
org.xwiki.mail.internal.configuration.SendMailConfigClassDocumentConf
igurationSource.getDocumentReference(SendMailConfigClassDocumentConfigurationSou
rce.java:68)
at
org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.
getCacheKeyPrefix(AbstractDocumentConfigurationSource.java:122)
at
org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.
getPropertyValue(AbstractDocumentConfigurationSource.java:306)
at
org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.
getProperty(AbstractDocumentConfigurationSource.java:301)
at
org.xwiki.mail.internal.configuration.DefaultMailSenderConfiguration.
getSendWaitTime(DefaultMailSenderConfiguration.java:313)
at
org.xwiki.mail.internal.thread.SendMailRunnable.waitSendWaitTime(Send
MailRunnable.java:177)
at
org.xwiki.mail.internal.thread.SendMailRunnable.runInternal(SendMailR
unnable.java:108)
at
org.xwiki.mail.internal.thread.SendMailRunnable.run(SendMailRunnable.java:74)
at java.lang.Thread.run(Unknown Source)
as far as I understand the message it tells me, that a mandatory property is
missing, should be the waitSendWaitTime property.
In my mail configuration I've overridden the Send Wait Time, addtionally
I've uncommented the property:
mail.sender.sendWaitTime=8000
in the xwiki.properties file.
Unfortunately the error keeps occuring.
Best regards and thanks in advance,
Heiko
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-mail-configuration-sendWaitTime-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi good folks,
Is there a way to save a page using javascript?
I read the XWiki JavaScript API but could not find this functionality.
Thanks in advance,
Jan-Paul
---
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
https://www.avast.com/antivirus
Hello,
I've been trying to get xwiki running for almost a week and keep running into memory errors. I was finally able to get through the Distribution Wizard without having to restart Jetty due to out of memory errors, but am still getting the errors when I try to do almost anything in the wiki. The standalone installer works great and is much more responsive but I would like to use Postgres for the database.
Any suggestions for what I can do to get xwiki to stop the out of memory errors?
Thanks,
Jared
Here's my current config:
OS: Ubuntu 16.04.1 LTS fully patched
Java:
- openjdk version "1.8.0_91"
- OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14)
- OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
Jetty: 9.2.14.v20151106
- JAVA_OPTIONS="-server -Xms800m -Xmx2048m -XX:MaxPermSize=222m -Dfile.encoding=utf-8 -Djava.awt.headless=true -XX:+UseParallelGC -XX:MaxGCPauseMillis=100"
Database: PostgreSQL 9.5.3
JDBC Driver: postgresql-9.4.1208.jar
Here are the most recent errors that occurred when I tried to edit my first page:
2016-07-18 18:26:29,335 [http://nhhqwiki01:8080/xwiki/bin/view/Infrastructure/] ERROR c.x.x.XWiki - Error while evaluating velocity template [exception.vm]
org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [/templates/exception.vm]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:227)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:726)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1896)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:88)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:507)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:193)
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:622)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'parseTemplate' in class com.xpn.xwiki.api.XWiki threw exception java.lang.OutOfMemoryError: GC overhead limit exceeded at /templates/macros.vm[line 20, column 8]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:261)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
... 51 common frames omitted
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
2016-07-18 18:26:30,809 [http://nhhqwiki01:8080/xwiki/bin/view/Infrastructure/] ERROR o.i.ObservationContextListener - Can't find any begin event corresponding to [class org.xwiki.bridge.event.ActionExecutedEvent (view)]
2016-07-18 18:26:30.810:WARN:oejs.ServletHandler:http://nhhqwiki01:8080/xwiki/bin/view/Infrastructure/: Error for /xwiki/bin/view/Infrastructure/
java.lang.OutOfMemoryError: GC overhead limit exceeded
DearThomas,
Thanks for your reply.
I would like to name my wiki *Emirates WikiLaw*.
Francesca
2016-07-17 12:00 GMT+02:00 <users-request(a)xwiki.org>:
> Send users mailing list submissions to
> users(a)xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xwiki.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)xwiki.org
>
> You can reach the person managing the list at
> users-owner(a)xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. saving a page using javascript (Jan-Paul Kleijn)
> 2. Re: new wiki request (Thomas Mortagne)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 16 Jul 2016 15:58:34 +0200
> From: Jan-Paul Kleijn <email(a)biggee.nl>
> To: XWiki Users <users(a)xwiki.org>
> Subject: [xwiki-users] saving a page using javascript
> Message-ID: <547b99a1-3aa0-4b8f-60f9-3349445be899(a)biggee.nl>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Hi good folks,
>
> Is there a way to save a page using javascript?
>
> I read the XWiki JavaScript API but could not find this functionality.
>
> Thanks in advance,
>
> Jan-Paul
>
>
> ---
> Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
> https://www.avast.com/antivirus
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 16 Jul 2016 19:21:41 +0200
> From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
> To: XWiki Users <users(a)xwiki.org>
> Subject: Re: [xwiki-users] new wiki request
> Message-ID:
> <
> CAPnKnLGEOSGdKU6Q+2WJH+dLzPX-R-CvKUrphQ9tjAYOWwfWDw(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> What name do you want for your wiki ?
>
> On Thu, Jul 14, 2016 at 5:12 PM, francesca borghi
> <comitem.itea(a)gmail.com> wrote:
> > Dear Users,
> > I am Francesca Borghi, registered with the name of Comitem.
> > I aim at using xwiki to create a new collaborative platform to develop
> > content concerning trade law of the United Arab Emirates.
> > The objective of this platfomr is spreading knowledge on the Emirate law
> > without mediation of the commercial institutions, but by peer to peer
> > interaction.
> >
> > Sincerely
> > Francesca Borghi
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> ------------------------------
>
> End of users Digest, Vol 108, Issue 21
> **************************************
>
I'm using the 7.4.4 version of XWiki. Does anyone know how to operate the Velocity codes in "HTTP Meta Info"?
With the flamingo skin, this work, but with colibri skin not working
When I give the right "program" one of the XWiki groups, it works.
I saw the following error in the log:
WARN org.xwiki.velocity.internal.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseContent] in 30:/skins/colibri/view.vm@25,47
Result in user browser:
#if($doc.fullName != "XWiki.XWikiLogin")<link rel="alternate" type="application/rss+xml" title="Wiki Feed RSS" href="$xwiki.getURL('Main.WebRss', 'view', 'xpage=rdf')" /><link rel="alternate" type="application/rss+xml"
Regards,Julio
rs. It is the same behavior
> with strikethrough word.
> > Any ideas how
> to fix it?
> >
> > With
> Xwiki 8.1, WYSIWYG Editor is loading anymore.
>
> Regarding XWiki 8.1, make sure
> you force clear you browser cache.
I did it.
But i copy/paste example from http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#… (probably working with "old" WYSIWYG editor only).
>
> Also note that starting with XWiki 8.2RC1, CK
> is now the default editor and you may want to try it out and
> verify how it works in it.
Ok then I must looking for a nice example to use new CKeditot
Thxs
Hi,
I found 2 differents bugs on WYSIWYG Editor Module.
I copy/paste "Load on demand using velocity macros" example:
http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#…
On Xwiki 7.0.1, I load the WYSIWYG Editor, I type some words in WYSIWYG tab, I underline a word and select source tab => a end of line is inserted before __ characters. It is the same behavior with strikethrough word.
Any ideas how to fix it?
With Xwiki 8.1, WYSIWYG Editor is loading anymore.
Thxs.
Pascal B
Hi,
I found 2 differents bugs on WYSIWYG Editor Module.
I copy/paste "Load on demand using velocity macros" example:
http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#…
On Xwiki 7.0.1, I load the WYSIWYG Editor, I type some words in WYSIWYG tab, I underline a word and select source tab => a end of line is inserted before __ charcters. It is the same behavior with strikethrough word.
Any ideas how to fix it?
With Xwiki 8.1, WYSIWYG Editor is loading anymore.
Thxs.
Pascal B
Dear Users,
I am Francesca Borghi, registered with the name of Comitem.
I aim at using xwiki to create a new collaborative platform to develop
content concerning trade law of the United Arab Emirates.
The objective of this platfomr is spreading knowledge on the Emirate law
without mediation of the commercial institutions, but by peer to peer
interaction.
Sincerely
Francesca Borghi
hello:
Trying to get a livetable with custom JSON working. I read through the
documentation, but the section that explains about the custom JSON is a bit
terse. I see that the returned JSON has a field $request.reqNo, but it
doesn't explain what it means. Is there a more complete explanation on what
the JSON handler gets in the request?
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/custom-JSON-for-livetable-tp7600351.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello everyone:
I have noticed that top level pages remain visible even when setting to
"hidden". Is this standard behavior, or is it some kind of bug? or am I not
doing something right? version 8.0
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Top-level-pages-visible-even-when-hidden-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Please, how to include a panel within a page?
I tried to use the line below but did not work.
{{Include reference = "Blog.RecentPostsPanel" context = "new" /}}
Thank you in advance,Julio
Hi XWikiers,
We need your help in testing 8.2-RC1 in order to have the best quality for
the 8.2 final release.
You can download from
http://www.xwiki.org/xwiki/bin/view/Download/DownloadVersion/?projectVersio…
The release of version 8.2 was planned for 18 Jul, but we want to delay it
by a week in order to have the maximum time to test the new features.
There are a lot of improvements, you might like and be interested in:
- CKEditor Becomes the Default WYSIWYG Editor
- New Homepage
- New Tour for the Homepage
- Application Index, Template improvements, Livetable improved filtering,
available syntaxes configuration and many others. You can read a partial
release note at
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki82
Issues found can be reported on http://jira.xwiki.org/browse/XWIKI
Thank you,
Caty
Hi,
I`m sharing with you the addition of a new article on xwiki.org's blog:
"Updating the XWiki UI using a bit of JavaScript and Velocity code"
by Oana Tabaranu
http://www.xwiki.org/xwiki/bin/view/Blog/Updating+the+XWiki+UI+using+a+bit+…
It is a quick tutorial, exemplifying how you can use a bit of JavaScript
and Velocity coding to update certain parts of XWiki's (or your
application's) User Interface on the fly (without reloading the entire
page). For more info on the topic, make sure to follow the links at the
bottom of the article or feel free to ask here and either Oana or anyone
else from the community with the knowledge should help you out.
Reminder:
If you have something XWiki-related that you would like to share on
xwiki.org's blog, please see my previous mail on how you can easily do that:
http://xwiki.markmail.org/thread/r4r4celltmdprqia
Thanks,
Eduard
Hi,
Does anyone know why an unregistered user (not logged in) receives rights to manage the wiki when I give permission program for it?
I'm using version 7.4.4
Regards,Julio
Hello:
I have a problem. I created an XClass with personal info (name, address
etc); but instead of attaching one XObject to many pages (1 to 1), I have
attached many objects of the same class to one single page (an array of
xobjects if you will). Is it possible to query the xobjects for a particular
name, and have the query return an xobject, instead of the name of the page?
the name of the page does me no good, because I still have to search through
the objects...
doing:
#set( $hql = "select obj.name from BaseObject obj where obj.className =
'$class.name'" )
returns a list containing the same page over and over, instead of a list of
xobjects.
Can this be done?
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/hql-query-returning-objects-tp7600307.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
How can i come back to the initial state of my xwiki space ?
... Seem i have deleted the administration pages in my first tries !!!
Thanks for your help.
Paule Bouton
paulebouton(a)gmail.com <mailto:paulebouton@gmail.com>
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
The XWiki development team is proud to announce the availability of XWiki
8.2 Release Candidate 1.
This release integrates CKEditor as the default WYSIWYG content editor and
adds a *tour* on the home page to describe the XWiki user interface to
newcomers.
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/ReleaseNotesXWiki82RC1
The following people have contributed code to this release (sorted
alphabetically):
Alexandru Cotiuga
Anca Luca
Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Marius Dumitru Florea
Raluca Stavro
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
You can use this code:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsfr…
"## if you have more than one object on a page, you will have to loop over them and use "$doc.use""
Pascal BASTIEN
--------------------------------------------
En date de : Mer 13.7.16, Thomas Mortagne <thomas.mortagne(a)xwiki.com> a écrit :
Objet: Re: [xwiki-users] hql query returning objects?
À: "XWiki Users" <users(a)xwiki.org>
Date: Mercredi 13 juillet 2016, 7h56
On Tue, Jul 12, 2016 at
7:03 PM, dullfig <dan.u(a)grmcompany.com>
wrote:
> Hello:
>
> I have a problem. I created an XClass with
personal info (name, address
> etc); but
instead of attaching one XObject to many pages (1 to 1), I
have
> attached many objects of the same
class to one single page (an array of
>
xobjects if you will). Is it possible to query the xobjects
for a particular
> name, and have the
query return an xobject, instead of the name of the page?
> the name of the page does me no good,
because I still have to search through
>
the objects...
>
>
doing:
>
> #set( $hql
= "select obj.name from BaseObject obj where
obj.className =
>
'$class.name'" )
>
> returns a list containing the same page
over and over, instead of a list of
>
xobjects.
>
> Can this
be done?
You can't
directly get an XObject from a hql request but you can
get
enough information to get the object
from the document.
obj.name is indeed the
name of the page, you already know the class
name so what is missing for you is the
obj.number.
Then you can
do
$xwiki.getDocument($name).getObject($classs.name,
$number)
>
>
> Dan
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.com/hql-query-returning-objects-tp7600307.html
> Sent from the XWiki- Users mailing list
archive at Nabble.com.
>
_______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello,
We have a small problem with the attachements displayed on pages.
Let’s say we have a file named « test.xls » in attachement of a page. For
this file, we have made 3 modifications.
We can see « 1.1 », « 2.1 », « 3.1 » in the versioning tab and we can
download them without problem from that place.
But in the attachments tab, we have only the first release (with « 1.1 »
just next to it to confirm it).
Is it possible to show the last revision or version of a file in the
attachements ?
If it’s necessary, this is xwiki 8.0 and the attachments are stored in the
filesystem.
Thank you.
--
DanIel
Who has mapped the flamingo-colortheme on the skin-div's?
Or is this documented anywhere ?
what is default styled with Brand-primary, Brand-success, Brand-info, Brand-warning, Brand-danger
what is @Component-active-color and @Component-active-bg
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Hello:
I was wondering, if a page calls itself as a JSON provider, is the context
preserved? or do I need to pass information to itself in the query string?
the way I have it call itself is that, if the query string is empty, it
assumes you want to display the page, but if the query string has
parameters, it assumes it needs to return JSON.
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Page-calling-itself-as-JSON-source-tp7600…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Like described in http://jira.xwiki.org/browse/XWIKI-13348 I get a red
line on VoidAttachmentVersioningStore.
I have double-checked the configuration (those three lines in xwiki.cfg).
Could someone give a hand ? Is it safe to run the backup script like
this anyway ?
PS: I've also attached a screenshot of the error in the issue
Thanks
The site http://waihonapedia.myxwiki.org/ has had it's purpose and is obsolete now.
Waihona (Main.WebHome) - XWiki<http://waihonapedia.myxwiki.org/>
waihonapedia.myxwiki.org
WaihonaPedia. Deze website is verplaatst. Ga naar WaihonaPedia. Deze site zal na ongeveer 6 maanden worden uitgezet, dus pas uw bookmarks die nog naar deze site ...
I request to delete the site? If I can do this myself, please instruct?
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
All,
I’m having an issue, which precludes me from deploying xwiki to my company.
I create a page with the title “Getting Started”, the link to that page is now: xwiki/wiki/development/view/Getting%2BStarted/
When I follow the link, wiki states “The requested page could not be found.”
I cannot edit or delete this page.
Assistance is appreciated
--
Jason
I am using xwiki version 7.4.4, doing a war install.
I do use nginx infront of tomcat, but it is strictly for a reverse proxy and SSL.
here is my nginx config.
server {
listen 80;
server_name wiki.mydomain.com;
rewrite ^ https://$server_name$request_uri? permanent;
}
server {
listen 443;
server_name wiki.mydomain.com;
root /opt/tomcat/webapps/xwiki;
ssl on;
ssl_certificate /etc/nginx/ssl/cert.crt;
ssl_certificate_key /etc/nginx/ssl/key.key;
ssl_session_timeout 5m;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES";
ssl_prefer_server_ciphers on;
if ($scheme = http) {
return 301 https://$server_name$request_uri;
}
location / {
rewrite ^ $scheme://$server_name/xwiki$request_uri? permanent;
}
location ^~ /xwiki {
# If path starts with /xwiki - then redirect to backend: XWiki application in Tomcat
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://localhost:8080/xwiki;
}
}
>
> Hi Jason,
>
>> On 07 Jul 2016, at 02:05, Jason Rasberry <jason.rasberry(a)with.me> wrote:
>>
>> All,
>>
>> I?m having an issue, which precludes me from deploying xwiki to my company.
>>
>> I create a page with the title ?Getting Started?, the link to that page is now: xwiki/wiki/development/view/Getting%2BStarted/
>> When I follow the link, wiki states ?The requested page could not be found.?
>> I cannot edit or delete this page.
>
> XWiki supports spaces in page names (unless you?re using a very very old version of XWiki). What version of XWiki are you using?
>
> In the URL you gave above I see %2B which is the encoding for ?+?. The encoding for space is%20 so that looks strange.
>
> Could you have some web server front end (apache, nginx, etc) that modifies the URL and replaces the space with a ?+??
>
> Thanks
> -Vincent
>
>> Assistance is appreciated
>> --
>> Jason
>>
>
>
Hello,
My purpose is using unsupported language in XWiki for my XWiki interface
language for Users of my site who use the unsupported language.
My first aim is Japanese language.
However, I am not sure that I can translate all of words for XWiki
interface, so I firstly just want to try to translate some interfaces words
which will be used for basic usage like editing and post an article and post
a comment for it.
I already installed XWiki enterprise 8.1 for tomcat8 and postgre sql by
Debian package install to Ubunch16 vps server.
I read the page below and I tried the steps of “Translate and test an
ApplicationResources file"
http://l10n.xwiki.org/xwiki/bin/view/L10N/AddALanguage
I copied codes of ApplicationResources.properties in the link
(https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…)
and changed some words for testing translation works or not in that way.
For example,
line 97 “preview=Preview” to “preview=aaaaaa"
line 984 “core.viewers.comments.preview.button.preview=Preview“ to
"core.viewers.comments.preview.button.preview=aaaaa”
line 2363 “xe.userdirectory.customizePreviewTitle=Preview” to
“xe.userdirectory.customizePreviewTitle=aaaaaaa”
After that, I stopped tomcat8.
Then, I made file named “ApplicationResources_jp.properties” in
“/usr/lib/xwiki/WEB-INF/classes” directory.
I started tomcat8 and accessed my xwiki site and changed SUPPORTED LANGUAGES
to jp, DEFAULT LANGUAGE to jp and saved localization setting.
However, I could not see interface language is translated.
I see Preview buttons shows “Preview” letters, not “aaaa”.
I would like to know what step I am doing wrong.
I am new to XWiki and web development, so I may be missing some steps.
Thank you for your help in advance.
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-test-new-language-translation-for-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello
I want to add an Object to a side, but I didn't get the Dropdown menu when I
click the edit-button. So when I press the edit button the wiki routes me
directly to the Text-Editor.
Do I Need some plugin for that?
Thanks for helping.
Regards Patrick
--
View this message in context: http://xwiki.475771.n2.nabble.com/Can-t-add-Objects-tp7600230.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'm writing a migration script that requires to move the attachment(s) from the old-page to the new page.
Any suggestions?
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Are there a simple (or recommanded) way to redirect user to another page (in edit mode) when he edit a page?
Thxs
...
>
--------------------------------------------
> En date de : Jeu 30.6.16, Pascal BASTIEN
<pbasnews-xwiki(a)yahoo.fr>
a écrit :
>
> Objet:
force edit inline and redirect
> À:
"XWiki Users" <users(a)xwiki.org>
> Date: Jeudi 30 juin 2016, 12h08
>
> Hi xwiki citizen,
>
> I try to redirect to
another page users when they edit a
>
page...
>
> Then I
use this velocity code in my origin page:
>
> #if
($xcontext.action=='edit')
>
>
$response.sendRedirect($xwiki.getURL('MySpace.MaTargetPage',
> 'edit'))
> #stop
>
#end
>
> Redirect (to
MyOriginPage in edit mode) working well if user
> open MyOriginPage in inline mode:
> aka
/bin/edit/MySpace/MyOriginPage?editor=inline
>
> But my users are
"simple user" then I try to force inline
> mode when they click on 'Edit'
>
> What I tested is:
add an XWiki.SheetClass object to
>
"MyOriginPage" with "Default Edit
Mode"=inline ...
> but I have a
very strange behaviour: it's working only
> for "Admin" user :-(
>
> With simple user,
when I 'Edit' my Page, I obtain target
> Page with all xwiki menu INSIDE editor
like this ugly
> things
> https://snag.gy/SrkIua.jpg
>
> If someone have an
idea...
> Thxs
>
> Pascal B
>
>
>
>
>
_______________________________________________
> users mailing list
>
users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
I am looking to have a link in an object property.
I have an object like the following
Name : string
Description : string
SupportPage : string
The SupportPage should be a link to another page with more information (in
the wiki)
Next I want a livetable that will display that with a clickable link.
For column properties the Livetable says the following
------------------
link The type of link to use for this column. Can be one of:
•auto: link to the URL provided by the <columnName>_url row property from
the JSON results; falls back on the doc_url property
------------------
My problem is I do not know how to set the <columnName>_url. so every time
it comes back blank and then defaults to the doc_url.
Hello
A new version of the Nested Pages Migrator Application extension is
available. See
http://extensions.xwiki.org/xwiki/bin/view/Extension/Nested+Pages+Migrator+…
You can install or upgrade with the Extension Manager.
The application is still a beta version that you should use carefully. But
this version brings some important bug fixes.
Enjoy!
--
Guillaume Delhumeau (guillaume.delhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
Hi at all,
we are using the macro "numberedheadings" in our pages, which works
fine. But on pdf export, the numbers get lost. I tried to use css for
creating automatic numbers, but this produces an error. Is there any
other opportunity to achieve an automatic numbering?
Thanks and best regards
Alina
--
-----------------------------------
SOURCEPARK GmbH
B.Sc. Alina Kupgisch
Partner der Allianz für Cyber-Sicherheit
des Bundesamtes für Sicherheit in der
Informationstechnik (BSI)
Hohenzollerndamm 150, Gebaeude 7
14199 Berlin
Tel: +49 (0)30/398 068 30
Fax: +49 (0)30/398 068 39
e-mail: alina.kupgisch(a)sourcepark.de
WWW: www.sourcepark.de
-----------------------------------
SOURCEPARK GmbH
Sitz der Gesellschaft: Berlin
Handelsregister: Amtsgericht Berlin-Charlottenburg, HRB 80254
Geschäftsführer: Matthias Barmeier, Harald Dürr
-----------------------------------
Wichtiger Hinweis: Die vorgenannten Angaben werden jeder
E-Mail automatisch hinzugefügt und lassen keine Rückschlüsse
auf den Rechtscharakter der E-Mail zu.
Diese E-Mail kann vertrauliche und/oder rechtlich geschützte
Informationen enthalten. Wenn Sie nicht der richtige Adressat
sind oder diese E-Mail irrtümlich erhalten haben, informieren
Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe
dieser E-Mail ist nicht gestattet.
The XWiki development team is proud to announce the availability of XWiki 7.4.4.
This is a bugfix release that fixes important bugs discovered in the 7.4.3 version.
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/ReleaseNotesXWiki744
The following people have contributed code to this release (sorted alphabetically):
Alexandru Cotiuga
Clemens Robbenhaar
Denis Gervalle
Eduard Moraru
Guillaume Delhumeau
Marius Dumitru Florea
Medjdoub
Pascal Bastien
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
hum
$doc.getDefaultEditMode() return 'edit' even on doc edited in inline mode by default :-(
http://maven.xwiki.org/site/docs/xwiki-javadoc-4.1.x/com/xpn/xwiki/api/Docu…
(I'm on xwiki 7.0.1)
--------------------------------------------
En date de : Jeu 30.6.16, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> a écrit :
Objet: force edit inline and redirect
À: "XWiki Users" <users(a)xwiki.org>
Date: Jeudi 30 juin 2016, 12h08
Hi xwiki citizen,
I try to redirect to another page users when they edit a
page...
Then I use this velocity code in my origin page:
#if ($xcontext.action=='edit')
$response.sendRedirect($xwiki.getURL('MySpace.MaTargetPage',
'edit'))
#stop
#end
Redirect (to MyOriginPage in edit mode) working well if user
open MyOriginPage in inline mode:
aka /bin/edit/MySpace/MyOriginPage?editor=inline
But my users are "simple user" then I try to force inline
mode when they click on 'Edit'
What I tested is: add an XWiki.SheetClass object to
"MyOriginPage" with "Default Edit Mode"=inline ...
but I have a very strange behaviour: it's working only
for "Admin" user :-(
With simple user, when I 'Edit' my Page, I obtain target
Page with all xwiki menu INSIDE editor like this ugly
things
https://snag.gy/SrkIua.jpg
If someone have an idea...
Thxs
Pascal B
Hi all
I just installed XWiki 8.1 on my Windows Laptop and everything works well
just the WYSIWYG-Editor is hanging up. I tried to find some similar Problem,
but it seems like I'm the only one.
Has somebody an idea why it's happen?
Regards Patrick
--
View this message in context: http://xwiki.475771.n2.nabble.com/WYSIWYG-doesn-t-work-on-Windows-installat…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I am trying to deploy production version( .war deployment ) of XWIKI to Oracle11g and Tomcat environment. I tried every version of xwiki with different versions of Tomcat. It deploys the application succesfully but when i request http://localhost:8080/xwiki keep getting
"NullPointerException at HqlSqlWalker.lookupProperty( HqlSqlWalker.java:560)" error. As far as i see, tables are created at the database but i cant pass this error.
I also tried with tomcat and h2 database to check whether it's database related issue and same stack trace.
I also tried with Weblogic 11g application server and Oracle 11g database and same stack trace.
P.S: I could run standalone version.
Kemalettin Ocak
Uzman Mühendis
Havelsan A.Ş.
Dikkat: Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmektedir. Mesajdaki gorusler gondericiye ait olup HAVELSAN A.S. resmi gorusu olmak zorunda degildir. Attention: This e-mail message is private and privileged.If you are not the recipient for whom this e-mail message is intended, please notify the sender immediately and delete this e-mail message from your system.All sent and received e-mail messages go through a virus scan. Any opinions presented in this e-mail message are solely those of the author and do not necessarily represent HAVELSAN A.S.`s formal and authorized views.
Hi xwiki citizen,
I try to redirect to another page users when they edit a page...
Then I use this velocity code in my origin page:
#if ($xcontext.action=='edit')
$response.sendRedirect($xwiki.getURL('MySpace.MaTargetPage', 'edit'))
#stop
#end
Redirect (to MyOriginPage in edit mode) working well if user open MyOriginPage in inline mode:
aka /bin/edit/MySpace/MyOriginPage?editor=inline
But my users are "simple user" then I try to force inline mode when they click on 'Edit'
What I tested is: add an XWiki.SheetClass object to "MyOriginPage" with "Default Edit Mode"=inline ...
but I have a very strange behaviour: it's working only for "Admin" user :-(
With simple user, when I 'Edit' my Page, I obtain target Page with all xwiki menu INSIDE editor like this ugly things
https://snag.gy/SrkIua.jpg
If someone have an idea...
Thxs
Pascal B
Hi there,
I had a question regarding the redirect that is happening in the SaveAction
class. When you have a title such as "1 & 2", hitting 'Save' will make the
AJAX call and redirect you to "www.wiki.com/bin/view/1+%26+2". The encoding
of the '&' appears to be done in the call to Util.getRedirect('view',
context) in the SaveAction class.
I want to be able to redirect to "www.wiki-name.com/bin/view/1+&+2" so that
users do not have to see the encoded URL (in case they wish to copy-paste
the url elsewhere). I was able to do this by extending the SaveAction class
into a class of my own, overriding the action() method, and doing a string
replace of all instances of "%26" with "&"; however, this is a very hacky
solution.
I was hoping to get input on any other alternative ways to provide cleaner
URLs to my users. Thank you!
--
View this message in context: http://xwiki.475771.n2.nabble.com/Redirect-to-page-on-Save-action-tp7600164…
Sent from the XWiki- Users mailing list archive at Nabble.com.