在Netbeans 8上配置JBoss EAP的问题 [英] Issues configuring JBoss EAP on Netbeans 8

查看:110
本文介绍了在Netbeans 8上配置JBoss EAP的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了JBoss EAP 7并在Netbeans 8上配置它。我已经到达向导实例属性,要求从选择框中选择域。当我打开选择框时,它是空的。没有什么可供选择的。因此,完成按钮也处于非活动状态,这使得无法完成配置。

I have downloaded JBoss EAP 7 and am configuring it on Netbeans 8. I have reached the wizard "instance Properties" where am asked to select a "domain" from a select box. When I open the select box, it is empty. There is nothing there to choose from. Because of this, the "finish" button also is inactive which make in impossible to complete the configuration.

我通过服务标签添加Jboss。这里出了什么问题?

I am adding Jboss via the "services" tab. What is going wrong here?

推荐答案

JBoss EAP 6.4.0与Netbeans 8.1完全兼容,但是,如果你像我一样并且想要利用仅在JBoss EAP 7.0.0中添加的JSF 2.2功能,你现在需要做一些解决方法。

JBoss EAP 6.4.0 works perfectly fine with Netbeans 8.1, however, if you are like me and wanted to take advantage of the JSF 2.2 functionality, which was only added in JBoss EAP 7.0.0, you will currently need to do some work-arounds.

在Netbeans中8.1我设法通过设置JBoss EAP 7.0.0选择WildFly Application Server选项而不是JBoss Application Server来解决空白域的问题。以下是更详细的说明:

In Netbeans 8.1 I managed to work around the problem with the blank domain by setting up JBoss EAP 7.0.0 selecting the "WildFly Application Server" option instead of "JBoss Application Server". Here's are more detailed instructions:

在Netbeans 8.0.1中,选择服务,右键单击服务器并选择添加服务器...,选择选项WildFly Application Server,将服务器位置指向JBoss EAP 7安装的根目录(例如c:\ jboss7),然后将服务器配置选项指向c:\ jboss7 \standalone\configuration \ standalone-full.xml就是这样。

In Netbeans 8.0.1, select "Services", right click on "Servers" and select "Add Server...", pick the option "WildFly Application Server", point "server location" to the root of your JBoss EAP 7 install (e.g. c:\jboss7) and then point the server configuration option to c:\jboss7\standalone\configuration\standalone-full.xml and that's it.

但是,即使这样做了,现在添加了应用程序服务器,仍然存在代码无法正确部署的错误,详情请见:

However, even after doing this the application server is now added, there is still a bug where your code will not deploy correctly, see details here:

https: //netbeans.org/bugzilla/show_bug.cgi?id=258091

值得庆幸的是,这已经在Netbeans每晚构建中得到修复。看起来这个bug实际上是在2016年2月修复的。我安装了NetBeans IDE Build 201607140002,其中包含了这个修复程序(我认为还有其他任何新版本)。所以,您可以从这里获取每晚构建(或者,您可以等待Netbeans 8.2中的错误修复,只要这样):

Thankfully, this has been fixed in the Netbeans nightly build. It looks like the bug was actually fixed in Feb 2016. I installed NetBeans IDE Build 201607140002, which includes this fix (as will any other newer I presume). So, you can grab the nightly build from here (alternatively, you can wait for the bug fix in Netbeans 8.2, whenever that will be):

http://bits.netbeans.org/dev/nightly/

应该注意的是,即使在使用每晚构建之后,我仍然必须使用上述技术将服务器添加到Netbeans(将其添加为WildFly Application Server,而不是JBoss Application Server,否则您将仍然得到空白域名问题。)

It should be noted, even after using the nightly build, I still had to add the server to Netbeans using the above technique (add it as a "WildFly Application Server", not a "JBoss Application Server" otherwise you will still get the blank domain issue).

到目前为止,使用上述内容似乎仍然按预期工作...当然,使用该方法存在风险因素每晚构建,因为它在技术上仍处于测试阶段。这是我们为生活在剑锋利边缘所付出的代价! :)

Everything appears to be working as expected so far anyway using the above... of course, there is an element of risk using the nightly build, as it's technically still in a test phase. This is the price we pay for living on the sharp edge of the sword! :)

这篇关于在Netbeans 8上配置JBoss EAP的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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