`

Jboss as windows start

阅读更多
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启动注册为Windows系统服务 .txt|JBoss启动注册为Windows系统服务&javaService.zip

    JavaService.exe --install serviceName --DisplayName "JBoss Application Server" --Startup auto --LogPath "C:\jboss\logs" --StartMode jvm --StopMode jvm --StartClass org.jboss.as.standalone --...

    Windows 将JBoss配置为系统服务

    3. **指定JBoss可执行文件**:在弹出的界面中,输入“Service name”(服务名称,例如“JBossServer”),然后在“Path to executable”(可执行文件路径)字段中填写JBoss的启动脚本路径,通常是`jboss-as-7.x.x/...

    Admin-Console-QuickStart of JBoss

    - 访问JBoss AS社区下载页面:[http://www.jboss.org/jbossas/downloads/](http://www.jboss.org/jbossas/downloads/) - 下载适用于您的JDK版本的平台独立ZIP分发包: - Java SE 5 – jboss-5.1.0.GA.zip - Java...

    jboss发布为window服务

    JBoss是Java企业版(Java EE)应用服务器,它允许开发者在Windows操作系统上部署和管理企业级应用程序。将JBoss发布为Windows服务意味着你可以通过Windows的服务控制台启动、停止和管理JBoss实例,无需每次都手动...

    Run JBOSS4.2 as WIindows Service (NT Service)

    ### 如何将JBOSS 4.2作为Windows Service(NT Service)运行 #### 背景介绍 在企业级应用开发与部署中,JBOSS作为一种流行的应用服务器,广泛应用于Java应用程序的运行环境中。然而,在Windows操作系统下,直接运行...

    JBoss7应用

    JBoss Application Server 7(简称JBoss AS 7或JBoss7)是Red Hat公司开发的一款开源Java EE 6应用服务器,它基于模块化设计,提供了高性能、轻量级的特性,使得开发和部署企业级应用程序变得更加高效。本篇文章将...

    Getting_Started_with_JBDS.pdf

    JBDS 提供了一种方便的方式来管理 JBoss AS 服务器,包括启动、停止服务器等操作。 ##### 2.1.1 启动 JBoss 服务器 启动 JBoss 服务器通常通过服务器视图中的右键菜单完成。选择需要启动的服务器实例后点击“Start...

    Compiere ERP & CRM System (2)

    Technologies used for it are as follows:EJB, Java Web Start and Oracle DB.DB Used: Oracle 9i R2O/S: Windows (2K, XP), Linux.App Server: JBoss 3.XNote: You need WinZip 8 SP1 to decompress the archives...

    EOS5.x 的 WebService 服务配置及使用说明

    - 操作系统:Windows XP - 已经搭建好的EOS环境(支持WebLogic、JBoss、WebSphere) #### 三、配置 EOS 的 WebService 服务 ##### 3.1 配置 WebService 声明 EOS的WebService服务默认是关闭状态,需要通过配置...

    测试培训教材

    • For Restarting a Machine: "Reboot Start" and "Reboot Finish" You can view details for each of these steps after your system test has finished running. You can also view the system information that ...

Global site tag (gtag.js) - Google Analytics