xwiki : loading pages problem
hi everyone, I managed to deploy successfully a xwiki with Apache/Tomcat/mod_jk container thanks to this help (http://mail-archive.objectweb.org/xwiki-users/2007-01/msg00179.html :) after configuration for needs, I notice that browsing the wiki with firefox and the "html validator" extension : ** loading a page entirely needs much time (the content is loaded immediatly but the loading icon runs a few seconds before stopping). ** the html validator extension tells me that "html cache is empty", it can't analyse errors and warnings. ** this doesn't happen on the login page, only on pages with content, accessible after logon. Could it be a Apache user's permission problem ? Anything else ? Thanks. -- Julien Oix UFR d'Informatique - Université Paris Diderot Bureau 5C01 (5ème étage) 175 rue du Chevaleret 75013 PARIS Tel : +33 (0) 144 278 504 Mobile : +33 (0) 664 392 207 --------------------------------------------- http://www.gnu.org/philosophy/no-word-attachments.html
This could be an encoding issue. Can you tell what's the xwiki encoding (the one in the html file), and the encoding received by Firefox (the one from Tools->Page info)? On 1/31/07, Julien Oix <Julien.Oix@paris7.jussieu.fr> wrote:
hi everyone,
I managed to deploy successfully a xwiki with Apache/Tomcat/mod_jk container thanks to this help (http://mail-archive.objectweb.org/xwiki-users/2007-01/msg00179.html :)
after configuration for needs, I notice that browsing the wiki with firefox and the "html validator" extension :
** loading a page entirely needs much time (the content is loaded immediatly but the loading icon runs a few seconds before stopping).
** the html validator extension tells me that "html cache is empty", it can't analyse errors and warnings.
** this doesn't happen on the login page, only on pages with content, accessible after logon.
Could it be a Apache user's permission problem ?
Anything else ?
Thanks.
-- Julien Oix UFR d'Informatique - Université Paris Diderot
Bureau 5C01 (5ème étage) 175 rue du Chevaleret 75013 PARIS
Tel : +33 (0) 144 278 504 Mobile : +33 (0) 664 392 207 --------------------------------------------- http://www.gnu.org/philosophy/no-word-attachments.html
-- You receive this message as a subscriber of the xwiki-users@objectweb.orgmailing 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
Sergiu Dumitriu wrote:
This could be an encoding issue. Can you tell what's the xwiki encoding (the one in the html file), and the encoding received by Firefox (the one from Tools->Page info)?
On 1/31/07, *Julien Oix* <Julien.Oix@paris7.jussieu.fr <mailto:Julien.Oix@paris7.jussieu.fr>> wrote:
hi everyone,
I managed to deploy successfully a xwiki with Apache/Tomcat/mod_jk container thanks to this help (http://mail-archive.objectweb.org/xwiki-users/2007-01/msg00179.html <http://mail-archive.objectweb.org/xwiki-users/2007-01/msg00179.html> :)
after configuration for needs, I notice that browsing the wiki with firefox and the "html validator" extension :
** loading a page entirely needs much time (the content is loaded immediatly but the loading icon runs a few seconds before stopping).
** the html validator extension tells me that "html cache is empty", it can't analyse errors and warnings.
** this doesn't happen on the login page, only on pages with content, accessible after logon.
Could it be a Apache user's permission problem ?
Anything else ?
Thanks.
-- Julien Oix UFR d'Informatique - Université Paris Diderot
Bureau 5C01 (5ème étage) 175 rue du Chevaleret 75013 PARIS
Tel : +33 (0) 144 278 504 Mobile : +33 (0) 664 392 207 --------------------------------------------- http://www.gnu.org/philosophy/no-word-attachments.html <http://www.gnu.org/philosophy/no-word-attachments.html>
-- You receive this message as a subscriber of the xwiki-users@objectweb.org <mailto:xwiki-users@objectweb.org> mailing list. To unsubscribe: mailto: xwiki-users-unsubscribe@objectweb.org <mailto:xwiki-users-unsubscribe@objectweb.org> For general help: mailto:sympa@objectweb.org <mailto:sympa@objectweb.org>?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- http://purl.org/net/sergiu ------------------------------------------------------------------------
-- You receive this message as a subscriber of the xwiki-users@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
Hi Sergiu, in the hmtl file : <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> and the encoding received by firefox is matching : "Encoding: ISO-8859-1" more, I see this line in firefox page info : "Cache source: Not cached" thanks ! -- Julien Oix UFR d'Informatique - Université Paris Diderot Bureau 5C01 (5ème étage) 175 rue du Chevaleret 75013 PARIS Tel : +33 (0) 144 278 504 Mobile : +33 (0) 664 392 207 --------------------------------------------- http://www.gnu.org/philosophy/no-word-attachments.html
Hi Julien, Could you please reply in line and remove any extra text in your replies (like the signatures, etc). This is part of email netiquette (see http://fr.wikipedia.org/wiki/N%C3%A9tiquette for example). Thanks :-) -Vincent On Feb 1, 2007, at 11:19 AM, Julien Oix wrote:
Sergiu Dumitriu wrote:
This could be an encoding issue. Can you tell what's the xwiki encoding (the one in the html file), and the encoding received by Firefox (the one from Tools->Page info)?
On 1/31/07, *Julien Oix* <Julien.Oix@paris7.jussieu.fr <mailto:Julien.Oix@paris7.jussieu.fr>> wrote:
hi everyone,
I managed to deploy successfully a xwiki with Apache/Tomcat/ mod_jk container thanks to this help (http://mail-archive.objectweb.org/xwiki-users/2007-01/ msg00179.html <http://mail-archive.objectweb.org/xwiki-users/2007-01/ msg00179.html> :)
after configuration for needs, I notice that browsing the wiki with firefox and the "html validator" extension :
** loading a page entirely needs much time (the content is loaded immediatly but the loading icon runs a few seconds before stopping).
** the html validator extension tells me that "html cache is empty", it can't analyse errors and warnings.
** this doesn't happen on the login page, only on pages with content, accessible after logon.
Could it be a Apache user's permission problem ?
Anything else ?
Thanks.
[snip]
Hi Sergiu,
in the hmtl file :
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
and the encoding received by firefox is matching :
"Encoding: ISO-8859-1"
more, I see this line in firefox page info :
"Cache source: Not cached"
thanks !
[snip] ___________________________________________________________________________ Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface r�volutionnaire. http://fr.mail.yahoo.com
I guess it's not a encoding issue, although I once had the same problem and it was caused by the encoding. - Does the page load fine without the mod_jk? (access the tomcat port directly) - Does your mod_jk config file contain something unusual? - Do your pages contain special symbols outside the normal ASCII range? - What's the operating system codepage? I managed to put xwiki behind mod_jk, and it's working fine. On 2/1/07, Julien Oix <Julien.Oix@paris7.jussieu.fr> wrote:
Sergiu Dumitriu wrote:
This could be an encoding issue. Can you tell what's the xwiki encoding (the one in the html file), and the encoding received by Firefox (the one from Tools->Page info)?
On 1/31/07, *Julien Oix* <Julien.Oix@paris7.jussieu.fr <mailto:Julien.Oix@paris7.jussieu.fr>> wrote:
hi everyone,
I managed to deploy successfully a xwiki with Apache/Tomcat/mod_jk container thanks to this help (http://mail-archive.objectweb.org/xwiki-users/2007-01/msg00179.html <http://mail-archive.objectweb.org/xwiki-users/2007-01/msg00179.html
:)
after configuration for needs, I notice that browsing the wiki with firefox and the "html validator" extension :
** loading a page entirely needs much time (the content is loaded immediatly but the loading icon runs a few seconds before stopping).
** the html validator extension tells me that "html cache is empty", it can't analyse errors and warnings.
** this doesn't happen on the login page, only on pages with content, accessible after logon.
Could it be a Apache user's permission problem ?
Anything else ?
Thanks.
Hi Sergiu,
in the hmtl file :
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
and the encoding received by firefox is matching :
"Encoding: ISO-8859-1"
more, I see this line in firefox page info :
"Cache source: Not cached"
thanks !
Sergiu Dumitriu wrote:
I guess it's not a encoding issue, although I once had the same problem and it was caused by the encoding.
- Does the page load fine without the mod_jk? (access the tomcat port directly) Hi Sergiu and all the xwiki users :)
I directly tried with apache and mod_jk.
- Does your mod_jk config file contain something unusual? here are my conf files and only the interestings parts
## tomcat / server.xml ### <Server port="8005" shutdown="SHUTDOWN"> <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/> <Service name="Catalina"> <Connector port="8009" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" /> <Engine name="tomcat-apache" defaultHost="m6prg.ufr-info-p7.jussieu.fr"> <Host name="m6prg.ufr-info-p7.jussieu.fr" appBase="/var/lib/tomcat5.5/webapps/xwiki" unpackWARs="false" autoDeploy="false"> <Context path="/xwiki" docBase="/var/lib/tomcat5.5/webapps/xwiki" debug="0" reloadable="true"/> </Host> </Engine> </Service> </Server> ## apache / apache2.conf JkWorkersFile /etc/apache2/workers.properties JkLogFile /var/log/apache2/mod_jk.log JkLogLevel warn ## apache / xwiki conf JkMount /xwiki/* worker1 ## mod_jk / workers.properties workers.tomcat_home=/usr/share/tomcat5.5 workers.java_home=/usr/lib/jvm/java-1.5.0-sun ps=/ worker.list=worker1 worker.worker1.port=8009 worker.worker1.host=localhost worker.worker1.type=ajp13 worker.worker1.lbfactor=1 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=worker1
- Do your pages contain special symbols outside the normal ASCII range? I don't think so, and in fact all the pages are affected, so I don't think there are symbols outside ASCII in every page :) - What's the operating system codepage? ## /etc/locale.gen en_US.UTF-8 UTF-8 fr_FR.ISO-8859-1 ISO-8859-1 fr_FR ISO-8859-1 fr_FR.UTF-8 UTF-8 fr_FR@euro ISO-8859-15
##printenv | grep LANG LANG=fr_FR
I managed to put xwiki behind mod_jk, and it's working fine.
So I put all this stuff, maybe U foind something weird, before I try to access the wiki by tomcat directly (HTTP/1.1, default port 8180) Thanks. Julien
Julien Oix wrote:
Sergiu Dumitriu wrote:
I guess it's not a encoding issue, although I once had the same problem and it was caused by the encoding.
- Does the page load fine without the mod_jk? (access the tomcat port directly) Hi Sergiu and all the xwiki users :)
I directly tried with apache and mod_jk.
- Does your mod_jk config file contain something unusual? here are my conf files and only the interestings parts
## tomcat / server.xml ### <Server port="8005" shutdown="SHUTDOWN"> <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
<Service name="Catalina"> <Connector port="8009" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" /> <Engine name="tomcat-apache" defaultHost="m6prg.ufr-info-p7.jussieu.fr">
<Host name="m6prg.ufr-info-p7.jussieu.fr" appBase="/var/lib/tomcat5.5/webapps/xwiki" unpackWARs="false" autoDeploy="false">
<Context path="/xwiki" docBase="/var/lib/tomcat5.5/webapps/xwiki" debug="0" reloadable="true"/> </Host> </Engine> </Service> </Server>
## apache / apache2.conf JkWorkersFile /etc/apache2/workers.properties JkLogFile /var/log/apache2/mod_jk.log JkLogLevel warn
## apache / xwiki conf JkMount /xwiki/* worker1
## mod_jk / workers.properties workers.tomcat_home=/usr/share/tomcat5.5 workers.java_home=/usr/lib/jvm/java-1.5.0-sun ps=/ worker.list=worker1 worker.worker1.port=8009 worker.worker1.host=localhost worker.worker1.type=ajp13 worker.worker1.lbfactor=1 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=worker1
- Do your pages contain special symbols outside the normal ASCII range? I don't think so, and in fact all the pages are affected, so I don't think there are symbols outside ASCII in every page :) - What's the operating system codepage? ## /etc/locale.gen en_US.UTF-8 UTF-8 fr_FR.ISO-8859-1 ISO-8859-1 fr_FR ISO-8859-1 fr_FR.UTF-8 UTF-8 fr_FR@euro ISO-8859-15
##printenv | grep LANG LANG=fr_FR
I managed to put xwiki behind mod_jk, and it's working fine.
So I put all this stuff, maybe U foind something weird, before I try to access the wiki by tomcat directly (HTTP/1.1, default port 8180)
hi everyone, I found a java exception in the catalina tomcat log file, that is written when a user logs in. ## 14:33:03,245 WARN TP-Processor1 http://m6prg.ufr-info-p7.jussieu.fr/xwiki/bin/loginsubmit/XWiki/XWikiLogin XWikiAction:execute:182 - Uncaught exception: Error number 0 in 11: Uncaught exception Wrapped Exception: null com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: null at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:159) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) 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:121) 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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Wrapped Exception: java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:432) at org.securityfilter.authenticator.FormAuthenticator.showLogin(FormAuthenticator.java:230) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:55) at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.showLogin(XWikiAuthServiceImpl.java:197) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:201) at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:2548) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:3233) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) 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:121) 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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684 ## It seems to deal with jk connector with this line (org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:432), isn't it ? Julien.
participants (3)
-
Julien Oix -
Sergiu Dumitriu -
Vincent Massol