The XWiki development team is pleased to announce the release of XWiki
Enterprise and XWiki Enterprise Manager 2.4.4.
Important bug fixed:
* XWIKI-5542 - Different rights in view and rest mode
* XWIKI-5597 - File upload plugin doesn't strip the file path in IE
* XWIKI-5598 - When importing a XAR, ignoring translated documents
does not work
* XWIKI-5309 - rest api query called by XE JumpToPage causes
performance problem and even deadlock
* XWIKI-5387 - Apache commons URIUtil is potentially unsafe
* XWIKI-4366 - Blockquote is badly parsed when multiple lines are
styled together
* XWIKI-5525 - DBList request level cache is ignored
* XWIKI-5591 - HTML to Wiki Syntax 2 looses color in certain cases
* XWIKI-5599 - In the XAR importer UI, the initial space document
count is wrong whenever that space has translated documents
* XWIKI-5530 - LDAP module: Impossible to login with the same UID
if your DN changes
* XWIKI-5523 - NPE during parsing of a sequence
table/style/paragraphe/paragraphe
* XAANNOTATIONS-32 - Highlight does not disappear after deleting
the last annotation from a page
For more information see the Releases notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise244
and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM244
Thanks
-The XWiki dev team
Hi all,
I have a XE 2.4.3 instance running on a Tomcat 6 (JDK 1.6.0) and I'm
experiencing that the Tree view of documents doesn't work.
If I use the link
http://<host>:8080/xwiki/bin/view/Main/AllDocs?view=tree I get the
page but a "Loading data..." message is displayed and nothing happens.
Can you help me to figure out a solution?
Thanks,
Loris Conedera
Hi!
I would like to modify the appearance of this area entries for guests
(Export, More Actions and Annotations) allowing these options only for
registered users. Thus, I would like this area to be empty for guests.
I've been playing with *menuview.vm* both in /templates and
/skins/colibri to no avail.
Please, what template is controlling this appearance?
Thanks!
Ricardo
--
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems
Hi,
Our XE/XEM 2.4.1 farm runs in a Tomcat servlet server. Lucene is
currently not working. I'm trying to understand what messages logged in
catalina.out could relate to this problem. We get this
java.io.NotSerializableException during the start up process. See this...
http://ftp.ebiotic.net/fromPeat/catalina.out.201010202219.txt
Could it affect Lucene? Thanks!
Ricardo
--
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems
Hi!
In a XE/XEM 2.4.1 farm, our Lucene building index process stopped as ...
*Lucene is currently building its index, 41 documents in queue.
*And we can't access Search in XWiki Preferences of any of the subwikis
or even the controller.*
*
I see this in xwiki.log:
com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while
switching to database redpatrimonio
Wrapped Exception: Unknown database 'redpatrimonio'
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:643)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:742)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:683)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:289)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1463)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1506)
at com.xpn.xwiki.api.XWiki.getDocument(XWiki.java:166)
at com.xpn.xwiki.api.XWiki.getDocument(XWiki.java:153)
at com.xpn.xwiki.plugin.lucene.SearchResult.<init>(SearchResult.java:98)
at
com.xpn.xwiki.plugin.lucene.SearchResults.getRelevantResults(SearchResults.java:72)
at
com.xpn.xwiki.plugin.lucene.SearchResults.getHitcount(SearchResults.java:22
In fact, that database is called redepatrimonio, not redpatrimonio.
The wiki descriptor page name in the main wiki is
XWiki.XWikiServerRedepatrimonio.
Please, where the name of the database as listed in the exception is
stored? How could I correct it?
I don't know how I've messed things and if this error is related with
problem, but it seems that need to be corrected before trying anything else!
Thanks!
Ricardo
--
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems
Hello,
I use treeview in a panel for navigation in my xwiki, but I have a problem with displaying of pages in this treeview. I want to display titles of the pages instead of their names. Is this possible?
The second problem is sorting. Pages are sorted according their creation but I would like to sort them in another way, eg. alphabetically. Is it possible to sort this treeview?
I have an xwiki 2.4.3.
There is a code of treeview from the panel:
## Smartclient
$xwiki.jsfx.use('js/smartclient/initsc.js', {'forceSkinAction' : true, 'defer' : false})##
$xwiki.jsfx.use('js/smartclient/modules/ISC_Core.js', {'defer' : false})##
## TODO: remove this line
## when http://forums.smartclient.com/showthread.php?t=3097 will be fixed
$xwiki.jsfx.use('js/smartclient/overwritesc.js', {'defer' : false})##
$xwiki.jsfx.use('js/smartclient/modules/ISC_Foundation.js', {'defer' : false})##
$xwiki.jsfx.use('js/smartclient/modules/ISC_Containers.js', {'defer' : false})##
$xwiki.jsfx.use('js/smartclient/modules/ISC_Grids.js', {'defer' : false})##
$xwiki.jsfx.use('js/smartclient/modules/ISC_Forms.js', {'defer' : false})##
$xwiki.jsfx.use('js/smartclient/modules/ISC_DataBinding.js', {'defer' : false})##
$xwiki.jsfx.use('js/smartclient/skins/Enterprise/load_skin.js', {'defer' : false})##
## XWikiExplorer
$xwiki.jsfx.use('js/xwiki/xwikiexplorer/xwikiexplorer.js', {'forceSkinAction' : true, 'defer' : false})##
<div id="XWEWrapper" style="height:600px;margin-right:5px; padding-right:5px;padding-bottom:30px;"></div>
<script type="text/javascript">
isc.XWETreeGrid.create({
ID: "Treeview",
defaultValue: "$doc.prefixedFullName",
htmlElement: "XWEWrapper", // Mandatory HTML wrapper.
matchElement: true, // Make the widget match HTML wrapper size.
dataSource: isc.XWESpaceDataSource.create({ space:"mySpace" }),
displaySuggest: false, // Display the input at the bottom.
displayLinks: true, // Node titles are HTML links.
displayAttachments: false, // Display pages attachments.
displayAttachmentsOnTop: false // Display attachments before page children.
}).draw();
</script>
</div>
#panelfooter()
Thank you very much for your answer.
Zuzana Zapletalova
Hi everybody,
I have XEM 2.3 working in a test environment with OpenSuse 11.3, Mysql 5.1,
OpenOffice 3.2.1, and Jetty, as per defualt war distributed, and everything
is working fine.
I made the upgrade to XEM 2.4.3 version, importing new xar, also. I made
modifications to the relevant
xwiki.properties file to make the Office importer section identical to the
previous 2.3 version, (see below) but the office server does not start and
import is not working in 2.4.3!
------
xwiki.log file: (XEM 2.4.3)
2010-10-18 11:23:05,125 [main] ERROR rnal.DefaultObservationManager - Fail
to send event [org.xwiki.observation.event.ApplicationStartedEvent@1d592a]
to listener
[org.xwiki.officeimporter.internal.openoffice.OpenOfficeManagerLifecycleListener@c8e4de]
java.lang.IllegalStateException: invalid templateProfileDir:
/home/smg/.ooo3/user
at
org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:122)
at
org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeManager.initialize(DefaultOpenOfficeManager.java:102)
at
org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeManager.start(DefaultOpenOfficeManager.java:135)
at
org.xwiki.officeimporter.internal.openoffice.OpenOfficeManagerLifecycleListener.startOpenOffice(OpenOfficeManagerLifecycleListener.java:96)
at
org.xwiki.officeimporter.internal.openoffice.OpenOfficeManagerLifecycleListener.onEvent(OpenOfficeManagerLifecycleListener.java:83)
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269)
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:243)
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:290)
at
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:76)
at
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.mortbay.start.Main.invokeMain(Main.java:194)
at org.mortbay.start.Main.start(Main.java:534)
at org.mortbay.start.Main.start(Main.java:441)
at org.mortbay.start.Main.main(Main.java:119)
--------
Since it is a test environment, I can easily start/stop Jetty container and
choose to use 2.3 or 2.4.3 versions, which are in different dirs but they
use the same database. Since the values of the parameters in the Office
import section of the xwiki.properties are exactly the same and if I use 2.3
version Office server starts and import works fine, I wonder if this is a
bug of version 2.4.3 or what can be my mistake in configuration.
-----------
xwiki.properties file: (good for 2.3 , bad for 2.4.3)
# Settings for the OpenOffice server instance consumed by the OfficeImporter
plugin
#----------------------------------------------------------------------------------
#-# [Since 1.9M2]
#-# Type of the openoffice server instance used by officeimporter plugin.
#-# 0 - Internally managed server instance. (Default)
#-# 1 - Externally managed (local) server instance.
# openoffice.serverType=0
#-# [Since 1.9M2]
#-# Port number used for connecting to the openoffice server instance.
#-# Default port is 8100
# openoffice.serverPort=8100
#-# [Since 1.9M2]
#-# If the openoffice server should be started / connected upon XE start.
#-# Default value is false
openoffice.autoStart=true
#-# [Since 1.8RC3]
#-# Path to openoffice installation (serverType:0 only).
#-# If no path is provided, a default value will be calculated based on the
operating environment.
openoffice.homePath=/usr/lib/ooo3
#-# [Since 1.8RC3]
#-# Path to openoffice execution profile (serverType:0 only).
#-# If no path is provided, a default value will be calculated based on the
operating environment.
openoffice.profilePath=/home/smg/.ooo3/user
#-# [Since 1.8RC3]
#-# Maximum number of simultaneous conversion tasks to be handled by a
single openoffice process (serverType:0 only).
#-# Default value is 50
# openoffice.maxTasksPerProcess=50
#-# [Since 1.8RC3]
#-# Timeout for conversion tasks (in miliseconds) (serverType:0 only).
#-# Default value is 30 seconds
# openoffice.taskExecutionTimeout=30000
-----
NOTES: if I comment the line of 'openoffice.profilePath=' the server does
not start either, since it takes a default dir that really does not exist.
>From documentation, I found out that 2.3 uses 'JODConverter 3.0 beta2' ,
while 2.4.3 uses 'JODConverter 3.0 beta3'; the log messages from 2.3 refer
to 'net.sf.jodconverter.office......' while 2.4.3 refer to
'org.artofsolving.jodconverter.office......'. Is this the problem? Hot to
configure correctly the new jdoconverter?
Thanks for your help
Angelo
--
View this message in context: http://xwiki.475771.n2.nabble.com/Open-Office-import-plugin-is-not-working-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi!
In a 2.4.1 XE/XEM installation with contents recently migrated from a XE
1.3.8295 I'm seeing this:
top - 12:15:06 up 16 days, 8:38, 3 users, load average: 1.36, 1.39, 1.32
Tasks: 1062 total, 1 running, 1061 sleeping, 0 stopped, 0 zombie
Cpu(s): 7.8%us, 0.2%sy, 0.0%ni, 92.0%id, 0.0%wa, 0.0%hi, 0.0%si,
0.0%st
Mem: 6216784k total, 5992440k used, 224344k free, 95312k buffers
Swap: 2104472k total, 152k used, 2104320k free, 3222044k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND
17689 root 22 0 668m 550m 2852 S 100 9.1 216:28.00
java
Java goes back to "normal" if I shut down the Tomcat instance on which
XWiki is running. Catalina.out is plenty of errors and warnings and I
really don't know which of them, if any, could be responsible of this
situation.
Lucene is not working neither.
I'm linking a catalina.out file truncated by yesterday at 22:19 after a
Tomcat shutdown. Please, could you help me to work out this errors and
warnings?
http://ftp.ebiotic.net/fromPeat/catalina.out.201010211227.txt
Thanks for your help!
Ricardo
--
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems
I am trying to create a query to populate an attribute of an object with all
the “Name” (an attribute of another object) .
I seem to have run into an issue, in which I created a special space
(CustomClass) to house all my User defined classes.
I can’t seem to build a query to access that space.
I have tried to normal default query that I found which worked was:
select doc.fullName from XWikiDocument doc
this of course returns all the documents in the wiki.
Is there a way that I can get all the pages listed in a specific space and
not just the XWiki default space (I assume I should be able to do this), and
if I can do this, how can I query an instance of a class (Foo) that lives in
the CustomClass
I have tried and several permutations of the following query. I am hitting
my head against a wall and all help would be greatly appreciated. Things
that have been unsucessfull, Xwiki.CustomClass.Foo, Foo itself, the modifier
seen below, I am at a loss on how to currently approach this.
select foo.Name from CustomClass.Foo foo
I am new to HQL, and while I have read up, it has not quite yet solved my
problem in dealing with this XWiki problem. It is important to note that I
have also taken the query out and used the feiled for Class, and Value but
that also did not work. Advice?
Thank you
Martin Bryant
Modus Operandi
--
View this message in context: http://xwiki.475771.n2.nabble.com/DB-List-Query-Problems-tp5654730p5654730.…
Sent from the XWiki- Users mailing list archive at Nabble.com.