Administration » History » Version 5
chin-yeh, 04/20/2011 03:58 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 | 4 | chin-yeh | All of the log files can be found in: |
10 | 2 | chin-yeh | <pre> |
11 | {jboss folder}/server/{profile name}/log/qconnector/info.log |
||
12 | {jboss folder}/server/{profile name}/log/qconnector/error.log |
||
13 | 1 | chin-yeh | {jboss folder}/server/{profile name}/log/qconnector/debug.log |
14 | 4 | chin-yeh | </pre> |
15 | |||
16 | All of the log files for daemon/batches can be found in: |
||
17 | <pre> |
||
18 | /var/ecwyconnector/qconnector-batch-info.log |
||
19 | /var/ecwyconnector/qconnector-batch-error.log |
||
20 | /var/ecwyconnector/qconnector-batch-debug.log |
||
21 | 2 | chin-yeh | </pre> |
22 | |||
23 | The log file rotates *daily* or every *10MB* for maximum *100 files*. |
||
24 | |||
25 | h2. Change Logging Level |
||
26 | |||
27 | The available logging level: |
||
28 | * *INFO* - default level |
||
29 | * *DEBUG* - should not set to this level unless necessary |
||
30 | * *ERROR* |
||
31 | * *WARN* |
||
32 | |||
33 | 3 | chin-yeh | _JBoss 4.0.x_ |
34 | > {jboss folder}/server/{profile name}/conf/log4j.xml |
||
35 | |||
36 | _Jboss 4.2.x / Jboss 5.1.x_ |
||
37 | > {jboss folder}/server/{profile name}/conf/jboss-log4j.xml |
||
38 | |||
39 | 5 | chin-yeh | _Batches/Daemon_ |
40 | > /usr/ecosway/daemon/qconnector/config/log4j.xml |
||
41 | |||
42 | 2 | chin-yeh | h2. Update Properties Files |
43 | |||
44 | All of the properties files can be found in: |
||
45 | <pre> |
||
46 | /data/qconnector |
||
47 | </pre> |
||
48 | |||
49 | h3. ws-mimic |
||
50 | |||
51 | List of the properties files: |
||
52 | * /data/qconnector/application.properties |
||
53 | * /data/qconnector/jndi-factory.properties |
||
54 | |||
55 | * *application.properties* |
||
56 | |_.Property name|_.Description| |
||
57 | |ws.url|The URL of the web service which process the request| |
||
58 | |status.callback.url|the callback URL of the caller to update the status, e.g. Dot Com mall | |
||
59 | |||
60 | * *jndi-factory.properties* |
||
61 | |_.Property name|_.Description| |
||
62 | |jndi.initial|the initial context of the JNDI| |
||
63 | |jndi.url|the URL of the JNDI provider (JMS)| |
||
64 | |jndi.url.pkgs|the naming packages of the JNDI| |
||
65 | |jndi.connection.factory|the JNDI name of the JMS connection factory| |
||
66 | |session.cache.size|the number of JMS session to be cached| |
||
67 | |request.queue.name|the name of the JMS queue which keeps the web service request| |
||
68 | |response.queue.name|the name of the JMS queue which keeps the web service response| |
||
69 | |||
70 | h3. ws-status |
||
71 | |||
72 | List of the properties files: |
||
73 | * /data/qconnector/ws-status/database.properties |
||
74 | |||
75 | * database.properties |
||
76 | |_.Property name|_.Description| |
||
77 | |jndi.datasource|the JNDI name of the data source| |
||
78 | |db.dialect|the database dialect, e.g. DB2| |
||
79 | |db.show.sql|indicates whether to show the SQL used| |
||
80 | |db.sql.comment|indicates whether to show the comment of the SQL used| |
||
81 | |||
82 | h3. ecosway-adaptor |
||
83 | |||
84 | List of the properties file: |
||
85 | * /data/qconnector/ecosway-adaptor/application.properties |
||
86 | * /data/qconnector/ecosway-adaptor/database.properties |
||
87 | * /data/qconnector/ecosway-adaptor/registration/template.properties |
||
88 | |||
89 | * *application.properties* |
||
90 | |_.Property name|_.Description| |
||
91 | |ws.url|the URL of the web service. Currently this is the URL of the mimic of the actual web service| |
||
92 | |||
93 | * *database.properties* |
||
94 | |_.Property name|_.Description| |
||
95 | |jndi.datasource|the JNDI name of the data source| |
||
96 | |db.dialect|the database dialect, e.g. DB2| |
||
97 | |db.show.sql|indicates whether to show the SQL used| |
||
98 | |db.sql.comment|indicates whether to show the comment of the SQL used| |
||
99 | |||
100 | |||
101 | * *registration/template.properties* |
||
102 | |_.Property name|_.Description| |
||
103 | |registration.template|the template of the web service request| |