Project

General

Profile

Administration » History » Version 3

chin-yeh, 10/29/2010 05:59 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 3 chin-yeh
_JBoss 4.0.x_
27
> {jboss folder}/server/{profile name}/conf/log4j.xml
28
29
_Jboss 4.2.x / Jboss 5.1.x_
30
> {jboss folder}/server/{profile name}/conf/jboss-log4j.xml
31
32 2 chin-yeh
h2. Update Properties Files
33
34
All of the properties files can be found in:
35
<pre>
36
/data/qconnector
37
</pre>
38
39
h3. ws-mimic
40
41
List of the properties files:
42
* /data/qconnector/application.properties
43
* /data/qconnector/jndi-factory.properties
44
45
* *application.properties*
46
|_.Property name|_.Description|
47
|ws.url|The URL of the web service which process the request|
48
|status.callback.url|the callback URL of the caller to update the status, e.g. Dot Com mall |
49
50
* *jndi-factory.properties*
51
|_.Property name|_.Description|
52
|jndi.initial|the initial context of the JNDI|
53
|jndi.url|the URL of the JNDI provider (JMS)|
54
|jndi.url.pkgs|the naming packages of the JNDI|
55
|jndi.connection.factory|the JNDI name of the JMS connection factory|
56
|session.cache.size|the number of JMS session to be cached|
57
|request.queue.name|the name of the JMS queue which keeps the web service request|
58
|response.queue.name|the name of the JMS queue which keeps the web service response|
59
60
h3. ws-status
61
62
List of the properties files:
63
* /data/qconnector/ws-status/database.properties
64
65
* database.properties
66
|_.Property name|_.Description|
67
|jndi.datasource|the JNDI name of the data source|
68
|db.dialect|the database dialect, e.g. DB2|
69
|db.show.sql|indicates whether to show the SQL used|
70
|db.sql.comment|indicates whether to show the comment of the SQL used|
71
72
h3. ecosway-adaptor
73
74
List of the properties file:
75
* /data/qconnector/ecosway-adaptor/application.properties
76
* /data/qconnector/ecosway-adaptor/database.properties
77
* /data/qconnector/ecosway-adaptor/registration/template.properties
78
79
* *application.properties*
80
|_.Property name|_.Description|
81
|ws.url|the URL of the web service. Currently this is the URL of the mimic of the actual web service|
82
83
* *database.properties*
84
|_.Property name|_.Description|
85
|jndi.datasource|the JNDI name of the data source|
86
|db.dialect|the database dialect, e.g. DB2|
87
|db.show.sql|indicates whether to show the SQL used|
88
|db.sql.comment|indicates whether to show the comment of the SQL used|
89
90
91
* *registration/template.properties*
92
|_.Property name|_.Description|
93
|registration.template|the template of the web service request|