Yiu Leung
|
2f2bfa5403
|
merged with master
|
6 vuotta sitten |
yiu
|
e0e56ddf97
|
CommEngine temp changes and maven repo
|
6 vuotta sitten |
ymlam
|
705aedcac9
|
Change context name/value pairs.
|
6 vuotta sitten |
Yiu Leung
|
8b5e6c2be5
|
maven changes
|
6 vuotta sitten |
ymlam
|
e56690259a
|
Update
|
6 vuotta sitten |
ymlam
|
022cb3352a
|
Correct sometimes mis-counting completed jobs.
|
7 vuotta sitten |
ymlam
|
dad895d0ac
|
Do not requeue report as this may lead to a dead lock. It should retry by itself.
|
7 vuotta sitten |
ymlam
|
1ed5321d14
|
Change to require the service threads to wait for space in the postQueue in order to post reports, instead of dropping reports. Better diagnostic logging to help identify threads' life and death events.
|
7 vuotta sitten |
ymlam
|
65c1d3ddde
|
Remove the offending 'synchronized' modifier on postJobStatus method which is not compatible with the scheme to require the service threads to wait for space in the postQueue in order to post reports. Without removing this modifier, the CommEngine is likely to freeze on large broadcasts.
|
7 vuotta sitten |
ymlam
|
dc2b648c26
|
Removed thread name from logging, as it can be displayed using the %t option in log4j.
|
7 vuotta sitten |
ymlam
|
b7962a2333
|
Raise visibility level.
|
7 vuotta sitten |
ymlam
|
73f27cf7f0
|
Reverse last change about waiting for postback queue to have space to add a report, as this wait may result in hanging up the process. So an alarm is added to indicate this report is not queued for sending back to portal.
|
8 vuotta sitten |
ymlam
|
c7edb78aad
|
Start report in a new line in logging.
Add time of wait when waiting for available space in postQueue.
|
9 vuotta sitten |
ymlam
|
87b7e197dc
|
Remove end of line in logging so that a job report is in one single line.
|
9 vuotta sitten |
ymlam
|
f49203affa
|
Wake threads that are waiting for available space to add job reports to postQueue.
|
9 vuotta sitten |
ymlam
|
7daa802a25
|
Move POST processing to Broadcast.doPost method.
|
9 vuotta sitten |
ymlam
|
6165eff51c
|
Move POST processing to Broadcast.doPost method.
|
9 vuotta sitten |
ymlam
|
a92b947160
|
Added broadcast state 'EXPIRED'.
|
10 vuotta sitten |
ymlam
|
4ec51daae7
|
Removed READY from Job.Status which is a concept in the portal, not with CommEngine.
|
11 vuotta sitten |
ymlam
|
1853a905e5
|
Improved job counting and fixed bug of non-matching time units involved in rescheduling.
|
11 vuotta sitten |
ymlam
|
785ea730b3
|
moved log4j.properties file from classes directory to sibling of properties file, which is specified by a servlet context parameter.
|
11 vuotta sitten |
ymlam
|
d6d08d14ef
|
Improved organization of broadcast exceptions.
|
11 vuotta sitten |
ymlam
|
566fa78ef0
|
Added attribute sleepBetweenJobs, time in milliseconds, for the service threads to sleep between consecutive jobs (or more exact batches of jobs).
|
11 vuotta sitten |
ymlam
|
d30a7dcd49
|
Pruned out unused JobStatus, and comment on use of each JobStatus.
|
11 vuotta sitten |
ymlam
|
e446718bda
|
Adjust to change of Broadcast.cancel method.
|
11 vuotta sitten |
ymlam
|
83b9ecefad
|
Change HALT to PAUSE
Added syncrhonized qualifier to 2 methods to guard against simultaneous update by 2 threads.
Completed CANCEL processing.
|
11 vuotta sitten |
ymlam
|
7ea29e35fc
|
Add logging of stack trace of unexpected Throwable.
|
11 vuotta sitten |
ymlam
|
9d7883e60f
|
Follows redirection when posting
|
13 vuotta sitten |
ymlam
|
d2179500c7
|
Added logging.
|
13 vuotta sitten |
ymlam
|
95e166d3ad
|
Corrected calling activity_recod_id, which is generic, as call_record_id.
|
13 vuotta sitten |
ymlam
|
100195bec2
|
More correctly named method getInitializedServiceProvider as getInitializedServiceProviderPeer.
|
13 vuotta sitten |
ymlam
|
03c6f696c2
|
*** empty log message ***
|
13 vuotta sitten |
ymlam
|
0b1be67bbc
|
Again separate out EngineException from any Throwable.
|
13 vuotta sitten |
ymlam
|
277dc42365
|
Abstract class that uses SAX parser to parse input. This is meant to be an intermediate class for all 3 backend engines.
|
13 vuotta sitten |
ymlam
|
dc785485de
|
Changed to use UTF8BenevolentDecoder class instead of generating a kind UTF-8 char decoder.
|
13 vuotta sitten |
ymlam
|
172bba740b
|
Added cloning constructor.
|
13 vuotta sitten |
ymlam
|
319115a157
|
Logging character reader that acts like a T.
|
13 vuotta sitten |
ymlam
|
fb95ae73a1
|
Generator of a UTF-8 character decoder that repairs coding defects.
|
13 vuotta sitten |
ymlam
|
43e10b6845
|
Added capability of handling mal-formed UTF-8 characters in request XML, and logging XML without reading it into a huge String.
|
13 vuotta sitten |
ymlam
|
c084844b6d
|
Added wrapper to InputStreamReader to give it logging capability.
|
13 vuotta sitten |
ymlam
|
4a4c08e154
|
Enhance performance by correcting malformed UTF-8 characters in request XML.
|
13 vuotta sitten |
ymlam
|
09610fcebc
|
Added commented code which could help in debugging the processing of requests containing non UTF-8 characters like A-umlaut.
|
13 vuotta sitten |
ymlam
|
1c6ff2741a
|
Removed constants which are determined by the particular CommEngine.
|
13 vuotta sitten |
ymlam
|
56ee1f07f4
|
Renamed RECIPIENT_ADDR_ERROR to ADDRESS_ERROR to be compatible with what the front end uses.
|
13 vuotta sitten |
ymlam
|
2549f8a6a8
|
Added broadcast receive time.
|
13 vuotta sitten |
ymlam
|
e041f199a7
|
Added reading of these parameters in configuration properties file:
dead_broadcast_viewing_period = 10
service_threadpool_size = 4
postback_threadpool_size = 3
postback_max_queue_size = 1999
postback_max_batch_size = 99
|
13 vuotta sitten |
ymlam
|
93217089fb
|
Restructure architecture to concentrate defining value of activity_record_id name in only one place, namely derived class of Broadcast.
|
13 vuotta sitten |
ymlam
|
b173c8d359
|
Fix bug of not destroying threads that monitor stale broadcasts.
|
13 vuotta sitten |
ymlam
|
3abe9c6365
|
Fixed CommEngine and Broadcast status data.
|
13 vuotta sitten |
ymlam
|
1f27100696
|
*** empty log message ***
|
13 vuotta sitten |