JBoss3.0-Tomcat4.03 configuration - Installation and Windows service installation

zhaozj2021-02-16  55

This is the article I have written. I will share it now.

surroundings:

Operator System: Windows 2000 Server 2

Application Server: JBoss3.0-Tomcat4.03

DB: Oracle8.17

JDK: JDK1.31

Prepare before installation:

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 corresponding JDBC driver classes12.zip (of course, do not need to be installed for testing without database)

start installation:

JBoss3.0-Tomcat4.03 is well installed, basically no configuration can be installed OK. After downloading is 1, jboss-3.0.0_tomcat-4.0.3.zip form, please use WinZip to extract, decompressed My path is f: / jboss_tomcat

2, after the decompression is basically no configuration, use the run.bat command under the bin directory. 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 if there is any abnormality in the background.

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 still No release. UR or .war application. Of course, jboss-3.0.0rc1_tomcat-4.0.3.zip does not have such a problem, because in the directory server / default / deploy / from 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% 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 -Or% 2 / bin / out.txt -current% 2 / bin

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 ~ 1 / JDK C: / Program ~ 1 / JBoss30 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 the directory of jboss installation

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.

转载请注明原文地址:https://www.9cbs.com/read-25263.html

New Post(0)