JBoss AS7启动时间长,奇怪的警告
我使用 JBoss AS7 (7.0.2.Final) 服务器。启动需要很长时间(几分钟),并且日志中有奇怪的警告:
09:51:20,822 WARN [org.jboss.as.protocol] (pool-2-thread-6) JBAS012100: Got error closing channel JBREM00206: Channel is not open
09:51:20,856 WARN [org.jboss.as.protocol] (pool-2-thread-1) JBAS012100: Got error closing channel JBREM00206: Channel is not open
09:51:20,863 WARN [org.jboss.as.protocol] (pool-2-thread-6) JBAS012100: Got error closing channel JBREM00206: Channel is not open
09:51:21,377 WARN [org.jboss.as.protocol] (pool-2-thread-4) JBAS012100: Got error closing channel JBREM00206: Channel is not open
出了什么问题?
我删除了临时文件(standalone/data/content
和 standalone/tmp/vfs
),它有所帮助,但只持续了很短的时间(几个启动)。
编辑:更重要的是,在 JBoss 启动期间,我的浏览器变得无响应,通常很难工作。
编辑2:回答里奇写的评论。我在 mysql 上部署了一个带有数据源的简单 Web 应用程序。标准 JBoss 配置和我的没有太大区别。据我记得我添加了一个数据源和一个mysql模块。我在本地主机上进行开发期间遇到了这个问题,所以我不确定是否应该检查子网中的其他服务器。
EDIT3:这似乎是eclipse和JBoss一起出现的问题,因为当我从命令行运行服务器时,启动过程很顺利并且没有警告。
I use a JBoss AS7 (7.0.2.Final) server. The startup takes a long time (a couple of minutes) and there are strange warning in the logs:
09:51:20,822 WARN [org.jboss.as.protocol] (pool-2-thread-6) JBAS012100: Got error closing channel JBREM00206: Channel is not open
09:51:20,856 WARN [org.jboss.as.protocol] (pool-2-thread-1) JBAS012100: Got error closing channel JBREM00206: Channel is not open
09:51:20,863 WARN [org.jboss.as.protocol] (pool-2-thread-6) JBAS012100: Got error closing channel JBREM00206: Channel is not open
09:51:21,377 WARN [org.jboss.as.protocol] (pool-2-thread-4) JBAS012100: Got error closing channel JBREM00206: Channel is not open
What's wrong?
I removed temporary files (standalone/data/content
and standalone/tmp/vfs
) and it helped, but only for a short time (a couple of startups).
EDIT: What is more during JBoss startup my browser becomes irresponsive and generally it is hard to work.
EDIT2: Answering to the comment written by Rich. I deploy a simple web application with datasource on mysql. There are not many differences between standard JBoss configuration and mine. As far as I remember I added a datasource and a module for mysql. I have this problems during development on my localhost so I'm not sure if I should check other servers in the subnet.
EDIT3: It seems to be a problem with eclipse and JBoss together, because when I run a server from command line, the startup process is smooth and there is no warnings.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论