Ensure that the JBoss Application Server (AS) starts after a reboot and runs 24/7. Boost its priority to achieve maximum performance!
The JBoss Application Server is a popular open-source Java Enterprise Edition based application server from Red Hat.
To set up JBoss 7 with AlwaysUp 6.0 and later:
Download and install AlwaysUp, if necessary.
Download and install the Java runtime environment (JRE), if necessary. Be sure to set the JAVA_HOME environment variable so that JBoss will be able to find Java when it is run!
If necessary, Download the JBoss zip file and extract it to a new directory. We have placed it in C:\JBoss and the following instructions are based on that setting. Ensure that the JBOSS_HOME environment variable is set to the JBoss folder (again, C:\JBoss for this tutorial).
JBoss includes a batch file named standalone.bat (in the bin folder) that will start the JBoss AS. Please ensure that this script will run JBoss as you like.
Start AlwaysUp.
Select Application > Add to open the Add Application window:
On the General tab:
In the Application field, enter the full path to the standalone.bat file (C:\JBoss\bin\standalone.bat for us).
In the Name field, enter the name that you will call the application in AlwaysUp. We suggest JBoss but you can specify almost anything you like.
If the target PC is dedicated to running JBoss, we suggest that you boost the server's priority to ensure that Windows will grant it the maximum amount of resources on the host PC. We recommend High (for time critical applications). Note that you can always make this change later once you are satisfied with your setup.
On the LogOn tab:
Enter the user name and password of the account in which you setup JBoss AS.
If you wish to hide the DOS/command window that comes up when you run JBoss from the batch file (recommended), check the When a user logs on, don't show the application's windows and tray icons (if any) box at the bottom.
Click over to the Startup tab and check the Ensure that the Windows Networking components have started box. This informs AlwaysUp that JBoss needs the TCP/IP networking stack to operate.
Click over to the Extras tab. If you wish to capture the text normally displayed on the command window created by standalone.bat (recommended), check the Capture output to this log file box and specify the full path to a file. We have specified C:\JBoss\jboss-log.txt.
Click the Save >> button. In a couple of seconds, an application called JBoss will show up in the AlwaysUp window. It is not yet running though.
To start JBoss, choose Application > Start "JBoss".
That's it! Next time your computer boots, JBoss will start up immediately, before anyone logs on. We encourage you to edit JBoss in AlwaysUp and check out the many other settings that may be appropriate for your environment.
原文地址http://www.coretechnologies.com/products/AlwaysUp/Apps/RunJBossAsAService.html
分享到:
相关推荐
JBoss AS 5 Development
The latest JBoss AS 5 Development Guide book, very practical to any developer who is or is going to use JBoss AS
jboss as7 文档 内容非常全。 希望对大家有所帮助。
[Packt Publishing] JBoss AS 7 配置部署管理教程 (英文版) [Packt Publishing] JBoss AS 7 Configuration, Deployment and Administration (E-Book) ☆ 出版信息:☆ [作者信息] Francesco Marchioni [出版机构...
JBoss AS 7 Development
JBoss AS 7 简介 与之前版本的差异等
JBoss 3.0 Quick Start Guide.pdf
[Packt Publishing] JBoss AS 7 开发教程 (英文版) [Packt Publishing] JBoss AS 7 Development (E-Book) ☆ 出版信息:☆ [作者信息] Francesco Marchioni [出版机构] Packt Publishing [出版日期] 2013年06月...
我总结的JBoss AS7教程资料,几全面的,对目前公司的项目都很有帮助的,希望对j2ee的人员进行jboss升级的掌握有帮助。
jboss 5的详细说明。对在jboss5上进行开发来说是很好的参考资料。
windows环境下Jboss as 7配置Https,与Jboss的低版本有所不同
myeclipse 远程调试jboss as7或者jboss eap6,包括windows运行环境和linux运行环境分别介绍,同时jboss as7和jboss eap6的配置也有所不同。
JBossAS的官方文档,推荐 内容挺全的,很有帮助
Nginx 1.2.1 + JBOSS AS 7 负载配置及Session处理
eclipse 远程调试jboss as7配置过程, 图文并茂
jboss-as-master文件,jboss配置文档,配置参数及操作手册
windows jboss 集群2,网络收集集群资料,大家早点架设成功
jboss application server7 命令简介,包含部署、启动等等
jboss5 as developemnt是一本很好的书,基本上包括了从entitybean,sessionbean,messagedrivenbean,managedbean的开发。 从ejb工程,到jsf2.0工程,很好的示例,手把手交的。底层连接数据库,开发工具是eclipse ...