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.
Hi
I have another more serious error on my wiki cluster today. Yesterday I had a DBCP error that was remedied by resetting the wiki user password in MYSQL.
I have 2 wiki servers wiki1 and wiki2 working as a cluster. I can get to and open wiki2 in my domain but today wiki1 just hangs, no error message at all. .Even from the localhost it still hangs. I have checked permissions, cleared browser cache, flushed DNS, rebooted machine. The wiki page still hangs trying to open, no error or timeout. I see the following error in catalina log file -
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [730048] Only one usage of each socket address (protocol/network address/port) is normally permitted.
This is my Netstat -a Output
Microsoft Windows [Version 5.2.3790] (C) Copyright 1985-2003 Microsoft Corp. C:\Documents and Settings\clinton-admin>netstat -a Active Connections Proto Local Address Foreign Address State TCP xwiki1:http xwiki1.invisioninc.local:0 LISTENING TCP xwiki1:epmap xwiki1.invisioninc.local:0 LISTENING TCP xwiki1:microsoft-ds xwiki1.invisioninc.local:0 LISTENING TCP xwiki1:1042 xwiki1.invisioninc.local:0 LISTENING TCP xwiki1:ms-wbt-server xwiki1.invisioninc.local:0 LISTENING TCP xwiki1:7800 xwiki1.invisioninc.local:0 LISTENING TCP xwiki1:7801 xwiki1.invisioninc.local:0 LISTENING TCP xwiki1:8009 xwiki1.invisioninc.local:0 LISTENING TCP xwiki1:http xwiki1.invisioninc.local:1098 ESTABLISHED TCP xwiki1:1098 xwiki1.invisioninc.local:http ESTABLISHED TCP xwiki1:5152 xwiki1.invisioninc.local:0 LISTENING TCP xwiki1:5152 xwiki1.invisioninc.local:1099 CLOSE_WAIT TCP xwiki1:netbios-ssn xwiki1.invisioninc.local:0 LISTENING TCP xwiki1:1086 inv-file1.invisioninc.local:microsoft-ds ESTABLISHED
TCP xwiki1:1092 xwiki2.invisioninc.local:7800 ESTABLISHED
TCP xwiki1:1096 xwiki2.invisioninc.local:7800 ESTABLISHED C:\Documents and Settings\clinton-admin>
Any advise would be great, xwiki2 has all the same settings and is working with no issues or errors.
Thanks
Clinton
________________________________
This communication and attachment(s) are the confidential property of INVISION, Inc. If you are not the intended recipient, please notify the sender immediately and delete this message; any copying, dissemination or use of these contents by persons other than the intended addressee(s) is prohibited. Thank you.
Hi all
Well, I'm working in a company and use a wikis farm and several sub-wikis.
Currently we are using a 2.2.5 version of XWiki. We're using LDAP and Active
Directory as well to recognize our users.
The archi : Main Wiki (Wiki Administrator) with the normal starting groups
like XWikiAllGroup, XWikiAdminGroup and one more called ldap_group. All
users are in the ldap_group (new created or registered users as well).
The problem that I've is to add a global user from Wiki farm in a created
group in a local wiki.
My Example, I created a wiki as WebServiceSupport (WSS) and a local group as
SupportTeamGroup. I would like add some users from the global wiki in this
local group, but:
First, I can't have suggest when I try to type firsts letters from a global
login.
Second, I tried to add with type directly "xwiki:XWiki.<desired_loginname>,
so, apparently local wiki recognize real global user because it displays his
real username but twice "xwiki:xwiki:" before the XWiki.User (like in my
case "Pierre DELISLE-EXTERIEUR (xwiki:xwiki:XWiki.pdelisle)" and it doesn't
work when I'm log with this account (I don't have the rights given to the
local group)
So, my question is: Is there a way to add a global user in a local group?
Pierre
--
View this message in context: http://xwiki.475771.n2.nabble.com/Adding-a-global-user-in-a-local-group-tp5…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi All,
I need to give my users the possibility to edit XWiki Pages using
XWord but doing some tests I get some errors.
I'm using XE 2.4.3 and Microsoft Office 2007.
When i create a new page and upload it, XWord works fine but when I
try to edit an existing page I get errors while saving the document.
Any idea about this problem?
I can't see errors on xwiki.log file...
Thanks!
Loris
Hello Fabio & friends,
i tried to use curl and the RESTful API to
1) create a page: ok
2) upload a file/image: ok
3) create some TAGS to the page: ????
1) and 2) is working, but 3 is not working. What is wrong in 3)?
What about unicode/Umlaut in page-name, tag-name and
upload-filename. I have some problems with öäü-German and
øæå-Norwegian.
I use Autohotkey and cURL in WindowsXP.
Thank you folks...
1)
curl.exe -v -S -u Admin:admin -X PUT -d @C:\1.xml -H
Content-Type:application/xml %Server
%/xwiki/rest/wikis/xwiki/spaces/Main/pages/%page%
1.xml:
---
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<page xmlns="http://www.xwiki.org">
<title>Hello world</title>
<content>This is a new page</content>
</page>
---
2)
curl.exe -v -S -u Admin:admin -T C:\%file% %Server
%/xwiki/rest/wikis/xwiki/spaces/Main/pages/%page%/attachments/%
file%
3)
curl.exe -v -S -u Admin:admin -X PUT -d @C:\2.xml -H
Content-Type:application/xml %Server
%/xwiki/rest/wikis/xwiki/spaces/Main/pages/%page%/tags
2.xml:
---
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tags xmlns="http://www.xwiki.org">
<tag>TestTag</tag>
</tags>
---
--
Volker Lapczynski vl(a)LegeInfo.net
Rosendalsveien 3-B +47 - 92 62 02 48
N-1166 Oslo www.legeinfo.net
- Norway - N59°51.573 E10°47.843