Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6660465
  • 博文数量: 1159
  • 博客积分: 12444
  • 博客等级: 上将
  • 技术积分: 12570
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-13 21:34
文章分类

全部博文(1159)

文章存档

2016年(126)

2015年(350)

2014年(56)

2013年(91)

2012年(182)

2011年(193)

2010年(138)

2009年(23)

分类: Android平台

2015-11-19 23:08:47


点击(此处)折叠或打开

  1. <DataBaseManager>

  2.   <Connections>


  3.     <MySQL Type="Primary" Id="1">

  4.       <PoolManager Min="1" Max="1" Retry="0" Delay="100" />

  5.       <Host>127.0.0.1</Host>
  6.       <Port></Port>
  7.       <User>root</User>
  8.       <Password>123456</Password>
  9.       <DataBase>criteria</DataBase>

  10.       <ObjectManager>
  11.         <Object Type="ProcessTemplate" Managed="No">${CRITERIA_HOME}/database/processTemplate</Object>
  12.         <Object Type="ProcessInstance" Managed="Yes" />
  13.         <Object Type="Reports" Managed="No" />
  14.         <Object Type="DataTypes" Managed="No">${CRITERIA_HOME}/database/Criteria.DataTypes.xml</Object>
  15.         <Object Type="Services" Managed="No">${CRITERIA_HOME}/database/Criteria.Services.xml</Object>
  16.         <Object Type="Users" Managed="No">${CRITERIA_HOME}/database/Criteria.Users.xml</Object>
  17.         <Object Type="Roles" Managed="No">${CRITERIA_HOME}/database/Criteria.Roles.xml</Object>
  18.         <Object Type="Applications" Managed="No">${CRITERIA_HOME}/database/Criteria.Applications.xml</Object>
  19.         <Object Type="ApplicationsDataBase" Managed="Yes" />
  20.         <Object Type="Events" Managed="No"></Object>
  21.         <Object Type="OccurredEvents" Managed="No"></Object>
  22.         <Object Type="WaitingEvents" Managed="No"></Object>

  23.       </ObjectManager>

  24.     </MySQL>

  25.     

  26.     <!--SQLite Type="Primary" Id="1">

  27.       <PoolManager Min="1" Max="1" Retry="0" Delay="50" />
  28.       <Path>${CRITERIA_HOME}\database</Path>
  29.       <DataBase>Criteria.db</DataBase>

  30.       <ObjectManager>
  31.         
  32.         <Object Type="ProcessTemplate" Managed="No">${CRITERIA_HOME}/database/processTemplate</Object>
  33.         <Object Type="ProcessInstance" Managed="Yes" />
  34.         <Object Type="Reports" Managed="No" />
  35.         <Object Type="DataTypes" Managed="No">${CRITERIA_HOME}/database/Criteria.DataTypes.xml</Object>
  36.         <Object Type="Services" Managed="No">${CRITERIA_HOME}/database/Criteria.Services.xml</Object>
  37.         <Object Type="Users" Managed="No">${CRITERIA_HOME}/database/Criteria.Users.xml</Object>
  38.         <Object Type="Roles" Managed="No">${CRITERIA_HOME}/database/Criteria.Roles.xml</Object>
  39.         <Object Type="Applications" Managed="No">${CRITERIA_HOME}/database/Criteria.Applications.xml</Object>
  40.         <Object Type="Events" Managed="No"></Object>
  41.         <Object Type="OccurredEvents" Managed="No"></Object>
  42.         <Object Type="WaitingEvents" Managed="No"></Object>

  43.       </ObjectManager>

  44.     </SQLite-->

  45.     <CriteriaFileSystem Type="Primary" Id="2">

  46.       <ObjectManager>
  47.         
  48.         <Object Type="ProcessTemplate" Managed="Yes" Repository="Folder">${CRITERIA_HOME}/database/processTemplate</Object>
  49.         <Object Type="ProcessInstance" Managed="Yes" Repository="Folder">${CRITERIA_HOME}/database/processInstance</Object>

  50.         <!-- Object Type="DataTypes" Managed="Yes" Repository="File">${CRITERIA_HOME}/database/Criteria.DataTypes.xml</Object -->
  51.         <Object Type="Reports" Managed="No" />
  52.         <Object Type="DataTypes" Managed="Yes" Repository="Folder">${CRITERIA_HOME}/database/dataTypes</Object>
  53.         <Object Type="Services" Managed="Yes" Repository="File">${CRITERIA_HOME}/database/Criteria.Services.xml</Object>
  54.         <Object Type="Users" Managed="Yes" Repository="File">${CRITERIA_HOME}/database/Criteria.Users.xml</Object>
  55.         <Object Type="Roles" Managed="Yes" Repository="File">${CRITERIA_HOME}/database/Criteria.Roles.xml</Object>

  56.         <!--Object Type="Applications" Managed="Yes" Repository="File">${CRITERIA_HOME}/database/Criteria.Applications.xml</Object-->
  57.         <Object Type="Applications" Managed="Yes" Repository="Folder">${CRITERIA_HOME}/database/applications</Object>
  58.         <Object Type="ApplicationsDataBase" Managed="No" />
  59.         <Object Type="Events" Managed="No"></Object>
  60.         <Object Type="OccurredEvents" Managed="No"></Object>
  61.         <Object Type="WaitingEvents" Managed="No"></Object>
  62.         <Object Type="CheckList" Managed="Yes" Repository="Folder">${CRITERIA_HOME}/database/checkList</Object>

  63.       </ObjectManager>

  64.     </CriteriaFileSystem>


  65.   </Connections>

  66. </DataBaseManager>

++++++++++++++++++++++++++++++

export WF_HOME=/opt/cBPM/criteria-lin/bin/Criteria/Debug/Tools.Executor; export CRITERIA_HOME=/opt/cBPM/criteria-lin/bin/Criteria/Debug/Tools.Executor

[root@localhost criteria-lin]# pwd
/opt/cBPM/criteria-lin

./bin/Criteria/Debug/Tools.Executor/Executor-
./src/Criteria/Criteria.Tools/Criteria.Tools.Executor/Executor-

------------------------------------------------------

[root@localhost criteria-lin]# pwd
/opt/cBPM/criteria-lin

[root@localhost criteria-lin]#


mysql -uroot -p < ./database/scripts/mysql/criteria_mysql.sql
mysql -uroot -p criteria < ./database/scripts/mysql/dm_mysql.sql
mysql -uroot -p criteria < ./database/scripts/mysql/dm_mysql.sql



MariaDB [criteria]>
select * from SF_Activities;
select * from SF_Attributes
select * from SF_DataTypes;
select * from SF_MESSAGEFLOWS;
select * from SF_REPORTS;
select * from SF_Roles;
select * from SF_Services;
select * from SF_Users;
select * from SF_WorkflowProcesses;

select * from dm_attributes;
select * from dm_document_childs;
select * from dm_document_files;
select * from dm_document_versions;
select * from dm_documents;
select * from dm_id_instances;
select * from dm_idinstances_to_recycle;

select * from QRTZ_BLOB_TRIGGERS;
select * from QRTZ_CALENDARS;
select * from QRTZ_CRON_TRIGGERS;
select * from QRTZ_FIRED_TRIGGERS;
select * from QRTZ_JOB_DETAILS;
select * from QRTZ_JOB_LISTENERS;
select * from QRTZ_LOCKS;
select * from QRTZ_PAUSED_TRIGGER_GRPS;
select * from QRTZ_SCHEDULER_STATE;
select * from QRTZ_SIMPLE_TRIGGERS;
select * from QRTZ_TRIGGERS;
select * from QRTZ_TRIGGER_LISTENERS;



阅读(885) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~