[jboss-dev] 1' hornetq delay on first boot

Richard Opalka ropalka at redhat.com
Thu Jul 1 08:10:31 EDT 2010


Not only first boot takes a lot of time in HornetQ :(

https://jira.jboss.org/browse/JBAS-8078

Rio

On 07/01/2010 01:38 PM, Dimitris Andreadis wrote:
> It creates 10 (x10MB) files, AFAICT.
>
> Tim Fox wrote:
>    
>> The first time you run it, it creates the journal files.
>>
>> The more files you have configured it with (see journal-min-files param
>> in user manual) the longer it will take to create them. I don't know how
>> many AS is using.
>>
>> On 01/07/10 12:25, Dimitris Andreadis wrote:
>>      
>>> On a 4y old WinXP laptop, hornetq seems to be adding a 1 minute delay
>>> on the first boot, while creating the
>>> server/xxx/data/hornetq/journal/* files
>>>
>>> 2nd boot comes without that delay. Can we avoid this?
>>>
>>> 14:03:27,624 INFO  [AbstractServer] Starting: JBossAS [6.0.0.SNAPSHOT
>>> "Neo"]
>>> 14:03:29,702 INFO  [ServerInfo] Java version: 1.6.0_16,Sun
>>> Microsystems Inc.
>>> 14:03:29,702 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime
>>> Environment (b
>>> uild 1.6.0_16-b01)
>>> 14:03:29,702 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM
>>> 14.2-b01,Sun
>>>   Microsystems Inc.
>>> 14:03:29,702 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
>>> 14:03:29,702 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.bat
>>> -Xms128M -X
>>> mx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000
>>> -Dsun.rmi.dg
>>> c.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true
>>> -Djava.endorsed.di
>>> rs=X:\svn\jboss-trunk\build\target\jboss-6.0.0-SNAPSHOT\lib\endorsed
>>> 14:03:29,780 INFO  [JMXKernel] Legacy JMX core initialized
>>> 14:03:37,811 INFO  [AbstractServerConfig] JBoss Web Services - Stack
>>> CXF Server
>>> 3.3.1.SP1
>>> 14:03:38,405 INFO  [JSFImplManagementDeployer] Initialized 2 JSF
>>> configurations:
>>>   [Mojarra-1.2, Mojarra-2.0]
>>> 14:03:42,749 WARNING [FileConfigurationParser] AIO wasn't located on
>>> this platfo
>>> rm, it will fall back to using pure Java NIO. If your platform is
>>> Linux, install
>>>   LibAIO to enable the AIO journal
>>> 14:03:47,483 WARNING [FileConfigurationParser] AIO wasn't located on
>>> this platfo
>>> rm, it will fall back to using pure Java NIO. If your platform is
>>> Linux, install
>>>   LibAIO to enable the AIO journal
>>> 14:03:47,671 INFO  [JMXConnector] starting JMXConnector on host
>>> 127.0.0.1:1090
>>> 14:03:48,202 INFO  [MailService] Mail Service bound to java:/Mail
>>> 14:03:49,280 INFO  [HornetQServerImpl] live server is starting..
>>> 14:03:49,358 INFO  [JournalStorageManager] Using NIO Journal
>>> 14:03:49,374 WARNING [HornetQServerImpl] Security risk! It has been
>>> detected tha
>>> t the cluster admin user and password have not been changed from the
>>> installatio
>>> n default. Please see the HornetQ user guide, cluster chapter, for
>>> instructions
>>> on how to do this.
>>> <-- HERE -->
>>> 14:04:52,077 INFO  [NettyAcceptor] Started Netty Acceptor version
>>> 3.2.0.Final-r2
>>> 292 127.0.0.1:5455 for CORE protocol
>>> 14:04:52,092 INFO  [NettyAcceptor] Started Netty Acceptor version
>>> 3.2.0.Final-r2
>>> 292 127.0.0.1:5445 for CORE protocol
>>> 14:04:52,092 INFO  [HornetQServerImpl] HornetQ Server version
>>> 2.1.1.Final (Strip
>>> ey, 119) started
>>>
>>> [snip]
>>>
>>> 14:08:24,827 INFO
>>> [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS
>>>   [6.0.0.SNAPSHOT "Neo"] Started in 1m:30s:656ms
>>>        
>>
>>      
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
>    


-- 
Richard Opalka
ropalka at redhat.com
JBoss, by Red Hat

Office: +420 222 365 200
Mobile: +420 731 186 942



More information about the jboss-development mailing list