简体   繁体   English

哪个文件运行 Eclipse 来启动 JBoss 服务器

[英]Which file runs Eclipse to start a JBoss server

How does Eclipse start a JBoss server (7.1.1 or EAP 6.1)? Eclipse 如何启动 JBoss 服务器(7.1.1 或 EAP 6.1)? If I delete all of bin's directory content and starts JBoss server from Eclipse, Eclipse makes the start (witho some errors).如果我删除所有 bin 目录内容并从 Eclipse 启动 JBoss 服务器,Eclipse 会启动(没有一些错误)。 I thought that Eclipse runs some .bat from bin directory, but I'm wrong.我认为 Eclipse 从 bin 目录运行了一些 .bat,但我错了。 If anyone knows which file, script, jar runs, please tell me.如果有人知道运行哪个文件、脚本、jar,请告诉我。

Thank you in advance !!先感谢您 !!

Eclipse starts JBoss by directly running the main class, org.jboss.modules.Main in jboss-modules.jar . Eclipse 通过直接运行jboss-modules.jar的主类org.jboss.modules.Main来启动 JBoss。

Open the server configuration (doubleclick on the server in the 'servers' view).打开服务器配置(在“服务器”视图中双击服务器)。

There, click 'Open launch configuration'.在那里,单击“打开启动配置”。 In the dialog 'Edit Configuration' open the 'Main' tab.在“编辑配置”对话框中打开“主要”选项卡。 There you see the option for the main class, which is 'org.jboss.modules.Main' by default.在那里你会看到主类的选项,默认情况下是'org.jboss.modules.Main'。

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

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