0 Replies Latest reply on Jul 23, 2011 4:49 AM by vipuljhawar

    hornetq server is slow to start

    vipuljhawar

      Below are the logs of hortnetq JMS server isntance which we started on one of our peod boxes. while on dev the sserver would start instantly, but on prod the server is vert slow to start and taking a long time to obtain live lock, looking at the code it just tries to lock a file and wrtie to it, so not sure what is exactly causing this.

      we are using hornetq 2.2.2

      java - sun86/jdk1.6.0_20

      Solaris 10 9/10 s10x_u9wos_14a X86

       

       

       

      Jul 22, 2011 11:55:15 PM org.hornetq.core.logging.impl.JULLogDelegate warn                                                                     

      WARNING: AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux,

      install LibAIO to enable the AIO journal                                                                                                                                        
      Jul 22, 2011 11:55:15 PM org.hornetq.core.logging.impl.JULLogDelegate info                                                                     

      INFO: live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,

      journalDirectory=<path to /jms-data/data/journal>,

      bindingsDirectory=<path to /jms-data/data/bindings>,

      largeMessagesDirectory=<path to /jms-data/data/large-messages>,

      pagingDirectory=<path to /jms-data/data/paging>)        
      Jul 22, 2011 11:55:15 PM org.hornetq.core.logging.impl.JULLogDelegate info                                                                     
      INFO: Waiting to obtain live lock                                                                                                              
      Jul 22, 2011 11:55:15 PM org.hornetq.core.logging.impl.JULLogDelegate info                                                                     
      INFO: Using NIO Journal                                                                                                                        
      Jul 22, 2011 11:55:15 PM org.hornetq.core.logging.impl.JULLogDelegate warn                                                                     

      WARNING: Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default.

      Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.                                                                 

      Jul 22, 2011 11:56:30 PM org.hornetq.core.logging.impl.JULLogDelegate info

      INFO: Waiting to obtain live lock

      Jul 22, 2011 11:57:45 PM org.hornetq.core.logging.impl.JULLogDelegate info

      INFO: Live Server Obtained live lock

      Jul 22, 2011 11:57:45 PM org.hornetq.core.logging.impl.JULLogDelegate info

      INFO: trying to deploy queue jms.queue.watcherQueue

      Jul 22, 2011 11:57:46 PM org.hornetq.core.logging.impl.JULLogDelegate info

      INFO: Started Netty Acceptor version 3.2.3.Final-r${buildNumber} <hostname>:15551 for CORE protocol

      Jul 22, 2011 11:57:46 PM org.hornetq.core.logging.impl.JULLogDelegate info

      INFO: Server is now live