Shark uses Oracle9i installation

xiaoxiao2021-03-06  31

Today, playing Shark, below is my installation step, I use Oracle as a database 1, download Shark1.0 ZIP file from http://shaark.objectweb.org

2, decompress the hard disk Shark-1.0 directory

3.SHARK1.0 The default database is HSQL, I change him to Oracle9i

1) Create a Shark database, user Shark, password Shark.

2) Copy Oracle_Home / JDBC / LIB / CLASS12.JAR to Shark-1.0 / LIB / Contrib

Modify Shark-1.0 / ConfguRure.properties file.

JDK_DIR = D: /ptc/j2sdk1.4.2 (JDK path on your own system)

DB_Loader_Job = Oracle

DB_USER = Shark

DB_Passwd = Shark

4. Run Shark-1.0 / Configure.bat Complete the configuration installation.

5. Run Shark-1.0 / bin / Runall.bat Enter the Admin application interface.

6. Run the Shark JSP example (in Tomcat).

Copy Shark-1.0 / JSPClient / SharkworkListHandler.War to Tomcat / WebApps /

Start Tomcat

Enter the address http: // localhost: 8080 / SharkworkListHandler After the connection is successful, the Tomcat is turned off after the error is displayed.

Enter path tomcat / webapps / sharkworklisthandler / conf /, modified Shark.conf

DatabaseManager.db.sharkdb.jdbcdriver = "Oracle.jdbc.driver.OracleDriver"

DatabaseManager.db.sharkdb.connection.ur = "JDBC: Oracle: Thin: @localhost: 1521: Shark"

DatabaseManager.db.sharkdb.connection.user = "Shark"

DatabaseManager.db.sharkdb.connection.password = "Shark" does still have some questions in WSAD, have no time to look at it. Today is here.

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

New Post(0)