可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
I have installed Jboss EAP-7.0.0 on windows 7 x64 operating system.
When i run Jboss EAP-7.0.0 via standalone.bat file inside bin direcotry it starts without any problem and deployed .war files also work without any problem, but when i try to run serice.bat install
command inside bin direcotry it gives following output in console: Please install native utilities into expected location D:\jboss EAP-7.0.0\EAP-7.0.0\..\jbcs-jsvc-1.0
I tried googling this issue. I also tried to follow this link: Failed to start EAP 7 as Windows service. (you might need to login on in webpage to see whole discussion) and this link 4.3. CONFIGURING JBOSS EAP AS A SERVICE IN MICROSOFT WINDOWS SERVER but the products dropdown is empty (please see the image)
I am really confused and need your help: How do i download and install jbcs-jsvc-1.0 ?
.
回答1:
I am afraid you have to log in to the Red Hat Customer Portal JBoss Software Downloads page, in order to download and install the JBoss Core Services Jsvc package.
After downloading the appropriate zip file (latest version, correct platform and architecture), extract it into the directory "containing" your JBoss EAP installation directory. In other words, the new "jbcs-jsvc-" directory should be at the same depth as your JBoss EAP installation directory.
Then, go on and install the service the same as EAP 6.x
回答2:
Disclaimer: I didn't confirm this on Windows 7 but it works under Windows Server 2016. I.e. since there shouldn't be any relevant difference, it should be fine.
The service.bat
included in JBoss EAP 7 expects a prunserv.exe
at one of the following locations:
%JBOSS_HOME%\..\jbcs-jsvc-1.0\sbin\prunsrv.exe
or %JBOSS_HOME%\bin\prunsrv.exe
If you don't have the proper subscription/permission to download the JBoss Core Services Jsvc (e.g. because you just have a developer subscription), you can just download the prunsrv.exe
as part of the freely available Apache commons-daemon package:
- Download "commons-daemon-1.0.15-bin-windows.zip", e.g. from http://mirrors.advancedhosters.com/apache/commons/daemon/binaries/windows/
- Unzip it into the
%JBOSS_HOME%\bin
folder - Run
service.bat install
Instead of an error message, you get notified that your Windows Service has been successfully installed as "JBossEAP7" (unless you already have one with that name).