user-config.xml
14.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<application xmlns="http://www.primeton.com/xmlns/eos/1.0">
<!-- Datasource config -->
<!--
there can be multiplse DataSource, and the datasouce with name being "default"
as the system default datasource.
two types of DataSource are supported:
1) jndi DataSource
2) c3p0 DataSource
Transaction_Isolation as:
1)ISOLATION_READ_UNCOMMITTED
2)ISOLATION_READ_COMMITTED
3)ISOLATION_REPEATABLE_READ
4)ISOLATION_SERIALIZABLE
-->
<module name="DataSource">
<!--system default datasouce -->
<group name="default">
<configValue key="Jndi-Name">DefaultDataSource</configValue>
<configValue key="Transaction-Isolation">ISOLATION_READ_COMMITTED</configValue>
<configValue key="Test-Connect-Sql">SELECT count(*) from EOS_UNIQUE_TABLE</configValue>
<configValue key="Retry-Connect-Count">-1</configValue>
</group>
<!--
C3p0-DriverClass[required],C3p0-Url[required]:
1、DB2
2、Oracle
3、Informix
4、MySql
5、SqlServer
6、Sybase
-->
<!--
<group name="default">
<configValue key="C3p0-DriverClass">com.ibm.db2.jcc.DB2Driver</configValue>
<configValue key="C3p0-Url">jdbc:db2://192.168.1.251:50000/eos</configValue>
<configValue key="C3p0-UserName">eos6si</configValue>
<configValue key="C3p0-Password">eos6si</configValue>
<configValue key="C3p0-PoolSize">10</configValue>
<configValue key="C3p0-MaxPoolSize">50</configValue>
<configValue key="C3p0-MinPoolSize">10</configValue>
<configValue key="Transaction-Isolation">ISOLATION_READ_COMMITTED</configValue>
<configValue key="Database-Type">DB2</configValue>
<configValue key="Jdbc-Type">IBM DB2 Driver(Type4)</configValue>
<configValue key="Test-Connect-Sql">SELECT count(*) from EOS_UNIQUE_TABLE</configValue>
<configValue key="Retry-Connect-Count">-1</configValue>
</group>
-->
<!--UDDI storeage datasouce.UDDI of all applications are stored in the same datasouce.-->
<!--
<group name="UddiServiceDS">
<configValue key="Jndi-Name">EOSDefaultDataSource</configValue>
<configValue key="Transaction-Isolation">ISOLATION_READ_COMMITTED</configValue>
<configValue key="Test-Connect-Sql">SELECT count(*) from EOS_SERVICE_ENDPOINT</configValue>
<configValue key="Retry-Connect-Count">-1</configValue>
</group>
-->
<!-- data source for EOS_UNIQUE_TABLE -->
<!--
<group name="EOS-Unique">
<configValue key="C3p0-DriverClass">com.ibm.db2.jcc.DB2Driver</configValue>
<configValue key="C3p0-Url">jdbc:db2://192.168.1.251:50000/eos</configValue>
<configValue key="C3p0-UserName">eos6si</configValue>
<configValue key="C3p0-Password">eos6si</configValue>
<configValue key="C3p0-PoolSize">10</configValue>
<configValue key="C3p0-MaxPoolSize">10</configValue>
<configValue key="C3p0-MinPoolSize">5</configValue>
<configValue key="Transaction-Isolation">ISOLATION_DEFAULT</configValue>
<configValue key="Database-Type">DB2</configValue>
<configValue key="Jdbc-Type">IBM DB2 Driver(Type4)</configValue>
<configValue key="Test-Connect-Sql">SELECT count(*) from EOS_UNIQUE_TABLE</configValue>
<configValue key="Retry-Connect-Count">-1</configValue>
</group>
-->
</module>
<!--System default Mail configuration -->
<module name="Email">
<group name="Default">
<!-- Mail server[required] -->
<configValue key="Host">mail.primeton.com</configValue>
<!-- Mail port[optional] -->
<!-- configValue key="Port">1002</configValue-->
<!-- user name[optional] -->
<configValue key="UserName">test</configValue>
<!-- password [optional] -->
<configValue key="Password">test</configValue>
</group>
</module>
<!-- Cache configuration -->
<!--
CacheProvider: cache provider[optional]
CacheLoader: cacheLoader implementation[optional]
IsClustered: cache mode[optional], True(cluster mode)
IsolationLevel: transaction isolation level[optional](none,serializable,repeatable_read,read_committed,read_uncommitted)
configuration needed when IsClustered is true:
McastAddr: multi cast IP address[optional](range: 224.0.0.0 to 239.255.255.255)
McastPort: multi cast port[optional]
-->
<module name="Cache">
<!-- Cache used by business dictionary -->
<!--
note: must not change this group.
-->
<group name="CacheForDict">
<configValue key="IsSystemCache">true</configValue>
<configValue key="CacheLoader">com.eos.server.dict.impl.EosDictCacheLoaderImpl</configValue>
</group>
<!-- Cache for uddi-->
<!--
Note: must not change the name of this group, only the McastAddr and McastPort can be changed.
-->
<group name="CacheForAccess">
<configValue key="IsSystemCache">true</configValue>
<configValue key="CacheLoader">com.primeton.access.client.impl.uddi.ServiceCacheLoader</configValue>
<configValue key="ClusterName">CacheForAccessGroup</configValue>
</group>
<!-- cache for online users -->
<group name="CacheForUserObject">
<configValue key="IsSystemCache">true</configValue>
<configValue key="CacheMode">REPL_ASYNC</configValue>
</group>
</module>
<!--
timer's configuration.default to not start timer.
-->
<module name="Schedule">
<group name="Default">
<!-- IsSchedulerStart[optional,default to "true"], whether to start timer when application starts up -->
<configValue key="IsSchedulerStart">false</configValue>
<!-- DataSouceName[optional,default to "default"], datasouce name(must be the same as DataSource's Group name) -->
<!-- configValue key="DataSouceName">default</configValue-->
<!--
<configValue key="CheckHeartBeatPeriod">60000</configValue>
<configValue key="UpdateHeartBeatPeriod">10000</configValue>
<configValue key="DeadTimeLine">120000</configValue>
-->
</group>
</module>
<!--webui's configuration-->
<!--EOSBusinDictFactory: can be configed-->
<module name="Dict">
<group name="Dict-Factory">
<configValue key="EOSBusinDictFactory">com.eos.server.dict.impl.EOSBusinDictFactory</configValue>
</group>
<!--cache used for business dictionary-->
<!--NOTE: CacheName can't be changed-->
<group name="Cache">
<configValue key="CacheName">CacheForDict</configValue>
<configValue key="UseCache">false</configValue>
</group>
</module>
<!-- http access configuration-->
<module name="Access-Http">
<group name="FileUpload">
<configValue key="TempDir">upload</configValue>
<configValue key="MaxSize">104857600</configValue>
<configValue key="InMemorySize">10240</configValue>
<!--files with specified ext names are not accespted when uploading -->
<configValue key="Exclude">exe,java,jsp,html,htm,class,jar</configValue>
</group>
<group name="Encoding">
<!-- the charset of the incoming HttpServletRequest-->
<configValue key="Request">UTF-8</configValue>
</group>
<group name="Suspend">
<!-- the time to suspend, waiting for the xsd loading,in seconds.-->
<configValue key="TimeOut">60</configValue>
</group>
<group name="Login-Filter">
<!-- pages that can be accessed by any one including those not login -->
<configValue key="Exclude">/common/**.jsp,/index.jsp,/common.remote,/jmxDefault.jmx,/common.download,/common.configdownload,/coframe/index.jsp,**/org.gocom.components.coframe.auth.LoginManager.login.biz.ext,**/org.gocom.components.coframe.auth.login.login.flow,/coframe/auth/login/login.jsp,/bps/wfclient/index.jsp,/bps/wfclient/login/login.jsp,**/org.gocom.bps.wfclient.login.login.validateLogin.biz.ext,/bps/wfclient/login/validate4Login.jsp</configValue>
<configValue key="Include">*.flow,*.flowx,*.jsp,*.html,*.ajax,*.ext,*.action,*.beanx</configValue>
<!-- the page to display when user not login -->
<configValue key="LoginPage">/coframe/index.jsp</configValue>
</group>
<group name="Accessed-Mode">
<configValue key="Portal">false</configValue>
</group>
<group name="Http-Security">
<configValue key="isOpenSecurity">false</configValue>
<configValue key="Exclude">**/common.download</configValue>
<configValue key="regexs">eval\s*?\([^\)]+?\),alert\s*?\([^\)]+?\),new\s+?Function\s*?\([^\)]+?\),window\[[^\]]+?\]\s*?=</configValue>
</group>
</module>
<!-- configuraiton of user's access statistics to a resource -->
<module name="Accessed-Resource-Checked">
<group name="Provider">
<!-- user defined resouce access check handler -->
<configValue key="CheckedHandler"/>
<!-- user defined resource access check factory -->
<configValue key="ResourceFactory">com.primeton.ext.access.authorization.DefaultAccessedResourceFactory</configValue>
</group>
</module>
<!--engine configuration-->
<module name="Engine">
<!--the listeners to the lifecycle of page flow instance -->
<group name="Pageflow-InstanceListeners">
<!--
<configValue key="ListenerA">com.primeton.engine.pageflow.web.CountListener</configValue>
-->
</group>
<!--the time out of pageflow intance, in minutes-->
<group name="Pageflow-InstanceTimeout">
<configValue key="Timeout">10</configValue>
</group>
<!-- web pages when error occured-->
<group name="Pageflow-ErrorPage">
<configValue key="Page">/common/error.jsp</configValue>
<!--default page when there are validation errors on action parameters-->
<configValue key="ValidateErrorPage">/common/validateErrors.jsp</configValue>
</group>
<!--the default page when pageflow is finished and no page defined on the end node of this pageflow-->
<group name="Pageflow-End">
<configValue key="DefaultPage">/common/defaultEnd.jsp</configValue>
</group>
<!--asynchronus method call mode:JMS or Thread-->
<!--if AutoChange is set to true,the engine will decide to user JMS or thread by the type of the application server,if Tomcat use Thread, ohters use JMS-->
<!--if AutoChangeis set to false,Thread mode is used-->
<group name="Asynchronous-Invoke">
<configValue key="AutoChange">true</configValue>
</group>
</module>
<!--business statistic module, all statistics data are stored in memory-->
<module name="Statistic">
<!--logic flow execution statistics-->
<group name="Bizflow">
<!--possible values :openore close, statistics is enabled only when is open-->
<configValue key="Status">open</configValue>
<!--the statistics data queue length,range (0,1000],default to 50-->
<configValue key="Queue-Length">50</configValue>
</group>
<!--pageflow execution statistics-->
<group name="Pageflow">
<!--open|close-->
<configValue key="Status">open</configValue>
<configValue key="Queue-Length">50</configValue>
</group>
<!--sql execution statistics-->
<group name="Sql">
<!--open|close-->
<configValue key="Status">open</configValue>
<configValue key="Queue-Length">50</configValue>
</group>
<!--the service call statistics-->
<group name="Service">
<!--open|close-->
<configValue key="Status">open</configValue>
<configValue key="Queue-Length">50</configValue>
</group>
<!--the webService call statistics-->
<group name="InvokeWebService">
<!--open|close-->
<configValue key="Status">open</configValue>
<configValue key="Queue-Length">50</configValue>
</group>
<group name="SpringBean">
<!--open|close-->
<configValue key="Status">open</configValue>
<configValue key="Queue-Length">50</configValue>
</group>
</module>
<module name="Session-Manage">
<group name="Managed-User-Object">
<!--specify the attributes' name and type of MUO object in Session-->
</group>
<group name="UserLoginCallback">
<configValue key="Impl-Class"/>
</group>
</module>
<module name="Virtual-UserObject">
<group name="server">
<configValue key="User-Id">0</configValue>
<configValue key="User-Name">server</configValue>
<configValue key="User-Email"/>
<configValue key="User-Org-Id"/>
<configValue key="User-Org-Name"/>
<configValue key="User-Real-Name"/>
<configValue key="User-Remote-Ip">127.0.0.1</configValue>
</group>
<group name="workflow">
<configValue key="User-Id">1</configValue>
<configValue key="User-Name">workflow</configValue>
<configValue key="User-Email"/>
<configValue key="User-Org-Id"/>
<configValue key="User-Org-Name"/>
<configValue key="User-Real-Name"/>
<configValue key="User-Remote-Ip">127.0.0.1</configValue>
</group>
<group name="portal">
<configValue key="User-Id">guest</configValue>
<configValue key="User-Name">guest</configValue>
<configValue key="User-Email"/>
<configValue key="User-Org-Id"/>
<configValue key="User-Org-Name"/>
<configValue key="User-Real-Name"/>
<configValue key="User-Remote-Ip"/>
</group>
</module>
<!-- values for variables in wsdl location -->
<module name="WsLocation">
<group name="Property">
<!--<configValue key="variableName">value</configValue>-->
</group>
</module>
<!-- values for wsdl targetnamespace -->
<module name="WebService">
<group name="WSDL">
<!--<configValue key="DefultNameSpace">http://www.primeton.com/</configValue>-->
</group>
</module>
</application>