[OpenSER-Users] sermyadmin: problems with tomcat6 automatic initialization

Robson Souza cbolas2004 at yahoo.com.br
Fri May 23 22:21:03 CEST 2008


Hello,
   
  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 init
  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
  May 23, 2008 4:10:48 PM org.apache.coyote.http11.Http11Protocol init
  INFO: Initializing Coyote HTTP/1.1 on http-8080
  May 23, 2008 4:10:48 PM org.apache.catalina.startup.Catalina load
  INFO: Initialization processed in 3111 ms
  May 23, 2008 4:10:48 PM org.apache.catalina.core.StandardService start
  INFO: Starting service Catalina
  May 23, 2008 4:10:48 PM org.apache.catalina.core.StandardEngine start
  INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
  May 23, 2008 4:10:48 PM org.apache.catalina.startup.HostConfig deployWAR
  INFO: Deploying web application archive serMyAdmin.war
  May 23, 2008 4:10:54 PM org.apache.catalina.core.StandardContext addApplicationListener
  INFO: 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 addApplicationListener
  INFO: 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 at 1d6c336: display name [org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext at 1d6c336]; startup date [Fri May 23 16:26:43 BRT 2008]; parent: org.springframework.web.context.support.XmlWebApplicationContext at e61a35
  [0] spring.GrailsWebApplicationContext Bean factory for application context [org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext at 1d6c336]: org.springframework.beans.factory.support.DefaultListableBeanFactory at baa573
  May 23, 2008 4:26:49 PM org.apache.catalina.core.StandardContext addApplicationListener
  INFO: 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 addApplicationListener
  INFO: 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 start
  INFO: Starting Coyote HTTP/1.1 on http-8080
  May 23, 2008 4:26:49 PM org.apache.jk.common.ChannelSocket init
  INFO: JK: ajp13 listening on /0.0.0.0:8009
  May 23, 2008 4:26:49 PM org.apache.jk.server.JkMain start
  INFO: Jk running ID=0 time=0/40 config=null
  May 23, 2008 4:26:49 PM org.apache.catalina.startup.Catalina start
  INFO: Server startup in 960673 ms
   
  In 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! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080523/06f1e407/attachment.htm>


More information about the sr-users mailing list