upgrading from 3.5 on tomcat6 with mysql and LDAP auth against AD
OS is Ubuntu 10.0.4
only "customisation" was in hibernate.cfg.xml for database and
xwiki.cfg for LDAP and lucene path
backed up database
downloaded and unzipped new war file
stopped tomcat
moved webapps/xwiki to a backup location
put the new xwiki in webapps/xwiki
edited hibernate.cfg.xml: xwiki.cfg and xwiki.properties to match previous
removed the LDAP config apart from
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
started up tomcat
logged in as local admin
imported new admin.xar
imported all of it, (well I'd upgraded this install quite a few times
and wanted a "clean sheet")
changed admin user password
changed rights to prevent unregistered users
imported the new ldap.xar
go to setup LDAP
get error "LDAP service is not available. Please verify your installation."
logout as local admin
login as superadmin and get same errror
documentation here
http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application
links to here http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPAut…
which doesn't have anything specific
google searches for the error don't have anything remotely useful
all pages are in place and database looks good, but the lack of LDAP
auth is a bit of a pain
any suggestions, or should I go back to 3.5 and upgrade to 4.1.1
without the LDAP .xar ?
Cheers
Arne
Hi,
It seems that my wiki is spontaneously resetting several configuration
settings, most notably the registration, email, and layout settings. I
enter information like the email server, address, and port, which
panels to display in the sidebar, or whether to require email
verification. After a few hours, I return to the site to find that the
panels are turned off, email registration is turned off and the boxes
for formatting verification emails, etc are blank, and half of the
email settings are cleared. There may also be other configuration
options being reset that I haven't found yet.
I am the only administrative user on the wiki. It's also definitely
not due to vandalism - exactly the same settings disappear every time,
and it has now repeated itself 4 times in the last 24 hours.
I'm running XEM 4.2m2 on Tomcat with MySQL. Any help would be greatly
appreciated...
thanks,
Aaron
Dear XWiki users,
When I try to migrate the database from the version 3.5.1 to the version
4.0, i get the following error message:
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 3202 in 3: Exception while reading document
[name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki],
type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]]
Wrapped Exception: Could not create a DBCP pool. There is an error in the
hibernate configuration file, please review it.
Caused by:
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document
[name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki],
type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]]
Wrapped Exception: Could not create a DBCP pool. There is an error in the
hibernate configuration file, please review it.
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:413)
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-upgrade-from-3-5-1-to-4-0-failing-t…
Sent from the XWiki- Users mailing list archive at Nabble.com.
When I try to migrate the database from the version 3.5.1 to the version 4.0,
i get the following error message:
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 3202 in 3: Exception while reading document
[name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki],
type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]]
Wrapped Exception: Could not create a DBCP pool. There is an error in the
hibernate configuration file, please review it.
Caused by:
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document
[name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki],
type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]]
Wrapped Exception: Could not create a DBCP pool. There is an error in the
hibernate configuration file, please review it.
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:413)
--
View this message in context: http://xwiki.475771.n2.nabble.com/Upgrade-from-3-5-1-to-4-0-is-failing-tp75…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
I am uploading files using File upload plugin in Xwiki on the server
side, On the client I need to use my own HTML/Js code to show a progress
bar.
Is there any way to get upload progress state from the File Upload
Plugin in Xwiki ?
Thanks
The XWiki development team is proud to announce the availability of XWiki
Enterprise 4.1.4.
This is probably the last bugfix release for the 4.1 series. It provides 30
bug fixes, mainly in the Extension Manager, including important fixes for
extensions that provide components or script services (see XCOMMONS-231
andXCOMMONS-232). It also improves the large data migration introduced in
4.0, in particular to support MS-SQL, and fixes an important issue that
cause the migration of annotations to be unintentionally skipped.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
Thanks
-The XWiki dev team
Hi. I have an Xwiki Enterprise 3.4 installation and I'm studying the
integration with LDAP.
I managed to configure the authentication, I created the users and
mapped the groups with the LDAP server.
But I noticed that the performance dropped dramatically when using
LDAP auth, in comparison with local users, specifically it takes
around 10 seconds to access a page (down from <3sec).
So, I started monitoring the traffic between the xwiki machine and the
LDAP machine with tshark and I noticed that every time I click a link
in xwiki, there is a lot of traffic with LDAP. Is there some way to
improve this behaviour (I really don't understand why xwiki needs to
talk with the LDAP server on every page request...)? I see that this
is not a new issue [1], [2]. I also tried setting
xwiki.authentication.always=0 in xwiki.cfg but I didn't notice any
change (it being set to 0 by default already...). Would upgrading to
the latest stable version improve the situation?
1. http://lists.xwiki.org/pipermail/users/2011-April/019745.html
2. http://jira.xwiki.org/browse/XWIKI-2516
Thanks for your time.
--
Fita Adrian
Hi,
I have a few sites for various open source projects:
http://www.lumicall.orghttp://www.opentelecoms.orghttp://www.dynalogin.org
They currently run on drupal7. I've never been a big fan of PHP though,
and as a Java developer, I'm tempted to migrate them to XWiki or Magnolia.
Can anyone make any comment on this choice?
Also, can anyone comment on how an open source/community site can get
skins for WWiki, similar to the many free skins/themes available for drupal?
I've previously run XWiki in a company (back in 2007) and I imagine it
has changed a lot since then....
Regards,
Daniel
I installed XWiki from deb-package. No any changes, only I switched to the
filesystem attachment store, and also, I changed upload_maxsize for 1GB
limit.
All is fine, speed of uploading attachments is great! But when I try to
upload attachment with size more than 200mb (aprox.) - I get an error:
Caused by:
org.apache.commons.fileupload.FileUploadBase$IOFileUploadException:
Processing of multipart/form-data request failed. No space left on device
at
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:371)
at
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin.loadFileList(FileUploadPlugin.java:250)
... 41 common frames omitted
This problem exists only with one attachment file size is more than 200MB,
but I can attach many and many files with 180MB each of them...
Also no any problem with disk storage - all mount points have free space
(new machine).
Can somebody help with this problem?
--
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/Uploading-big-attachments-issue-tp7581155…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'm runnig Wiki 4.1.3 (Ubuntu 12.04) with a wiki content migrated from
Xwiki 3.1. I use postgreSQL 9.1
I'd like to create a xar backup of this migrated content so :
- I connect using the Admin user
- Go to wiki administration
- Content -> Export (
http://localhost:8080/xwiki/bin/export/XWiki/XWikiPreferences?editor=global…
)
and xwiki shows a blank page with top menu, logo and footer. The Export
form is not shown and no administration menu on right. Tomcat output shows
no error except :
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter
[com.xpn.xwiki.api.Util.getArrayList] in unknown namespace@794,35
Any idea ?
The import page is displayed correctly, but that's not what I want to do.
Regards.