配置說明
程序名稱
JBoss ESB
數據庫路徑和名稱
222.118.20.108\jbossesb
程序的文件構成說明
1) Jboss4.0.4GA (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
配置步驟如下 :
把 jbossesb-appl.ear 復制到 <JBoss-home>/server/default/deploy 把 properties-service.xml 復制到 <Jboss-home>/server/default/deploy 復制 Jbossesb.properties 到 <Jboss-home>/server/default/conf 編輯 JBossESB-ds.xml 復制 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的步驟說明書.
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。