我遇到了JBoss 5.1启动缓慢的问题。
12:32:34,854 INFO [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@100200c[ defaultDomain='jboss' ]
12:35:42,421 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@26891082{vfszip:/C:/opt/jboss-eap-5.1/jboss-as/server/company/deploy/companyVida-ear.ear/jboss-seam.jar/}
“添加用于记录mbean的通知侦听器”指令大约需要3分钟才能执行。
激活日志记录的调试级别后,我意识到这可能是问题所在:
2018-05-03 12:34:41,280 DEBUG [org.jboss.deployment.EarLibExcludeDeployer] (main) Excluding ear's lib directory: FileHandler@18860790[path=lib context=file:/C:/opt/jboss-eap-5.1/jboss-as/server/company/tmp/a2x6q4-78ufr1-jgqovqza-1-jgqovxbw-u/companyVida-ear.ear/ real=file:/C:/opt/jboss-eap-5.1/jboss-as/server/company/tmp/a2x6q4-78ufr1-jgqovqza-1-jgqovxbw-u/companyVida-ear.ear/lib/]
2018-05-03 12:35:42,239 DEBUG [org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain] (main) Added Processor org.jboss.metadata.process.processor.ejb.jboss.SetExplicitLocalJndiNameProcessor@12f4fc5 to Chain org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain@11e4683
它正在尝试删除文件夹1分钟,但它失败了。我已经检查了,它没有被删除。
有人可以帮我解决这个问题吗?
提前致谢。