简体   繁体   English

JBoss EAP 6.1无法在Eclipse Mars中启动

[英]JBoss EAP 6.1 does not start in Eclipse Mars

After a lot of fixes and installations, I finally managed to install JBoss in Eclipse Mars running JRE 8. I created a Runtime Server environment which I have in my D drive and created a server in Eclipse. 经过大量的修复和安装之后,我终于设法在运行JRE 8的Eclipse Mars中安装JBoss。我创建了D驱动器中包含的Runtime Server环境,并在Eclipse中创建了服务器。 But when I try to start the server, it does not go beyond three lines of INFO . 但是,当我尝试启动服务器时,它不会超出INFO的三行。 I googled and could not find any info regarding the same. 我用Google搜索,但找不到与此相关的任何信息。

There are no stack traces or log which I can check to address the problem. 没有堆栈跟踪或日志,我可以检查以解决该问题。 I tried starting the server in cmd and it gives me the same three lines. 我尝试在cmd启动服务器,它给了我三行相同的内容。

These are the line after which the JBoss server does not do anything: 以下是JBoss服务器不执行任何操作的行:

18:58:05,721 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.Final-redhat-1
18:58:05,894 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA-redhat-1
18:58:05,942 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) starting

Please help me on how to get this working. 请帮我解决这个问题。

If you haven't modify any server configuration in/after the installation wizard, you can try validating that ports 4447, 8080, 9990 and 9999 are not in use by another application. 如果尚未在安装向导中/之后修改任何服务器配置,则可以尝试验证端口4447、8080、9990和9999是否已被其他应用程序使用。

Another alternative is to download the latest EAP version. 另一种选择是下载最新的EAP版本。 I installed EAP-6.4.0.GA with java 1.8.0_45 and no issues. 我使用Java 1.8.0_45安装了EAP-6.4.0.GA,没有任何问题。

The problem was because I was using a JRE. 问题是因为我正在使用JRE。 JBoss needed a JDK to work properly. JBoss需要一个JDK才能正常工作。 Once I changed it, the server was able to startup. 更改后,服务器即可启动。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM