View Issue Details

IDProjectCategoryView StatusLast Update
0005583SymmetricDSImprovementpublic2022-11-30 19:49
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.14.0 
Target Version3.14.3Fixed in Version3.14.3 
Summary0005583: Service wrapper wait for "started" message instead of 5 second timeout
DescriptionThe service wrapper currently runs the server process and waits 5 seconds to make sure it's running without exiting. The approach means 1) always waiting 5 seconds when it could start faster, and 2) relying on timing is not reliable. Instead, let's add a property named wrapper.app.output.start with a message to look for in standard output of the server process that indicates it has successfully started. When looking for the start message, it will still output a period (.) each 500 milliseconds of waiting and a colon (:) for each line of standard output that it reads. Instead of setting the service status to "RUNNING" immediately, it will wait until it finds the start message.

Waiting for server to start
...:...:
Started
Tagswrapper

Relationships

related to 0001960 closedelong Service start script always waits for 5s 

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.14 2ea95b2d

2022-11-14 18:50:08

admin

Details Diff
0005583: Service wrapper wait for "started" message instead of 5 second
timeout
Affected Issues
0005583
mod - symmetric-server/src/main/deploy/conf/sym_service.conf Diff File
mod - symmetric-server/src/main/java/org/jumpmind/symmetric/SymmetricLauncher.java Diff File
mod - symmetric-server/src/main/java/org/jumpmind/symmetric/SymmetricWebServer.java Diff File
mod - symmetric-wrapper/src/main/java/org/jumpmind/symmetric/wrapper/Wrapper.java Diff File
mod - symmetric-wrapper/src/main/java/org/jumpmind/symmetric/wrapper/WrapperConfig.java Diff File
mod - symmetric-wrapper/src/main/java/org/jumpmind/symmetric/wrapper/WrapperService.java Diff File

Issue History

Date Modified Username Field Change
2022-11-14 18:45 elong New Issue
2022-11-14 18:45 elong Status new => assigned
2022-11-14 18:45 elong Assigned To => elong
2022-11-14 18:45 elong Tag Attached: wrapper
2022-11-14 18:45 elong Relationship added related to 0001960
2022-11-14 18:50 elong Summary Service wrapper wait for "started" message instead of 5 second timout => Service wrapper wait for "started" message instead of 5 second timeout
2022-11-14 18:51 elong Status assigned => resolved
2022-11-14 18:51 elong Resolution open => fixed
2022-11-14 18:51 elong Fixed in Version => 3.14.4
2022-11-14 19:00 admin Changeset attached => SymmetricDS 3.14 2ea95b2d
2022-11-28 13:04 elong Fixed in Version 3.14.4 => 3.14.3
2022-11-28 13:04 elong Target Version 3.14.4 => 3.14.3
2022-11-30 19:49 admin Status resolved => closed