JBoss似乎在启动时挂在命令行上 [英] JBoss seems to hang on startup at the command line

查看:117
本文介绍了JBoss似乎在启动时挂在命令行上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从命令提示符运行带有standalone.bat文件的JBoss.它开始启动过程,然后就坐在那儿.我真的无法在Goolgle或此处找到任何答案.

I am trying to run JBoss from the command prompt with the standalone.bat file. It starts the startup process but then just sits there. I couldn't really find any answers with Goolgle or on here.

这是我的命令行输出:

C:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>standalone
Calling "C:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin\standalone.conf.bat"
===============================================================================

JBoss Bootstrap Environment

JBOSS_HOME: C:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final

JAVA: C:\Program Files\Java\jre8\bin\java

JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx51
2M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.se
rver.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.war
ning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.c
onfig=standalone.xml

===============================================================================

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; sup
port was removed in 8.0
16:06:41,708 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
16:06:42,009 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
16:06:42,075 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" sta
rting

它就坐在这里.为什么无法完成启动的任何想法?

And it just sits right here. Any ideas of why it doesn't finish starting up?

这是添加的信息... 我接受了Omoro的建议,然后回到Java7.这使JBoss不再在命令行中挂起".现在,当我运行standalone.bat时,它说

This is added info... I took Omoro's suggestion and went back to Java 7. That got JBoss to not "hang" anymore at the command line. Now when I run standalone.bat it says

调用"C:\ jboss-as-7.1.1.Final \ jboss-as-7.1.1.Final \ bin \ standalone.conf.bat"

Calling "C:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin\standalone.conf.bat"

,然后直接返回命令提示符,而无需启动JBoss.由于旧问题已解决,而现在又出现了新问题,因此我将打开一个新线程.

and then just goes back to the command prompt without starting JBoss. I will open a new thread since the old problem has been cured and now a new problem has arisen.

感谢大家的帮助,尤其是Omoro.

Thanks for everyone's help especially Omoro.

推荐答案

这是一个已知问题.在以下位置查看更多讨论:

This is a known issue. See more discussion at:

https://community.jboss.org/message/808212

从线程中引用:

是的,这很正常.

Yes it is normal.

JDK8中发生了一些更改,这些更改阻止了 AS7和EAP6的当前版本将在JDK8下启动.我们有很多 WildFly中与JDK8相关的修复程序,因此我建议您使用它.

There have been some changes in JDK8 that prevent AS7 and current version of EAP6 to start under JDK8. We have many JDK8 related fixes in WildFly so I would recommend you to use that.

关于EAP,JDK8的启动已在即将发布的6.2版本中修复.

As for EAP goes, the start up on JDK8 is fixed in upcoming 6.2 release.

这篇关于JBoss似乎在启动时挂在命令行上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆