Jboss as windows start

本文介绍如何配置JBoss应用服务器以确保其在计算机重启后能够立即启动,并保持24/7全天候运行。通过使用AlwaysUp软件提高JBoss的优先级,确保其获得最大性能。教程包括下载安装AlwaysUp及Java运行环境、设置环境变量、配置AlwaysUp以监控并启动JBoss等步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值