Project

General

Profile

Administration » History » Version 2

chin-yeh, 10/29/2010 05:56 PM

1 2 chin-yeh
{{toc}}
2
3 1 chin-yeh
h1. Administration
4 2 chin-yeh
5
Describes how to administrate the common tasks, for instance, update properties files, change logging level and etc.
6
7
h2. Monitor Log Files
8
9
All of the log files can be found in :
10
<pre>
11
{jboss folder}/server/{profile name}/log/qconnector/info.log
12
{jboss folder}/server/{profile name}/log/qconnector/error.log
13
{jboss folder}/server/{profile name}/log/qconnector/debug.log
14
</pre>
15
16
The log file rotates *daily* or every *10MB* for maximum *100 files*.
17
18
h2. Change Logging Level
19
20
The available logging level:
21
* *INFO* - default level
22
* *DEBUG* - should not set to this level unless necessary
23
* *ERROR*
24
* *WARN*
25
26
h2. Update Properties Files
27
28
All of the properties files can be found in:
29
<pre>
30
/data/qconnector
31
</pre>
32
33
h3. ws-mimic
34
35
List of the properties files:
36
* /data/qconnector/application.properties
37
* /data/qconnector/jndi-factory.properties
38
39
* *application.properties*
40
|_.Property name|_.Description|
41
|ws.url|The URL of the web service which process the request|
42
|status.callback.url|the callback URL of the caller to update the status, e.g. Dot Com mall |
43
44
* *jndi-factory.properties*
45
|_.Property name|_.Description|
46
|jndi.initial|the initial context of the JNDI|
47
|jndi.url|the URL of the JNDI provider (JMS)|
48
|jndi.url.pkgs|the naming packages of the JNDI|
49
|jndi.connection.factory|the JNDI name of the JMS connection factory|
50
|session.cache.size|the number of JMS session to be cached|
51
|request.queue.name|the name of the JMS queue which keeps the web service request|
52
|response.queue.name|the name of the JMS queue which keeps the web service response|
53
54
h3. ws-status
55
56
List of the properties files:
57
* /data/qconnector/ws-status/database.properties
58
59
* database.properties
60
|_.Property name|_.Description|
61
|jndi.datasource|the JNDI name of the data source|
62
|db.dialect|the database dialect, e.g. DB2|
63
|db.show.sql|indicates whether to show the SQL used|
64
|db.sql.comment|indicates whether to show the comment of the SQL used|
65
66
h3. ecosway-adaptor
67
68
List of the properties file:
69
* /data/qconnector/ecosway-adaptor/application.properties
70
* /data/qconnector/ecosway-adaptor/database.properties
71
* /data/qconnector/ecosway-adaptor/registration/template.properties
72
73
* *application.properties*
74
|_.Property name|_.Description|
75
|ws.url|the URL of the web service. Currently this is the URL of the mimic of the actual web service|
76
77
* *database.properties*
78
|_.Property name|_.Description|
79
|jndi.datasource|the JNDI name of the data source|
80
|db.dialect|the database dialect, e.g. DB2|
81
|db.show.sql|indicates whether to show the SQL used|
82
|db.sql.comment|indicates whether to show the comment of the SQL used|
83
84
85
* *registration/template.properties*
86
|_.Property name|_.Description|
87
|registration.template|the template of the web service request|