Hallo,
I noticed that lucene is capable of Indexing various office files (excel,
word, outlook mails); however, this doesnt happen automatically.
When I add the file it does not get indexed no matter how long I wait. When
I rebuild the Index via the administration terminal the files get indexed.
Also I get an error in the logs (error getting content of attachment of
doc ).
Is this an Lucene Error or has it something todo with my configuration?
Thomas
In case someone decides to follow the security improvement in Fedora's
Tomcat6 brought on by recent update to tomcat6-6.0.26-3 (
https://bugzilla.redhat.com/show_bug.cgi?id=640837 ) by changing
/etc/passwd 'tomcat' user to /sbin/nologin instead of /bin/sh ...
Making this change causes the openoffice server's startup (
xwiki/bin/view/XWiki/OfficeImporterAdmin ) to fail with message
"Inadequate Privileges."
Changing back to original login-allowing ~tomcat entry in /etc/passwd
allows OOo server to startup correctly.
.......................
see also https://bugzilla.redhat.com/show_bug.cgi?id=574593https://bugzilla.redhat.com/show_bug.cgi?id=605335https://bugzilla.redhat.com/show_bug.cgi?id=586364
tomcat6-6.0.26-3.fc12 (FEDORA-2010-16248)
Apache Servlet/JSP Engine, RI for Servlet 2.5/JSP 2.1 API
--------------------------------------------------------------------------------
Update Information:
* Includes security fix for cve-2010-2227.
* Package updated to new upstream version tomcat-6.0.26
* commons-dbcp-tomcat5, commons-collections-tomcat5, and commons-pool-tomcat5
have been dropped in favor of commons-collections, commons-pool, and
commons-dbcp
* Directory permissions fixed
* tomcat user shell fixed
--------------------------------------------------------------------------------
ChangeLog:
* Tue Oct 12 2010 David Knox <dk...(a)redhat.com> 0:6.0.26-3
- resolves: rhbz#641102
* Thu Oct 7 2010 David Knox <dk...(a)redhat.com> 0:6.0.26-1
- copied spec and patches from f13 to bring f12 up to date
- with all tomcat6 fedora.
* Mon Oct 4 2010 David Knox <dk...(a)redhat.com> 0:6.0.26-10
- ant-nodeps is breaking the build. Put ant-nodeps on the
- OPT_JAR_LIST
* Fri Oct 1 2010 David Knox <dk...(a)rehat.com> 0:6.0.26-9
- Resolves rhbz#575341 - Additionally created instances of Tomcat
- are broken
* Fri Jul 2 2010 David Knox <dk...(a)rehat.com> 0:6.0.26-8
- LSB initscript compliance
* Thu Jul 1 2010 David Knox <dk...(a)redhat.com> 0:6.0.26-7
- Made elspec the standard for elspec %post and %postun.
* Tue Jun 29 2010 David Knox <dk...(a)redhat.com> 0:6.0.26-6
- Completed package and file sections. Added el-spec. Fixed
- directory permission problems.
* Thu May 6 2010 David Knox <dk...(a)redhat.com> 0:6.0.26-5
- Working on 589145. Tomcat can't find java compiler for java.
* Thu Apr 8 2010 David Knox <dk...(a)redhat.com> 0:6.0.26-4
- Moved build-jar-repository to later in the install process.
* Tue Apr 6 2010 David Knox <dk...(a)redhat.com> 0:6.0.26-3
- Incremented the Release tag to 3 to avoid any confusion about which
- is the most recent
* Tue Apr 6 2010 David Knox <dk...(a)redhat.com> 0:6.0.26-1
- Solved packaging problems involving taglibs-standard
- Solved packaging problems involving jakarta-commons
- Corrected Requires(post) to Requires and checked companion BuildRequires
* Mon Mar 29 2010 David Knox <dk...(a)redhat.com> 0:6.0.26-2
- Update source to tomcat6.0.26
- Bugzilla 572357 - Please retest.
- OSGi manifests for servlet-api and jsp-api
* Fri Mar 26 2010 Mary Ellen Foster <mefos...(a)gmail.com> 0:6.0.24-2
- Add maven POMs and metadata
- Link tomcat6-juli into /usr/share/java/tomcat6
* Mon Mar 1 2010 Alexander Kurtakov <akurt...(a)redhat.com> 0:6.0.24-1
- Update to 6.0.24.
* Tue Dec 22 2009 Alexander Kurtakov <akurt...(a)redhat.com> 0:6.0.20-2
- Drop file requires on /usr/share/java/ecj.jar.
--------------------------------------------------------------------------------
References:
[ 1 ] Bug #612799 - CVE-2010-2227 tomcat: information leak vulnerability in
the handling of 'Transfer-Encoding' header
https://bugzilla.redhat.com/show_bug.cgi?id=612799
--------------------------------------------------------------------------------
Niels
http://nielsmayer.com
Hi guys,
I've managed to successfully migrate XWiki from FreeBSD 8.0 x64 Release
running Postgresql 8.2 and Apache Tomcat 6 to Nexenta Core 3 x86
(OpenSolaris distro) running as a virtual test machine on Virtual Box
running Postgresql 8.3 and Glassfish v3!!!!
I'd love to get the information out as a guide since the XWiki site
doesn't show anything in regards to migration let alone between systems
(that I've seen so far) or running XWiki with Glassfish and Postgresql
as the current version shows MySQL.
--or in addition doesn't have anything on installing Xwiki on FreeBSD
either which isn't very straight forward.
Of course this information will go on my wiki portal as it is basically
a portfolio of what I have done in my time of engineering both
UNIX/Linux and Cisco systems; however, I am just wondering if I could
create a login on the Xwiki site to post this information or
alternatively give it to someone that has access????
I think it would be a great commodity to Xwiki users wishing to test out
new installs or migrations between systems........ especially for new
users like myself who have either just started with Xwiki or only been
using it for a short period of time.
Regards,
Kaya
Hi,
We receive this remark from a visitor to www.cdlsworld.org (which runs on XWIKI 2.1.1, Hosted by Xwiki.com)
Quote:
I also just discovered that the site CDLSWorld.org does not work with 64 bits browser (at least with Internet Explorer) but only in 32 bits. Now Windows 7 and IE runs now in 64 bits. Now that more and more people are concerned, I suggest you inform the administrator.
Unquote.
We can not test it ourself, since we do not have Windows 64 bits?
Has anybody experienced this complaint, I can not imagine that a 64 bit client would matter?
If not, could it be a specific problem for our site?
Gerritjan
I intend to make more use of groups and updating the members on
changes relevant to them by sending them e-mail.
Watchlists look too technical/difficult and forcing group members to
use them is too cumbersome, so I'd like to start simple: exporting the
mail addresses and mailing them the old-fashioned way.
Now for the coding: I started with
http://code.xwiki.org/xwiki/bin/view/Snippets/CsvExportOfUsersSnippet
yet group membership is only enclosed in the objects of the respective
group pages. Any suggestions how to either export only members of a
set group, or include subscribed groups as a column?
Thanks in advance!
I have a new XWiki installation on Windows XP, Glassfish 3.0.1 Xwiki
version xwiki-enterprise-web-2.5.war, MySQL 5.1.35
The Issue:
I have a new empty wiki... on the page :
http://IPADDR:8080/xwiki/bin/import/XWiki/XWikiPreferences
Which says : "Your wiki seems empty. You may want to import the default
XWiki Enterprise wiki which..."
So in the dialogue box I browse to a downloaded backup of the wiki in a
xar file and try to import it but it returns back to the main screen as
if nothing happened (it does seem to upload but it is not listed as an
Available package after this. So I then try to default set of pages at
http://maven.xwiki.org/releases/com/xpn/xwiki/products/xwiki-enterprise-wik…
and this does not work either.
I've set up Xwiki successfully before (although the other installation
was on linux) and it went without issue.
As a clue I was getting this error first:
Error number 4001 in 4: Error while parsing velocity
page /templates/importinline.vm Wrapped Exception: Failed to evaluate
content with id [/templates/importinline.vm]
I noticed that I needed to start up the windows Glassfish service
manually... So I changed the user to be the Administrator account (Under
options for the Windows Glassfish Service) and then the template error
went away... Go figure... anyways the above error prevented the file
upload dialogue from even appearing but now... there is this issue.
Any suggestions? Other than not using Windows ;) because I tried that
suggestion already.
Hi all,
when exporting info macros or warning macros to PDF, these components aren't
rendered as they are in browser, in facts the box edge, the background color
and the related icons aren't printed in resulting pdf document. In this way,
the will of highlighting some text isn't ported to the pdf (and rtf) export.
is this a bug or simply this feature haven't been developed yet?
i'm testing XE 2.5M2 on Centos 5 64bit, tomcat 6.0.26 and jdk 1.6.0_20. IE7
on client side.
thanks,
claudio
--
View this message in context: http://xwiki.475771.n2.nabble.com/PDF-export-question-tp5622410p5622410.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I develop a simple macro for XML transformation in XWiki.
How can I post my macro contribution to code.xwiki.org?
I can login and edit pages, but I cannot create page excepted from
Office document.
Arnaud.
Hello
I put a file Text.txt as attachment in a page: Sandbox.Page1
I in an other page Sandbox.Page2, I write the following script:
{{groovy}}
def mydoc=xwiki.getDocument('Sandbox.Page1')
def myfile=mydoc.getAttachment('Text.txt')
println "|"+mydoc+"|"+myfile
{{/goovy}}
The result is
|Sandbox.Page1|null
If I put the same script in Sandbox.Page2, the result become:
|Sandbox.Page1|com.xpn.xwiki.api.Attachment@331be8
Why cannot get attachments from other document?
I run XWiki 2.5 with Tomcat 6.0.28, Mysql 5.1.49, Ubuntu 10.10
Arnaud.
Hi!
I'm having trouble with date queries...
I have a class with a date property and I want to filter all its documents
which have this date property equal to a defined value.
How can do that?
--
Atenciosamente,
Erica Usui.
Dear all,
I have a little problem with the behavior of the Spaces panel in the Dashboard section.
First of all, let me describe my portal configuration:
On my host I have one portal which takes the standard :80 port, then it's Xwiki on :28181
Unfortunately I cannot make xwiki port ( 28181 ) public so I created a reverse proxy in the following way:
ProxyPass /xwiki/ http://localhost:28181/xwiki/
ProxyPassReverse /xwiki/ http://localhost:28181/xwiki/
ProxyPass /xwiki http://localhost:28181/xwiki
ProxyPassReverse /xwiki http://localhost:28181/xwiki
Then I can access to my Xwiki with the following url:
apps.man.poznan.pl/xwiki
From the internal network I can use that one as well:
apps.man.poznan.pl:28181
Now I can describe my problem: when I access xwiki with the port, everything works as expected.
Unfortunately when I use /xwiki url I'm getting the view as on the attached screenshot. It seems that
somehow the links for those little icons are broken. Those links are still active but it doesn't look that good.
I imagine this a minor glitch but if someone has any ideas how to fix that..
Thanks,
Piotr
Hi,
We would like to, conditionally, redirect users who log in to their profile page. (in our case; XWiki.<username>)
The condition is: User is not in ANY OTHER GROUP then XWikiAllGroup.
How can I do this most elegantly, modifying as little as possible of the standard pages that come with a distribution of XWIKI
Gerritjan Koekkoek
Hi,
is there a way to hide/disable (better hide) the "Save & Continue" button
when editing a page? My users like to click it very often creating a
veeeeery long history.
If there isn't a property to do so, i think i'll customize the source code,
in which .vm file do i have to put my hands? or is it in a .js file?
Thanks a lot,
claudio
--
View this message in context: http://xwiki.475771.n2.nabble.com/Disabling-Save-Continue-button-tp5682916p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi colleagues!
I testing some application with standart organization (many of XWiki
applications organized in a same way):
Exists TestAppCode space with all classes, templates, sheets, codes and
exists TestApp space with visualization pages using {{include
document="TestAppCode.SomeTemplate"/}}
When I trying to use getRenderedContent for this document from TestApp (for
example, when I want to send this page by email form another page with my
own code) I get rendered content of TestAppCode.SomeTemplate - not the
content of my data.
I want to clarify - this is because of
http://jira.xwiki.org/jira/browse/XWIKI-4274? Looks like my situation ... I
staying in one page and trying to getRenderedContent for the another page.
Maybe exists some ways to overcome this issue?
Thanks beforehand
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/getRenderedContent-issues-tp5666553p56665…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hey everyone I have been looking around and right now, the notification
emails are sent out by mailer(a)xwiki.localdomain.com, and this is something
that I would like to change.
I looked around in the WatchListMessage.Mail object and can not find where
it is set, I don't see it in the Graphical SMTP settings either, can I get
some help to point me in the right direction, is it something that I have to
set by hand in the config?
Thanks for all your continued help
Martin Bryant
Modus Operandi
http://www.modusoperandi.com
--
View this message in context: http://xwiki.475771.n2.nabble.com/Notification-Mailer-tp5678798p5678798.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello dear friends and community
I need your help with registering users.
The question is:
I have a database table wich contains a list of registered users to my
website.
Now, I want to import this list of users to my XWIKI application.
But i dont know how to import it.
I can select all user name and put them in an xwiki array or set.
and then, i can write a script that will use a for loop to create users
taking username from the array and putting a defualt pathword which users
can change later.
#set($userNames=
{"A","B","C",...................................................})
#set($fields = [])
##
#foreach($userName in $userNames)
## The first name field, no checking.
#set($field = $userNames)
#set($discard = $fields.add($field))
etc....
#createUser($fields, $request, $response, $doAfterRegistration)
#end
will it work?
I am not proficient in XWiki and velocity programming, and I ask for your
help.
Any help will be appriciated.
Hi,
I currently have XWIKI v2.3.2 (windows, standalone XWIKI installation) and
have problems upgrading to the latest release, v 2.5 Milestone 2.
All the following options have FAILED:
1. Upgrade according to the documentation:
--------------------------------------------
- I've created a new xwiki dir, and copied all the WAR content into this
dir. (still using the old DB)
- When i'm trying to access the page i get the following error:
HTTP ERROR 500
Problem accessing /xwiki/bin/view/Main/. Reason:
Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not create a DBCP pool. There is an error in the
hibernate configuration file, please review it.
Caused by:
...
...
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate
execute
Wrapped Exception: Could not create a DBCP pool. There is an error in the
hibernate configuration file, please review it.
....
....
Wrapped Exception:
org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class
'org.hsqldb.jdbcDriver'
2. DB export / import
--------------------------------------------
- Export DB from v 2.3
- Clean install v2.5
- Import database
- Got 10MB max attachment message
- After changing this limit in the XWIKIPreferences, i got JAVA heap out of
memory exception while trying to import my 90mb XAR.
3. DB copy
--------------------------------------------
- Clean install v2.5
- Copy database file from v2.3 to v2.5 dir
- XWIKI loads and works but the Lucene search doesn't work (and i'm not sure
what else.. for start, i'm unable to search inside attachments...)
ANY HELP??
Thanks
Sharon.
Hello,
I develop a macro which display object attached to the current page.
Here summary of my code:
{{goovy}}
def topic = doc.getObject("ActivityReport.TopicClass",
Integer.valueOf(xcontext.macro.params.id))
println "|"+doc.displayPrettyName("topic", title)+"|"+topic.get("title")
println "|"+doc.displayPrettyName("topic", action)+"|"+topic.get("action")
println "|"+doc.displayPrettyName("topic", status)+"|"+topic.get("status")
{{/groovy}}
In my macro page, I put one instance of my TopicClass for development.
That working fine.
In an other page I put an other instance and call my macro.
It display instance from macro page !!!
I suppose that I should not used doc to find current document in macro.
But I don't find in
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial
how to retrieved current document.
I also test xcontext.doc, but it is same as doc.
So how can find current document (the document which call my macro)?
Regards,
Arnaud.
Has anybody run the new xwiki on a windows 2008 server box, preferably x64. I am upgrading to the new version and I run in a windows environment and would like to make use of 2008.
Thanks
________________________________
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,
I would like to share with you three proposals about XE/XEM. I've not a
clear idea about the cost in terms of "programming effort", but I would
like to know if you consider them suitable.
1. In a XE/XEM default installation I think it would be better to
include the username/password fields and the links "Forgot your username
or password?"utilities in the headerglobal area. That way, users will
not be redirected to a different page and can easily see changes in
their current one (the one from where they are logging) once they are
authenticated.
2. On log out, if the user has not access to his/her current page, it
will be informed with a message. Currently you "only" get redirected to
the log in page. Users with concerns about who access contents they have
created or are responsible of, will be happier with this information
message.
3. To show in the Information tab or in an /ad hoc/ tab adding some
administrative capabilities (granting/revoking access rights, for
instance) what users/groups have what rights on the current document.
All these three proposals/ideas are mostly oriented to the use of XWiki
based information systems developed for groups with requirements about
access control and access monitoring. Nothing weird in industrial
environments, nor in biomedical ones.
Thanks for your opinions!
Ricardo
--
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems