F I R S T   S T E P S :   B R I N G   J B O S S   T O   L I F E  
    
default: is what is started when no server environment is specified on the command 
line.  Right, it's the default. It contains all J2EE except clustering and RMI/IIOP 
service. 
    
all: contains all available services in JBoss. 
JBoss as Unix / Windows Startup Service 
Install JBoss as Windows NT / W2K Service 
There are several NT Service wrappers on the web to start a Java program as NT / W2K 
Service.  For all practical services we will look at a program available from Alexandria s 
JavaService. First check if a newer version is available but if you don t find it take version 
1.2.0. After downloading, extract it do your desired location with the restriction that it must 
be available when the service is started (I would discourage network paths, removable hard 
disks etc. and strongly recommend local hard disks).  
Now we are going to install the W2K service. In order to do that you need your JBoss 3.0 
distribution available also to the local system, ensure that you have administrator rights to 
do so and the local system has permission to start JBoss or that you know the 
username/password of a registered user having the permission to start JBoss.  
Take this code and save it as a  .BAT  file where your JavaService.exe is located  
Listing 2 1, JBoss30.bat script file 
@echo off 
if "%1" == "uninstall" goto uninstall 
if "%1" == " uninstall" goto uninstall 
if "%1" == "" goto usage 
if "%2" == "" goto usage 
if "%3" == "" goto usage 
if "%1" == " help" goto usage 
if "%1" == " ?" goto usage 
if "%1" == "/?" goto usage 
:install 
JavaService.exe  install JBoss30 %1\jre\bin\%3\jvm.dll  
Djava.class.path=%1\lib\tools.jar;%2\bin\run.jar  start org.jboss.Main  stop org.jboss.Main 
 method systemExit  out %2\bin\out.txt  current %2\bin 
goto eof 
:uninstall 
JavaService.exe  uninstall JBoss30 
19






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

best web hosting

 

Our partners: PHP: Hypertext Preprocessor Cheap Web Hosting JSP Web Hosting Ontario Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Java Hosting Cheapest Hosting

Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved