<div>Hello Flavio,</div>  <div>&nbsp;</div>  <div>The page loading time is ok. The real problem is slow tomcat initialization (15 minutes)&nbsp;through the rc file generated&nbsp;by "update-rc.d".&nbsp;</div>  <div>It's&nbsp;a&nbsp;long time to wait for, so I have to kill the java process and start tomcat6 manually (/etc/init.d/tomcat6 start) after&nbsp;a server restart.</div>  <div>&nbsp;</div>  <div>Any other suggestion?</div>  <div>&nbsp;</div>  <div>Thanks!<BR><BR><B><I>flavio &lt;flavio@asteriskguide.com&gt;</I></B> escreveu:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <META content="MSHTML 6.00.2900.3314" name=GENERATOR>  <STYLE></STYLE>    <DIV><FONT face=Arial size=2>Hi Robson, </FONT></DIV>  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>  <DIV><FONT face=Arial size=2>This text was found in the Grails webpage. I think it is worth a try. </FONT></DIV>  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV>"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 <TT>JAVA_OPTS</TT> 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". </DIV>  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>  <DIV><FONT face=Arial size=2><A href="http://grails.codehaus.org/Quick+Start">http://grails.codehaus.org/Quick+Start</A></FONT></DIV>  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>  <DIV><FONT face=Arial size=2>I hope it helps</FONT></DIV>  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>  <DIV><FONT face=Arial size=2>Flavio E. Goncalves</FONT></DIV>  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>  <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px;
 MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>  <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=cbolas2004@yahoo.com.br href="mailto:cbolas2004@yahoo.com.br">Robson Souza</A> </DIV>  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=users@lists.openser.org href="mailto:users@lists.openser.org">users@lists.openser.org</A> </DIV>  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, May 23, 2008 5:21 PM</DIV>  <DIV style="FONT: 10pt arial"><B>Subject:</B> [OpenSER-Users] sermyadmin: problems with tomcat6 automaticinitialization</DIV>  <DIV><BR></DIV>  <DIV>Hello,</DIV>  <DIV>&nbsp;</DIV>  <DIV>I got a openser 1.3.2 working with sermyadmin 0.5 installed in a Debian 4.0 OS.</DIV>  <DIV>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):</DIV>  <DIV>&nbsp;</DIV><FONT size=2>  <DIV><EM>May 23, 2008 4:10:47 PM org.apache.catalina.core.AprLifecycleListener init</EM></DIV>  <DIV><EM>INFO: 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/i386</EM></DIV>  <DIV><EM>May 23, 2008 4:10:48 PM org.apache.coyote.http11.Http11Protocol init</EM></DIV>  <DIV><EM>INFO: Initializing Coyote HTTP/1.1 on http-8080</EM></DIV>  <DIV><EM>May 23, 2008 4:10:48 PM org.apache.catalina.startup.Catalina load</EM></DIV>  <DIV><EM>INFO: Initialization processed in 3111 ms</EM></DIV>  <DIV><EM>May 23, 2008 4:10:48 PM org.apache.catalina.core.StandardService start</EM></DIV>  <DIV><EM>INFO: Starting service Catalina</EM></DIV>  <DIV><EM>May 23, 2008 4:10:48 PM
 org.apache.catalina.core.StandardEngine start</EM></DIV>  <DIV><EM>INFO: Starting Servlet Engine: Apache Tomcat/6.0.16</EM></DIV>  <DIV><EM>May 23, 2008 4:10:48 PM org.apache.catalina.startup.HostConfig deployWAR</EM></DIV>  <DIV><EM>INFO: Deploying web application archive serMyAdmin.war</EM></DIV>  <DIV><EM>May 23, 2008 4:10:54 PM org.apache.catalina.core.StandardContext addApplicationListener</EM></DIV>  <DIV><EM>INFO: The listener "org.springframework.web.util.Log4jConfigListener" is already configured for this context. The duplicate definition has been ignored.</EM></DIV>  <DIV><EM>May 23, 2008 4:10:54 PM org.apache.catalina.core.StandardContext addApplicationListener</EM></DIV>  <DIV><EM>INFO: The listener "org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener" is already configured for this context. The duplicate definition has been ignored.</EM></DIV>  <DIV><EM>[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</EM></DIV>  <DIV><EM>[0] spring.GrailsWebApplicationContext Bean factory for application context [org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1d6c336]: org.springframework.beans.factory.support.DefaultListableBeanFactory@baa573</EM></DIV>  <DIV><EM>May 23, 2008 4:26:49 PM org.apache.catalina.core.StandardContext addApplicationListener</EM></DIV>  <DIV><EM>INFO: The listener "listeners.ContextListener" is already configured for this context. The duplicate definition has been ignored.</EM></DIV>  <DIV><EM>May 23, 2008 4:26:49 PM org.apache.catalina.core.StandardContext addApplicationListener</EM></DIV>  <DIV><EM>INFO: The listener
 "listeners.SessionListener" is already configured for this context. The duplicate definition has been ignored.</EM></DIV>  <DIV><EM>May 23, 2008 4:26:49 PM org.apache.coyote.http11.Http11Protocol start</EM></DIV>  <DIV><EM>INFO: Starting Coyote HTTP/1.1 on http-8080</EM></DIV>  <DIV><EM>May 23, 2008 4:26:49 PM org.apache.jk.common.ChannelSocket init</EM></DIV>  <DIV><EM>INFO: JK: ajp13 listening on /0.0.0.0:8009</EM></DIV>  <DIV><EM>May 23, 2008 4:26:49 PM org.apache.jk.server.JkMain start</EM></DIV>  <DIV><EM>INFO: Jk running ID=0 time=0/40 config=null</EM></DIV>  <DIV><EM>May 23, 2008 4:26:49 PM org.apache.catalina.startup.Catalina start</EM></DIV>  <DIV><EM>INFO: Server startup in <STRONG>960673 ms</STRONG></EM></DIV>  <DIV><EM></EM>&nbsp;</DIV>  <DIV>In order to start faster (10 sec) after the server restart, I have to kill the java process (in CPU 99%)&nbsp;and start tomcat manually by performing "/etc/init.d/tomcat6 start".</DIV>  <DIV>&nbsp;</DIV>  <DIV>I'm using
 the tomcat6 init file provided in <A href="http://www.sermyadmin.org/">www.sermyadmin.org</A> such as its instructions.</DIV>  <DIV>&nbsp;</DIV>  <DIV>How can I solve that?</DIV>  <DIV>&nbsp;</DIV>  <DIV>Robson</DIV>  <DIV>&nbsp;</DIV></FONT>  <div>  <HR SIZE=1>  Abra sua conta no <A href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.mail.yahoo.com/">Yahoo! Mail</A>, o único sem limite de espaço para armazenamento!   <div>  <HR>    <div></div>_______________________________________________<BR>Users mailing list<BR>Users@lists.openser.org<BR>http://lists.openser.org/cgi-bin/mailman/listinfo/users<BR></BLOCKQUOTE></BLOCKQUOTE><BR><p>&#32;


      <hr size=1>Abra sua conta no <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.mail.yahoo.com/">Yahoo! Mail</a>, o único sem limite de espaço para armazenamento!