Hi XWiki users,
The XWiki projects needs your help. We'd like to improve the documentation on xwiki.org but we need your help to tell us what should be improved in your opinion.
To do so we've created a JIRA project for listing stuff to do:
http://jira.xwiki.org/browse/XWIKIORG
It would be a great help if you could register there and create JIRA issues for anything you think should be improved on xwiki.org.
Please try to create very specific and focused issues so that they are actionable easily (for example an issue saying "Improve xwiki.org documentation" would not help much ;) but one that would say for example: "Provide documentation on how to use the DBListClass" is useful).
Thanks a lot for your help!
-Vincent on behalf of the XWiki Dev Team
Hi,
i played a litle bit with the new release 3.4 and debian on virtual
machines.
First i tried out the standalone installation on the testing
distribution wheezy. The installation works well. But the page
'Administration: Rights' does not show the users and the groups. Did not
investigate the situation further.
Instead tried to install form the debian package
xwiki-enterprise-tomcat-pgsql. Here got the error 'depends on libpg-java
(>= 8.4) [UNAVAILABLE]'.
Should XWiki run on wheezy at all?
So I changed to the stable distribution squeeze. The installation of the
deb package xwiki-enterprise-tomcat-pgsql works well here (did not try
the standalone installation anymore). The Wiki is also runing well, with
one exception: The browser shows a message box with the text 'Server
returned TRANSPORT_ERROR with no error message' somtimes. But all seems
to be ok.
So far my feedback.
The issues with the testing distribution are no problem for me. Feel
confortable enough with the stable distribution but would like to get
rid of the above-mentioned errer messages. Any ideas how to solve this.
Thanks
Ritchi
I had put this question earlier too but knowing that its not configurable
in xwiki as of now as OOB feature. So started implementing this feature
myself with
some modification in code. I did modifications in checkPassword method of
XWikiAuthServiceImpl. Basically i want to put the *passwordLockCount *as
name and *1* as value
in xwikiintegers table(when user tries any unsuccessful login attempt). For
this i used the api i.e userObject.setIntValue("passwordLockCount", 1)
where userObject
is of type BaseObject. But it does not put the value in xwikiintegers table
rather it put in cache. Please recommend me the right API the to put this
number
property in xwikiintegers table?
*i also tried *
NumberProperty passwordLockCount = new IntegerProperty();
passwordLockCount.setName("passwordLockCount");
passwordLockCount.setValue(1);
userObject.addField("passwordLockCount", passwordLockCount);
But it also does not put the property in database?
Hi,
i have installed xwiki form the deb package
xwiki-enterprise-tomcat-pgsql version 3.5. Then tried to contact the
new wiki through the URL http://xwikipg:8080/xwiki (xwikipg is the
hostname where xwiki is running). No page came up. I got this error:
Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration
What to do now?
Thanks for help
Here is the full error text:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: 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: Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate
configuration
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
root cause
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: Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate
configuration
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:418)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
root cause
com.xpn.xwiki.XWikiException: 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: Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate
configuration
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:856)
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:283)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1427)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1470)
com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:3104)
com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:821)
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:796)
com.xpn.xwiki.XWiki.<init>(XWiki.java:739)
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:401)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
root cause
org.hibernate.HibernateException: Can't find
[/WEB-INF/hibernate.cfg.xml] for hibernate configuration
com.xpn.xwiki.store.hibernate.DefaultHibernateSessionFactory$1.getConfigurationInputStream(DefaultHibernateSessionFactory.java:118)
org.hibernate.cfg.Configuration.configure(Configuration.java:2157)
com.xpn.xwiki.store.hibernate.DefaultHibernateSessionFactory$1.configure(DefaultHibernateSessionFactory.java:80)
com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:167)
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:550)
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:728)
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:283)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1427)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1470)
com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:3104)
com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:821)
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:796)
com.xpn.xwiki.XWiki.<init>(XWiki.java:739)
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:401)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.35 logs.
Apache Tomcat/6.0.35
Hi XWiki Users,
I have defined a template page and the associated termplate provider.
All is functional: the template selection popup shows up when a new
page is created.
Now, I try to build a link (using Velocity) that will create a new
page from the template. Any idea ?
Regards,
Maxime
After upgrading to XWiki 3.5 (from 2.6) I noticed that the Lucene search
index was not working properly. On advice I got in the #xwiki IRC chat, I
shut down the server (Tomcat), deleted the Lucene index directory, and
restarted the server. Only about 300 of the thousands of pages were
indexed at that point. I tried re-indexing using the Admin->Search page,
but every time I do that the Admin->Search page gets 'stuck' (won't render).
I saw no errors in the catalina.out log file, and I configured
WEB-INF/classes/logback.xml to enable some more logging to a separate
file... still nothing very informative.
Any ideas what I can do to troubleshoot this? I'm guessing there's some
page in my wiki database that is causing the re-index process to get stuck.
Thanks in advance,
- Josh
As a workaround I tried to inject the stylesheets needed via Plugin.
AbstractSkinExtensionPlugin cssplugin =
(AbstractSkinExtensionPlugin) xwiki.getPlugin("ssfx", context);
cssplugin.use(dir+"stylesheet.css",context);
But it failed.
On the other hand,
AbstractSkinExtensionPlugin jsplugin =
(AbstractSkinExtensionPlugin) xwiki.getPlugin("jsfx", context);
jsplugin.use(dir+"ui.multiselect.js",context);
worked as expected.
I forgot my user name on the last request.
User name: quaternion
Email address (if it matters): ken dot mcwilliams at gmail dot com
Requested wiki name:
struts2.myxwiki.com or if that is not good for some reason...
struts2adventures.myxwiki.com
Reason:
I would like to build a struts2 information wiki.
struts.apache.org/ is an excellent resource for struts2 users, I would
like to focus on the verticals of a struts2 web application (That is
the use cases of persisting data, basic ajax interactions using
Struts2/Spring/JPA).