7 Replies Latest reply on Nov 27, 2009 12:39 PM by menegazzo

    How to configure when the server startup time is displayed

    menegazzo

      Hello all,
      Is there any way do display the server startup time only after all EARs are loaded?

      instead of:
      10:41:45,831 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 32s:764ms
      10:41:51,472 INFO [EARDeployer] ...
      10:41:51,472 INFO [EARDeployer] ...

      what i need is:
      10:41:51,472 INFO [EARDeployer] ...
      10:41:51,472 INFO [EARDeployer] ...
      10:41:45,831 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 52s:764ms

      i looked over jboss-service.xml and other configuration files but i really cant figure out how to do this. Is it possible? thanks

        • 1. Re: How to configure when the server startup time is display
          jaikiran

           

          what i need is:
          10:41:51,472 INFO [EARDeployer] ...
          10:41:51,472 INFO [EARDeployer] ...
          10:41:45,831 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 52s:764ms


          This is how it would be by default. Unless you deploy the applications after the server is started. Maybe your applications are being copied to the deploy folder of the AS, after the server has started.

          • 2. Re: How to configure when the server startup time is display
            menegazzo

            Sorry but are you sure?

            Ive just extracted a clean 4.2.2.GA release, deployed some EARs with the server stopped, started it and get the same result (the startup time message is displayed before jboss finish loading EARs).

            • 3. Re: How to configure when the server startup time is display
              jaikiran

               

              "menegazzo" wrote:
              Sorry but are you sure?

              Yes :)
              "menegazzo" wrote:

              Ive just extracted a clean 4.2.2.GA release, deployed some EARs with the server stopped, started it and get the same result (the startup time message is displayed before jboss finish loading EARs).


              Please post the entire logs that you see on the console.

              While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.

              • 4. Re: How to configure when the server startup time is display
                menegazzo

                Here it is, hope it helps. I'm sure the applications were deployed before server is started.

                10:41:13,051 INFO [Server] Starting JBoss (MX MicroKernel)...
                10:41:13,051 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
                10:41:13,051 INFO [Server] Home Dir: C:\ambienteDSI\jboss-4.2.2.GAX
                10:41:13,051 INFO [Server] Home URL: file:/C:/ambienteDSI/jboss-4.2.2.GAX/
                10:41:13,051 INFO [Server] Patch URL: null
                10:41:13,051 INFO [Server] Server Name: trunk
                10:41:13,051 INFO [Server] Server Home Dir: C:\ambienteDSI\jboss-4.2.2.GAX\server\trunk
                10:41:13,051 INFO [Server] Server Home URL: file:/C:/ambienteDSI/jboss-4.2.2.GAX/server/trunk/
                10:41:13,051 INFO [Server] Server Log Dir: C:\ambienteDSI\jboss-4.2.2.GAX\server\trunk\log
                10:41:13,051 INFO [Server] Server Temp Dir: C:\ambienteDSI\jboss-4.2.2.GAX\server\trunk\tmp
                10:41:13,067 INFO [Server] Root Deployment Filename: jboss-service.xml
                10:41:13,411 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc.
                10:41:13,411 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_11-b03,Sun Microsystems Inc.
                10:41:13,411 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
                10:41:13,911 INFO [Server] Core system initialized
                10:41:16,848 INFO [WebService] Using RMI server codebase: http://dsi24.capesesp.net:8083/
                10:41:16,848 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
                10:41:17,754 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
                10:41:17,754 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
                10:41:18,192 INFO [TransactionManagerService] Starting recovery manager
                10:41:18,567 INFO [TransactionManagerService] Recovery manager started
                10:41:18,567 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
                10:41:23,395 INFO [EJB3Deployer] Starting java:comp multiplexer
                10:41:24,285 INFO [STDOUT] no object for null
                10:41:24,285 INFO [STDOUT] no object for null
                10:41:24,317 INFO [STDOUT] no object for null
                10:41:24,363 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
                10:41:24,379 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
                10:41:28,738 INFO [NativeServerConfig] JBoss Web Services - Native
                10:41:28,738 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837)
                10:41:31,301 INFO [Embedded] Catalina naming disabled
                10:41:31,894 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Arquivos de programas\Java\jre1.5.0_11\bin;.;C:\WINDOWS\system32;C:\WINDOWS;native
                10:41:32,207 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-dsi24.capesesp.net%2F192.168.0.233-8080
                10:41:32,785 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-dsi24.capesesp.net%2F192.168.0.233-8443
                10:41:32,785 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-dsi24.capesesp.net%2F192.168.0.233-8009
                10:41:32,785 INFO [Catalina] Initialization processed in 1477 ms
                10:41:32,785 INFO [StandardService] Starting service jboss.web
                10:41:32,832 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
                10:41:32,972 INFO [Catalina] Server startup in 148 ms
                10:41:33,301 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
                10:41:35,363 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
                10:41:35,941 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
                10:41:36,269 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
                10:41:38,613 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
                10:41:40,238 INFO [MailService] Mail Service bound to java:/Mail
                10:41:40,816 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
                10:41:40,925 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
                10:41:41,019 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
                10:41:41,144 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
                10:41:41,285 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
                10:41:41,378 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
                10:41:41,550 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
                10:41:41,582 INFO [QuartzResourceAdapter] start quartz!!!
                10:41:41,816 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
                10:41:41,894 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
                10:41:41,910 INFO [RAMJobStore] RAMJobStore initialized.
                10:41:41,910 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
                10:41:41,910 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
                10:41:41,910 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
                10:41:43,331 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
                10:41:44,206 INFO [A] Bound to JNDI name: queue/A
                10:41:44,206 INFO [B] Bound to JNDI name: queue/B
                10:41:44,206 INFO [C] Bound to JNDI name: queue/C
                10:41:44,206 INFO [D] Bound to JNDI name: queue/D
                10:41:44,206 INFO [ex] Bound to JNDI name: queue/ex
                10:41:44,253 INFO [testTopic] Bound to JNDI name: topic/testTopic
                10:41:44,269 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
                10:41:44,269 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
                10:41:44,269 INFO [testQueue] Bound to JNDI name: queue/testQueue
                10:41:44,394 INFO [UILServerILService] JBossMQ UIL service available at : dsi24.capesesp.net/192.168.0.233:8093
                10:41:44,519 INFO [DLQ] Bound to JNDI name: queue/DLQ
                10:41:44,925 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
                10:41:45,019 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
                10:41:45,613 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-dsi24.capesesp.net%2F192.168.0.233-8080
                10:41:45,706 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-dsi24.capesesp.net%2F192.168.0.233-8443
                10:41:45,784 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-dsi24.capesesp.net%2F192.168.0.233-8009
                
                10:41:45,831 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 32s:764ms
                
                10:41:51,331 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ds-jkernel' to JNDI name 'java:ds-jkernel'
                10:41:51,362 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ds-SY' to JNDI name 'java:ds-SY'
                10:41:51,362 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ds-CA' to JNDI name 'java:ds-CA'
                10:41:51,362 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ds-CT' to JNDI name 'java:ds-CT'
                10:41:51,362 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ds-ES' to JNDI name 'java:ds-ES'
                10:41:51,378 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ds-GD' to JNDI name 'java:ds-GD'
                10:41:51,378 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ds-CG' to JNDI name 'java:ds-CG'
                10:41:51,394 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ds-RD' to JNDI name 'java:ds-RD'
                10:41:51,394 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ds-LE' to JNDI name 'java:ds-LE'
                10:41:51,409 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ds-FN' to JNDI name 'java:ds-FN'
                10:41:51,425 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ds-TM' to JNDI name 'java:ds-TM'
                10:41:51,441 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ds-CF' to JNDI name 'java:ds-CF'
                10:41:51,472 INFO [EARDeployer] Init J2EE application: file:/C:/ambienteDSI/jboss-4.2.2.GAX/server/trunk/deploy-capesesp/ca-ejb-ear.ear/
                10:41:53,269 INFO [Environment] Hibernate 3.2.4.sp1
                10:41:53,300 INFO [Environment] hibernate.properties not found
                10:41:53,315 INFO [Environment] Bytecode provider name : javassist
                10:41:53,331 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
                10:41:53,565 INFO [Configuration] Searching for mapping documents in jar: ca-ejb.har
                10:41:53,565 INFO [Configuration] Found mapping document in jar: br/com/capesesp/controleacesso/dominio/area/fp.Area.hbm.xml
                10:41:53,909 INFO [HbmBinder] Mapping class: br.com.capesesp.controleacesso.dominio.area.Area -> tb_local
                10:41:53,987 INFO [Configuration] Found mapping document in jar: br/com/capesesp/controleacesso/dominio/horarioarea/ca.HorarioAreaPadrao.hbm.xml
                10:41:54,019 INFO [HbmBinder] Mapping class: br.com.capesesp.controleacesso.dominio.horarioarea.HorarioAreaPadrao -> tb_horario_local_padrao
                10:41:54,019 INFO [Configuration] Found mapping document in jar: br/com/capesesp/controleacesso/dominio/horarioarea/ca.HorarioAreaTemporario.hbm.xml
                10:41:54,034 INFO [HbmBinder] Mapping class: br.com.capesesp.controleacesso.dominio.horarioarea.HorarioAreaTemporario -> tb_horario_local_temporario
                10:41:54,034 INFO [Configuration] Found mapping document in jar: br/com/capesesp/controleacesso/dominio/perfil/ca.Perfil.hbm.xml
                10:41:54,065 INFO [HbmBinder] Mapping class: br.com.capesesp.controleacesso.dominio.perfil.Perfil -> tb_perfil
                10:41:54,065 INFO [HbmBinder] Mapping collection: br.com.capesesp.controleacesso.dominio.perfil.Perfil.roleNames -> tb_rolename_perfil
                10:41:54,081 INFO [Configuration] Found mapping document in jar: br/com/capesesp/controleacesso/dominio/rolename/ca.RoleName.hbm.xml
                10:41:54,097 INFO [HbmBinder] Mapping class: br.com.capesesp.controleacesso.dominio.rolename.RoleName -> tb_rolename
                10:41:54,331 INFO [HbmBinder] Mapping collection: br.com.capesesp.controleacesso.dominio.rolename.RoleName.perfis -> tb_rolename_perfil
                10:41:54,331 INFO [Configuration] Found mapping document in jar: br/com/capesesp/controleacesso/dominio/rolename/ca.RoleNamePerfil.hbm.xml
                10:41:54,378 INFO [HbmBinder] Mapping class: br.com.capesesp.controleacesso.dominio.rolename.RoleNamePerfil -> tb_rolename_perfil
                10:41:54,378 INFO [Configuration] Found mapping document in jar: br/com/capesesp/controleacesso/dominio/senha/ca.Senha.hbm.xml
                10:41:54,440 INFO [HbmBinder] Mapping class: br.com.capesesp.controleacesso.dominio.senha.Senha -> tb_senha
                10:41:54,440 INFO [Configuration] Found mapping document in jar: br/com/capesesp/controleacesso/dominio/sistema/ca.Sistema.hbm.xml
                10:41:54,456 INFO [HbmBinder] Mapping class: br.com.capesesp.controleacesso.dominio.sistema.Sistema -> tb_sistema
                10:41:54,456 INFO [Configuration] Found mapping document in jar: br/com/capesesp/controleacesso/dominio/usuario/ca.Usuario.hbm.xml
                10:41:54,472 INFO [HbmBinder] Mapping class: br.com.capesesp.controleacesso.dominio.usuario.Usuario -> tb_usuario
                10:41:54,472 INFO [Configuration] Found mapping document in jar: br/com/capesesp/controleacesso/dominio/usuario/ca.UsuarioPerfil.hbm.xml
                10:41:54,472 INFO [HbmBinder] Mapping class: br.com.capesesp.controleacesso.dominio.usuario.UsuarioPerfil -> tb_usuario_perfil
                10:41:54,487 INFO [Configuration] Found mapping document in jar: br/com/capesesp/controleacesso/dominio/usuario/fp.Funcionario.hbm.xml
                10:41:54,487 INFO [HbmBinder] Mapping class: br.com.capesesp.controleacesso.dominio.usuario.Funcionario -> vw_funcionario_ca
                10:41:54,487 INFO [HbmBinder] Mapping collection: br.com.capesesp.controleacesso.dominio.perfil.Perfil.usuarioPerfil -> tb_usuario_perfil
                10:41:54,487 INFO [HbmBinder] Mapping collection: br.com.capesesp.controleacesso.dominio.usuario.Usuario.usuarioPerfil -> tb_usuario_perfil
                10:41:54,940 INFO [NamingHelper] JNDI InitialContext properties:{}
                10:41:54,956 INFO [DatasourceConnectionProvider] Using datasource: java:/ds-CA
                10:41:55,612 INFO [SettingsFactory] RDBMS: Oracle, version: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
                10:41:55,612 INFO [SettingsFactory] JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0
                10:41:55,690 INFO [Dialect] Using dialect: org.hibernate.dialect.Oracle9Dialect
                10:41:55,706 WARN [Oracle9Dialect] The Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect or Oracle10gDialect instead
                10:41:55,722 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JTATransactionFactory
                10:41:55,722 INFO [NamingHelper] JNDI InitialContext properties:{}
                10:41:55,722 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
                10:41:55,722 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
                10:41:55,722 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
                10:41:55,722 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
                10:41:55,722 INFO [SettingsFactory] Automatic flush during beforeCompletion(): enabled
                10:41:55,722 INFO [SettingsFactory] Automatic session close at end of transaction: enabled
                10:41:55,737 INFO [SettingsFactory] Scrollable result sets: enabled
                10:41:55,737 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
                10:41:55,737 INFO [SettingsFactory] Connection release mode: after_statement
                10:41:55,737 INFO [SettingsFactory] Default batch fetch size: 1
                10:41:55,737 INFO [SettingsFactory] Generate SQL with comments: disabled
                10:41:55,737 INFO [SettingsFactory] Order SQL updates by primary key: disabled
                10:41:55,737 INFO [SettingsFactory] Order SQL inserts for batching: disabled
                10:41:55,737 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
                10:41:55,753 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
                10:41:55,753 INFO [SettingsFactory] Query language substitutions: {}
                10:41:55,753 INFO [SettingsFactory] JPA-QL strict compliance: disabled
                10:41:55,753 INFO [SettingsFactory] Second-level cache: enabled
                10:41:55,753 INFO [SettingsFactory] Query cache: disabled
                10:41:55,753 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
                10:41:55,753 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
                10:41:55,753 INFO [SettingsFactory] Structured second-level cache entries: disabled
                10:41:55,768 INFO [SettingsFactory] Echoing all SQL to stdout
                10:41:55,768 INFO [SettingsFactory] Statistics: disabled
                10:41:55,768 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
                10:41:55,768 INFO [SettingsFactory] Default entity-mode: pojo
                10:41:55,768 INFO [SettingsFactory] Named query checking : enabled
                10:41:55,862 INFO [SessionFactoryImpl] building session factory
                10:41:56,753 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
                10:41:56,753 INFO [NamingHelper] JNDI InitialContext properties:{}
                10:41:56,753 INFO [Hibernate] SessionFactory successfully built and bound into JNDI [java:/hibernate/CA]
                10:41:57,050 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
                10:41:57,081 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=ca-ejb-ear.ear,jar=ca-ejb.jar,name=AreaBusinessBean,service=EJB3 with dependencies:
                10:41:57,643 INFO [EJBContainer] STARTED EJB: br.com.capesesp.controleacesso.dominio.area.ejb.AreaBusinessBean ejbName: AreaBusinessBean
                10:41:57,909 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
                10:41:57,909 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=ca-ejb-ear.ear,jar=ca-ejb.jar,name=HorarioAreaBusinessBean,service=EJB3 with dependencies:
                10:41:58,003 INFO [EJBContainer] STARTED EJB: br.com.capesesp.controleacesso.dominio.horarioarea.ejb.HorarioAreaBusinessBean ejbName: HorarioAreaBusinessBean
                10:41:58,034 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
                10:41:58,034 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=ca-ejb-ear.ear,jar=ca-ejb.jar,name=PerfilBusinessBean,service=EJB3 with dependencies:
                10:41:58,097 INFO [EJBContainer] STARTED EJB: br.com.capesesp.controleacesso.dominio.perfil.ejb.PerfilBusinessBean ejbName: PerfilBusinessBean
                10:41:58,128 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
                10:41:58,128 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=ca-ejb-ear.ear,jar=ca-ejb.jar,name=RoleNameBusinessBean,service=EJB3 with dependencies:
                10:41:58,175 INFO [EJBContainer] STARTED EJB: br.com.capesesp.controleacesso.dominio.rolename.ejb.RoleNameBusinessBean ejbName: RoleNameBusinessBean
                10:41:58,206 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
                10:41:58,206 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=ca-ejb-ear.ear,jar=ca-ejb.jar,name=SenhaBusinessBean,service=EJB3 with dependencies:
                10:41:58,253 INFO [EJBContainer] STARTED EJB: br.com.capesesp.controleacesso.dominio.senha.ejb.SenhaBusinessBean ejbName: SenhaBusinessBean
                10:41:58,284 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
                10:41:58,284 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=ca-ejb-ear.ear,jar=ca-ejb.jar,name=SistemaBusinessBean,service=EJB3 with dependencies:
                10:41:58,331 INFO [EJBContainer] STARTED EJB: br.com.capesesp.controleacesso.dominio.sistema.ejb.SistemaBusinessBean ejbName: SistemaBusinessBean
                10:41:58,378 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
                10:41:58,378 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=ca-ejb-ear.ear,jar=ca-ejb.jar,name=UsuarioBusinessBean,service=EJB3 with dependencies:
                10:41:58,456 INFO [EJBContainer] STARTED EJB: br.com.capesesp.controleacesso.dominio.usuario.ejb.UsuarioBusinessBean ejbName: UsuarioBusinessBean
                10:41:58,518 INFO [EJB3Deployer] Deployed: file:/C:/ambienteDSI/jboss-4.2.2.GAX/server/trunk/deploy-capesesp/ca-ejb-ear.ear/ca-ejb.jar/
                10:41:58,550 INFO [EARDeployer] Started J2EE application: file:/C:/ambienteDSI/jboss-4.2.2.GAX/server/trunk/deploy-capesesp/ca-ejb-ear.ear/
                


                • 5. Re: How to configure when the server startup time is display
                  jaikiran

                  1) This is not a clean JBoss installation. It's customized :)

                  10:41:13,051 INFO [Server] Server Home Dir: C:\ambienteDSI\jboss-4.2.2.GAX\server\trunk


                  JBoss AS by default ships only "default", "minimal" and "all" configurations in AS-4.x. The "trunk" is a custom configuration

                  2) Looks like someone has added an additional custom deploy folder named deploy-capesesp. And it's the applications in this folder that are being deployed after the server has started (although i don't a see reason why):

                  10:41:51,472 INFO [EARDeployer] Init J2EE application: file:/C:/ambienteDSI/jboss-4.2.2.GAX/server/
                  trunk/deploy-capesesp/ca-ejb-ear.ear/
                  

                  You will notice that applications in the default deploy folder are all deployed before the server starts. For example:

                  10:41:45,019 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
                  
                  


                  So, what are the customizations done to this server? How is the customized deploy folder configured and where?

                  • 6. Re: How to configure when the server startup time is display
                    menegazzo

                    Here is two log fragments:

                    1: using eclipse's add and remove projects feature

                    ...
                    15:15:14,865 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 22s:747ms
                    15:15:19,724 INFO [EARDeployer] Init J2EE application: file:/C:/ambienteDSI/jboss-4.2.2.GAX/server/default/deploy/deploy-test-ear.ear/
                    15:15:20,568 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
                    15:15:20,599 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=deploy-test-ear.ear,jar=deploy-test-ejb.jar,name=TestBean,service=EJB3 with dependencies:
                    15:15:20,911 INFO [EJBContainer] STARTED EJB: br.com.deploytest.TestBean ejbName: TestBean
                    15:15:20,974 INFO [EJB3Deployer] Deployed: file:/C:/ambienteDSI/jboss-4.2.2.GAX/server/default/deploy/deploy-test-ear.ear/deploy-test-ejb.jar/
                    15:15:20,989 INFO [EARDeployer] Started J2EE application: file:/C:/ambienteDSI/jboss-4.2.2.GAX/server/default/deploy/deploy-test-ear.ear/
                    


                    1: deploying an EAR (extracted or not) directly outside eclipse
                    ...
                    15:17:11,428 INFO [EARDeployer] Init J2EE application: file:/C:/ambienteDSI/jboss-4.2.2.GAX/server/default/deploy/deploy-test-ear.ear
                    15:17:12,349 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
                    15:17:12,365 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=deploy-test-ear.ear,jar=deploy-test-ejb.jar,name=TestBean,service=EJB3 with dependencies:
                    15:17:12,756 INFO [EJBContainer] STARTED EJB: br.com.deploytest.TestBean ejbName: TestBean
                    15:17:12,818 INFO [EJB3Deployer] Deployed: file:/C:/ambienteDSI/jboss-4.2.2.GAX/server/default/tmp/deploy/tmp29727deploy-test-ear.ear-contents/deploy-test-ejb.jar
                    15:17:12,834 INFO [EARDeployer] Started J2EE application: file:/C:/ambienteDSI/jboss-4.2.2.GAX/server/default/deploy/deploy-test-ear.ear
                    15:17:13,037 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
                    15:17:13,084 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8443
                    15:17:13,131 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
                    15:17:13,146 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 24s:871ms
                    


                    I'm thinking this is an eclipse behavior, what do you think?

                    Thanks

                    • 7. Re: How to configure when the server startup time is display
                      menegazzo

                      Oh, and yes, that was a custom configuration (my mistake), the two last logs are from a really default config.