Jboss3.0-tomcat4.03 configuration-Installation and Windows Service Installation

Source: Internet
Author: User
Tags blank page jboss

This is my article. Share with you now

Environment:

Operator System: Windows 2000 Server 2

Application Server: jboss3.0-tomcat4.03

DB: oracle8.17

JDK: jdk1.31

Preparations before installation:

1. Please install JDK 1.22 or a later version. We recommend that you use JDK 1.31. Download http://java.sun.com/j2se/1.3/download.html and add the relevant commands to path.

2. Please download jboss3.0-tomcat4.03, here there is download http://sourceforge.net/projects/jboss/

3. Install oracle8.17 with the corresponding JDBC driver classes12.zip (of course, you do not need to install it if you do not test the database)

Start installation:

Decompress the package using WinZip. After decompression, my path is F: jboss_tomcat.

2. After decompression, you do not need to configure it. Use the run. Bat command in the bin directory. If the Java command is not added to the path during the re-installation, open the run. BAT file and add set java_home = C: jdk1.3.1 (My installed Java directory) to the start)

3. Run the run. Bat command to check whether any exceptions are thrown in the background.

4. If the job runs successfully, visit http: // localhost: 8083 and a blank page will appear. Normal

5. visit http: // localhost: 8080 and the welcome page of Tomcat will be displayed. If the following error occurs: Apache Tomcat/4.0.3-HTTP status 500-no context configured to process this request, this is normal because you have not released it yet. ear or. war application. Of course, jboss-3.0.0rc1_tomcat-4.0.3.zip won't have this problem, because the Web Test File webtest. Ear is included in the serverdefadedeploy directory.

6. Access http: // localhost: 8082. You can see the service started by JBoss.

7. For ntand win2ksystem, if you want to install ntor win2kservice, please first download the file javaservice.exe, Here http://www.alexandriasc.com/software/JavaService/JavaService-bin-1.2.0.zip

Decompress the package

Save the following file as jboss_tomcat_service.bat. Of course, you can save it as another name.

@ 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

Assumervice.exe-install jboss30 % 1 jrein/% 3jvm. DLL-djava. class. path = % 1lib ools. jar; % 2in un. jar-start Org. JBoss. main-Stop Org. JBoss. main-method systemexit-out using 2inout.txt-current % 2in

Goto EOF

: Uninstall

Assumervice.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 want 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

To the same directory as assumervice.exe, run the following

Jboss30. C: jdk1.3.1 F: jboss_tomcat Server

C: jdk1.3.1 is the Java installation directory.

F: jboss_tomcat is the JBoss installation directory.

Server is a constant parameter

You will see the command for successful installation. You can view jboss3.0 service in Win2k or NT Service, and you can start it normally.

After installation, let's talk about the configurations, such as databases, emails, JMS, and ejbs.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.