In our effort to increase the performance of our XWiki
5.4.3 we are noticing
warnings in our logs:
2014-04-01 16:36:59,657
[
http://XXX.XXX.XXX:8080/xwiki/bin/view/Dashboard/WebHome?srid=tC0qENZU&…]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter
[com.xpn.xwiki.api.DeprecatedContext.getUser] in
xwiki:Dashboard.WebHome@1,47
2014-04-01 16:36:59,657
[
http://XXX.XXX.XXX:8080/xwiki/bin/view/Dashboard/WebHome?srid=tC0qENZU&…]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter
[com.xpn.xwiki.api.DeprecatedContext.getUser] in
xwiki:Dashboard.WebHome@2,46
2014-04-01 16:36:59,657
[
http://XXX.XXX.XXX:8080/xwiki/bin/view/Dashboard/WebHome?srid=tC0qENZU&…]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter
[com.xpn.xwiki.api.DeprecatedContext.getUser] in
xwiki:Dashboard.WebHome@3,49
2014-04-01 16:36:59,657
[
http://XXX.XXX.XXX:8080/xwiki/bin/view/Dashboard/WebHome?srid=tC0qENZU&…]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter
[com.xpn.xwiki.api.DeprecatedContext.getUser] in
xwiki:Dashboard.WebHome@4,52
2014-04-01 16:36:59,658
[
http://XXX.XXX.XXX:8080/xwiki/bin/view/Dashboard/WebHome?srid=tC0qENZU&…]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter
[com.xpn.xwiki.api.DeprecatedContext.getUser] in
xwiki:Dashboard.WebHome@5,50
2014-04-01 16:36:59,658
[
http://XXX.XXX.XXX:8080/xwiki/bin/view/Dashboard/WebHome?srid=tC0qENZU&…]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter
[com.xpn.xwiki.api.DeprecatedContext.getUser] in
xwiki:Dashboard.WebHome@6,49
2014-04-01 16:36:59,836
[
http://XXX.XXX.XXX:8080/xwiki/bin/ssx/SyntaxHighlighting/SyntaxHighlighting…]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPluginAPI.getFileLink] in
xwiki:SyntaxHighlighting.SyntaxHighlighting@5,62
2014-04-01 16:37:00,050
[
http://XXX.XXX.XXX:8080/xwiki/bin/jsx/SyntaxHighlighting/Autocomplete?langu…]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPluginAPI.getFileLink] in
xwiki:SyntaxHighlighting.Autocomplete@5,62
2014-04-01 16:37:00,054
[
http://XXX.XXX.XXX:8080/xwiki/bin/jsx/SyntaxHighlighting/SyntaxHighlighting…]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPluginAPI.getFileLink] in
xwiki:SyntaxHighlighting.SyntaxHighlighting@5,62
2014-04-01 16:37:08,168
[
http://XXX.XXX.XXX:8080/xwiki/bin/view/Algemeen/Engineering] WARN
o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.searchDocuments] in
xwiki:Algemeen.Engineering@12,26
2014-04-01 16:37:32,109
[
http://XXX.XXX.XXX:8080/xwiki/bin/view/Algemeen/PersoneelInformatie] WARN
o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.searchDocuments] in
xwiki:Algemeen.PersoneelInformatie@12,26
As far as I can see, there are 3 distinct warnings:
1) Deprecated usage of getter [com.xpn.xwiki.api.DeprecatedContext.getUser]
in xwiki:Dashboard.WebHome@1,47
2) Deprecated usage of method
[com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPluginAPI.getFileLink] in
xwiki:SyntaxHighlighting.SyntaxHighlighting@5,62
3) Deprecated usage of method [com.xpn.xwiki.api.XWiki.searchDocuments] in
xwiki:Algemeen.Engineering@12,26
(1) This is the warning I can't put my finger on at all. Where should I
start looking?
(2) This looks like part of an Extension...but our Xwiki does NOT have the
Syntax Highlighting Application
<http://extensions.xwiki.org/xwiki/bin/view/Extension/Syntax+Highlighting+Application>
installed.
(3) This error is probable related to an XWiki Macro I have written which
indeed uses the $wiki.searchDocuments. What method should I use instead?
--
View this message in context:
http://xwiki.475771.n2.nabble.com/DefaultVelocityEngine-Warnings-tp7589925.…
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