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