如何从Eclipse运行和调试JBoss EAP 6 ?

时间:2023-01-19 10:40:56

I installed JBoss EAP 6.01 on my local computer, and JBoss tools in my eclipse (Juno), I try to access JBoss and debug from within my eclipse, I follow the new server wizard to create and configure sever in eclipse, see attached images:

我在本地计算机上安装了JBoss EAP 6.01,在我的eclipse (Juno)上安装了JBoss工具,我尝试在eclipse中访问JBoss并进行调试,我遵循新的服务器向导在eclipse中创建和配置sever,见附件图片:

如何从Eclipse运行和调试JBoss EAP 6 ?

如何从Eclipse运行和调试JBoss EAP 6 ?

如何从Eclipse运行和调试JBoss EAP 6 ?

I then tried to start the server, however, I got error connecting to jmx for JBoss Runtime Server

然后我尝试启动服务器,但是,我在JBoss运行时服务器连接jmx时出错

Can anyone help me figure out why?

谁能告诉我为什么吗?

Thanks a lot!

谢谢!

1 个解决方案

#1


0  

It's a little unclear from your question if you want to a) run a fully managed JBoss inside eclipse or b) you want to start Jboss manually and then get eclipse to connect to it.

如果您想要a)在eclipse中运行一个完全托管的JBoss,或者b)您想要手动启动JBoss,然后让eclipse连接到它,那么您的问题就有点不清楚了。

I'm assuming it's point 'a' and you want eclipse to start and manage jboss eap server for you.

我假设它是点a,你希望eclipse启动并管理jboss eap服务器。

In this case on your second screenshot you need to unselect all the checkboxes and hit next. Also make sure after the server is created in your servers tab to doubleclick the server to bring up the server configuration page and enter username/password etc.

在这种情况下,在第二个屏幕截图中,您需要取消选中所有复选框,然后单击next。还要确保服务器在服务器选项卡中创建到双击服务器以打开服务器配置页面并输入用户名/密码等。

You should be all set. Let me know if that works.

你应该准备好了,如果可以的话告诉我。

#1


0  

It's a little unclear from your question if you want to a) run a fully managed JBoss inside eclipse or b) you want to start Jboss manually and then get eclipse to connect to it.

如果您想要a)在eclipse中运行一个完全托管的JBoss,或者b)您想要手动启动JBoss,然后让eclipse连接到它,那么您的问题就有点不清楚了。

I'm assuming it's point 'a' and you want eclipse to start and manage jboss eap server for you.

我假设它是点a,你希望eclipse启动并管理jboss eap服务器。

In this case on your second screenshot you need to unselect all the checkboxes and hit next. Also make sure after the server is created in your servers tab to doubleclick the server to bring up the server configuration page and enter username/password etc.

在这种情况下,在第二个屏幕截图中,您需要取消选中所有复选框,然后单击next。还要确保服务器在服务器选项卡中创建到双击服务器以打开服务器配置页面并输入用户名/密码等。

You should be all set. Let me know if that works.

你应该准备好了,如果可以的话告诉我。