Hello everyone,
I've activated the statistics on my virtual xwikis, but when I access
the page XWiki/Stats I see the code, but not statistics, as this:
<% period = request.get("period") Calendar cal = Calendar.getInstance();
cal.setTime(new Date()); if (period==null) { period =
cal.get(Calendar.YEAR) * 100 + (cal.get(Calendar.MONTH)+1) }
jour = cal.get(Calendar.YEAR) * 10000 + (cal.get(Calendar.MONTH)+1) *
100 + (cal.get(Calendar.DAY_OF_MONTH)+1)
type = request.get("type") if (type==null) type = "view"
%>
In the xwiki.cfg, this is the section related to statistics:
xwiki.stats=1
xwiki.stats.default=1
xwiki.stats.class=com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl
Any help?
Thanks!
Vito
--
Vitantonio Messa
+358 46 889 48 49 - vitantonio.messa(a)coss.fi
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND
Hello all,
I'm working with the last version of XE and i get the LDAP authentication on
my Active Directory Domain.
My problem is when i move a user to a different OU in the Active Directory,
the user can't login in Xwiki anymore...(Error : Wrong password).
Is there a way to configure the xwiki.cfg in order the authentication could
"browse" the all Active Directory to find the user and allow him to login ?
Thanks in advance.
--
View this message in context: http://n2.nabble.com/Xwiki-LDAP-Authentication-doesn%27t-work-when-you-move…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, we are a non-profit Italian organization for enviroment and waste
recycling activism.
We would like to use this wiki for collaboration and generate documentation.
username: aravasio
server name: bergamo5stelle
Thanks in advance.
Andrea Ravasio
Hi guys,
Tried migrating from 3.5 to 4.1.3 on my test instance, and it seems
I'm stuck ...
My test wiki is setup as a multi-wiki environment (for workspaces),
the main db "xwiki" fails to be migrated, though other ones succeed.
I checked other posts about migration issues, and it seems there
usually are some indicative logs about what sql fails, in my case I
only get a not nice NPE ...
I saw other things about custom annotation class, but I do not
remember having customized this in any way ... Some residue of
previous migrations maybe ?
The error in logs at startup is :
2012-08-06 14:06:58,920
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - Running storage schema updates and
migrations
2012-08-06 14:06:59,110
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - Starting migration for database
[xwiki]...
2012-08-06 14:06:59,527
[http://hostname:8080/xwikitest/bin/view/Main/] WARN
h.R40001XWIKI7540DataMigration - Skipping database [xwiki] because it
uses a custom annotation class. Comments and anotations will remain
separated
2012-08-06 14:06:59,527
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - Current storage version = [15429]
2012-08-06 14:06:59,527
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - List of migrations that will be
executed:
2012-08-06 14:06:59,527
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - R40000XWIKI6990 - Convert document
IDs to use the new improved hash algorithm.
2012-08-06 14:07:00,626
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - 21 schema updates
required.
2012-08-06 14:07:01,959
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
c.x.x.s.m.liquibase - Successfully acquired change log lock
2012-08-06 14:07:02,128
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
c.x.x.s.m.liquibase - Reading from `DATABASECHANGELOG`
2012-08-06 14:07:02,136
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
c.x.x.s.m.liquibase - Reading from `DATABASECHANGELOG`
2012-08-06 14:07:02,231
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
c.x.x.s.m.liquibase - Successfully released change log lock
2012-08-06 14:07:02,232
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - Running migration [R40000XWIKI6990]
with version [40000]
2012-08-06 14:07:02,893
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 0
document IDs to be converted.
2012-08-06 14:07:03,421
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 6297
object IDs to be converted.
2012-08-06 14:07:03,489
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 6
custom mapped classes to be processed.
2012-08-06 14:07:17,970
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 793746
document statistics IDs to be converted.
2012-08-06 14:07:22,231
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 223856
referer statistics IDs to be converted.
2012-08-06 14:08:20,614
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 1177489
visit statistics IDs to be converted.
2012-08-06 14:08:20,635
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - No document IDs
to convert, skipping.
2012-08-06 14:08:20,681
[http://hostname:8080/xwikitest/bin/view/Main/] INFO
.HibernateDataMigrationManager - Failed to migrate database [xwiki]...
com.xpn.xwiki.store.migration.DataMigrationException: Data migration
R40000XWIKI6990 failed
at com.xpn.xwiki.store.migration.hibernate.AbstractHibernateDataMigration.migrate(AbstractHibernateDataMigration.java:111)
~[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:621)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:546)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:475)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:296)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:421)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:666)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:813)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:746)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:736)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1438)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1481)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2215)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2247)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1114)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:790)
[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
[ ... some lines excluded ... ]
Caused by: java.lang.NullPointerException: null
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration.getAllTableToProcess(R40000XWIKI6990DataMigration.java:777)
~[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration.getAllTableToProcess(R40000XWIKI6990DataMigration.java:761)
~[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration.hibernateMigrate(R40000XWIKI6990DataMigration.java:1066)
~[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
at com.xpn.xwiki.store.migration.hibernate.AbstractHibernateDataMigration.migrate(AbstractHibernateDataMigration.java:109)
~[xwiki-platform-legacy-oldcore-4.1.3.jar:na]
... 57 common frames omitted
Thanks for help !
Jeremie
Hello,
I'm trying to get some kind of NTLM authentication going on my Debian server, but got lost very early.
I find mentions of working NTLM solutions in the archives as well as some fixes for an ominous "NTLM authenticator" (XCONTRIB-84) in Jira.
I even found some installation-guide in the sandbox, but there seems to be no jar file.
Is there some kind of working NTLM solution without installing kerberos or samba?
Thanks in advance,
Thilo
Thanks for your reply. I have reinstalled the ratings extension multiple
times, but with no effect.
Maybe the problem is the container restarting. If I restart the xwiki
container I´m getting a Apache/Tomcat error:
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3
in 0: Could not initialize main XWiki context
So I need to restart the whole Tomcat to get my XWiki working again. Could
this be the problem?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Ratings-Application-not-working-tp7379389…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi guys,
The next steps I've repeated over and over again and I'm still having the
same issues: - I installed xwiki-enterprise-web-4.1.4.war in tomcat6.0.35,
then imported xwiki-enterprise-ui-all-4.1.4.xar and configured
hibernate.cfg.xml to point it to a mysql 5.0.95 brand new database - I
logged in with with admin/admin - I created a new page called Test - I
edited Main.WebHome and tried to add a link to page "Test" through WYSIWYG
"Link" button - A new dialog appeared, "My recent changes" tab is empty,
"All pages" tab when clicked shows a message "Loading data..." and a
"loading" icon, which never goes away and never finds anything, I searched
for "Test" in "Search" tab, and it doesn't display anything. The same thing
happens if I create a new space and try to find it in WebHome. I looked in
the catalina.out log, there is no message about this issue, I'm back where
I started, I'm lost, I have no clue of what can be the problem, it doesn't
show any error or debugging information related.
Mi box is a centos5 and I installed xwiki in the ROOT folder of tomcat
webapps, i changed tomcat's default port too
Please help me, I'm lost here
Regards
Hi guys,
For those of you who might be interested, I created a platform branch
that contains a demo of how XWiki's WYSIWYG Editor can be used outside
XWiki. The editor uses the rendering module and the component manager,
but they can be removed also if you want to use only the client side
(JavaScript code). See
https://github.com/xwiki/xwiki-platform/tree/feature-wysiwyg-standalone/xwi…
. If you want to try it, you need to build the WYSIWYG Editor modules
(use -Pdev for a quick build) and deploy the standalone war in a
servlet container of your choice.
Hope this helps,
Marius
Hi,
I've 2 proposals of improvement for the next release of the (excellent)
Fullcalendar application :
- Create a localization file for all strings (months, days,
...)
- In the macro, consider that a param is possible for json
document.
As workaround, I replaced the line :
events: "${json}?xpage=plain&outputSyntax=plain&classname=$!
by
events:
"${json}"+($json.indexOf("?")?"&":"?")+"xpage=plain&outputSyntax=plain&c
lassname=$!
It's not perfect, but works better in my case.
Thank you
Nicolas
Hi,
I've tried to install (with extension manager) FullCalendar Application
in XWiki 4.1.3.
The installation crashed (because of a column value too small in
xwikilargestrings table), so I tried to install again with the .xar.
It's impossible to import Calendar.JQuery. I've the error message :
Wrapped Exception:
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#<?xml version="1.0"
encoding="UTF-8"?>
<code></code>
]
at
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEnt
ityPersister.java:1950)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEn
tityPersister.java:2594)
at
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(Ab
stractEntityPersister.java:2494)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEn
tityPersister.java:2821)
...
Any idea to resolve this problem ?
Thank you
Best regards
Nicolas