Based on Tomcat + Oracle Application Installation Configuration Manual

xiaoxiao2021-03-06  40

Example Running Environment Description:

Operating system is Windows 2000 Server

IP is 10.70.38.10

Tool download address:

POI download address

http://www.apache.org/dist/jakarta/poi/dev/bin/

Tomcat download address

http://apache.linuxForum.Net/dist/jakarta/tomcat-4/v4.1.30/bin/jakarta-tomcat-4.1.30.zip

Oracle JDBC driver download address

Original name classes12.jar

JDK download address

http://192.18.97.239/ECom/EComTicketServlet/BEGINjsecom16k.sun.com-2122:413d12bb:da314062975fa899/-2147483648/508345371/1/449522/449474/508345371/2ts /westCoastFSEND/j2eesdk-1.4-oth-JPR/j2eesdk -1.4-other-jpr: 1 / j2eesdk-1_4-windows.exe

Original file list:

PlasManagement // folder

Oracle.jar // Oracle Database JDBC Drive

// java beans

JDK installation

The first step: running J2SDK1_3_0-win.exe, all the way to install, the default installation path is c: // jdk1_3

Step 2: Configure environment variables

Click the right click on my computer - click Advanced - Click on the environment variable

The Environment Variables dialog box pops up, newly created the following variable names and values:

-------------------------------------

Variable name: Path

Variable: C: / JDK1_3 / bin

Variable name: java_home

Variable: C: / JDK1_3

Variable name: ClassPath

Variables: ./; C: /JDK1_3/Lib/dt.jar; C: /JDK1_3/Lib/Tools.jar;

Step 3: Restart the computer to make the configured environment variable

Tomcat installation

The first step: Directly run the installation jakarta-tomcat-4.0.4.exe, I default the default installation path is C: / apache tomcat 4.0 This time if Tomcat is started separately (to Tomca directory running Startup.bat Start Tomcat or on the menu Board Start Tomcat).

Step 2: Configure Tomcat, copy the original folder to D: disk formation D: / planManagement, open with Notepad C: / Apache Tomcat 4.0 / conf / server.xml file modification full text

Note: Red is a notes added by the author, can be deleted when practical applications.

Enablelookups = "True" redirectport = "8443"

Acceptcount = "10" debug = "0" connectionTIMEOUT = "- 1" />

TimeStamp = "true" />

factory

org.apache.commons.dbcp.basicDataSourceFactory

driverclassname

Oracle.jdbc.driver.Oracledriver

URL

JDBC: Oracle: Thin: @ 10.70.38.10: 1521: Thor

Username

java

Password

java

maxactive

100

maxidle

98

maxwait

-1

Set the system default access page.

Use Notepad to open the C: / Apache Tomcat 4.0 / conf / web.xml file modified to

Note: The red portion is the added content.

......

Index.html

index.htm

Index.jsp

Index.jsp

Confirm that Oracle-ORACLENT is installed, modify the IP address of the Oracle Database Server and the user account and password.

Confirm that Oracle's database JDBC driver has been copied to C: / Apache Tomcat 4.0 / Common / lib / oracle.jar

Confirm that Java Beans is copied to the C: / Apache Tomcat 4.0 / Common / Classes directory.

Start the Tomcat server. Enter the URL in the browser

Http:// localhost / access

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

New Post(0)