Re: [template_list] Jahia 5 search engine issue

2008-10-10 Thread Benjamin Papez
Hello Bojana,

although I do not exactly see from the log, what is causing the search 
problem, the upgrade to Jahia 5 SP4 will surely help as we did major 
performance refactoring in our search module in that service pack.

In case you cannot upgrade right now, you may try changing the following 
parameter in WEB-INF\etc\config\quartz.properties to false:

org.quartz.jobStore.txIsolationLevelSerializable = false

If the problem you have is due to long garbage collection and running 
low on heap memory (you may monitor that with -verbose:gc or depending 
on the JDK you use the jmap tool which is shipped with the recent 
versions), you could try applying the code change commited in revision 
20263 (see: http://article.gmane.org/gmane.comp.cms.jahia.cvs/17398).

Anyway we strongly advise to switch to the latest service pack (=SP4).

Regards,
Benjamin

PS: And on a side node, please fix your container/field declarations as 
you should not see any

JahiaContainerSet:  Structure has changed
JahiaContainerSet: Definition for field ... has changed

warnings in the logs. This also leads to stability and performance 
problems. More information about that is in the Template Developer Guide 
under section Declaration Scope.
___
template_list mailing list
template_list@jahia.org
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list


Re: [template_list] Jahia 5 search engine issue

2008-10-07 Thread Benjamin Papez
Hello Bojana,

the attached log file does not show any reference to the search problem. 
Perhaps there is more info in the jahia.log file. What do you mean by 
the search fails ?

Regards,
Benjamin

On 07.10.2008 08:33 Bojana Lalic wrote:
 Hi all

 I am running Jahia release 5.0.0, Community Edition, Build 16138 and the 
 search fails almost every day at around 3pm. Re-indexing and optimizing the 
 search index does absolutely nothing and the only thing that fixes the issue 
 is a Jahia restart. So, I've setup a cronjob for daily restarts at 3am. 
 However, the search still fails at around 3pm 

 My Bigtext directory is 15MB and the db is 23MB, if this makes any difference.

 Hope someone can shed some light on this...

 Below is the log file from the day that the search failed...

 Oct 7, 2008 3:00:04 AM org.apache.coyote.http11.Http11BaseProtocol pause
 INFO: Pausing Coyote HTTP/1.1 on http-62080
 Oct 7, 2008 3:00:35 AM org.apache.catalina.core.AprLifecycleListener 
 lifecycleEvent
 INFO: The Apache Tomcat Native library which allows optimal performance in 
 production environments was not found on the java.library.path: 
 /usr/local/jdk1.5.0_09/jre/lib/i386/server:/usr/local/jdk1.5.0_09/jre/lib/i386:/usr/local/jdk1.5.0_09/jre/../lib/i386
 Oct 7, 2008 3:00:35 AM org.apache.coyote.http11.Http11BaseProtocol init
 INFO: Initializing Coyote HTTP/1.1 on http-62080
 Oct 7, 2008 3:00:35 AM org.apache.catalina.startup.Catalina load
 INFO: Initialization processed in 4936 ms
 Oct 7, 2008 3:00:36 AM org.apache.catalina.core.StandardService start
 INFO: Starting service Catalina
 Oct 7, 2008 3:00:36 AM org.apache.catalina.core.StandardEngine start
 INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
 Oct 7, 2008 3:00:36 AM org.apache.catalina.core.StandardHost start
 INFO: XML validation disabled
 Oct 7, 2008 3:00:36 AM org.apache.catalina.startup.HostConfig deployDescriptor
 WARNING: A docBase /var/www/jahia5_scw/tomcat/webapps/scw inside the host 
 appBase has been specified, and will be ignored
 Oct 7, 2008 3:04:31 AM org.apache.coyote.http11.Http11BaseProtocol start
 INFO: Starting Coyote HTTP/1.1 on http-62080
 Oct 7, 2008 3:04:32 AM org.apache.jk.common.ChannelSocket init
 INFO: JK: ajp13 listening on /0.0.0.0:62009
 Oct 7, 2008 3:04:32 AM org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=0/56  config=null
 Oct 7, 2008 3:04:32 AM org.apache.catalina.storeconfig.StoreLoader load
 INFO: Find registry server-registry.xml at classpath resource
 Oct 7, 2008 3:04:33 AM org.apache.catalina.startup.Catalina start
 INFO: Server startup in 237212 ms
 Oct 7, 2008 9:47:23 AM org.xhtmlrenderer.util.XRLog log
 INFO: Using CSS implementation from: org.xhtmlrenderer.context.StyleReference
 Oct 7, 2008 9:47:30 AM org.xhtmlrenderer.util.XRLog log
 WARNING: (null#inline_style_1) Invalid URL, no protocol: null#inline_style_1 
 at line 1. Skipping @import rule.
 Oct 7, 2008 9:47:30 AM org.xhtmlrenderer.util.XRLog log
 WARNING: (null#inline_style_1) Invalid URL, no protocol: null#inline_style_1 
 at line 2. Skipping @import rule.
 Oct 7, 2008 9:47:30 AM org.xhtmlrenderer.util.XRLog log
 WARNING: (null#inline_style_1) Invalid URL, no protocol: null#inline_style_1 
 at line 3. Skipping @import rule.
 Oct 7, 2008 9:47:30 AM org.xhtmlrenderer.util.XRLog log
 WARNING: (null#inline_style_1) Invalid URL, no protocol: null#inline_style_1 
 at line 4. Skipping @import rule.
 Oct 7, 2008 9:47:30 AM org.xhtmlrenderer.util.XRLog log
 WARNING: (null#inline_style_1) Invalid URL, no protocol: null#inline_style_1 
 at line 5. Skipping @import rule.
 Oct 7, 2008 9:47:30 AM org.xhtmlrenderer.util.XRLog log
 WARNING: (null#inline_style_1) Invalid URL, no protocol: null#inline_style_1 
 at line 6. Skipping @import rule.
 Oct 7, 2008 9:47:30 AM org.xhtmlrenderer.util.XRLog log
 WARNING: (null#inline_style_1) Invalid URL, no protocol: null#inline_style_1 
 at line 7. Skipping @import rule.
 Oct 7, 2008 9:47:30 AM org.xhtmlrenderer.util.XRLog log
 WARNING: (null#inline_style_1) Invalid URL, no protocol: null#inline_style_1 
 at line 8. Skipping @import rule.
 Oct 7, 2008 9:47:30 AM org.xhtmlrenderer.util.XRLog log
 INFO: TIME: parse stylesheets  391ms
 Oct 7, 2008 9:47:30 AM org.xhtmlrenderer.util.XRLog log
 INFO: media = print
 Oct 7, 2008 9:47:30 AM org.xhtmlrenderer.util.XRLog log
 INFO: Requesting stylesheet: 
 http://beta.mysite.wearehere.edu.au/scw/jsp/jahia/templates/scwsite/default/styles/print.css
 Oct 7, 2008 9:47:30 AM org.xhtmlrenderer.util.XRLog log
 WARNING: 
 (http://beta.mysite.wearehere.edu.au/scw/jsp/jahia/templates/scwsite/default/styles/print.css)
  Value arial is not a recognized identifier at line 114. Skipping declaration.
 Oct 7, 2008 9:47:30 AM org.xhtmlrenderer.util.XRLog log
 WARNING: 
 (http://beta.mysite.wearehere.edu.au/scw/jsp/jahia/templates/scwsite/default/styles/print.css)
  Found a number where an identifier was expected at line 127. Skipping 
 declaration.
 Oct 7, 2008 9:47:30 AM