JBOSS ESB Install

JBOSS ESB Install

配置說明

程序名稱

JBoss ESB

數據庫路徑和名稱

222.118.20.108\jbossesb

程序的文件構成說明

1)       Jboss 4.0.4 GA (contain Ejb3.0)

2)       jbossesb-4.0Beta1MP1    

2.1 jbossesb-appl.ear

2.2 jbossEsb.properties

2.3 JBossESB-ds.xml

2.4 properties-service.xml

2.5 ObjStore.xml

配置步驟如下 :

  1. jbossesb-appl.ear 復制到 <JBoss-home>/server/default/deploy
  2. properties-service.xml 復制到 <Jboss-home>/server/default/deploy
  3. 復制 Jbossesb.properties <Jboss-home>/server/default/conf
  4. 編輯 JBossESB-ds.xml
  5. 復制 JbossESB-ds.xml <JBoss-home>/server/default/deploy

 

運行條件和配置說明

運行平台和條件

Windows

Linux

數據源配置

1)數據源配置在JBossESB-ds.xml文件配置,詳細信息如下:

<datasources>

  <local-tx-datasource>

    <jndi-name>JBossESBDS</jndi-name>

 

    <connection-url>jdbc:jtds:sqlserver://222.118.20.108;DatabaseName=jbossesb</connection-url>

    <driver-class>net.sourceforge.jtds.jdbc.Driver</driver-class>

    <user-name>dbname</user-name>

    <password>access</password>

 

    <min-pool-size>10</min-pool-size>

    <max-pool-size>100</max-pool-size>

    <blocking-timeout-millis>1000</blocking-timeout-millis>

    <idle-timeout-minutes>5</idle-timeout-minutes>

 

  </local-tx-datasource>

 

</datasources>

2.修改jbossEsb.properties文件:

org.jboss.soa.esb.mail.smtp.host=www.163.com

org.jboss.soa.esb.mail.smtp.port=23

org.jboss.soa.esb.mail.smtp.user=ejinmy

org.jboss.soa.esb.mail.smtp.password=123456789abc

 

 

#

# Object Store Settings

#

org.jboss.soa.esb.objStore.configfile=file:/e:/temp/ObjStore.xml

程序運行配置

必需是 JBoss . 4.0.4 版本,還要支持 EJB3.0

運行 JBoss App Server 就啟動了 JBoss ESB.

其它說明

數據庫表(script)

CREATE TABLE batches (

    batch_num int NOT NULL,

    seq integer NOT NULL,

    data varchar,

    CONSTRAINT batches_pk PRIMARY KEY (batch_num,seq)

);

 

 

CREATE TABLE object_snap (

    uid int NOT NULL,

    stamp int,

    snap_type varchar,

    object_uid int,

    batch_num int,

    xml_data varchar,

    CONSTRAINT object_snap_pk PRIMARY KEY (uid)

);

 

 

CREATE TABLE people_index (

    uid bigint NOT NULL,

    stamp int,

    latest_snap_uid int,

    latest_snap_date varchar,

    name varchar,

    phone varchar,

    address varchar,

    CONSTRAINT people_index_pk PRIMARY KEY (uid)

);

 

 

CREATE TABLE uid_table (

    uid integer NOT NULL,

    sequence_name varchar NOT NULL,

    last_used_uid bigint NOT NULL,

    CONSTRAINT uid_table_pk PRIMARY KEY (uid)

);

 

 

INSERT INTO uid_table (uid, sequence_name, last_used_uid) VALUES (1, 'jbossEsb_objuid', 10500000);

INSERT INTO uid_table (uid, sequence_name, last_used_uid) VALUES (2, 'jbossEsb_batchuid', 251000);

   

此文檔是配置安裝JBOSS ESB的步驟說明書.

 

填寫日期: 2006/10/18      填寫人:      jinmy     
  更新日期:

 

 

有使用JBoss ESB的可以一起探討,QQ:182529178

你可能感兴趣的:(JBOSS ESB Install)