12 Replies Latest reply on Sep 7, 2012 3:19 AM by tamal24

    JBoss AS 5.1 very slow in startup

    tamal24 Newbie

      Hi,


      I am newbie working in JBoss AS. After new version of our application is deployed in Jboss it is taking long time during startup (around 8 minutes).Please find the JBOSS_HOME/server/default/log/server.log below which shows the time taken duration in

      logs. Any kind of help is appreciated in advance.

       


      2012-02-01 13:02:44,714 INFO  [org.jboss.web.WebService] (main) Using RMI server codebase: http://172.16.35.88:8083/
      2012-02-01 13:02:48,874 INFO  [org.jboss.wsf.stack.jbws.NativeServerConfig] (main) JBoss Web Services - Stack Native Core
      2012-02-01 13:02:48,874 INFO  [org.jboss.wsf.stack.jbws.NativeServerConfig] (main) 3.1.2.GA
      2012-02-01 13:02:49,260 INFO  [org.jboss.dependency.plugins.AttributeCallbackItem] (main) Owner callback not implemented.
      2012-02-01 13:02:50,251 INFO  [org.jboss.logbridge.LogNotificationListener] (main) Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@17599cc[ defaultDomain='jboss' ]
      2012-02-01 13:03:04,993 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@25411128{vfsfile:/opt/jboss51/server/default/deploy/profileservice-secured.jar/}
      2012-02-01 13:03:04,993 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@25411128{vfsfile:/opt/jboss51/server/default/deploy/profileservice-secured.jar/}
      2012-02-01 13:03:04,994 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@25411128{vfsfile:/opt/jboss51/server/default/deploy/profileservice-secured.jar/}
      2012-02-01 13:03:04,994 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@25411128{vfsfile:/opt/jboss51/server/default/deploy/profileservice-secured.jar/}
      2012-02-01 13:03:04,999 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@32529641{vfszip:/opt/jboss51/server/default/deploy/sswa.ear/jboss-seam.jar/}
      2012-02-01 13:03:04,999 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@32529641{vfszip:/opt/jboss51/server/default/deploy/sswa.ear/jboss-seam.jar/}
      2012-02-01 13:03:04,999 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@10386977{vfsfile:/opt/jboss51/server/default/deploy/sswa.ear/sswa.jar/}
      2012-02-01 13:03:04,999 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@10386977{vfsfile:/opt/jboss51/server/default/deploy/sswa.ear/sswa.jar/}
      2012-02-01 13:03:04,999 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@10386977{vfsfile:/opt/jboss51/server/default/deploy/sswa.ear/sswa.jar/}
      2012-02-01 13:03:06,539 INFO  [org.jboss.mx.remoting.service.JMXConnectorServerService] (main) JMX Connector server: service:jmx:rmi://172.16.35.88/jndi/rmi://172.16.35.88:1090/jmxconnector
      2012-02-01 13:03:06,635 INFO  [org.jboss.mail.MailService] (main) Mail Service bound to java:/Mail
      2012-02-01 13:03:09,017 WARN  [org.jboss.annotation.factory.AnnotationCreator] (main) No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
      2012-02-01 13:03:09,081 WARN  [org.jboss.annotation.factory.AnnotationCreator] (main) No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
      2012-02-01 13:03:09,131 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
      2012-02-01 13:03:09,131 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) Setting up property manager MBean and JMX layer
      2012-02-01 13:03:09,322 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) Initializing recovery manager
      2012-02-01 13:03:09,426 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) Recovery manager configured
      2012-02-01 13:03:09,427 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) Binding TransactionManager JNDI Reference
      2012-02-01 13:03:09,453 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) Starting transaction recovery manager
      2012-02-01 13:03:09,817 INFO  [org.apache.catalina.core.AprLifecycleListener] (main) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/jdk/instances/jdk1.5.0/jdk1.6.0_26/jre/lib/i386/server:/usr/jdk/instances/jdk1.5.0/jdk1.6.0_26/jre/lib/i386:/usr/jdk/instances/jdk1.5.0/jdk1.6.0_26/jre/../lib/i386:/usr/jdk/packages/lib/i386:/lib:/usr/lib
      2012-02-01 13:03:09,869 INFO  [org.apache.coyote.http11.Http11Protocol] (main) Initializing Coyote HTTP/1.1 on http-172.16.35.88-8087
      2012-02-01 13:03:09,870 INFO  [org.apache.coyote.ajp.AjpProtocol] (main) Initializing Coyote AJP/1.3 on ajp-172.16.35.88-8009
      2012-02-01 13:03:09,889 INFO  [org.apache.catalina.core.StandardService] (main) Starting service jboss.web
      2012-02-01 13:03:09,891 INFO  [org.apache.catalina.core.StandardEngine] (main) Starting Servlet Engine: JBoss Web/2.1.3.GA
      2012-02-01 13:03:09,933 INFO  [org.apache.catalina.startup.Catalina] (main) Server startup in 62 ms
      2012-02-01 13:03:09,950 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/invoker
      2012-02-01 13:03:10,399 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/jbossws
      2012-02-01 13:03:10,498 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/web-console

       


      2012-02-01 13:10:40,514 INFO  [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfsfile:/opt/jboss51/server/default/deploy/hornetq-ra.rar/META-INF/ra.xml
      2012-02-01 13:10:40,569 INFO  [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] (main) Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      2012-02-01 13:10:40,581 INFO  [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfszip:/opt/jboss51/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
      2012-02-01 13:10:40,592 INFO  [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfszip:/opt/jboss51/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
      2012-02-01 13:10:40,611 INFO  [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfszip:/opt/jboss51/server/default/deploy/jms-ra.rar/META-INF/ra.xml
      2012-02-01 13:10:40,626 INFO  [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfszip:/opt/jboss51/server/default/deploy/mail-ra.rar/META-INF/ra.xml
      2012-02-01 13:10:40,644 INFO  [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfszip:/opt/jboss51/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
      2012-02-01 13:10:40,728 INFO  [org.quartz.simpl.SimpleThreadPool] (main) Job execution threads will use class loader of thread: main
      2012-02-01 13:10:40,759 INFO  [org.quartz.core.QuartzScheduler] (main) Quartz Scheduler v.1.5.2 created.
      2012-02-01 13:10:40,762 INFO  [org.quartz.simpl.RAMJobStore] (main) RAMJobStore initialized.
      2012-02-01 13:10:40,763 INFO  [org.quartz.impl.StdSchedulerFactory] (main) Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
      2012-02-01 13:10:40,763 INFO  [org.quartz.impl.StdSchedulerFactory] (main) Quartz scheduler version: 1.5.2
      2012-02-01 13:10:40,763 INFO  [org.quartz.core.QuartzScheduler] (main) Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      2012-02-01 13:10:41,136 INFO  [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] (main) Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      2012-02-01 13:10:41,708 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) Created KernelDeployment for: profileservice-secured.jar
      2012-02-01 13:10:41,711 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
      2012-02-01 13:10:41,712 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   with dependencies:
      2012-02-01 13:10:41,712 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   and demands:
      2012-02-01 13:10:41,712 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
      2012-02-01 13:10:41,712 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jboss.ejb:service=EJBTimerService
      2012-02-01 13:10:41,712 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   and supplies:
      2012-02-01 13:10:41,712 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   Class:org.jboss.profileservice.spi.ProfileService
      2012-02-01 13:10:41,712 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jndi:SecureProfileService/remote
      2012-02-01 13:10:41,712 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
      2012-02-01 13:10:41,712 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar
      2012-02-01 13:10:41,713 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
      2012-02-01 13:10:41,713 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   with dependencies:
      2012-02-01 13:10:41,713 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   and demands:
      2012-02-01 13:10:41,713 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jboss.ejb:service=EJBTimerService
      2012-02-01 13:10:41,713 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   and supplies:
      2012-02-01 13:10:41,713 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager
      2012-02-01 13:10:41,713 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   Class:org.jboss.deployers.spi.management.deploy.DeploymentManager
      2012-02-01 13:10:41,713 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jndi:SecureDeploymentManager/remote
      2012-02-01 13:10:41,713 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar
      2012-02-01 13:10:41,714 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
      2012-02-01 13:10:41,714 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   with dependencies:
      2012-02-01 13:10:41,714 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   and demands:
      2012-02-01 13:10:41,714 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jboss.ejb:service=EJBTimerService
      2012-02-01 13:10:41,714 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   and supplies:
      2012-02-01 13:10:41,714 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
      2012-02-01 13:10:41,714 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   Class:org.jboss.deployers.spi.management.ManagementView
      2012-02-01 13:10:41,714 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jndi:SecureManagementView/remote
      2012-02-01 13:10:41,714 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar
      2012-02-01 13:10:41,720 INFO  [org.jboss.ejb3.endpoint.deployers.EJB3EndpointDeployer] (main) Deploy AbstractBeanMetaData@2f5713{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      2012-02-01 13:10:41,720 INFO  [org.jboss.ejb3.endpoint.deployers.EJB3EndpointDeployer] (main) Deploy AbstractBeanMetaData@19e37f8{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      2012-02-01 13:10:41,720 INFO  [org.jboss.ejb3.endpoint.deployers.EJB3EndpointDeployer] (main) Deploy AbstractBeanMetaData@126293a{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      2012-02-01 13:10:41,789 INFO  [org.jboss.ejb3.session.SessionSpecContainer] (main) Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
      2012-02-01 13:10:41,799 INFO  [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager
      2012-02-01 13:10:41,842 INFO  [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] (main) Binding the following Entries in Global JNDI:

              SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface
              SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface

      2012-02-01 13:10:41,897 INFO  [org.jboss.ejb3.session.SessionSpecContainer] (main) Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
      2012-02-01 13:10:41,898 INFO  [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView
      2012-02-01 13:10:41,908 INFO  [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] (main) Binding the following Entries in Global JNDI:

              SecureManagementView/remote - EJB3.x Default Remote Business Interface
              SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface

      2012-02-01 13:10:41,944 INFO  [org.jboss.ejb3.session.SessionSpecContainer] (main) Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
      2012-02-01 13:10:41,946 INFO  [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
      2012-02-01 13:10:41,955 INFO  [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] (main) Binding the following Entries in Global JNDI:

              SecureProfileService/remote - EJB3.x Default Remote Business Interface
              SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface

      2012-02-01 13:10:42,044 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/admin-console
      2012-02-01 13:10:42,090 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (main) Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
      2012-02-01 13:10:43,535 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/
      2012-02-01 13:10:43,573 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/jmx-console
      2012-02-01 13:10:43,617 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/sdservice
      2012-02-01 13:10:43,679 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (main) Initializing Mojarra (1.2_12-b01-FCS) for context '/sdservice'
      2012-02-01 13:10:44,776 INFO  [javax.servlet.ServletContextListener] (main) Welcome to Seam 2.2.2.Final
      2012-02-01 13:10:47,248 WARN  [org.jboss.seam.security.permission.PersistentPermissionResolver] (main) no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
      2012-02-01 13:10:50,008 WARN  [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (main) WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@4f4f54
      2012-02-01 13:10:50,017 WARN  [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (main) WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@4f4f54
      2012-02-01 13:10:50,026 WARN  [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (main) WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@4f4f54
      2012-02-01 13:10:50,027 WARN  [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (main) WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@4f4f54
      2012-02-01 13:10:50,209 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) Created KernelDeployment for: jboss-seam.jar
      2012-02-01 13:10:50,209 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: jboss.j2ee:ear=sswa.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
      2012-02-01 13:10:50,209 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   with dependencies:
      2012-02-01 13:10:50,209 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   and demands:
      2012-02-01 13:10:50,209 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jboss.ejb:service=EJBTimerService
      2012-02-01 13:10:50,209 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   and supplies:
      2012-02-01 13:10:50,209 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   Class:org.jboss.seam.async.LocalTimerServiceDispatcher
      2012-02-01 13:10:50,209 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jndi:sswa/TimerServiceDispatcher/local-org.jboss.seam.async.LocalTimerServiceDispatcher
      2012-02-01 13:10:50,209 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jndi:sswa/TimerServiceDispatcher/local
      2012-02-01 13:10:50,209 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jndi:sswa/TimerServiceDispatcher/remote
      2012-02-01 13:10:50,209 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(jboss.j2ee:ear=sswa.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3) to KernelDeployment of: jboss-seam.jar
      2012-02-01 13:10:50,210 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: jboss.j2ee:ear=sswa.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3
      2012-02-01 13:10:50,210 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   with dependencies:
      2012-02-01 13:10:50,210 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   and demands:
      2012-02-01 13:10:50,210 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jboss.ejb:service=EJBTimerService
      2012-02-01 13:10:50,210 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   and supplies:
      2012-02-01 13:10:50,210 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jndi:sswa/EjbSynchronizations/remote
      2012-02-01 13:10:50,210 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jndi:sswa/EjbSynchronizations/local-org.jboss.seam.transaction.LocalEjbSynchronizations
      2012-02-01 13:10:50,210 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   jndi:sswa/EjbSynchronizations/local
      2012-02-01 13:10:50,210 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   Class:org.jboss.seam.transaction.LocalEjbSynchronizations
      2012-02-01 13:10:50,210 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(jboss.j2ee:ear=sswa.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3) to KernelDeployment of: jboss-seam.jar
      2012-02-01 13:10:50,354 INFO  [org.jboss.ejb3.endpoint.deployers.EJB3EndpointDeployer] (main) Deploy AbstractBeanMetaData@1ac86c{name=jboss.j2ee:ear=sswa.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      2012-02-01 13:10:50,354 INFO  [org.jboss.ejb3.endpoint.deployers.EJB3EndpointDeployer] (main) Deploy AbstractBeanMetaData@2cd0f7{name=jboss.j2ee:ear=sswa.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      2012-02-01 13:10:50,394 INFO  [org.jboss.ejb3.session.SessionSpecContainer] (main) Starting jboss.j2ee:ear=sswa.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
      2012-02-01 13:10:50,395 INFO  [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
      2012-02-01 13:10:50,408 INFO  [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] (main) Binding the following Entries in Global JNDI:

              sswa/TimerServiceDispatcher/local - EJB3.x Default Local Business Interface
              sswa/TimerServiceDispatcher/local-org.jboss.seam.async.LocalTimerServiceDispatcher - EJB3.x Local Business Interface

      2012-02-01 13:10:50,457 INFO  [org.jboss.ejb3.session.SessionSpecContainer] (main) Starting jboss.j2ee:ear=sswa.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3
      2012-02-01 13:10:50,458 INFO  [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
      2012-02-01 13:10:50,475 INFO  [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] (main) Binding the following Entries in Global JNDI:

              sswa/EjbSynchronizations/local - EJB3.x Default Local Business Interface
              sswa/EjbSynchronizations/local-org.jboss.seam.transaction.LocalEjbSynchronizations - EJB3.x Local Business Interface

      2012-02-01 13:10:50,554 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/sswa
      2012-02-01 13:10:50,596 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (main) Initializing Mojarra (1.2_12-b01-FCS) for context '/sswa'
      2012-02-01 13:10:51,616 INFO  [javax.servlet.ServletContextListener] (main) Welcome to Seam 2.2.0.GA
      2012-02-01 13:10:54,998 WARN  [org.jboss.seam.security.permission.PersistentPermissionResolver] (main) no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
      2012-02-01 13:10:55,251 WARN  [org.jboss.seam.async.QuartzDispatcher] (main) No seam.quartz.properties file. Using in-memory job store.
      2012-02-01 13:10:55,285 INFO  [org.quartz.simpl.SimpleThreadPool] (main) Job execution threads will use class loader of thread: main
      2012-02-01 13:10:55,311 INFO  [org.quartz.core.QuartzScheduler] (main) Quartz Scheduler v.1.6.0 created.
      2012-02-01 13:10:55,313 INFO  [org.quartz.simpl.RAMJobStore] (main) RAMJobStore initialized.
      2012-02-01 13:10:55,313 INFO  [org.quartz.impl.StdSchedulerFactory] (main) Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
      2012-02-01 13:10:55,313 INFO  [org.quartz.impl.StdSchedulerFactory] (main) Quartz scheduler version: 1.6.0
      2012-02-01 13:10:55,313 INFO  [org.quartz.core.QuartzScheduler] (main) Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      2012-02-01 13:10:57,157 WARN  [org.jboss.util.xml.JBossEntityResolver] (main) Trying to resolve systemId as a non-file URL: vfsfile:/opt/jboss51/server/default/deploy/sswa.ear/sswa.jar/META-INF/wsdl/ManageTechnicalAndCommercialInventoryV1.xsd
      2012-02-01 13:10:57,165 WARN  [org.jboss.util.xml.JBossEntityResolver] (main) Trying to resolve systemId as a non-file URL: vfsfile:/opt/jboss51/server/default/deploy/sswa.ear/sswa.jar/META-INF/wsdl/BTHeader.xsd
      2012-02-01 13:10:57,169 WARN  [org.jboss.util.xml.JBossEntityResolver] (main) Trying to resolve systemId as a non-file URL: vfsfile:/opt/jboss51/server/default/deploy/sswa.ear/sswa.jar/META-INF/wsdl/ManageTechnicalAndCommercialInventoryV1.xsd
      2012-02-01 13:10:57,298 WARN  [org.jboss.util.xml.JBossEntityResolver] (main) Trying to resolve systemId as a non-file URL: vfsfile:/opt/jboss51/server/default/deploy/sswa.ear/sswa.jar/META-INF/wsdl/ManageTechnicalAndCommercialInventoryV1.xsd
      2012-02-01 13:10:57,319 WARN  [org.jboss.util.xml.JBossEntityResolver] (main) Trying to resolve systemId as a non-file URL: vfsfile:/opt/jboss51/server/default/deploy/sswa.ear/sswa.jar/META-INF/wsdl/BTHeader.xsd
      2012-02-01 13:10:57,522 INFO  [org.apache.coyote.http11.Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-172.16.35.88-8087
      2012-02-01 13:10:57,543 INFO  [org.apache.coyote.ajp.AjpProtocol] (main) Starting Coyote AJP/1.3 on ajp-172.16.35.88-8009
      2012-02-01 13:10:57,553 INFO  [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 8m:18s:320ms

        • 1. Re: JBoss AS 5.1 very slow in startup
          jaikiran pai Master

          Tamal, welcome to the forums!

           

          If you are starting new, then I would recommend that you use AS 7.1.0.CR1b instead since it's the latest available release.

          • 2. Re: JBoss AS 5.1 very slow in startup
            tamal24 Newbie

            Hi Jaikiran,

             

            Thanks a lot for your quick reply.  Actually in our project this version is being used for this purpose. Thats why I am also using this same version.

            Actually when we deployed newer version of application the starting time has got increased. Earlier it is used to startup by 4 minutes or so.

            Now it is taking around 8 minutes. And thats my problem.

            • 3. Re: JBoss AS 5.1 very slow in startup
              jaikiran pai Master

              There are some known issues with the time required for deploying applications in AS 5.1.0. Some of them were fixed in AS 6.0.0 (and 6.1.0). That's one of the reasons why I suggested upgrading the version. If that's not possible then you'll have to narrow down on what's causing the delay.

               

              For example, I see this in the log you posted:

              2012-02-01 13:03:10,498 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/web-console

               

               

              2012-02-01 13:10:40,514 INFO  [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfsfile:/opt/jboss51/server/default/deploy/hornetq-ra.rar/META-INF/ra.xml

              Is there really a gap of 7 minutes there or did you trim some logs while posting?

              • 4. Re: JBoss AS 5.1 very slow in startup
                tamal24 Newbie

                No No Why do I on earth want to delete something ....when I am splitting hair why this is stuck for 7 minutes after this line.

                The server stops there for 7 minutes .... and then the next lines comes in log.

                • 5. Re: JBoss AS 5.1 very slow in startup
                  jaikiran pai Master

                  Which specific Java version and operating system are you on?

                   

                  Also try and get thread dumps http://community.jboss.org/wiki/ThreadDump at regular intervals when you see that 7 minute delay

                  • 6. Re: JBoss AS 5.1 very slow in startup
                    tamal24 Newbie

                    Java version is 1.6.0_26 and OS is : SunOS version 5.10.

                     

                    And I'm trying to collect threadDumps through console as the server is starting up so jmx-console way is not working.

                    • 7. Re: JBoss AS 5.1 very slow in startup
                      jaikiran pai Master

                      Tamal das wrote:

                       

                       

                       

                      And I'm trying to collect threadDumps through console as the server is starting up so jmx-console way is not working.

                      There are other ways to collect that data without using jmx-console. The wiki I pointed you to has the details.

                      • 8. Re: JBoss AS 5.1 very slow in startup
                        tamal24 Newbie

                        Yes I tried to collect modifying run.sh .

                        PFA the jboss.trace and modified run.sh and let me know if it is correct.

                         

                        jboss.trace ::::::::::::::::::::::

                         

                        13:19:06,427 INFO  [ServerImpl] Starting JBoss (Microcontainer)...

                        13:19:06,428 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)

                        13:19:06,428 INFO  [ServerImpl] Bootstrap URL: null

                        13:19:06,428 INFO  [ServerImpl] Home Dir: /opt/jboss51

                        13:19:06,428 INFO  [ServerImpl] Home URL: file:/opt/jboss51/

                        13:19:06,428 INFO  [ServerImpl] Library URL: file:/opt/jboss51/lib/

                        13:19:06,429 INFO  [ServerImpl] Patch URL: null

                        13:19:06,429 INFO  [ServerImpl] Common Base URL: file:/opt/jboss51/common/

                        13:19:06,429 INFO  [ServerImpl] Common Library URL: file:/opt/jboss51/common/lib/

                        13:19:06,429 INFO  [ServerImpl] Server Name: default

                        13:19:06,429 INFO  [ServerImpl] Server Base Dir: /opt/jboss51/server

                        13:19:06,430 INFO  [ServerImpl] Server Base URL: file:/opt/jboss51/server/

                        13:19:06,430 INFO  [ServerImpl] Server Config URL: file:/opt/jboss51/server/default/conf/

                        13:19:06,430 INFO  [ServerImpl] Server Home Dir: /opt/jboss51/server/default

                        13:19:06,430 INFO  [ServerImpl] Server Home URL: file:/opt/jboss51/server/default/

                        13:19:06,430 INFO  [ServerImpl] Server Data Dir: /opt/jboss51/server/default/data

                        13:19:06,430 INFO  [ServerImpl] Server Library URL: file:/opt/jboss51/server/default/lib/

                        13:19:06,430 INFO  [ServerImpl] Server Log Dir: /opt/jboss51/server/default/log

                        13:19:06,430 INFO  [ServerImpl] Server Native Dir: /opt/jboss51/server/default/tmp/native

                        13:19:06,430 INFO  [ServerImpl] Server Temp Dir: /opt/jboss51/server/default/tmp

                        13:19:06,431 INFO  [ServerImpl] Server Temp Deploy Dir: /opt/jboss51/server/default/tmp/deploy

                        13:19:07,062 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/opt/jboss51/server/default/conf/bootstrap.xml

                        13:19:07,530 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]

                        13:19:07,532 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]

                        13:19:07,758 INFO  [CopyMechanism] VFS temp dir: /opt/jboss51/server/default/tmp

                        13:19:07,759 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.

                        13:19:08,674 INFO  [ServerInfo] Java version: 1.6.0_26,Sun Microsystems Inc.

                        13:19:08,674 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_26-b03)

                        13:19:08,674 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 20.1-b02,Sun Microsystems Inc.

                        13:19:08,674 INFO  [ServerInfo] OS-System: SunOS 5.10,x86

                        13:19:08,675 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.sh -Xms512m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=/opt/jboss51/lib/endorsed

                        13:19:08,708 INFO  [JMXKernel] Legacy JMX core initialized

                        13:19:10,266 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@1b68d78[domain=default, server=default, name=default]

                        13:19:11,802 INFO  [WebService] Using RMI server codebase: http://172.16.35.88:8083/

                        13:19:15,882 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core

                        13:19:15,882 INFO  [NativeServerConfig] 3.1.2.GA

                        13:19:16,553 INFO  [AttributeCallbackItem] Owner callback not implemented.

                        13:19:17,442 INFO  [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@1402eeb[ defaultDomain='jboss' ]

                        13:19:32,362 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@15645926{vfsfile:/opt/jboss51/server/default/deploy/profileservice-secured.jar/}

                        13:19:32,363 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@15645926{vfsfile:/opt/jboss51/server/default/deploy/profileservice-secured.jar/}

                        13:19:32,363 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@15645926{vfsfile:/opt/jboss51/server/default/deploy/profileservice-secured.jar/}

                        13:19:32,363 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@15645926{vfsfile:/opt/jboss51/server/default/deploy/profileservice-secured.jar/}

                        13:19:32,367 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@23321217{vfszip:/opt/jboss51/server/default/deploy/sswa.ear/jboss-seam.jar/}

                        13:19:32,367 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@23321217{vfszip:/opt/jboss51/server/default/deploy/sswa.ear/jboss-seam.jar/}

                        13:19:32,368 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@23773558{vfsfile:/opt/jboss51/server/default/deploy/sswa.ear/sswa.jar/}

                        13:19:32,368 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@23773558{vfsfile:/opt/jboss51/server/default/deploy/sswa.ear/sswa.jar/}

                        13:19:32,368 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@23773558{vfsfile:/opt/jboss51/server/default/deploy/sswa.ear/sswa.jar/}

                        13:19:33,879 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://172.16.35.88/jndi/rmi://172.16.35.88:1090/jmxconnector

                        13:19:33,974 INFO  [MailService] Mail Service bound to java:/Mail

                        13:19:36,371 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent

                        13:19:36,441 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent

                        13:19:36,491 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.

                        13:19:36,491 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer

                        13:19:36,684 INFO  [TransactionManagerService] Initializing recovery manager

                        13:19:36,798 INFO  [TransactionManagerService] Recovery manager configured

                        13:19:36,798 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference

                        13:19:36,824 INFO  [TransactionManagerService] Starting transaction recovery manager

                        13:19:37,208 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/jdk/instances/jdk1.5.0/jdk1.6.0_26/jre/lib/i386/server:/usr/jdk/instances/jdk1.5.0/jdk1.6.0_26/jre/lib/i386:/usr/jdk/instances/jdk1.5.0/jdk1.6.0_26/jre/../lib/i386:/usr/jdk/packages/lib/i386:/lib:/usr/lib

                        13:19:37,261 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-172.16.35.88-8087

                        13:19:37,262 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-172.16.35.88-8009

                        13:19:37,281 INFO  [StandardService] Starting service jboss.web

                        13:19:37,283 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA

                        13:19:37,327 INFO  [Catalina] Server startup in 65 ms

                        13:19:37,346 INFO  [TomcatDeployment] deploy, ctxPath=/invoker

                        13:19:37,801 INFO  [TomcatDeployment] deploy, ctxPath=/web-console

                        13:19:38,143 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws

                        13:27:07,918 INFO  [RARDeployment] Required license terms exist, view vfsfile:/opt/jboss51/server/default/deploy/hornetq-ra.rar/META-INF/ra.xml

                        13:27:07,974 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'

                        13:27:07,985 INFO  [RARDeployment] Required license terms exist, view vfszip:/opt/jboss51/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml

                        13:27:07,997 INFO  [RARDeployment] Required license terms exist, view vfszip:/opt/jboss51/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml

                        13:27:08,017 INFO  [RARDeployment] Required license terms exist, view vfszip:/opt/jboss51/server/default/deploy/jms-ra.rar/META-INF/ra.xml

                        13:27:08,031 INFO  [RARDeployment] Required license terms exist, view vfszip:/opt/jboss51/server/default/deploy/mail-ra.rar/META-INF/ra.xml

                        13:27:08,050 INFO  [RARDeployment] Required license terms exist, view vfszip:/opt/jboss51/server/default/deploy/quartz-ra.rar/META-INF/ra.xml

                        13:27:08,132 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main

                        13:27:08,161 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.

                        13:27:08,164 INFO  [RAMJobStore] RAMJobStore initialized.

                        13:27:08,164 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'

                        13:27:08,165 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2

                        13:27:08,165 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.

                        13:27:08,516 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'

                        13:27:09,101 INFO  [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar

                        13:27:09,105 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3

                        13:27:09,105 INFO  [JBossASKernel]   with dependencies:

                        13:27:09,105 INFO  [JBossASKernel]   and demands:

                        13:27:09,106 INFO  [JBossASKernel]     jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView

                        13:27:09,106 INFO  [JBossASKernel]     jboss.ejb:service=EJBTimerService

                        13:27:09,106 INFO  [JBossASKernel]   and supplies:

                        13:27:09,106 INFO  [JBossASKernel]     Class:org.jboss.profileservice.spi.ProfileService

                        13:27:09,106 INFO  [JBossASKernel]     jndi:SecureProfileService/remote

                        13:27:09,106 INFO  [JBossASKernel]     jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService

                        13:27:09,106 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar

                        13:27:09,107 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3

                        13:27:09,107 INFO  [JBossASKernel]   with dependencies:

                        13:27:09,107 INFO  [JBossASKernel]   and demands:

                        13:27:09,107 INFO  [JBossASKernel]     jboss.ejb:service=EJBTimerService

                        13:27:09,107 INFO  [JBossASKernel]   and supplies:

                        13:27:09,107 INFO  [JBossASKernel]     jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager

                        13:27:09,107 INFO  [JBossASKernel]     Class:org.jboss.deployers.spi.management.deploy.DeploymentManager

                        13:27:09,107 INFO  [JBossASKernel]     jndi:SecureDeploymentManager/remote

                        13:27:09,107 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar

                        13:27:09,108 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3

                        13:27:09,108 INFO  [JBossASKernel]   with dependencies:

                        13:27:09,108 INFO  [JBossASKernel]   and demands:

                        13:27:09,108 INFO  [JBossASKernel]     jboss.ejb:service=EJBTimerService

                        13:27:09,108 INFO  [JBossASKernel]   and supplies:

                        13:27:09,108 INFO  [JBossASKernel]     jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView

                        13:27:09,108 INFO  [JBossASKernel]     Class:org.jboss.deployers.spi.management.ManagementView

                        13:27:09,108 INFO  [JBossASKernel]     jndi:SecureManagementView/remote

                        13:27:09,108 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar

                        13:27:09,114 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@2dd6cb{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}

                        13:27:09,115 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@1bdfc68{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}

                        13:27:09,115 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@bb89bb{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}

                        13:27:09,188 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3

                        13:27:09,198 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager

                        13:27:09,241 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                         

                            SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface

                            SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface

                         

                        13:27:09,296 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3

                        13:27:09,297 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView

                        13:27:09,306 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                         

                            SecureManagementView/remote - EJB3.x Default Remote Business Interface

                            SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface

                         

                        13:27:09,340 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3

                        13:27:09,341 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService

                        13:27:09,349 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                         

                            SecureProfileService/remote - EJB3.x Default Remote Business Interface

                            SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface

                         

                        13:27:09,435 INFO  [TomcatDeployment] deploy, ctxPath=/admin-console

                        13:27:09,482 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'

                        13:27:10,788 INFO  [TomcatDeployment] deploy, ctxPath=/

                        13:27:10,830 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console

                        13:27:10,867 INFO  [TomcatDeployment] deploy, ctxPath=/sdservice

                        13:27:10,932 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/sdservice'

                        13:27:11,990 INFO  [ServletContextListener] Welcome to Seam 2.2.2.Final

                        13:27:14,468 WARN  [PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.

                        13:27:17,267 WARN  [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@3525c5

                        13:27:17,277 WARN  [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@3525c5

                        13:27:17,287 WARN  [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@3525c5

                        13:27:17,288 WARN  [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@3525c5

                        13:27:17,456 INFO  [JBossASKernel] Created KernelDeployment for: jboss-seam.jar

                        13:27:17,456 INFO  [JBossASKernel] installing bean: jboss.j2ee:ear=sswa.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3

                        13:27:17,456 INFO  [JBossASKernel]   with dependencies:

                        13:27:17,456 INFO  [JBossASKernel]   and demands:

                        13:27:17,456 INFO  [JBossASKernel]     jboss.ejb:service=EJBTimerService

                        13:27:17,456 INFO  [JBossASKernel]   and supplies:

                        13:27:17,456 INFO  [JBossASKernel]     Class:org.jboss.seam.async.LocalTimerServiceDispatcher

                        13:27:17,456 INFO  [JBossASKernel]     jndi:sswa/TimerServiceDispatcher/local-org.jboss.seam.async.LocalTimerServiceDispatcher

                        13:27:17,456 INFO  [JBossASKernel]     jndi:sswa/TimerServiceDispatcher/local

                        13:27:17,456 INFO  [JBossASKernel]     jndi:sswa/TimerServiceDispatcher/remote

                        13:27:17,456 INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=sswa.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3) to KernelDeployment of: jboss-seam.jar

                        13:27:17,457 INFO  [JBossASKernel] installing bean: jboss.j2ee:ear=sswa.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3

                        13:27:17,457 INFO  [JBossASKernel]   with dependencies:

                        13:27:17,457 INFO  [JBossASKernel]   and demands:

                        13:27:17,457 INFO  [JBossASKernel]     jboss.ejb:service=EJBTimerService

                        13:27:17,457 INFO  [JBossASKernel]   and supplies:

                        13:27:17,457 INFO  [JBossASKernel]     jndi:sswa/EjbSynchronizations/remote

                        13:27:17,457 INFO  [JBossASKernel]     jndi:sswa/EjbSynchronizations/local-org.jboss.seam.transaction.LocalEjbSynchronizations

                        13:27:17,457 INFO  [JBossASKernel]     jndi:sswa/EjbSynchronizations/local

                        13:27:17,457 INFO  [JBossASKernel]     Class:org.jboss.seam.transaction.LocalEjbSynchronizations

                        13:27:17,457 INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=sswa.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3) to KernelDeployment of: jboss-seam.jar

                        13:27:17,595 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@12988dd{name=jboss.j2ee:ear=sswa.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}

                        13:27:17,595 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@ca4ae4{name=jboss.j2ee:ear=sswa.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}

                        13:27:17,631 INFO  [SessionSpecContainer] Starting jboss.j2ee:ear=sswa.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3

                        13:27:17,631 INFO  [EJBContainer] STARTED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher

                        13:27:17,644 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                         

                            sswa/TimerServiceDispatcher/local - EJB3.x Default Local Business Interface

                            sswa/TimerServiceDispatcher/local-org.jboss.seam.async.LocalTimerServiceDispatcher - EJB3.x Local Business Interface

                         

                        13:27:17,694 INFO  [SessionSpecContainer] Starting jboss.j2ee:ear=sswa.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3

                        13:27:17,695 INFO  [EJBContainer] STARTED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations

                        13:27:17,711 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                         

                            sswa/EjbSynchronizations/local - EJB3.x Default Local Business Interface

                            sswa/EjbSynchronizations/local-org.jboss.seam.transaction.LocalEjbSynchronizations - EJB3.x Local Business Interface

                         

                        13:27:17,791 INFO  [TomcatDeployment] deploy, ctxPath=/sswa

                        13:27:17,830 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/sswa'

                        13:27:18,811 INFO  [ServletContextListener] Welcome to Seam 2.2.0.GA

                        13:27:22,168 WARN  [PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.

                        13:27:22,428 WARN  [QuartzDispatcher] No seam.quartz.properties file. Using in-memory job store.

                        13:27:22,467 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main

                        13:27:22,491 INFO  [QuartzScheduler] Quartz Scheduler v.1.6.0 created.

                        13:27:22,493 INFO  [RAMJobStore] RAMJobStore initialized.

                        13:27:22,493 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'

                        13:27:22,493 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.6.0

                        13:27:22,493 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.

                        13:27:24,396 WARN  [JBossEntityResolver] Trying to resolve systemId as a non-file URL: vfsfile:/opt/jboss51/server/default/deploy/sswa.ear/sswa.jar/META-INF/wsdl/ManageTechnicalAndCommercialInventoryV1.xsd

                        13:27:24,403 WARN  [JBossEntityResolver] Trying to resolve systemId as a non-file URL: vfsfile:/opt/jboss51/server/default/deploy/sswa.ear/sswa.jar/META-INF/wsdl/BTHeader.xsd

                        13:27:24,407 WARN  [JBossEntityResolver] Trying to resolve systemId as a non-file URL: vfsfile:/opt/jboss51/server/default/deploy/sswa.ear/sswa.jar/META-INF/wsdl/ManageTechnicalAndCommercialInventoryV1.xsd

                        13:27:24,534 WARN  [JBossEntityResolver] Trying to resolve systemId as a non-file URL: vfsfile:/opt/jboss51/server/default/deploy/sswa.ear/sswa.jar/META-INF/wsdl/ManageTechnicalAndCommercialInventoryV1.xsd

                        13:27:24,556 WARN  [JBossEntityResolver] Trying to resolve systemId as a non-file URL: vfsfile:/opt/jboss51/server/default/deploy/sswa.ear/sswa.jar/META-INF/wsdl/BTHeader.xsd

                        13:27:24,828 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-172.16.35.88-8087

                        13:27:24,851 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-172.16.35.88-8009

                        13:27:24,861 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 8m:18s:428ms

                         

                        And run.sh :::::::::::::::::::

                         

                        #!/bin/sh

                        ### ====================================================================== ###

                        ##                                                                          ##

                        ##  JBoss Bootstrap Script                                                  ##

                        ##                                                                          ##

                        ### ====================================================================== ###

                         

                        ### $Id: run.sh 88978 2009-05-16 18:18:45Z alex.loubyansky@jboss.com $ ###

                         

                        DIRNAME=`dirname $0`

                        PROGNAME=`basename $0`

                        GREP="grep"

                         

                        # Use the maximum available, or set MAX_FD != -1 to use that

                        MAX_FD="maximum"

                         

                        #

                        # Helper to complain.

                        #

                        warn() {

                            echo "${PROGNAME}: $*"

                        }

                         

                        #

                        # Helper to puke.

                        #

                        die() {

                            warn $*

                            exit 1

                        }

                         

                        # OS specific support (must be 'true' or 'false').

                        cygwin=false;

                        darwin=false;

                        linux=false;

                        case "`uname`" in

                            CYGWIN*)

                                cygwin=true

                                ;;

                         

                            Darwin*)

                                darwin=true

                                ;;

                               

                            Linux)

                                linux=true

                                ;;

                        esac

                         

                        # Read an optional running configuration file

                        if [ "x$RUN_CONF" = "x" ]; then

                            RUN_CONF="$DIRNAME/run.conf"

                        fi

                        if [ -r "$RUN_CONF" ]; then

                            . "$RUN_CONF"

                        fi

                         

                        # Force IPv4 on Linux systems since IPv6 doesn't work correctly with jdk5 and lower

                        if [ "$linux" = "true" ]; then

                           JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"

                        fi

                         

                        # For Cygwin, ensure paths are in UNIX format before anything is touched

                        if $cygwin ; then

                            [ -n "$JBOSS_HOME" ] &&

                                JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"`

                            [ -n "$JAVA_HOME" ] &&

                                JAVA_HOME=`cygpath --unix "$JAVA_HOME"`

                            [ -n "$JAVAC_JAR" ] &&

                                JAVAC_JAR=`cygpath --unix "$JAVAC_JAR"`

                        fi

                         

                        # Setup JBOSS_HOME

                        if [ "x$JBOSS_HOME" = "x" ]; then

                            # get the full path (without any relative bits)

                            JBOSS_HOME=`cd $DIRNAME/..; pwd`

                        fi

                        export JBOSS_HOME

                         

                        # Increase the maximum file descriptors if we can

                        if [ "$cygwin" = "false" ]; then

                            MAX_FD_LIMIT=`ulimit -H -n`

                            if [ "$?" -eq 0 ]; then

                                # Darwin does not allow RLIMIT_INFINITY on file soft limit

                                if [ "$darwin" = "true" -a "$MAX_FD_LIMIT" = "unlimited" ]; then

                                    MAX_FD_LIMIT=`/usr/sbin/sysctl -n kern.maxfilesperproc`

                                fi

                         

                            if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then

                                # use the system max

                                MAX_FD="$MAX_FD_LIMIT"

                            fi

                         

                            ulimit -n $MAX_FD

                            if [ "$?" -ne 0 ]; then

                                warn "Could not set maximum file descriptor limit: $MAX_FD"

                            fi

                            else

                            warn "Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"

                            fi

                        fi

                         

                        # Setup the JVM

                        if [ "x$JAVA" = "x" ]; then

                            if [ "x$JAVA_HOME" != "x" ]; then

                            JAVA="$JAVA_HOME/bin/java"

                            else

                            JAVA="java"

                            fi

                        fi

                         

                        # Setup the classpath

                        runjar="$JBOSS_HOME/bin/run.jar"

                        if [ ! -f "$runjar" ]; then

                            die "Missing required file: $runjar"

                        fi

                        JBOSS_BOOT_CLASSPATH="$runjar"

                         

                        # Tomcat uses the JDT Compiler

                        # Only include tools.jar if someone wants to use the JDK instead.

                        # compatible distribution which JAVA_HOME points to

                        if [ "x$JAVAC_JAR" = "x" ]; then

                            JAVAC_JAR_FILE="$JAVA_HOME/lib/tools.jar"

                        else

                            JAVAC_JAR_FILE="$JAVAC_JAR"

                        fi

                        if [ ! -f "$JAVAC_JAR_FILE" ]; then

                           # MacOSX does not have a seperate tools.jar

                           if [ "$darwin" != "true" -a "x$JAVAC_JAR" != "x" ]; then

                              warn "Missing file: JAVAC_JAR=$JAVAC_JAR"

                              warn "Unexpected results may occur."

                           fi

                           JAVAC_JAR_FILE=

                        fi

                         

                        if [ "x$JBOSS_CLASSPATH" = "x" ]; then

                            JBOSS_CLASSPATH="$JBOSS_BOOT_CLASSPATH"

                        else

                            JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_BOOT_CLASSPATH"

                        fi

                        if [ "x$JAVAC_JAR_FILE" != "x" ]; then

                            JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JAVAC_JAR_FILE"

                        fi

                         

                        # If -server not set in JAVA_OPTS, set it, if supported

                        SERVER_SET=`echo $JAVA_OPTS | $GREP "\-server"`

                        if [ "x$SERVER_SET" = "x" ]; then

                         

                            # Check for SUN(tm) JVM w/ HotSpot support

                            if [ "x$HAS_HOTSPOT" = "x" ]; then

                            HAS_HOTSPOT=`"$JAVA" -version 2>&1 | $GREP -i HotSpot`

                            fi

                         

                            # Enable -server if we have Hotspot, unless we can't

                            if [ "x$HAS_HOTSPOT" != "x" ]; then

                            # MacOS does not support -server flag

                            if [ "$darwin" != "true" ]; then

                                JAVA_OPTS="-server $JAVA_OPTS"

                            fi

                            fi

                        fi

                         

                        # Setup JBoss Native library path

                        # Use the common JBoss Native convention

                        # for packing platform binaries

                        #

                        JBOSS_NATIVE_CPU=`uname -m`

                        case "$JBOSS_NATIVE_CPU" in

                          sun4u*)

                            JBOSS_NATIVE_CPU="sparcv9"

                          ;;

                          i86pc*)

                            JBOSS_NATIVE_CPU="x86"

                          ;;

                          i[3-6]86*)

                            JBOSS_NATIVE_CPU="x86"

                          ;;

                          x86_64*)

                            JBOSS_NATIVE_CPU="x64"

                          ;;

                          ia64*)

                            JBOSS_NATIVE_CPU="i64"

                          ;;

                          9000/800*)

                            JBOSS_NATIVE_CPU="parisc2"

                          ;;

                          Power*)

                            JBOSS_NATIVE_CPU="ppc"

                          ;;

                        esac

                         

                        JBOSS_NATIVE_SYS=`uname -s`

                        case "$JBOSS_NATIVE_SYS" in

                          Linux*)

                            JBOSS_NATIVE_SYS="linux2"

                          ;;

                          SunOS*)

                            JBOSS_NATIVE_SYS="solaris"

                          ;;

                          HP-UX*)

                            JBOSS_NATIVE_SYS="hpux"

                          ;;

                          CYGWIN*)

                            JBOSS_NATIVE_SYS="windows"

                          ;;

                        esac

                         

                        JBOSS_NATIVE_DIR="$JBOSS_HOME/bin/META-INF/lib/$JBOSS_NATIVE_SYS/$JBOSS_NATIVE_CPU"

                        if [ -d "$JBOSS_NATIVE_DIR" ]; then

                            if $cygwin ; then

                                export PATH="$JBOSS_NATIVE_DIR:$PATH"

                                JBOSS_NATIVE_DIR=`cygpath --path --windows "$JBOSS_NATIVE_DIR"`

                            else

                                if [ "x$LD_LIBRARY_PATH" = "x" ]; then

                                  LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR"

                                else

                                  LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR:$LD_LIBRARY_PATH"

                                fi

                                export LD_LIBRARY_PATH

                            fi

                            if [ "x$JAVA_OPTS" = "x" ]; then

                                JAVA_OPTS="-Djava.library.path=$JBOSS_NATIVE_DIR"

                            else

                                JAVA_OPTS="$JAVA_OPTS -Djava.library.path=$JBOSS_NATIVE_DIR"

                            fi

                        fi

                         

                        # Setup JBoss specific properties

                        JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS"

                         

                        # Setup the java endorsed dirs

                        JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed"

                         

                        # For Cygwin, switch paths to Windows format before running java

                        if $cygwin; then

                            JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"`

                            JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`

                            JBOSS_CLASSPATH=`cygpath --path --windows "$JBOSS_CLASSPATH"`

                            JBOSS_ENDORSED_DIRS=`cygpath --path --windows "$JBOSS_ENDORSED_DIRS"`

                        fi

                         

                        # Display our environment

                        echo "========================================================================="

                        echo ""

                        echo "  JBoss Bootstrap Environment"

                        echo ""

                        echo "  JBOSS_HOME: $JBOSS_HOME"

                        echo ""

                        echo "  JAVA: $JAVA"

                        echo ""

                        echo "  JAVA_OPTS: $JAVA_OPTS"

                        echo ""

                        echo "  CLASSPATH: $JBOSS_CLASSPATH"

                        echo ""

                        echo "========================================================================="

                        echo ""

                         

                        while true; do

                           if [ "x$LAUNCH_JBOSS_IN_BACKGROUND" = "x" ]; then

                              # Execute the JVM in the foreground

                              "$JAVA" $JAVA_OPTS \

                                 -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \

                                 -classpath "$JBOSS_CLASSPATH" \

                                 org.jboss.Main "$@" > jboss.trace

                              JBOSS_STATUS=$?

                           else

                              # Execute the JVM in the background

                              "$JAVA" $JAVA_OPTS \

                                 -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \

                                 -classpath "$JBOSS_CLASSPATH" \

                                 org.jboss.Main "$@" &

                              JBOSS_PID=$!

                              # Trap common signals and relay them to the jboss process

                              trap "kill -HUP  $JBOSS_PID" HUP

                              trap "kill -TERM $JBOSS_PID" INT

                              trap "kill -QUIT $JBOSS_PID" QUIT

                              trap "kill -PIPE $JBOSS_PID" PIPE

                              trap "kill -TERM $JBOSS_PID" TERM

                              # Wait until the background process exits

                              WAIT_STATUS=128

                              while [ "$WAIT_STATUS" -ge 128 ]; do

                                 wait $JBOSS_PID 2>/dev/null

                                 WAIT_STATUS=$?

                                 if [ "${WAIT_STATUS}" -gt 128 ]; then

                                    SIGNAL=`expr ${WAIT_STATUS} - 128`

                                    SIGNAL_NAME=`kill -l ${SIGNAL}`

                                    echo "*** JBossAS process (${JBOSS_PID}) received ${SIGNAL_NAME} signal ***" >&2

                                 fi         

                              done

                              if [ "${WAIT_STATUS}" -lt 127 ]; then

                                 JBOSS_STATUS=$WAIT_STATUS

                              else

                                 JBOSS_STATUS=0

                              fi     

                           fi

                           # If restart doesn't work, check you are running JBossAS 4.0.4+

                           #    http://jira.jboss.com/jira/browse/JBAS-2483

                           # or the following if you're running Red Hat 7.0

                           #    http://developer.java.sun.com/developer/bugParade/bugs/4465334.html  

                           if [ "$JBOSS_STATUS" -eq 10 ]; then

                              echo "Restarting JBoss..."

                           else

                              exit $JBOSS_STATUS

                           fi

                        done

                        • 9. Re: JBoss AS 5.1 very slow in startup
                          jaikiran pai Master

                          Tamal das wrote:

                           

                          Yes I tried to collect modifying run.sh .

                          Hmm, which approach from the wiki I pointed you to, did you try? You don't need any run.sh changes and the logs you posted are not thread dumps.

                          • 10. Re: JBoss AS 5.1 very slow in startup
                            tamal24 Newbie

                            I tried the

                             

                            1. Signal the JVM to print out a StackTrace approach.

                            i.e https://community.jboss.org/wiki/StackTrace

                             

                            There I was not getting the stack trace even after sending kill -3 <processid of jboss> .So according to the document I modified the run.sh to redirect the log to jboss.trace. But am not successful.

                             

                            2. Generate a thread dump using the jmx-console   is not working because the jmx-console is not reday untill the server is up.And I need the stacktrace while the server is starting up.

                             

                            Though I did not tried 3rd and 4th aproach.

                            • 11. Re: JBoss AS 5.1 very slow in startup
                              tamal24 Newbie

                              Hi,

                               

                              Is anybody there ... can help me on getting thread dump... while Jboss is starting up.

                              • 12. Re: JBoss AS 5.1 very slow in startup
                                tamal24 Newbie

                                I am sorry as this problem got resolved itself but I am sorry to make the reply late.

                                 

                                Jboss 5.1 was starting late because our application made use of HornetQ. And during startup Jboss was trying to connect to queue on one particular ip.

                                but as the queue was down permanently at that time so Jboss was also waiting to amke the connection and in the process it was not starting up.As the queue was managed by a seperate team,when they were able to make the queue up, at that time the the problem got resolved ti self.