Hi,
I'd like to build a small application that should send emails.
XWiki is installed on a Redhat Linux 4 with Sendmail 8.13.1. When I try a
simple example to send email I get the following error message from XWiki :
Error number 4001 in 4: Error while parsing velocity page Demos.test
Wrapped Exception: Invocation of method 'sendMessage' in class
com.xpn.xwiki.XWiki threw exception class com.xpn.xwiki.XWikiException :
Error number 10005 in 10: Could not login to mail server localhost port 25
error code 501 (501 5.0.0 Invalid domain name
)
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page Demos.test
Wrapped Exception: Invocation of method 'sendMessage' in class
com.xpn.xwiki.XWiki threw exception class com.xpn.xwiki.XWikiException :
Error number 10005 in 10: Could not login to mail server localhost port 25
error code 501 (501 5.0.0 Invalid domain name
...
In fact after looking for the problem in my sendmail conf, I discover that the
problem come from the domain name indicated by XWiki which avoid XWiki to
connect to sendmail : 'HELO XWiki version 0.9.840'
I would like to know if there is a way to change the XWiki domain name or to
tell sendmail to accept wrong domain name. In my sendmail config, I've put
this :
FEATURE(`accept_unresolvable_domains')dnl
But it still doesn't work.
Thanks a lot
--
Xavier MOGHRABI - Consortium ObjectWeb
--
Sendmail debug trace :
obispeno sendmail[17999]: NOQUEUE: connect from obispeno.inria.fr [127.0.0.1]
obispeno sendmail[17999]: AUTH: available mech=CRAM-MD5 LOGIN DIGEST-MD5
ANONYMOUS PLAIN, allowed mech=EXTERNAL GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5
obispeno sendmail[17999]: j9JHQANM017999: Milter: no active filter
obispeno sendmail[17999]: j9JHQANM017999: --- 220 obispeno.inria.fr ESMTP
Sendmail 8.13.1/8.13.1; Wed, 19 Oct 2005 19:26:10 +0200
obispeno sendmail[17999]: j9JHQANM017999: <-- HELO XWiki version 0.9.840
obispeno sendmail[17999]: j9JHQANM017999: --- 501 5.0.0 Invalid domain name
obispeno sendmail[17999]: j9JHQANM017999: invalid domain name (XWiki) from
obispeno.inria.fr [127.0.0.1]
obispeno sendmail[17999]: j9JHQANM017999: --- 421 4.4.1 obispeno.inria.fr Lost
input channel from obispeno.inria.fr [127.0.0.1]
obispeno sendmail[17999]: j9JHQANM017999: obispeno.inria.fr [127.0.0.1] did
not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
I have installed Tomcat 4.1.14, MySQL 4.1 and XWiki 0.9.840. I have
tried following the instructions listed on the download page: Install
on Windows with standard Apache Tomcat and receive errors when trying to
start up Tomcat. The following error is from the log:
2005-10-17 15:11:11 StandardManager[/XWikiWeb]: Seeding of random number
generator has been completed
2005-10-17 15:11:11 StandardContext[/XWikiWeb]: Exception starting
filter Set Character Encoding
java.lang.ClassNotFoundException:
com.xpn.xwiki.web.SetCharacterEncodingFilter
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1407)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1252)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFi
lterConfig.java:205)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applicatio
nFilterConfig.java:280)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilte
rConfig.java:73)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.jav
a:3101)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3558
)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:707)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)
at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)
at org.apache.catalina.startup.Catalina.start(Catalina.java:463)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
2005-10-17 15:11:11 StandardContext[/XWikiWeb]: Context startup failed
due to previous errors
I have searched in the WAR to find the JAR that might contain
SetCharacterEncodingFilter, but do not find anything. What JAR is this
class supposed to be packaged in and how can I find that JAR? Any
recommendations to get me up and going would be much appreciated.
Thanks.
Katrina N. Mitchell
The Home Depot - Information Systems
Development Workbench
(770) 433-8211 ext. 82097
You can do it. We can help.
have you read this page :
http://www.xwiki.org/xwiki/bin/view/Dev/CharactersSets
Jérémi
On 10/31/05, Andrey V. Karlov <voland(a)udm.ru> wrote:
> Hello everybody!
>
> I'm try to using XWiki 0.9.840 in the own projects, but have a lot
> of problem with Russian text. Maybe I do something wrong, so please
> help me if possible.
>
> I'm using KOI8-R encoding in XWiki. Russian text is edited and
> viewed correctly.
>
> 1. But it's impossible to search on the Russian - search box
> contains "????" after Sumbit. Looks like incorrect encoding is used.
>
> 2. When I try to use Lists Syntax - it's not working at all. Some
> lines are displayed as bold, some lines as regular text.
>
> 3. It's impossible to create new page with Russian name. It's always
> saved as "?????".
>
> Thank you for your comments!
--
http://www.jeremi.infohttp://www.xwiki.org
skype: jeremi23
--
http://www.jeremi.infohttp://www.xwiki.org
skype: jeremi23
Nguyen Manh Toan wrote:
> Dear Mr. Stephane,
>
> I'm working with xwiki and I have a problem with my Vietnamese content.
> I've configured as the intruction at url:
> http://www.xwiki.org/xwiki/bin/view/Dev/CharactersSets.
> After configured, Xwiki did well for the first time but when I clear all
> cache and restart Tomcat server some vietnamese character changed to
> ??????. I checked in mysql database and it store characters ???? too.
>
> Could you help me to configure Xwiki work with vietnamese content?
>
> Best regards,
> Toan
Dear Toan,
I'm copying your request to xwiki-users mailing-list. Can you let us
know about the XWiki version and the MySQL version you're using? Can you
check whether MySQL is correctly set up for storing content in UTF-8
(by issuing the command "show variables")?
Greetings,
Stéphane
--
Stéphane Laurière
slauriere(a)mandriva.com
http://club.mandriva.com
-----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
In moving content over from our Zope driven site, I have noticed that
several times the content of the Zope page creeps into the right margin
and pollutes the Search column. Is there a global setting that will
change the XWiki format so that it will auto adjust for the content?
With the Toolbar editor, I am sure I could remove the whole column,
however I don't want to. Just make it allow for content so it will
shift to the right automagically.
Thanks,
Tim Suter
Hi,
I try to set up virtual wikis by following the documentation :
http://www.xwiki.com/xwiki/bin/view/Doc/HowToSetupVirtualWikis
However when I went to the page XWiki.XWikiServerClass, I got the following
error. I was using xWiki 0.9.840 with UTF-8 configuration :
Error number 0 in 11: Uncaught exception
Wrapped Exception: String index out of range: -7
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: String index out of range: -7
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:224)
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: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.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run()V(Unknown Source)
Wrapped Exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: -7
at java.lang.String.substring(II)Ljava.lang.String;(Unknown Source)
at com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:627)
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: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: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.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run()V(Unknown Source)
Any clue ?
--
Xavier MOGHRABI - Consortium ObjectWeb
Email: xavier.moghrabi at objectweb.org
Phone: +33 4 76 61 52 35 - Skype ID: xavier.moghrabi.bureau
Hi everybody,
I have this issue with usernames: it appears that too long logins
prevent users from logging in. What is the actual limit for login names,
and is there a way to extend it?
As a test I have registered on xwiki.org a user with a username having
100 characters, and they cannot login indeed.
Locally I see the user is correctly authentified, but then there's a
problem with the cookie. Here's the trace I get:
==============
!remember-me cookie validation hash mismatch!
!remember-me cookie has been tampered with!
!remember-me cookie is being deleted!
==============
That's a problem for me as my logins are based on the email address, and
some have a length of 100 characters.
Stéphane
--
Stéphane Laurière
slauriere(a)mandriva.com
http://club.mandriva.com
While trying to upgrade an XWiki installation from 0.9.793 to 0.9.840 I
face a MySQL connection problem.
My server config:
=======
MySQL 4.1.12
Tomcat 5.5.9
JDK 1.5
Mandrake Linux virtual server kernel 2.6.9-vs1.9.3
XWiki runs in non virtual mode
URL: http://www.edos-project.org
======
XWiki 0.9.793 works perfectly on that server since a while. When trying
to run the 0.9.840 version with the same Hibernate and XWiki
configuration files, I get the exception below. MySQL "skip-networking"
option is correctly set in /etc/my.cnf. I noticed that the error appears
in some of previous XWiki build reports such as this one:
http://build.xpertnet.biz/cc/buildresults/xwiki?log=log20050628171819Lbuild…
Any hint is welcome!
Note: getting a simple connection to MySQL with the lines below works
perfectly fine on the server.
======================
String url = "jdbc:mysql://localhost/xwiki";
String username = "xwiki";
String password = "passwd";
Connection conn = DriverManager.getConnection(url, username, password);
======================
Exception when running XWiki webapp:
21:32:16,675 WARN http-80-Processor25 http://www.edos-project.org/xwiki/
Configurator:configure:126 - No configuration found. Configuring ehcache
from ehcache-failsafe.xml found in the classpath:
jar:file:/usr/local/tomcat/jakarta-tomcat-5.5.9/webapps/xwiki/WEB-INF/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
21:32:21,112 WARN http-80-Processor25 http://www.edos-project.org/xwiki/
JDBCExceptionReporter:logExceptions:71 - SQL Error: 0, SQLState: 08S01
21:32:21,113 ERROR http-80-Processor25
http://www.edos-project.org/xwiki/
JDBCExceptionReporter:logExceptions:72 - Communications link failure due
to underlying exception:
** BEGIN NESTED EXCEPTION **
java.io.EOFException
STACKTRACE:
java.io.EOFException
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1842)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2288)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2784)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1531)
at
com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1347)
at
com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:958)
at
com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1705)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:118)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1239)
at org.hibernate.loader.Loader.doQuery(Loader.java:374)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:210)
at org.hibernate.loader.Loader.doList(Loader.java:1562)
at org.hibernate.loader.Loader.list(Loader.java:1545)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:375)
at
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:840)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
============================
--
Stéphane Laurière
slauriere(a)mandriva.com
Mandriva Club - http://club.mandriva.com
Mandrakesoft becomes Mandriva!
Hi,
I have followed the installation instructions but for some reason I do
not understand I get the following exception:
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while saving class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:142)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
Is there a fool (==me) proof way of installing xwiki with JBoss,
PostgreSQL and Debian Sarge AMD64? Is there anyone actually using XWiki
with JBoss??
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
Is it possible for xwiki to serve a static VM file that is not
associated with a document? That is, serve a url like "/xwiki/
foo.vm" and have the velocity evaluated? As a workaround, I can do
something like /xwiki/bin/view/XWiki/DummyDoc?xpage=foo.vm but it
seems wasteful to have to query the DB to serve a somewhat static file.
Matt
Hi,
I'm using v0.9.842 on tomcat 4.1.31 with j2sdk1.4.2_06 and postgresql 7.3.5:
I had been editing and building a page thru the bin/edit function over days without problem, then today it would throw the errors below after every save even tho it still made the changes (most of the time).
I tried cutting down the size of the page but finally tried saving a blank page and still got the error so I do not think it was from my mix of wiki syntax and html or html-area generated content that caused the errors.
And, during this whole period I was still able to create and edit other pages than the one I had trouble with. I finally deleted the page, and recreated it w/ a different name but same content and it's fine now.
I had restarted the db server and tomcat but that had no effect.
Does anyone know what this might be? thx in adv -ken
here's the generic-looking error:
Wrapped Exception: Could not execute JDBC batch update
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document Csdg.WebAppServersAsRPMs
Wrapped Exception: Could not execute JDBC batch update
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:540)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:560)
at com.xpn.xwiki.XWikiService.actionSave(XWikiService.java:445)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:155)
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.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
[snip]
...sorry at this point I can't do a debug.
I'm sure I'm not the only one who's noticed the outage. Maybe it's time to
think about migrating back to sourceforge, or using some other system that's
a bit more robust?
I got LDAP Authentication working. However, I cannot log in as the
xwiki admin. How do I get that log in AND LDAP working at the same
time? Also, I need the LDAP users to have editing capabilities and not
just be able to view.
Thanks,
Tim
Any help from this side?
On 29.09.2005, at 21:35, Yves Langisch wrote:
> I defined a class with several properties and I created some
> documents based on this class. Now I added some new properties to
> this class but I'm not able to supplement the new properties in the
> existing objects (field is read-only, no input field). When I
> create a new one the property can be set.
>
> Is this a normal behaviour?
>
> Yves
>
>
> --
> You receive this message as a subscriber of the xwiki-
> dev(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/
> wws
>
Hi all,
I'm having troubles to separate the editing/authoring view from the
normal view. When creating a new object instance I'd like to have a
completely different authoring form from the later read-only view.
When I'm right a sheet and a template per class should help
separating these two things?!? I also played around with the FAQ
sample application (http://www.xwiki.org/xwiki/bin/view/DevGuide/FAQs
+Tutorial) but without success. The problem seems to be that the when
creating a new document the template content is copied into the new
document and is used for both editing and viewing. Do I get anything
wrong?
Thanks
Yves
Is it possible to have groovy script in the "*.vm" templates that are
in a custom (or default) skin?
I tried adding some groovy script, but the script just got echoed
verbatim to the output html.
I have no problem adding groovy to an xwiki document.
Matt
All,
I have a few questions concerning the readiness of xwiki for production:
- how 'production-ready' is xwiki in the actual version?
- are there any known issues which can affect the production (load,
leaks, ...)?
- there are links which generates a stack trace (e.g.
http://www.xwiki.org/xwiki/bin/view/Mai ) . Is there a way to define a
general error page so that any stack trace is caught by this page (and
can be hidden)?
Thanks
Yves
Hi all,
I know that this question is not a functionality question, but it affects
directly the usability of Xwiki, especially to convince non-programmers to
use wiki. Then, here it goes:
Using the xwiki syntax to build tables, I find the resulting code a little
unreadable once it is not allowed to insert line breaks.
I tried to insert HTML comments to solve the problem, but it did not work.
I put the code just below to illustrate my point. Is there any way for doing
something like the third way?
a) How it is:
{table}
Header 1|Header 2
A value|A Value
A value|A Value
A value|A Value
{table}
b) the way I tried:
{table}
Header 1|Header 2
A value|A Value
<!-- cleanning the code -->
A value|A Value
<!-- cleanning the code -->
A value|A Value
{table}
c) how I would like to see:
{table}
Header 1|Header 2
A value|A Value
A value|A Value
A value|A Value
{table}
Rodrigo Paes
PHD Student - Computer Science - PUC-Rio - <mailto:rbp@les.inf.puc-rio.br>
rbp(a)les.inf.puc-rio.br
Messenger - <mailto:r0drigopaes@hotmail.com> r0drigopaes(a)hotmail.com
Web-page: <http://www.teccomm.les.inf.puc-rio.br/rodrigo/>
http://www.teccomm.les.inf.puc-rio.br/rodrigo/
"Só existem duas certezas na vida: a morte e os impostos"
I've noticed that activating the always authenticate on viewing feature in the
XWiki preferences prevents unregistered users from accessing all pages,
including the registration page. Is there a way to hide content from uregistered
users and allow new users to register?
Thanks
- Mark Lichman
I performed a raw install: installed xwiki version 0.9.840 fresh on a Fedora Core Linux box with mySQL 4.0.26 and Tomcat 5.02. After I finally figured out how to install mySQL everything went smoothly. My wiki is up and running, and I started using it and building pages.
But I noticed that everything I was doing is as the user: XWikiGuest. I want to create user accounts, and disable editing for anonymous guests. So, I click on "register" it takes me to a completely blank page. Just exactly like the blank pages you have when you've got a page and haven't put anything on it yet. So, I click on "edit this page" and it looks exactly like I'm editing a normal page - in fact it lets me edit the page. But no way to register new users.
So, I go to the user's page: xwiki/bin/view/XWiki/XWikiUsers and it is completely blank too. Exactly like the above, I can edit it and do what I want on it, but no user stuff. So, I go back to my main page and click on "log in" and I try out the Admin password that is advertised on the support site user: "Admin" password: "admin" - and no dice. It grinds away for 1 split second and gives me back my log-in screen with the words I just typed in missing. No errors, nothing about bad passwords, nothing.
I looked all over the documentation and couldn't find anything helpful.
Ever seen this problem before? Is there something somewhere on the documentation site that I could paste into those two pages, using "edit page" to make them work?
Thanks
Kevin Miller
Please pardon me for asking, but I couldn't find a good answer for this in
the archive or in the FAQ.
On Main.WebHome and on just about every other page I get the nice left0side
menu. When I click on the various categories on the left, such as News or
Personal, it takes me to a page which shows the recent extracts for that
category, and the page title for all of these pages is Blog.Category.
Unfortunately, the left-sde menu is missing from all Blog.Category page
instances. How can I add it back in?
Also, is there any way to list all the links that have been created but do
not yet have their own pages? I will often just put brackets around
something with the intention of getting back to it later, but sometimes I
forget where they were. On the same note, is there any way to get a list of
all pages that have been created?
Thanks in advance!
Randy
Hi all,
Using XWiki 0.9.840 I get systematically the error below when trying to
export any document to PDF. Do you have any idea about it? I tried both
UTF-8 and ISO-8859-1 encodings and I got the same result. The XML
conversion works fine.
Stéphane
================================
com.xpn.xwiki.XWikiException: Error number 12003 in 12: XSL
Transformation Failed
Wrapped Exception: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
at com.xpn.xwiki.pdf.impl.PdfExportImpl.applyXsl(PdfExportImpl.java:176)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.convertXHtmlToXMLFO(PdfExportImpl.java:154)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:86)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:115)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:129)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportToPDF(PdfExportImpl.java:119)
at com.xpn.xwiki.XWikiService.renderPDF(XWikiService.java:969)
================================
--
Stéphane Laurière
slauriere(a)mandriva.com
Hi.
I've tried to create a blog exactly as described in tutorial, but I get
an error just after first step i.e. after 'save' or even 'preview' of
Test.BlogMacro page containing
#set($page = Blog.WebHome)
#includeForm("Test.BlogMacro")
The error is
Error number 4001 in 4: Error while parsing velocity page Test.BlogMacro
Wrapped Exception: Encountered "Blog" at line 1, column 14. Was
expecting one of: "[" ? "(" ? ? "true" ? "false" ? ? ? "{" ? "!" ?
Do you have any suggestions? Where to begin to look?
I'm using xwiki version 0.9.793.
Richard.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
Hi,
I try to display a document inlined of another one:
snippet from my CountryClassSheet:
<table border="1" cellspacing="0" cellpadding="2">
#foreach($prop in $class.properties)
<tr>
<td> *${prop.prettyName}* </td>
#if ($prop.name == "region")
<td>
#includeTopic("YlaTst.Sicilia")
</td>
#else
<td>$doc.display($prop.getName())</td>
#end
</tr>
#end
The problem is that the including document itself is included instead
of the YlaTst.Sicilia document ! It's inlined only once without
recursion.
What's wrong here?
Yves
Hi,
I have a class with a database list property which should give the
possibility to make a relation to another document. To achieve this I
put following hibernate query string to the property definition:
select obj.name from BaseObject as obj where
obj.className='MyApp.MyClass'
Now when I create a new object I can edit all other fields except the
one with the database list. Is there any problem with my hibernate
query? Btw, I found the query string in the Demo.RelationalFormDemo
class on the xwiki site. Additional question: what it the BaseObject
table? Is it changing depending on the context?
Thanks
Yves
Excellent, thanks!
Now, if there is just a way to add a toc, at least at the section level this
will be quite an acceptible work around.
- Mark
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Thursday, September 22, 2005 2:16 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] replicate sectional editing behavior
Lichman, Mark Eugene wrote:
> Ok, I've gotten the first part (including all children in a page) with the
> following:
>
> #set($sql = "where doc.parent = '${doc.web}.${doc.name}'")
> #foreach($item in $xwiki.searchDocuments($sql))
> #includeTopic($item)
> #end
>
> Not sure how to do the rest.
>
>
To add a link:
#set($sql = "where doc.parent = '$doc.fullName'")
#foreach($item in $xwiki.searchDocuments($sql))
#set($itemdoc = $xwiki.getDocument($item))
<a href="$itemdoc.getURL("edit")">edit this section</a>
#includeTopic($item)
#end
To add a form field to create a new section.. Another solution could be
to automatically name pages using a counter and use the parent page name..
<form action="">
<input type="hidden" name="parent" value="$doc.fullName" />
Add a section: <input type="text" name="name" value="new section name" />
<input type="button" value="Go"
onclick='action="../../edit/${doc.web}/" + this.form.name.value;
this.form.submit();' />
</form>
Ludovic
> - Mark
>
>
> -----Original Message-----
> From: Lichman, Mark Eugene
> Sent: Thursday, September 22, 2005 12:28 PM
> To: xwiki-users(a)objectweb.org
> Subject: [xwiki-users] replicate sectional editing behavior
>
>
> I'd like to replicate sectional editing behavior. I think a possible way to do
> this is:
>
> 1. create a parent page and include all child pages,
> 2. for each child include a link to the edit page
> 3. add a class at the bottom of the parent page to create a new section, maybe
> automatically creating the link to the new sections edit page
>
> Is this possible? Could someon help me figure out how to do this, i.e. how to
> include all child page in a parent and create the necessaryv class.
>
> Thanks Much,
>
> - Mark Lichman
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Ok, I've gotten the first part (including all children in a page) with the
following:
#set($sql = "where doc.parent = '${doc.web}.${doc.name}'")
#foreach($item in $xwiki.searchDocuments($sql))
#includeTopic($item)
#end
Not sure how to do the rest.
- Mark
-----Original Message-----
From: Lichman, Mark Eugene
Sent: Thursday, September 22, 2005 12:28 PM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] replicate sectional editing behavior
I'd like to replicate sectional editing behavior. I think a possible way to do
this is:
1. create a parent page and include all child pages,
2. for each child include a link to the edit page
3. add a class at the bottom of the parent page to create a new section, maybe
automatically creating the link to the new sections edit page
Is this possible? Could someon help me figure out how to do this, i.e. how to
include all child page in a parent and create the necessaryv class.
Thanks Much,
- Mark Lichman
Can someone explain how to change the xwiki logo in the upper left
corner of the pages so that all of them will be changed? I also want to
remove that gradient blue bar out of there so I can just put my company
logo on it and not worry about it looking funky. Is it really as
difficult as the howto on the xwiki.org site suggests or has someone
developed a quick and dirty howto on this? I am new at CSS and
inevitably will break something if I go messing with the skins.
Peace be with all of you,
Tim Suter
Is it possible to have different permissions on a object Vs the page
the object lives on?
For example, if I have an instance of a custom class attached to a
page, can I allow users to edit the page, but prevent them from
editing (or even viewing) the object?
Matt
Hi there,
I think this is a way. For example I can limit the display to 5 by
"count=5". How can I set it to include description? "full=true"
doesn't seem to work.
Thanks in advance.
Howard
I'd like to replicate sectional editing behavior. I think a possible way to do
this is:
1. create a parent page and include all child pages,
2. for each child include a link to the edit page
3. add a class at the bottom of the parent page to create a new section, maybe
automatically creating the link to the new sections edit page
Is this possible? Could someon help me figure out how to do this, i.e. how to
include all child page in a parent and create the necessaryv class.
Thanks Much,
- Mark Lichman
Also, this file has some of the different interface items labeled
http://pause-java.com/xwiki/doc/doc-xwiki.jpg
Even if you don't know css, all that's needed to change the color at least is
the line background-colo: #(6 digit html color code, check the net to see color
codes)
- Mark Lichman
-----Original Message-----
From: kenk(a)ucar.edu [mailto:kenk@ucar.edu]
Sent: Thursday, September 22, 2005 11:53 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Re: Xwiki Logo
> Can someone explain how to change the xwiki logo in the upper left
> corner of the pages so that all of them will be changed?
go to this page:
http://<yourdomain.com>/xwiki/bin/view/XWiki/MySkin
and look at the attachments, you see the graphic. And on 'Edit this skin'
you'll see the style.css for logo and other things. Maybe that border too, but
I don't know css either.
To modify the logo
- Make your new logo (the default logo size is 150x40)
- Drop the file into ../xwiki/skins/default
- modify the last line of style.css file to have your logo filename
To modify the background color of the heading bar (make it white say)
- in xwiki.css add the folowing line to the #banner
background-color:#ffffff;
if you want to change the height of the top heading/banner/logo
- in xwiki.css modify #banner height for the desired pixel height
easiest way to ensure consistent display of the logo if you want to change the
logo size is
- modify the following line in header.vm
<img src="$logourl" alt="XWiki" width="150" height="40"/>
to have the proper width and height of your logo. Make sure that the height is
no bigger than the banner height in xwiki.css
- Mark Lichman
Note: if your logo width is smaller than the default, you will likely have a
tiled logo display unless you remove background doubling. Cheap way to solve
this for all browsers is to shrink the logo size in header.vm
-----Original Message-----
From: Tim Suter [mailto:tsuter@cait.org]
Sent: Thursday, September 22, 2005 11:34 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Xwiki Logo
Can someone explain how to change the xwiki logo in the upper left
corner of the pages so that all of them will be changed? I also want to
remove that gradient blue bar out of there so I can just put my company
logo on it and not worry about it looking funky. Is it really as
difficult as the howto on the xwiki.org site suggests or has someone
developed a quick and dirty howto on this? I am new at CSS and
inevitably will break something if I go messing with the skins.
Peace be with all of you,
Tim Suter
Hi
I'm looking for a way to define some kind of associations between
classes. Let me explain by an example what I mean exactly:
I want to collect structured data for countries and its regions. To
achieve this I define to classes, CountryClass and a RegionClass (incl.
the sheets and templates). Now the user should be able to create new
country objects _and_ he should have the possibility (in the form
itself) to define which regions belong to a country.
I tried to achieve this by adding a database list property to the
country class with an appropriate hibernate query which selects all
region documents. This let the user select one or more regions for a
country. This is fine so far but
- Is there any more general or a better way to achieve this associations
(e.g. without hibernate queries)?
- How can I adapt my ClassSheet so that the selected region associations
are hyperlinked to the appropriate region objects?
Thanks
Yves
I am trying to enable LDAP authentication against an OpenLDAP server and
need some advice on how to get this up and running. Can someone help me
out?
Heres the content of the authentication portion of my xwiki.cfg file in
following the configuration instructions here:
http://www.xwiki.org/xwiki/bin/view/Dev/LDAPIntegrationAD
You will note that I have asked some questions throughout the file.
xwiki.authentication=form
xwiki.authentication.validationKey=totototototototototototototototo
xwiki.authentication.encryptionKey=titititititititititititititititi
xwiki.authentication.cookiedomains=xwiki.com,wiki.fr
xwiki.authentication.useip=false
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=ldap.cait.org
xwiki.authentication.ldap.port=389
#xwiki.authentication.ldap.check_level= <? Wasn't sure of what this
should be. Need more info on what this is and does.>
xwiki.authentication.ldap.base_DN=ou=People,o=cait.org
#xwiki.authentication.ldap.bind_DN= <blank for anonymous access What's
the proper way to indicate 'blank'?>
#xwiki.authentication.ldap.bind_pass= <blank for anonymous access>
#xwiki.authentication.ldap.UID_attr=uid
The ones I have commented out are also commented out currently in the
config file. Should I comment some out or change others?
Tim
This time I deleted something in the database to get rid of my rogue page (see
previous threads). Since then the attachments made with the form
{attach:file.ext} do not work. Instead of making the link it just shows the
name of the file.
I get this error message in the logs:
23:15:57,855 INFO [Engine] StandardContext[/xwiki] Velocity [error] RHS of
#set statement is null. Context will not be modified. [line 6, column 1]
Where should I look to get the attachment back at work? Do you know?
Thanks.
Marc
I am new to XWiki.
This post is related with my previous one (Cannot recover a page).
I want to remove the attachment which is caused problems. Now I get this
page (displayed with header xwiki this time).
To me it looks like Hibernate does not find it. However, how come is this
attachment listed here then?? How can I remove it?
Thanks.
Marc
---------------
Un problème est apparu en essayant de réaliser cette action. Veuillez
contacter le support si cela se reproduit
Information détaillée:
Error number 3233 in 3: Exception while deleting attachment
Le_reglement_de_la_salle_informatique.png of document Cours.INFO8
Wrapped Exception: Error number 3231 in 3: Exception while loading
attachment Le_reglement_de_la_salle_informatique.png of document
Cours.INFO8
Wrapped Exception: No row with the given identifier exists:
[com.xpn.xwiki.doc.XWikiAttachmentContent#-1460361804]
com.xpn.xwiki.XWikiException: Error number 3233 in 3: Exception while
deleting attachment Le_reglement_de_la_salle_informatique.png of document
Cours.INFO8
Wrapped Exception: Error number 3231 in 3: Exception while loading
attachment Le_reglement_de_la_salle_informatique.png of document
Cours.INFO8
Wrapped Exception: No row with the given identifier exists:
[com.xpn.xwiki.doc.XWikiAttachmentContent#-1460361804]
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHibernateStore.java:1647)
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHibernateStore.java:1525)
at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:1514)
at com.xpn.xwiki.XWikiService.actionDelattachment(XWikiService.java:105)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:198)
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:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
Kudos to Steven Schaub for taking the time to create a very nice piece of
documentation!
http://wwwxwiki.org/xwiki/bin/view/Dev/AggregateDocs
Steven - we are grateful.
Please consider moving this to the Samples and Snippets area of the
DevGuide. The DevGuide is the new de-facto home for developer
documentation.
http://www.xwiki.org/xwiki/bin/view/DevGuide/Samples+and+Snippets
(We might should rename this area to "Applications and Code Snippets" or
something like that.)
==================================
Cody Burleson
Ha! Thanks, I was trying <pre>\</pre>, forgot about the curly brackets.
-----Original Message-----
From: Erwann Robin [mailto:erobin@mandriva.com]
Sent: Friday, September 16, 2005 11:54 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] problem displaying character \
simply do :
{pre}\{/pre}
or "\"
Erwann
Le vendredi 16 septembre 2005 à 11:46 -0400, Lichman, Mark Eugene a
écrit :
> I cannot find a way to display this character "\" does anyone know how
> to do this?
>
> - Mark Lichman
> pièce jointe plain text document (message-footer.txt)
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
I am new with XWiki.
I uploaded a huge document (5MB) which caused a heap space exception.
Now I can't get the page back, I get instead the following error page, and
I can't delete it either (same kind of error page).
Is it possible to rescue my content?
Otherwise how can I get rid of this page and start fresh?
Thanks in advance.
-----------
Error number 4001 in 4: Error while parsing velocity page Wrapped
Exception: Invocation of method 'parseContent' in class
com.xpn.xwiki.api.XWiki threw exception class
java.lang.NullPointerException : null
Error number 4001 in 4: Error while parsing velocity page
Wrapped Exception: Invocation of method 'parseContent' in class
com.xpn.xwiki.api.XWiki threw exception class
java.lang.NullPointerException : null
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page
Wrapped Exception: Invocation of method 'parseContent' in class
com.xpn.xwiki.api.XWiki threw exception class
java.lang.NullPointerException : null
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:131)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:254)
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:172)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:223)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:125)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:87)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:50)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:244)
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:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.NullPointerException
at com.xpn.xwiki.XWiki.parseContent(XWiki.java:772)
at com.xpn.xwiki.api.XWiki.parseContent(XWiki.java:250)
at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:223)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:125)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:254)
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:172)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:223)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:125)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:87)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:50)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:244)
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:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
XWiki
${doc.fullName}
$msg.get("login")
$msg.get("register")
XWiki Version 0.9.840
$msg.get("problemoccured")
$msg.get("detailedinformation"):
Error number 3202 in 3: Exception while reading document Cours.INFO7
Wrapped Exception: exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiDocument.setArchive
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document Cours.INFO7
Wrapped Exception: exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiDocument.setArchive
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:646)
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:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.hibernate.PropertyAccessException: exception setting property value
with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more
info) setter of com.xpn.xwiki.doc.XWikiDocument.setArchive
at
org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:203)
at org.hibernate.tuple.PojoTuplizer.setPropertyValues(PojoTuplizer.java:173)
at
org.hibernate.persister.entity.BasicEntityPersister.setPropertyValues(BasicEntityPersister.java:2900)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113)
at
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:510)
at org.hibernate.loader.Loader.doQuery(Loader.java:419)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:210)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1312)
at org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:116)
at org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:101)
at
org.hibernate.persister.entity.BasicEntityPersister.load(BasicEntityPersister.java:2461)
at
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:350)
at
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:331)
at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:113)
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.loadXWikiDoc(XWikiHibernateStore.java:575)
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:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
Caused by: net.sf.cglib.beans.BulkBeanException: Lexical error at line
351, column 36. Encountered: "]" (93), after : ""
at
com.xpn.xwiki.doc.XWikiDocument$$BulkBeanByCGLIB$$9e5f0943.setPropertyValues()
at
org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:200)
... 65 more
Caused by: org.apache.commons.jrcs.rcs.TokenMgrError: Lexical error at
line 351, column 36. Encountered: "]" (93), after : ""
at
org.apache.commons.jrcs.rcs.ArchiveParserTokenManager.getNextToken(ArchiveParserTokenManager.java:800)
at
org.apache.commons.jrcs.rcs.ArchiveParser.jj_consume_token(ArchiveParser.java:558)
at org.apache.commons.jrcs.rcs.ArchiveParser.archive(ArchiveParser.java:104)
at org.apache.commons.jrcs.rcs.ArchiveParser.load(ArchiveParser.java:55)
at org.apache.commons.jrcs.rcs.Archive.(Archive.java:230)
at com.xpn.xwiki.doc.XWikiDocument.setArchive(XWikiDocument.java:475)
... 67 more
${doc.fullName} ($tdoc.getRealLanguage())
Valid XHTML 1.0! Valid CSS2!
Copyright 2005 (c) Auteur des pages
I started out that direction -- but I wanted the user to be able to save a
document specification as a separate wiki page, so the user wouldn't have to
keep filling out a form to generate the same document. But it wouldn't be
hard to allow all of the configuration info (stylesheet parameters, and even
the title page) to be submitted via the query string, in addition to
supporting the current document specification approach.
Stephen
>From: Ludovic Dubost <ludovic(a)xwiki.com>
>To: Stephen Schaub <stephen_schaub_88(a)hotmail.com>
>Subject: Re: Request Groovy programming on sschaub.xwiki.com
>Date: Fri, 16 Sep 2005 00:34:53 +0200
>
>
>Done.. This starts to look really cool...
>What you need to do now is turn your summary page into a form to simplify
>creating one like that for a non specialist..
>
>Ludovic
>
>[snip]
Thanks to the help I've received from several members (particularly Ludovic) on this list, I have been able to put together an XWiki Groovy page that generates aggregate PDF's with a table of contents and an optional title page. This is a work in progress, but I thought it might be useful to others, so I've posted it here:
http://www.xwiki.org/xwiki/bin/view/Dev/AggregateDocs
Regards,
Stephen
When i go to the xwiki website i find in the left column a statistics menu,
i was wondering how to do that ? I tried some things but can't seem to
get it to work ... could anyone hint me ?
Hi,
when I enable the the user registration email an add a user nothing happens.
i tripplechecked the smtp server and admin adress settings.
is more configuration than just the serversettings in the xwiki
preferences => registration page necessary?
Thank you,
Sascha
Ludovic,
Thanks. That works. As it has pointed by by another user -
/xwiki/bin/youraction/ without the document specification works too.
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Tuesday, September 13, 2005 5:14 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] adding custom struts action to existing xwiki
struts configuration
Hi,
The XWiki actions expect always a document name I think.. So the URL
should be
/xwiki/bin/youraction/Space/Doc
If you want a different behaviour you will need to modify the
XWikiRequestProcessor
I'd like to find a more dynamic way for plugins to add their actions..
This probably needs some XWiki service that binds to the struts config
Ludovic
YEUNG, HOWARD (CONTRACTOR) wrote:
> Hi there,
> I wonder if it possible to add my own action classes. The action
class
> runs fine in its own context. Then action class is added to the
> WEB-INF/classes and the struts-config.xml is updated to reference the
> class. (Of course I re-started the Tomcat) However I get an "Invalid
> path was requested" error when I reference the action in the
/xwiki/bin/
> context.
>
> Also I wonder if this is doable in xwiki. The xwiki uses struts. But
> can people add their own custom action class to it. Thanks.
>
> Howard Yeung
>
>
>
>
------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the
xwiki-users(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
I have a fresh install of xwiki 0.9.840 using Tomcat 5.0 and MySQL 4.1,
and PDF export isn't working. Looking at xwiki.log reveals pages and
pages of exceptions, but the parts that look relevant are lines like these:
03:28:28,881 WARN TP-Processor1 RequestUtils:createActionForm:177 - No
FormBeanConfig found under 'pdf'
03:28:32,332 WARN TP-Processor1
http://SERVERNAME.DOMAIN.TLD/xwiki/bin/pdf/Main/KnowledgeBase
ViewEditAction:execute:242 - Uncaught exception: Error number 12003 in
12: XSL Transformation Failed
Any idea what might be causing this? The only out of the ordinary
conditions of this install that I can think of is that I've deleted the
XWiki.Admin account and created other accounts for the administrators.
Jeremy Ehrhardt
<http://turbine/xwiki/bin/view/Main/WebHome>
Hi,
Has anyone considered trying to force an "Edit as HTML" on the contents of particular fields of a class, such as the Content field of the blog's ArticleClass when #if($context.action="inline") on ArticleClassSheet is true?
With something as simple as a javascript plus a sql query around the $doc.display("content", "edit", $obj) ?
I see how it might not be possible considering "Edit as HTML" works on a whole page, so maybe just wishful thinking.
I like the setup as is with being able to write wiki syntax into Content fields, but some of my users will prefer to use htmlarea in all cases.
thx in adv,
-ken
FYI:
My next focus for documenation will be about "Managing User and Group
Access Rights". This documentation will live in the AdminGuide. I will
leverage off of the FAQ doc (which is all that exists as I can tell). If
there is anything you can contribute to this topic, please submit comments
to me or directly online in the AdminGuide. I hope to have something solid
written by next Monday.
Latest submission for review:
How to Edit the Top Menu
http://www.xwiki.org/xwiki/bin/view/AdminGuide/+Editing+Top+Menu
and also
How to Create Flatlook Tabs with Highlighting
http://www.xwiki.org/xwiki/bin/view/AdminGuide/Top+Menu+Example+with+Flatlo…
==================================
Cody Burleson
Hi everyone,
first, a compliment for the developers of XWiki, it seems to be well done
and very promissing. I just starting using XWiki. I created a wiki at
XWiki.com and now downloaded it to first run it at my localhost then later
at my server.
I have a couple of short question. Please forgive me if they are obvious
questins or if they have been posted and discussed already.
1. When I start XWiki at localhost, I seem to be logged in. I see "Hello
Ashraf" on the upper right corner. There is not an Edit function under "More
Actions" link though, so I can not edit or add pages. I registerd a new
user, logged in with the new account but it is the same, cann't edit either.
Why that? What should I change in order to be able to edit contents of
pages?
Note, I can edit pages if i am logged in as admin.
2. In the installation instructions, it says: * The default admin user is
Admin with password admin. Is it possible to change those default values?
3. Surfing around in Xwiki, online as well as local, seems to be slow! is
Java responsible for that? Why? I've seen other java-based wikis that are
faster than this!
4. How can I remove users ? is it possible at all?
Thanks a lot,
Ashraf
Hi there,
I wonder if it possible to add my own action classes. The action class
runs fine in its own context. Then action class is added to the
WEB-INF/classes and the struts-config.xml is updated to reference the
class. (Of course I re-started the Tomcat) However I get an "Invalid
path was requested" error when I reference the action in the /xwiki/bin/
context.
Also I wonder if this is doable in xwiki. The xwiki uses struts. But
can people add their own custom action class to it. Thanks.
Howard Yeung
Some further developments. It looks as if the font is being set to null
somewhere (according to Java Console), haven't been able to figure out where
yet.
-----Original Message-----
From: Lichman, Mark Eugene
Sent: Thursday, September 08, 2005 4:36 PM
To: xwiki-users(a)objectweb.org
Subject: RE: [xwiki-users] sitemap
Yes, "Main_WebHome.mm" is the name of the attached mindmap.
Could there be an authentication conflict with how the file is getting attached
and the DNS service?
-----Original Message-----
From: jeremi joslin [mailto:jeremi23@gmail.com]
Sent: Thursday, September 08, 2005 4:25 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] sitemap
I have no ideas!
is "Main_WebHome.mm" is the name of your attached mindmap?
Jérémi
On 9/8/05, Lichman, Mark Eugene <MLICHMAN(a)partners.org> wrote:
> Using a DNS entry (http://lcswiki will load the main xwiki page), tomcat is
set
> on port 80. The sites main url is:
"http://lcswiki/xwiki/bin/view/Main/WebHome".
>
> -----Original Message-----
> From: jeremi joslin [mailto:jeremi23@gmail.com]
> Sent: Thursday, September 08, 2005 4:15 PM
> To: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] sitemap
>
>
> are you sure it's the good URL?
> Are you on the port 8080?
>
> Jérémi
> On 9/8/05, Lichman, Mark Eugene <MLICHMAN(a)partners.org> wrote:
> > Thanks for this, looks great on the runners site.
> >
> > When trying this out I get the popup message:
> > Could not load map at
> > URL:"http://lcswiki/xwiki/bin/download/Main/MindMap/Main_WebHome.mm"
> > (Sorry, intranet only)
> >
> > Once I click OK in the popup and then update, it does correctly attach a
file
> to
> > the page and I can view this file in Freemind and it looks correct in
Freemind
> > but does not display within the wiki.
> >
> > What am I doing wrong? This looks like a great feature and I'd love to get
it
> > working on my site.
> >
> > Please help.
> >
> > Thanks,
> >
> > - Mark
> >
> > -----Original Message-----
> > From: jeremi joslin [mailto:jeremi23@gmail.com]
> > Sent: Saturday, September 03, 2005 4:08 PM
> > To: xwiki-users(a)objectweb.org
> > Subject: Re: [xwiki-users] sitemap
> >
> >
> > On 9/3/05, Cody Burleson <cburleso(a)us.ibm.com> wrote:
> > >
> > > Could you also try to document how to use the code your posted for the
> benefit
> > of all? An ideal format would be:
> > >
> > > 1. How to use the code
> > > 2. The code (snippet)
> > > 3. A working example (preview) of the results
> > >
> >
> > Done
> >
> >
> >
> > --
> > portable : 06.73.20.11.49
> > http://www.jeremi.info
> > http://www.xwiki.com - http://www.moovement.com
> > skype: jeremi23
> >
> >
> >
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> mailing list.
> > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
> >
> >
>
>
> --
> portable : 06.73.20.11.49
> http://www.jeremi.info
> http://www.xwiki.com - http://www.moovement.com
> skype: jeremi23
>
>
>
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
--
portable : 06.73.20.11.49
http://www.jeremi.infohttp://www.xwiki.com - http://www.moovement.com
skype: jeremi23
BTW, If you have local installs of XWiki in your companies, it would be
great to list your company on this page:
http://www.xwiki.org/xwiki/bin/view/Dev/XWikiInstallations
This would allow us to advertise the fact that we have great companies
using XWiki !
Thanks for you support
Ludovic
Hey all,
Just to let you know that the test xwiki we set up in our server cluster
didn't go well. However, we are installing as a stand alone and we
would like to know as soon as the it is cluster ready.
Thanks,
Tim
Hi All,
I'm starting to have a look at groovy scripting in xwiki and have a couple
of basic questions:
In the example below (from xwiki.org)
<%
def foo(list, value)
{
println "Calling function foo() with param ${value} <br>";
list << value;
}
x = [];
foo(x, 1);
foo(x, 2);
foo(x, 3);
foo(x, 4);
println "Creating list ${x}";
%>
1) does the groovy variable ${value} get translated before the velocity
${value} (if defined) or vice versa?
2) I tried the example and get the following result:
Calling function foo() with param 1
Calling function foo() with param 2
Calling function foo() with param 3
Calling function foo() with param 4
Creating list 1, 2, 3, 4?
where the "1, 2, 3, 4?" is a link to "1,+2,+3,+4". I assume the output from
groovy is then processed by the xwiki syntax?
Thanks
Duke
Hi,
I'm using v0.9.840 with j2sdk-1.4.2_06 authenticating against OpenLDAP. It works but for the known problem where "Login of local XWiki user (not in LDAP) doesn't work when LDAP auth used" [bug, key: XWIKI-72]; So, I'd like to try the code patch provided on that jira page.
However, I'm just an admin and tho I installed ant and downloaded the xwiki source code (and placed that .diff patch next to its target), I didn't get very far out the door:
[no@nowhere xwikisrc]$ ant -debug
Buildfile: build.xml
BUILD FAILED
/home/no/xwikisrc/build.xml:126: taskdef A class needed by class org.apache.cactus.integration.ant.CactusTask cannot be found: junit/framework/Test
I read-up on this and figure that I need junit and maybe to learn ant, but at this point I must ask:
if I start using this patched version will I go down an un-upgradable branch of code and hose my content when I upgrade next?
can I just switch out the existing LDAPAuthServiceImpl.class in my xwiki install with a patched version without having to rebuild the whole app?
and, can anyone point me to an XWIKI-72-patched version of that class b/c I see that merely javac'ing the LDAPAuthServiceImpl.java file doesn't work (cannot resolve symbol errors :)
...if the answer to all of these is "no" I'll just keep trying to build from source, so not too much hand holding needed.
thanks for your help,
Ken
Has anyone seen this issue before? In one particular document (a tutorial
I am trying to write for the XWiki docs), when I click Edit, I get a new
view (no left or right-hand toolbars) - but the document does not display
an edit field or Save button. It seems to be in render mode still (even
though the nature of the view changes somewhat). If I roll back a version,
it works proper. What I had added that seems to break it is some velocity
code inside the {code:xml}...{code} tag.
I am using #\ and $\ to escape Velocity characters inside the code tag.
Any ideas?
Also, does anyone know why I can view page code by adding the URL paramer
raw=1 or xpage=1? What is the difference in the two parameters and why
would I choose one over another if I needed to view page code? The first
question is more important; this one is just an aside.
==================================
Cody Burleson
Does anyone know how, through scripting, we may be able to identify that a
user is in a particular group? Here's what I am trying to do:
I want to permission some wiki spaces to particular groups only.
But I also need to have some pages link to those spaces that are more
public.
I would like to write some script to render or hide links based on whether
or not the authenticated user is in a given group.
Thanks in advance for your help, and thanks for all the help given thus
far.
==================================
Cody Burleson
Hi All,
What does it mean when the #includeTopic has "xwiki:" before the page name?
For example, #includeTopic("xwiki:Dev.GroovyShowHeaders")
Thanks.
Duke
Is there a feature (perhaps somewhat hidden that I haven't noticed) that
could allow users to "watch" for changes on content and recieve email
notifications? If not, would this feature be useful to more than just
myself? Would it be most appropriate as a plug-in or would it be best
developed using scripting at the presentation layer?
==================================
Cody Burleson
Yes, "Main_WebHome.mm" is the name of the attached mindmap.
Could there be an authentication conflict with how the file is getting attached
and the DNS service?
-----Original Message-----
From: jeremi joslin [mailto:jeremi23@gmail.com]
Sent: Thursday, September 08, 2005 4:25 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] sitemap
I have no ideas!
is "Main_WebHome.mm" is the name of your attached mindmap?
Jérémi
On 9/8/05, Lichman, Mark Eugene <MLICHMAN(a)partners.org> wrote:
> Using a DNS entry (http://lcswiki will load the main xwiki page), tomcat is
set
> on port 80. The sites main url is:
"http://lcswiki/xwiki/bin/view/Main/WebHome".
>
> -----Original Message-----
> From: jeremi joslin [mailto:jeremi23@gmail.com]
> Sent: Thursday, September 08, 2005 4:15 PM
> To: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] sitemap
>
>
> are you sure it's the good URL?
> Are you on the port 8080?
>
> Jérémi
> On 9/8/05, Lichman, Mark Eugene <MLICHMAN(a)partners.org> wrote:
> > Thanks for this, looks great on the runners site.
> >
> > When trying this out I get the popup message:
> > Could not load map at
> > URL:"http://lcswiki/xwiki/bin/download/Main/MindMap/Main_WebHome.mm"
> > (Sorry, intranet only)
> >
> > Once I click OK in the popup and then update, it does correctly attach a
file
> to
> > the page and I can view this file in Freemind and it looks correct in
Freemind
> > but does not display within the wiki.
> >
> > What am I doing wrong? This looks like a great feature and I'd love to get
it
> > working on my site.
> >
> > Please help.
> >
> > Thanks,
> >
> > - Mark
> >
> > -----Original Message-----
> > From: jeremi joslin [mailto:jeremi23@gmail.com]
> > Sent: Saturday, September 03, 2005 4:08 PM
> > To: xwiki-users(a)objectweb.org
> > Subject: Re: [xwiki-users] sitemap
> >
> >
> > On 9/3/05, Cody Burleson <cburleso(a)us.ibm.com> wrote:
> > >
> > > Could you also try to document how to use the code your posted for the
> benefit
> > of all? An ideal format would be:
> > >
> > > 1. How to use the code
> > > 2. The code (snippet)
> > > 3. A working example (preview) of the results
> > >
> >
> > Done
> >
> >
> >
> > --
> > portable : 06.73.20.11.49
> > http://www.jeremi.info
> > http://www.xwiki.com - http://www.moovement.com
> > skype: jeremi23
> >
> >
> >
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> mailing list.
> > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
> >
> >
>
>
> --
> portable : 06.73.20.11.49
> http://www.jeremi.info
> http://www.xwiki.com - http://www.moovement.com
> skype: jeremi23
>
>
>
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
--
portable : 06.73.20.11.49
http://www.jeremi.infohttp://www.xwiki.com - http://www.moovement.com
skype: jeremi23
Using a DNS entry (http://lcswiki will load the main xwiki page), tomcat is set
on port 80. The sites main url is: "http://lcswiki/xwiki/bin/view/Main/WebHome".
-----Original Message-----
From: jeremi joslin [mailto:jeremi23@gmail.com]
Sent: Thursday, September 08, 2005 4:15 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] sitemap
are you sure it's the good URL?
Are you on the port 8080?
Jérémi
On 9/8/05, Lichman, Mark Eugene <MLICHMAN(a)partners.org> wrote:
> Thanks for this, looks great on the runners site.
>
> When trying this out I get the popup message:
> Could not load map at
> URL:"http://lcswiki/xwiki/bin/download/Main/MindMap/Main_WebHome.mm"
> (Sorry, intranet only)
>
> Once I click OK in the popup and then update, it does correctly attach a file
to
> the page and I can view this file in Freemind and it looks correct in Freemind
> but does not display within the wiki.
>
> What am I doing wrong? This looks like a great feature and I'd love to get it
> working on my site.
>
> Please help.
>
> Thanks,
>
> - Mark
>
> -----Original Message-----
> From: jeremi joslin [mailto:jeremi23@gmail.com]
> Sent: Saturday, September 03, 2005 4:08 PM
> To: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] sitemap
>
>
> On 9/3/05, Cody Burleson <cburleso(a)us.ibm.com> wrote:
> >
> > Could you also try to document how to use the code your posted for the
benefit
> of all? An ideal format would be:
> >
> > 1. How to use the code
> > 2. The code (snippet)
> > 3. A working example (preview) of the results
> >
>
> Done
>
>
>
> --
> portable : 06.73.20.11.49
> http://www.jeremi.info
> http://www.xwiki.com - http://www.moovement.com
> skype: jeremi23
>
>
>
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
--
portable : 06.73.20.11.49
http://www.jeremi.infohttp://www.xwiki.com - http://www.moovement.com
skype: jeremi23
Thanks for this, looks great on the runners site.
When trying this out I get the popup message:
Could not load map at
URL:"http://lcswiki/xwiki/bin/download/Main/MindMap/Main_WebHome.mm"
(Sorry, intranet only)
Once I click OK in the popup and then update, it does correctly attach a file to
the page and I can view this file in Freemind and it looks correct in Freemind
but does not display within the wiki.
What am I doing wrong? This looks like a great feature and I'd love to get it
working on my site.
Please help.
Thanks,
- Mark
-----Original Message-----
From: jeremi joslin [mailto:jeremi23@gmail.com]
Sent: Saturday, September 03, 2005 4:08 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] sitemap
On 9/3/05, Cody Burleson <cburleso(a)us.ibm.com> wrote:
>
> Could you also try to document how to use the code your posted for the benefit
of all? An ideal format would be:
>
> 1. How to use the code
> 2. The code (snippet)
> 3. A working example (preview) of the results
>
Done
--
portable : 06.73.20.11.49
http://www.jeremi.infohttp://www.xwiki.com - http://www.moovement.com
skype: jeremi23
Hello all.
I'm a new xwiki user (and I'll hope to stay a happy xwiki user).
I wanted to install XWiki on my postgresql database. It was not as easy
as I was thinking (but I managed to do it indeed). XWiki runs on my
Tomcat 5.5.11 installation rather well, but I've got the following
message in my catalina.out logfile:
20:32:43,236 WARN TP-Processor28 RequestUtils:createActionForm:177 -
No FormBeanConfig found under 'skin'
20:32:43,248 WARN TP-Processor20 RequestUtils:createActionForm:177 -
No FormBeanConfig found under 'skin'
20:32:43,272 WARN TP-Processor20 RequestUtils:createActionForm:177 -
No FormBeanConfig found under 'skin'
20:32:43,309 WARN TP-Processor28 RequestUtils:createActionForm:177 -
No FormBeanConfig found under 'skin'
20:32:43,455 WARN TP-Processor20 RequestUtils:createActionForm:177 -
No FormBeanConfig found under 'skin'
Well it works, I don't really mind but wonder how can this be resolved.
More anoying, those messages:
20:59:04,424 WARN TP-Processor9 RequestUtils:createActionForm:177 - No
FormBeanConfig found under 'login'
20:59:04,657 WARN TP-Processor9 RequestUtils:createActionForm:177 - No
FormBeanConfig found under 'view'
...
20:59:05,633 ERROR TP-Processor9
http://zorel.org/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)
...
com.xpn.xwiki.XWikiException: Error number 3213 in 3: Exception while
deleting object XWiki.Admin
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)
...
Wrapped Exception:
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)
...
20:59:08,673 WARN Finalizer JDBCContext:finalize:333 -
afterTransactionCompletion() was never called
This message arise when I lon on (the logon works, I'm authenticated).
I'm using jdk1.5.0, tomcat 5.5.11 and XWiki Version 0.9.840.
It seems to come from a misconfiguration of hibernate, but for postgres
I've only change the Driver and the Dialect.
Could some give me a help on this?
Regards.
--
Aurélien DEHAY
Hi,
I have v0.9.840 working with j2sdk-1.4.2_06, and it's authenticating successfully against an OpenLDAP v2.1.27 (+kerberos) server.
After creating a new ldap/InetOrg user and seeing it magically appear as a New/Registered user upon (cold) login as that ldap user, I note that some fields on the xwiki user form/profile are blank tho the ldap entry has that information.
Is this expected?
I'm using this field mapping in my xwiki.cfg:
xwiki.authentication.ldap.fields_mapping=name=cn,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,company=o,ldap_dn=dn
...and "name=cn", "first_name=givenName", "fullname=displayName" appear to work fine, however the company and password fields are blank. (I removed the mail=mail mapping when testing).
I read some postings in the archive that mention concerns with providing functionality around the password if it comes from ldap, is that why the password is missing?
So, I'm not using HEAD of
http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/xwiki/xwiki/trunk/src/ma…
nor Ludovic's LDAP class (name?) with debugging. I'm just wondering what to expect.
Thanks for any help,
-ken
After finally figuring out how to deploy XWiki on the remote server, i'm
only getting access to the index and installation instruction pages.
Anything else generates 404 error.
http://www.thirddirectionrecords.com/xwiki/
I did go through the installation instructions as close as possible,
with some exceptions which obviously arose with me having to use the
tools made available by the cPanel/phpSQLAdmin, but i don't think that
this is the reason for the error.
Thank you for your time.
- Volodya
--
===
Contact details:
Alt e-mail: k0324474(a)kingston.ac.uk
ICQ: 253627744
Frost: VolodyA! V A@r0pa7z7JA1hAf2xtTt7AKLRe+yw
pm4pigs: VolodyA! V A@cbp7LznKx9JltftFQSSc2QVKhzc,5T0rxHZ7rar4uOtnHlSY5A
Forum: ethical_anarhist on www.kingstonuniversity.org
Please visit http://www.whengendarmesleeps.org/
When Gendarme Sleeps - Anarchy's Zine of Poetry
========================
"None of us are free until all of us are free."
~ Mihail Bakunin
Is there a way to get the full URL and not just the URI i.e. including the
host address ?
The doc.getURL() only returns the URI part and does not include the address.
Thanks.
Duke
I am having some major issues with xwiki. I am adding content to it and
press the save button and it sometimes will save and sometimes won't.
Also, intermittently, I am forced to log in again to make changes. This
isn't after any extended time. Also, using the admin user, it will
sometimes let me log in with the changed password, but also, I have to
use the default password sometimes. Anyone else have this issue?
Not using tomcat or a local MySQL db. Using MySQL on a remote server,
and also xwiki is running on SunOne iPlanet WebServer.
Tim
Thanks for this. A funny things happened when I tried to use this on my site.
I checked out your sample page first, minmap looked good.
Followed the instructions and got the following error on my page:
A problem occured while trying to service your request. Please contact the
support if this happens again.
Detailed information:
Error number 11003 in 11: Attachment Sitemap not found
com.xpn.xwiki.XWikiException: Error number 11003 in 11: Attachment Sitemap not
found
at com.xpn.xwiki.XWikiService.renderDownload(XWikiService.java:678)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:186)
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(ApplicationFilt
erChain.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(ApplicationFilt
erChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
14)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
78)
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:825)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.java:738)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52
6)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorker
Thread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:68
4)
at java.lang.Thread.run(Unknown Source)
Then, when I looked at the sample page again, I saw the same error on the
runners site!
Nothing was downloaded to my computer ass far as I know (although, this being a
networked computer some unscheduled updates may have been sent to it without my
knowledge).
Anyone have any ideas?
Thanks,
Mark
-----Original Message-----
From: jeremi joslin [mailto:jeremi23@gmail.com]
Sent: Saturday, September 03, 2005 4:08 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] sitemap
On 9/3/05, Cody Burleson <cburleso(a)us.ibm.com> wrote:
>
> Could you also try to document how to use the code your posted for the benefit
of all? An ideal format would be:
>
> 1. How to use the code
> 2. The code (snippet)
> 3. A working example (preview) of the results
>
Done
--
portable : 06.73.20.11.49
http://www.jeremi.infohttp://www.xwiki.com - http://www.moovement.com
skype: jeremi23
I would like to modify the search form in the default Toolbar to include a
checkbox "Search this space only." I think I can figure out how to do this
if someone could provide the Velocity code to obtain the name of the current
space.
Any suggestions would be appreciated!
Stephen
Francois Constant posted some nice-looking skins on this page:
http://www.xwiki.org/xwiki/bin/view/Dev/Skins
However, I wasn't able to figure out how to install them.
There is a link to a topic on HowToCreateASkin, but it isn't clear to me how
to apply the information on that page to install a pre-packaged skin.
If someone could provide some pointers, I would be glad to edit the page and
add the necessary info.
Regards,
Stephen
Is there a sitemap function of a particular space?
Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
I seem to recall seeing some sample code somewhere on the xwiki.org site
that demonstrated how to export a space to a zip file, and import it. I
think it may have even handled attachments. I think it worked with the
current version of XWiki (didn't require SVN access).
While searching today, I found this page:
http://www.xwiki.org/xwiki/bin/view/Dev/ZipExportExample
But it doesn't handle attachments, or show how to import the resulting
zipfile.
Maybe I just imagined it ... but if someone knows what I'm talking about and
can point me to it, I would be very grateful.
Stephen
Is it possible to define a different menu (the left-most column in the
standard XWiki layout) for each space in an XWiki installation?
For example, the shortcut menu bar across the top is configured for each
space in the Space Preferences section. However, the left-column menu
appears to be globally configured.
Stephen
Hi Ludovic!
> Please let's start with mysql first .. It does not make sense to
debug both things at a time.
sure :) Now I have installed two instances of xwiki - one for mysql,
second for pgsql. both look and act identically.
> The "cannot execute query" is not enough.. It should show a
wrapped exception but for some reason it doesn't.
> Can you try with the What's New or WebSearch page ?
Sure! I have attached both exceptions along with full server log...
(btw. hale to bzip2 that packed all this from ~3MB to only 46kB! I
hope nobody will kill me for this attachment)
> Can you also turn on debugging in log4j.properties so that you see
if hibernate generates a query..
### Hibernate logging options ###
log4j.logger.org.hibernate.SQL=debug
log4j.logger.org.hibernate=debug
log4j.logger.org.hibernate.type=debug
log4j.logger.org.hibernate.ps.PreparedStatementCache=warn
is it ok?
Thank You!
Tomek
I'm having difficulty putting C/C++ code on an XWiki page:
{code}
#include <stdio.h>
{code}
or
{pre}
#include <stdio.h>
{/pre}
both result in exception stack trace in the web page.
When I try
{code}
\#include <stdio.h>
{code}
it works ok.
Escaping the #include with a backslash is an acceptable workaround in the
short term -- but shouldn't the {pre} or {code} tags disable the special
meaning of the # character?
Stephen
Hi,
the email notification plugin seems to "forget" the subscriptions
(achieved by ckliking the "subscibe" links that came with the plugin) on
a tomcat restart unless each user goes to his user-page, uses "edit
objects" and explicitly "saves" his subscriptions by clicking save objects.
Did I configure anything wrongly or ist this normal behaviour? Is there
a workaround?
Thank you!
Sascha Oesterle
HI
I'm use htmlarea for my xwiki but sometimes it doesn't work. For example
when I change the letter it doesn't update my page with the new letter,
or if I need to update my table, htmlarea doesn't update my page. I
don´t know if i can use my own textarea with the buttons of the
htmlarea? or if I have to do something else?
Thanks
Carolina Ramirez
Hi,
i use since few days the great xwiki platform on xwiki.com<http://xwiki.com>(
http://jguard.xwiki.com).
but i've got one problem about editing a page:
when i edit a page, i can modify content, click on 'preview' and 'save' the
page:
=> the content is updated.
when i edit a page, modify content but not click on 'preview' but click
directly on the 'save' button, the content is not updated.
when i modify a page, click on 'preview', 'save', and want to modify one
more time the page, the code of the page is the code of the old page.
is there any problem on cache settings?
have you one tips to solve this problem?
thanks to the xwiki team, for the wiki solution, and the free hosting offer!
cheers,
Charles(jGuard team).
Short form of the question: Is there any way to change which space (or
web) a given page resides in?
Details: I've created a "smart table" (use the class/template/sheet
approach). The pages for this appear in a given space/web (let's call it
'X'). However, X's space access rights don't give the community at large
access to them -- they do have access to the table page itself. This was
a case of not thinking things through clearly. So, my thought was to put
the whole table (and the pages that created for it) in a new space that
does have appropriate access rights. Thus, I'd like to create it and move
all the existing pages into the new space. Hence, my original question.
I'm open to other alternatives. My only thought, thus far, is to see if
there is a way to dynamically apply access rights to a page as it is
created (but that sounds "unclean").
Charles Rankin
Hi,
i experienced strange lucene plugin behaviour. if i don't set the
log4j.logger.net.jkraemer.xwiki=debug
line into my log4j.properties file i get a null pointer exception after
posting the search from. If the line is set to "debug" it works
properly. Does also not work "error" or "warn". - Can't find problems
in the logfile!
Any suggestions?
Thank you!
Sascha Oesterle