[jboss-dev] AS is hanging at startup
Emanuel Muckenhuber
emuckenh at redhat.com
Wed Sep 3 13:34:19 EDT 2008
Hmm basically the 4 seconds are measured for different deployments...
And in the log there is:
>> 2008-09-03 17:11:00,937 DEBUG
>> [org.jboss.deployment.OptAnnotationMetaDataDeployer] (main)
>> Deployment is metadata-complete, skipping annotation processing,
>> ejbJarMetaData=null,
>> jbossWebMetaData=org.jboss.metadata.web.spec.Web24MetaData at 1f,
>> jbossClientMetaData=null,
>> metaDataCompleteIsDefault=false
which also means what it says - skipping annotation processing :)
Furthermore the AnnotationDeployer has been updated with Ales generic
annotation scanning thingy and he mentioned that everything is done
lazily - so there should be no annotation scanning/processing at all for
those deployments.
So i guess there must be something else going on in the 4 seconds
between MappedReferenceResolver for invoker.war and AnnotationDeployer
for jbossws.sar...
Sacha Labourey wrote:
> Damned.... that's a LOT, is this what Adrian is supposed to optimize?
>
>> -----Original Message-----
>> From: jboss-development-bounces at lists.jboss.org [mailto:jboss-
>> development-bounces at lists.jboss.org] On Behalf Of Dimitris Andreadis
>> Sent: mercredi, 3 septembre 2008 16:17
>> To: JBoss.org development list
>> Subject: Re: [jboss-dev] AS is hanging at startup
>>
>> The boot delays are so far due to annotation/vfs processing. This
>> particular one on my
>> machine appears to be a 4sec:
>>
>> 2008-09-03 17:10:56,046 DEBUG
>> [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer]
>> (main) Processing unit=invoker.war, structure:
>> http-invoker.sar
>>
>> +invoker.war
>>
>>
>> 2008-09-03 17:11:00,937 DEBUG
>> [org.jboss.deployment.OptAnnotationMetaDataDeployer] (main)
>> Deployment is metadata-complete, skipping annotation processing,
>> ejbJarMetaData=null,
>> jbossWebMetaData=org.jboss.metadata.web.spec.Web24MetaData at 1f,
>> jbossClientMetaData=null,
>> metaDataCompleteIsDefault=false
>> 2008-09-03 17:11:00,968 DEBUG
>> [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer]
>> (main)
>> vfsfile:/X:/cvs/jboss-public/jboss-head/build/output/jboss-
>> 5.0.0.CR2/server/default/deploy/jbossws.sar/
>> endpoint mappings:
>>
>>
>>
>>
>> Sacha Labourey wrote:
>>> 30 seconds:
>>>
>>> ...
>>> 15:09:27,671 INFO [JMXKernel] Legacy JMX core initialized
>>> 15:09:31,406 INFO [MetaDataAwareProfile] Using profile
>>> root:C:\SVN_HOME\trunk\b
>>> uild\output\jboss-5.0.0.CR2\server\web-profile
>>> 15:10:02,062 INFO [TransactionManagerService] JBossTS Transaction
>> Service
>>> (JTA
>>> version) - JBoss Inc.
>>> 15:10:02,062 INFO [TransactionManagerService] Setting up property
>> manager
>>> MBean
>>> and JMX layer
>>> ...
>>>
>>> Any idea why? I am connected to the Internet.
>>>
>>> Actually, it doesn't really hang, but doing things pretty slowly and
>> then
>>> there is this:
>>>
>>> 2008-09-03 15:09:48,562 DEBUG
>>> [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (main)
>>>
>> ClassLoaderDomain at faaa93{vfsfile:/C:/SVN_HOME/trunk/build/output/jboss-
>> 5.0.0
>>> .CR2/server/web-profile/deploy/jmx-console.war/} registerClassLoader
>>> BaseClassLoader at d4b411{vfsfile:/C:/SVN_HOME/trunk/build/output/jboss-
>> 5.0.0.C
>>> R2/server/web-profile/deploy/jmx-console.war/}
>>> 2008-09-03 15:09:49,390 DEBUG
>>> [org.jboss.deployment.OptAnnotationMetaDataDeployer] (main)
>> Deployment is
>>> metadata-complete, skipping annotation processing,
>> ejbJarMetaData=null,
>>> jbossWebMetaData=org.jboss.metadata.web.spec.Web23MetaData at 1f,
>>> jbossClientMetaData=null, metaDataCompleteIsDefault=false
>>> 2008-09-03 15:09:49,406 DEBUG
>>> [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (main)
>>> vfsfile:/C:/SVN_HOME/trunk/build/output/jboss-5.0.0.CR2/server/web-
>> profile/d
>>> eploy/http-invoker.sar/ endpoint mappings:
>>>
>>> 2008-09-03 15:09:49,406 DEBUG
>>> [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (main)
>>> Processing unit=invoker.war, structure:
>>> http-invoker.sar
>>>
>>> +invoker.war
>>>
>>>
>>> 2008-09-03 15:09:58,984 DEBUG
>>> [org.jboss.deployment.OptAnnotationMetaDataDeployer] (main)
>> Deployment is
>>> metadata-complete, skipping annotation processing,
>> ejbJarMetaData=null,
>>> jbossWebMetaData=org.jboss.metadata.web.spec.Web23MetaData at 1f,
>>> jbossClientMetaData=null, metaDataCompleteIsDefault=false
>>> 2008-09-03 15:09:58,984 DEBUG
>>> [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (main)
>>> vfsfile:/C:/SVN_HOME/trunk/build/output/jboss-5.0.0.CR2/server/web-
>> profile/d
>>> eploy/ROOT.war/ endpoint mappings:
>>>
>>> 2008-09-03 15:09:58,984 DEBUG
>>> [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (main)
>>> Processing unit=ROOT.war, structure:
>>> ROOT.war
>>>
>>>
>>> 2008-09-03 15:09:59,046 DEBUG
>>> [org.jboss.deployment.OptAnnotationMetaDataDeployer] (main)
>> Deployment is
>>> metadata-complete, skipping annotation processing,
>> ejbJarMetaData=null,
>>> jbossWebMetaData=org.jboss.metadata.web.spec.Web23MetaData at 1f,
>>> jbossClientMetaData=null, metaDataCompleteIsDefault=false
>>>
>>>
>>> _______________________________________________
>>> jboss-development mailing list
>>> jboss-development at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-development
>> _______________________________________________
>> jboss-development mailing list
>> jboss-development at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-development
>
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
More information about the jboss-development
mailing list