Application Installation Configuration Manual Based on Tomcat + Oracle (ZT)

xiaoxiao2021-03-06  18

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 urlhttp: // localhost / access in your browser.

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

New Post(0)