Add the following content under the Host tag of the server.xml file under tomcat conf
//configure this publishing method
<Context path="" reloadable="false" docBase="D:\Tomcat 5.5\webapps\ROOT" workDir="D :\Tomcat 5.5\webapps\ROOT\WEB-INF\classes">
Modify the existing ROOT file to ROOT1
//oracle database connection JNDI
<Resource name="jdbc/CPSCM"
auth="Container"
type="javax.sql .DataSource"
driverClassName="oracle.jdbc.driver.OracleDriver"
url= "jdbc:oracle:thin:@(
DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.xxx. xxx)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORACLEERP )
(SID = ORACLEERP)
The jar package is copied to the common lib folder under tomcat. Everything is OK.
When publishing a project with tomcat, there is no need to enter the project name in the address bar, such as (http://localhost:8080/)
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326726646&siteId=291194637
Recommended
Ranking