Shark workflow learning (2)

zhaozj2021-02-17  32

Shark User Correlation

Shark1.0 uses yourself and a lightweight persistent layer DODS and self-contained small database interactions. If you want to specify the database and DODS interaction, you need to modify some relevant configuration files, take the mysql database as an example: modify Shark.conf,

// Initialize database array

DatabaseManager.Databases [] = "hongsoft"

/ / Specify the database you want to use

DatabaseManager.defaultDatabase = "hongsoft"

// debugging switch

DatabaseManager.debug = "true"

/ / Specify as a standard form

DatabaseManager.db. Hongsoft.clasStype = "standard"

/ / Specify the JDBC driver you want to use

DatabaseManager.db. Hongsoft.jdbcdriver = "org.gjt.mm.mysql.driver"

// Specify URL

DatabaseManager.db. Hongsoft.connection.url = "JDBC: mysql: // localhost / test"

//user

DatabaseManager.db. Hongsoft.connection.user = "root"

//password

DatabaseManager.db. Hongsoft.connection.password = ""

Other can be changed as long as the name of the corresponding default database is changed to hongsoft.

Then modify the SharkConfig section, where you need to modify, as follows:

// library directory settings

STORED_PROCEDURES_REPOSTORY = C: /SHARK-1.0/repository/storedProcedures - Currently Fixed in The Code

EXTERNAL_PACKAGES_Repository = C: /SHARK-1.0/Repository/External

INTERNAL_PACKAGES_Repository = C: /SHARK-1.0/Repository/internal

Package_history_repository = c: /shark-1.0/repository/internal/history

Modify the log4J section:

Value = "c: /shark-1.0/logs/sharkpersistence.log" />

Thus all profile modifications are completed

Next, execute the SQL script establishment table in the database you need to:

Installation Directory /SHARK-1.0/SQL/ mysql /sql/***.sql

All the configuration ends, now you can start Shark, starting order is the name server (TNS.BAT), server (run.bat), management console (runa.bat). You can also launch three services in shortcut Shark (Runall.bat).

HONGBO781202, also known as hongsoft, professional programmer, research area: 1) Based on workflow 2) Java-based information security

Technology. Welcome to discuss all aspects of Java related aspects of technology and market issues hongbosoftware@163.com

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

New Post(0)