-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
I found another minor issue with XWiki.
When users first load the XWiki Main Page using the URL
<http://server:8080/xwiki/bin/view/Main/WebHome/> the
Browser is redirected to the Login Page at
<http://server:8080/xwiki/bin/login/XWiki/XwikiLogin>
This is fine as I configured a private wiki and all users
have to authenticate before using the wiki.
But the Login page seems to be missing the correct CSS.
There is no logo and fonts and colors look very basic.
Now users enter their correct username and password and klick
on the Log-in button. As a result the browser loads the CSS at
address <http://server:8080/xwiki/bin/skin/XWiki/MySkin/style.css>
as a normal file! Opera shows the style sheet in the browser window
as normal text, Firefox and Konqueror opens a dialog and ask the
user what to do (download, open with...)
Users have to reload the page in order to get to the XWiki
main page with the correct style sheet applied. After that
everything works as normal.
I can reproduce this behaviour at every fresh login to XWiki.
BTW: I'm currently testing with xwiki-0.9.840
Ideas?
- - andreas
- --
Andreas Haumer | mailto:andreas@xss.co.at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDX4nOxJmyeGcXPhERAjOYAKDD0PKgwb5kuqWf/7qicGppenQAIQCgjnPK
nrMdeIeMKpR0t0G50gxDcXs=
=+pFn
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
When a user edits a page he has three major options in the
left upper corner of the editor window: "Cancel", "Preview"
and "Save". This is fine as these options are the ones which
are used most of the time in this situation.
But in the Preview window there is only the "Save" option.
What I miss here is an "Edit" option to get back to edit mode
as most of the time I switch between "Edit" and "Preview"
mode several times before the page finally can be saved.
A "Cancel" option would also be fine to have in the page
preview mode but it is not as important as "Back to edit"
Currently I use the browser's "Back" button to get back to
the previous page (the editor) but as we all know this is
not really recommended in any web application and I rather
would have navigation provided by the application only and
not mixed between the application and the browser.
Comments?
- - andreas
- --
Andreas Haumer | mailto:andreas@xss.co.at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDX5kyxJmyeGcXPhERArDHAKCTN5L5kBlsbFV7YA11hnnv+gQT3gCfU/Wn
IPBRGivCLtw+UJPVo0myKic=
=vDjq
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
A few days ago I have installed xwiki for the first time
and I'm really impressed with this application!
Installation was quite easy and the functionality is
impressive. I've used other wiki software before but
XWiki seems to be the best I've seen so far!
I'm running XWiki under Linux and did one test installation
using JBoss-4.0.3, JDK-1.5.0_05 and PostgreSQL-8.0.3 (using
the postgresql-8.0-312.jdbc3.jar JDBC driver) and another test
installation with Tomcat-5.5.10 and the same JDK and PostgreSQL
database.
But even if for the user almost everything is working fine,
as an admin I have found some (minor?) issues:
a) I want to use LDAP authentication of our users. This does
work in principle using the following xwiki.authentication
configuration in xwiki.cfg:
[...]
xwiki.authentication=form
xwiki.authentication.validationKey=totototototototototototototototo
xwiki.authentication.encryptionKey=titititititititititititititititi
xwiki.authentication.cookiedomains=xwiki.intern.xss.co.at
xwiki.authentication.useip=false
xwiki.authentication.ldap=1
xwiki.authentication.ldap.check_level=1
xwiki.authentication.ldap.server=ldap.intern.xss.co.at
xwiki.authentication.ldap.base_DN=ou=people,ou=accounts,dc=xss,dc=co,dc=at
xwiki.authentication.ldap.bind_DN=uid={0},ou=people,ou=accounts,dc=xss,dc=co,dc=at
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.UID_attr=uid
xwiki.authentication.ldap.fields_mapping=name=uid,last_name=sn,first_name=givenName,fullname=cn,mail=mail,ldap_dn=dn
[...]
The problem is: for each page the user loads and each action
the user does with XWiki, the XWiki engine does a LDAP bind
and search on the LDAP server like this:
Oct 26 13:15:29 kant slapd[27005]: conn=17958 fd=34 ACCEPT from IP=192.168.162.15:40645 (IP=0.0.0.0:389)
Oct 26 13:15:29 kant slapd[27018]: conn=17958 op=0 BIND dn="uid=andreas,ou=people,ou=accounts,dc=xss,dc=co,dc=at" method=128
Oct 26 13:15:29 kant slapd[27018]: conn=17958 op=0 BIND dn="uid=andreas,ou=people,ou=accounts,dc=xss,dc=co,dc=at" mech=SIMPLE ssf=0
Oct 26 13:15:29 kant slapd[27018]: conn=17958 op=0 RESULT tag=97 err=0 text=
Oct 26 13:15:29 kant slapd[27032]: conn=17958 op=1 SRCH base="ou=people,ou=accounts,dc=xss,dc=co,dc=at" scope=2 deref=0 filter="(uid=andreas)"
Oct 26 13:15:29 kant slapd[27032]: conn=17958 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Oct 26 13:15:29 kant slapd[16011]: conn=17958 op=2 UNBIND
Oct 26 13:15:29 kant slapd[16011]: conn=17958 fd=34 closed
When many people are working with XWiki, this produces a noticable
load on the LDAP server. IMHO this could be avoided by authenticating
the user once when the session is created on user logon time and then
use the session information further on. Doesn't XWiki work this way?
Or have I done something wrong with the LDAP configuration? Perhaps
this problem is linked with the next problem (hibernate exceptions)?
b) I have installed XWiki under JBoss-4.0.3 and also
standalone Tomcat-5.5.10 using a PostgreSQL database backend
and with both installations I see many of the following exceptions
in the logs:
JBoss installation:
[...]
13:01:38,906 WARN [RequestUtils] No FormBeanConfig found under 'view'
13:01:38,908 INFO [DBCPConnectionProvider] active: 1 (max: 50) idle: 0(max: 5)
13:01:38,967 INFO [DefaultLoadEventListener] Error performing load command
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.objects.classes.BaseClass#-1689278214]
at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:118)
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:167)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:79)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:588)
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiClass(XWikiHibernateStore.java:1194)
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:589)
at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
at com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:637)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:2428)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:133)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
[...]
Tomcat installation:
[...]
13:20:33,221 ERROR http-8080-Processor25 http://tolstoi.intern.xss.co.at:8080/xwiki/bin/view/Main/WebHome AssertionFailure:<init>:22 - an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session)
org.hibernate.AssertionFailure: possible nonthreadsafe access to session
at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:68)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:223)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:320)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:86)
at com.xpn.xwiki.store.XWikiHibernateStore.endTransaction(XWikiHibernateStore.java:350)
at com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiCollection(XWikiHibernateStore.java:982)
at com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsServiceImpl.java:209)
at com.xpn.xwiki.notify.XWikiActionRule.verify(XWikiActionRule.java:51)
at com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:93)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:268)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
com.xpn.xwiki.XWikiException: Error number 3213 in 3: Exception while deleting object XWiki.andreas
Wrapped Exception: possible nonthreadsafe access to session
at com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiCollection(XWikiHibernateStore.java:986)
at com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsServiceImpl.java:209)
at com.xpn.xwiki.notify.XWikiActionRule.verify(XWikiActionRule.java:51)
at com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:93)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:268)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
[...]
- From the user point of view, XWiki seems to be performing just
fine, it's only in the logs I see those errors. What do they
mean? Should I have to worry?
c) there is one error noticable even for normal users:
the PDF export produces wrong results for text inside
the {code} ... {code} tags. You even can find an example
for this on xwiki.org: Just do a PDF export on the page at
<http://www.xwiki.org/xwiki/bin/view/Main/PostgresHibernate>
and you'll see that line breaks are not formatted correctly.
I'm still in the process of learning the major concepts
behind XWiki, so please give me any advice which might be
necessary to solve this problems.
Thanks!
- - andreas
- --
Andreas Haumer | mailto:andreas@xss.co.at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDX250xJmyeGcXPhERAihKAKCiKrNr84GGQwIEr+3zQ1LMONQp0QCglbLG
yD4EpDoOkJh8NY+HtzvvUBQ=
=libQ
-----END PGP SIGNATURE-----
Hi,
Is it possible to have 1 Apache webserver with mod_jk2 and 1 JBoss
running XWiki with 2 (or more) different virtual domains and that both
virtual domains have their own XWiki?
If so, can anyone give me a pointer to a howto or other documentation
(or just tell me how to do it ;-))? I have looked but I could not find
anything that I understood or got working...
TIA
--
Groeten,
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.Kraaijeveld(a)Askesis.nl
web: www.askesis.nl
Hi,
just a question about css:
does xwiki generate some different css styles to make difference between
internal and external links?(like jspwiki and mediawiki)
is there any hints to use them on the xwiki.com <http://xwiki.com> platform?
(our wiki, http://jguard.xwiki.com is hosted on it => thanks to the xwiki
team!!).
=> internal and external links are displayed in the same look and feel.
cheers,
Charles.
ps: it seems you have rolled back to an old version of xwiki on
xwiki.com<http://xwiki.com>=> the proxy issue comes back: when i want
to edit a page,
it displays always the same edit page....
Hi
I've created a form with XWiki to allow users to submit information.
The problem I've is when people enter special characters in HTML that are
interpreted such as :
' " < >
I wonder if XWiki provide a mecanism to encode this special characters into
HTML encoding.
Regards
--
Xavier MOGHRABI - Consortium ObjectWeb
Email: xavier.moghrabi at objectweb.org
Phone: +33 4 76 61 52 35 - Skype ID: xavier.moghrabi.bureau
hello!
i'm trying do get xwiki to work with an oracle database for a projekt i
do at my university (university linz, Austria). i did several researches
on this topic but couldn't find any useful howto or starting-point.
it would help me a lot if someone could provide me with some information
and
tips or even a little howto on this topic!
thanks in advance,
florian
--
Highspeed-Freiheit. Bei GMX superg�nstig, z.B. GMX DSL_Cityflat,
DSL-Flatrate f�r nur 4,99 Euro/Monat* http://www.gmx.net/de/go/dsl
Hi,
I'd like to do a kind of SQL request with XWiki in order to get a data store
in an Object.
Here's my problem :
1 I've created a Class in XWiki in order to create a form for users. In this
class I've named one of a property ID that should allow me to distinct
objects.
2. I've created a template associated to this class that contain a single
Object of this class.
3. I've created a Form to allow users to fill the data. The problem I have is
that I have to give a unique name for the document created. Thus I thought to
use to ID property that I've created. So I wanted to do a SQL Query to get
the maximum id and by this way my new document name would be Data.Doc"ID+1".
The problem is that I don't know how to access the desired property with
XWiki. I've read the documentation about the data model :
http://www.xwiki.org/xwiki/bin/view/DevGuide/Database+Schema but I didn't
find the solution to my problem.
If I execute the following Query (my class is XWiki.CFPClass):
#set ($sql = "select distinct obj from XWikiDocument as doc, BaseObject as obj
where obj.name=doc.fullName and obj.className='XWiki.CFPClass' and
doc.name!='CFPClassTemplate'")
with this code :
#foreach ($item in $xwiki.search($sql))
$item <br />
#end
I get fine my objects :
CFP.Test 0 XWiki.CFPClass
CFP.Test1 0 XWiki.CFPClass
But I don't know how can I reach the property ? The property class seems to be
'BaseProperty' but I don't know how can I add it with the query.
if I test a query like this :
select distinct prop.name from XWikiDocument as doc, BaseObject as obj,
BaseProperty as prop where obj.name=doc.fullName and
obj.className='XWiki.CFPClass' and doc.name!='CFPClassTemplate'
I get all the existing properties even the ones which aren't in the class
XWiki.CFPClass.
Any Idea ?
--
Xavier MOGHRABI - Consortium ObjectWeb
Email: xavier.moghrabi at objectweb.org
Phone: +33 4 76 61 52 35 - Skype ID: xavier.moghrabi.bureau