Hi Robson,This text was found in the Grails webpage. I think it is worth a try."Grails can seem very slow in development mode, with pages taking more than a second to load. If this applies to you, then try increasing the maximum heap size by setting the JAVA_OPTS environment variable to something like this: '-Xmx512m' - this will set the maximum heap size to 512Mb when running Grails and should result in a noticeable improvement in response times".I hope it helpsFlavio E. Goncalves----- Original Message -----From: Robson SouzaSent: Friday, May 23, 2008 5:21 PMSubject: [OpenSER-Users] sermyadmin: problems with tomcat6 automaticinitializationHello,I got a openser 1.3.2 working with sermyadmin 0.5 installed in a Debian 4.0 OS.After some tests, everything is working fine except for one problem. By the time I start or restart the server, the tomcat spends approximately 15 min to start as follows (catalina.out file):May 23, 2008 4:10:47 PM org.apache.catalina.core.AprLifecycleListener initINFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/client:/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/../lib/i386May 23, 2008 4:10:48 PM org.apache.coyote.http11.Http11Protocol initINFO: Initializing Coyote HTTP/1.1 on http-8080May 23, 2008 4:10:48 PM org.apache.catalina.startup.Catalina loadINFO: Initialization processed in 3111 msMay 23, 2008 4:10:48 PM org.apache.catalina.core.StandardService startINFO: Starting service CatalinaMay 23, 2008 4:10:48 PM org.apache.catalina.core.StandardEngine startINFO: Starting Servlet Engine: Apache Tomcat/6.0.16May 23, 2008 4:10:48 PM org.apache.catalina.startup.HostConfig deployWARINFO: Deploying web application archive serMyAdmin.warMay 23, 2008 4:10:54 PM org.apache.catalina.core.StandardContext addApplicationListenerINFO: The listener "org.springframework.web.util.Log4jConfigListener" is already configured for this context. The duplicate definition has been ignored.May 23, 2008 4:10:54 PM org.apache.catalina.core.StandardContext addApplicationListenerINFO: The listener "org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener" is already configured for this context. The duplicate definition has been ignored.[0] spring.GrailsWebApplicationContext Refreshing org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1d6c336: display name [org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1d6c336]; startup date [Fri May 23 16:26:43 BRT 2008]; parent: org.springframework.web.context.support.XmlWebApplicationContext@e61a35[0] spring.GrailsWebApplicationContext Bean factory for application context [org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1d6c336]: org.springframework.beans.factory.support.DefaultListableBeanFactory@baa573May 23, 2008 4:26:49 PM org.apache.catalina.core.StandardContext addApplicationListenerINFO: The listener "listeners.ContextListener" is already configured for this context. The duplicate definition has been ignored.May 23, 2008 4:26:49 PM org.apache.catalina.core.StandardContext addApplicationListenerINFO: The listener "listeners.SessionListener" is already configured for this context. The duplicate definition has been ignored.May 23, 2008 4:26:49 PM org.apache.coyote.http11.Http11Protocol startINFO: Starting Coyote HTTP/1.1 on http-8080May 23, 2008 4:26:49 PM org.apache.jk.common.ChannelSocket initINFO: JK: ajp13 listening on /0.0.0.0:8009May 23, 2008 4:26:49 PM org.apache.jk.server.JkMain startINFO: Jk running ID=0 time=0/40 config=nullMay 23, 2008 4:26:49 PM org.apache.catalina.startup.Catalina startINFO: Server startup in 960673 msIn order to start faster (10 sec) after the server restart, I have to kill the java process (in CPU 99%) and start tomcat manually by performing "/etc/init.d/tomcat6 start".I'm using the tomcat6 init file provided in www.sermyadmin.org such as its instructions.How can I solve that?Robson
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
_______________________________________________
Users mailing list
Users@lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!