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

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

问题描述

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

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.

这是我的命令行的输出:

Here is the output from my command line:

C:jboss-as-7.1.1.Finaljboss-as-7.1.1.Finalin>standalone
Calling "C:jboss-as-7.1.1.Finaljboss-as-7.1.1.Finalinstandalone.conf.bat"
===============================================================================

JBoss Bootstrap Environment

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

JAVA: C:Program FilesJavajre8injava

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 的建议并返回到 Java 7.这让 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.Finaljboss-as-7.1.1.Finalinstandalone.conf.bat"

Calling "C:jboss-as-7.1.1.Finaljboss-as-7.1.1.Finalinstandalone.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

引用线程:

是的,这是正常的.

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天全站免登陆