Obe download, compile and deploy

xiaoxiao2021-03-06  41

Obe download, compile and deploy

Author: Lu Peng email: lockbox@163.com 2004.12.26

Operating environment:

OS: Windows 2000 PROFESSIONAL Service Pack 4

J2SDK: 1.4.2_06

Build Tool: Ant 1.6.1

J2EE Server: JBoss 3.2.3 (recommended to use it. If it is other high version, use tomcat4.1)

Database: MySQL 4.1.7

JDBC Driver: MySQL-Connector-Java-3.0.10-Stable-bin.jar

CVS Client: WinCVS 1.3

Download OBE:

Set cvsroot in WinCVS: anonymous@cvs.sourceforge.net: 2401: / cvsroot / OBE

Set up MODULE:.

Compile OBE:

Copy $ OBE_HOME / OBE / OBESERVER / J2EE / JBOSS-3.2 / Depoy / MySQL-DS.XML file to $ jboss_home / server / default / deploy directory;

Copy MySQL-Connector-Java-3.0.10-Stable-bin.jar file to $ jboss_home / server / default / lib directory;

Copy $ OBE_HOME / CUSTOM / Linux-mysql-jboss-3.2.3.properties file to $ OBE_HOME directory;

Ren it again: win-mysql-jboss.properties;

Open with editor:

Set the value of the As.DIR key for your JBoss installation path; (E.g., As.dir = d: /jboss-3.2.3)

Set the value of the JDBC.Class key for JDBC Driver's storage path (EG, JDBC.CLASSPATH = D: /JBoss-3.2.3/server/default/lib/mysql-connector-java-3.0.10-stable-bin.jar )

Open the Windows command prompt in the $ OBE_HOME directory, then run prepare.cmd win-mysql-jboss.properties

After successfully running the above command, you can compile Obe, just play Ant at $ Obe_home

Configure the database:

Create a database called OBE;

In the mysql prompt, enter

Create Database OBE;

Create an OBE user, the password is OBE, Host Name is localhost;

In the mysql prompt, enter

Grant SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX ON OBE. * To Obe @ localhost identified by 'Obe'

Import database education;

First open $ OBE_HOME / OBE / OBESERVER / etc / ddl / mysql-ddl.sql this file, remove those statements of the beginning of the header DROP TABLE, then in the Windows prompt, enter

Mysql Obe <$ OBE_HOME / OBE / OBESERVER / ETC / DDL / MySQL-DDL.SQL

Deploy OBE:

After successful compilation, a build directory is generated in the $ OBE_HOME directory;

Copy $ OBE_HOME / Build / Staging / J2EE / LIB / OBESERVER.EAR file to $ jboss_home / server / default / deploy directory; copy $ OBE_HOME / Build / Staging / J2EE / JBOSS-3.2 / deploy / OBE-JBOSSMQ-DESTINATIONS- Service.xml files to $ jboss_home / server / default / deploy directory;

Start JBoss.

Good luck! Any Questions Welcome To Email to Me: Lockbox@163.com

Happy new year!

(Finish)

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

New Post(0)