This is the article I have written. Now share the environment: Operator System: Windows 2000 Server 2 Application Server: JBoss3.0-Tomcat4.03 DB: Oracle8.17 JDK: JDK1.31 Prepare Preparation Preparation: 1. Please install JDK1.22 or later, it is best to use JDK1.31, here there is download http://java.sun.com/j2se/1.3/download.html, and add the relevant command to the path. 2. Please download jboss3.0-tomcat4.03, here there is download http://sourceforge.net/projects/jboss/ 3. Install oracle8.17 and have the corresponding JDBC driver classes12.zip (of course, do not need to be installed without the database): JBoss3.0-tomcat4.03 is very well installed, basically does not need to configure what configuration can be installed OK. After downloading, JBoss-3.0.0_tomcat-4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2 Run.bat command. If you do not add a java command to PATH, please open the run.bat file to join Set Java_Home = C: JDK1.3.1 (I installed Java Directory) 3. Run the run.bat command, please see the background Is there any abnormality thrown? 4. If you run successfully, please visit http: // localhost: 8083, a blank page will appear. Normal 5, please visit http: // localhost: 8080 will appear in Tomcat Welcome page, if Apache Tomcat / 4.0.3 - http status 500 - no context configured to process this request error, this is normal because you Not yet released .ser or .war applications. Of course, jboss-3.0.0rc1_tomcat-4.0.3.zip does not have such problems, because in the directory serverDefaultDeploy, the web test file WebTest.ear
6, visit http: // localhost: 8082 You can see the service of JBoss boots
7. For NT and Win2K systems If you want to install NT or Win2K service, please first download the JavaService.exe file, here http://www.alexandriasc.com/software/javaservice/javaservice-bin-1.2.0. zip
Please decompression
Please save the following file as jboss_tomcat_service.bat. Of course you can save other names.
@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% 1jrein /% 3jvm.dll - djava.class.path =% 1Lib OOLS.jar;% 2in un.jar -start org.jboss.main -stop org.jboss.main -method systemExit -Out% 2inout.txt -Current% 2IN Goto EOF: Uninstall Javaservice.exe -uninstall jboss30 Goto EOF: Usage Echo -------- To Install JBoss 3.0 Do Echo usage:% 0 JDK_HOME JBOSS_HOME (Classic / Hotspot / server) echo NOTE:.. you MAY nOT use spaces in the path names If you know how echo to fix this, please tell me echo JDK 1.3 does not come with hotpot server by default, you must echo install this seperately if you wish to Use it. echo example:% 0 C: Progra ~ 1jdk C: Progra ~ 1jboss30 Hotspot Echo -------- Echo -------- To Uninstall JBoss 3.0 Do Echo usage:% 0 Uninstall Echo - --- ---- Goto EOF: EOF Save the same directory as JavaService.exe, run the following JBoss30 .c: jdk1.3.1 f: jboss_tomcat server where C: JDK1.3.1 is the directory of Java installation f: jboss_tomcat is JBoss installation Directory Server is a constant parameter. You will see a successful command, you can see the JBoss3.0 service in Win2K or NT service, you can start it normally. The installation will say this, let's take a look, configure such as database, email, JMS, EJB, etc.