On Mon, 2008-11-10 at 16:38 +0100, Sacha Labourey wrote:
How much time does it takes to start?
On my laptop about 25 seconds.
Of that about 10 seconds is the bootstrap processing:
16:14:37,582 INFO [ServerImpl] Starting JBoss (Microcontainer)...
<snip/>
16:14:45,384 INFO [MetaDataAwareProfile] Using profile
root:/home/ejort/development/jboss-head/build/output/jboss-5.0.0.GA/server/web-profile
which is almost certainly the initial hot deployment scanning
of deployers and deploy?
The deployers times still show unnecessary annotation scanning and ejb3
processing (biggest hits - times in milli-seconds):
BeanMetaDataDeployer 7193 (pojos)
FilteredAnnotationEnvironmentDeployer 5455 (annotation scanning)
ServiceDeployer 2655 (jmx)
AbstractLevelClassLoaderSystemDeployer 1387 (classloader)
Ejb3Deployer 1121 (ejb3 ??? - there are none)
In terms of real deployments the big hits are:
deploy/transaction-jboss-beans.xml 2576 (jta)
conf/jboss-service.xml 2079 (jndi???)
deployers/jboss-jca.deployer/ 1696 (jca)
deployers/ejb3.deployer/ 1662 (ejb3)
deploy/jbossweb.sar/ 999 (web runtime)
deployers/jbossweb.deployer 894 (web deployment)
deploy/hsqldb-ds.xml 667 (hypersonic)
...
And the vast majority of the annotation scanning comes from
looking at jbossweb.sar (with all the jars it contains).
So not much has changed since last time I posted on this. :-(
> -----Original Message-----
> From: jboss-development-bounces(a)lists.jboss.org [mailto:jboss-
> development-bounces(a)lists.jboss.org] On Behalf Of Adrian Brock
> Sent: lundi, 10 novembre 2008 15:59
> To:
JBoss.org development list
> Subject: [jboss-dev] web profile in jboss5?
>
> WRT:
https://jira.jboss.org/jira/browse/JBAS-5897
>
> I'd like to include the "web profile"
> in the open source distribution.
>
> We would document this as "experimental", i.e.
> the configuration is likely to change before
> it is stabilised.
>
> That's because it is not quite finished yet,
> there's still issues with making jta/jca optional,
> factoring out the jpa deployer from ejb3 and
> the http invoker currently required to make
> shutdown.sh work.
>
> Including the web profile easier now we have the shared libraries
> since it won't increase the size of the
> distribution anything like as much as before.
>
> I propose that you should be able to start it using:
> ./run.sh -c web
>
> The web profile currently looks like this:
>
> deployers:
> alias-deployers-jboss-beans.xml
> ejb3.deployer
> jboss-aop-jboss5.deployer
> jboss-jca.deployer
> jbossweb.deployer
> metadata-deployer-jboss-beans.xml
> security-deployer-jboss-beans.xml
>
> deploy:
> hsqldb-ds.xml
> http-invoker.sar
> jboss-local-jdbc.rar
> jbossweb.sar
> jboss-xa-jdbc.rar
> jca-jboss-beans.xml
> jmx-console.war
> jmx-invoker-service.xml
> ROOT.war
> security
> transaction-jboss-beans.xml
>
> --
> xxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Adrian Brock
> Chief Scientist
> JBoss, a division of Red Hat
> xxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> _______________________________________________
> jboss-development mailing list
> jboss-development(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jboss-development
_______________________________________________
jboss-development mailing list
jboss-development(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development --
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx