Comments (8)
Workaround:
Use the MCAL as normal
Launch MC as normal
Close MCAL
Log in to MC
from connect.
Same workaround #4333
Symptoms are similar in that the MC Client freezes but it happens in a different area of the application.
from connect.
I reproduced the problem on MC 4.3.0 and MCAL 1.3.1 on Windows in AWS Workspaces.
Thread dump from the MC Client process is attached.
5765.dump.txt
from connect.
Ok so this is wild.
Try this process as a workaround:
- Open MCAL
- Set "Show Console" to "Yes"
- Launch MC
- Scroll around in a JS transformer a lot
- The local console will spam errors but MC Client will not lock
Longer test case:
- Open MCAL
- Set "Show Console" to "Yes"
- Launch MC
- Scroll around in a JS transformer a lot
- The local console will spam errors but MC Client will not lock
- Close the console window.
- Scroll around in a JS transformer a lot
- MC Client will still not lock
- Keep this MC Client window open
- Go back to MCAL
- Set "Show Console" to "No"
- Launch a second instance of MC Client
- Scroll around in a JS transformer a lot
- The second instance of MC Client will lock
Having these two instances of the client running should show any differences between the two.
This failure mode seems to be consistent with "AWT-EventQueue-0" #15 prio=6 os_prio=0 tid=0x0000000019bc1800 nid=0x1654 runnable [0x000000001b41e000]
from my earlier thread dump. MC Client is trying to write something but can't.
I got on a video call with @tonygermano and he saw it happen live. What it seems like is that MC Client is looking for stderr or stdout and doesn't have it. Something with how MCAL is launching MC Client isn't letting it write to that output stream.
In Linux or MacOS I would run lsof
and see what streams the process has open. I do not know how to do that in Windows.
from connect.
It sounds like stdout and stderr are getting redirected from the child process even when "Show Console" is set to "No". If that is the case, the buffers likely aren't being read. The buffers will fill and eventually the child writes will block, at least on Windows.
from connect.
If @ab-20-m is right, the child process can hang if the parent process isn't processing the child process's stdout and stderr streams. Odd that the event queue is writing to a file. If we could (officially) look at the source for MCAL we could see hwo they are launching the child process.
It's starting to sound like the process-launch code isn't quite right.
from connect.
@pladesma @lmillergithub I'm pretty sure this is a duplicate of #4333 . Unless RS-9061 was created to handle the ClassCastException rather than the application hang. It's really two different issues.
from connect.
#5789 is another instance of this problem
from connect.
Related Issues (20)
- CSV to HL7 in Mirth - Issue with extraneous information HL7 output HOT 3
- [IDEA] Validate Response Dependability HOT 6
- [BUG] Your Issue TitleFailed to connect to 127.0.0.1 port 8443: Connection refused ,,when i try to connect with mirth connect
- [BUG] Set "Response Timeout" to a channelMap in a TCP Sender HOT 2
- [BUG] GUID generation not very random HOT 4
- Mirth service is not getting restarted HOT 4
- [BUG] Ability to restart subsystems related to logging in HOT 13
- [BUG] MirthConnect Version 4.5.0 - Java 17 - Web Service Sender - button "Get Operations" fails if authentication is needed HOT 13
- DestinationSetFilter-name is not consistent with the Generated Script HOT 1
- [BUG] Error when adding custom metadata HOT 1
- [BUG] Loading statistics and deploying channels slow on service restart HOT 4
- [IDEA] Polling per channel, Advanced Clustering
- [BUG] 4.5.0 - API - /channels/{channelId}/messages/{messageId} HOT 20
- Alphabetize Dependencies within source tab
- Need guidance on how we can connect to Azure service bus and able to send the message to ASB queue through JMSSender as one of the destination HOT 1
- [BUG] Custom metadata columns are always formatted using toString() in the message browser.
- [BUG] `java.lang.LinkageError` loading `javax.xml.namespace.QName` HOT 1
- [BUG] JSON parse FHIR resources error using Hapi FHIR HOT 2
- [IDEA] Read server name and environment name from ENV VARS
- [SECURITY] Possible 0-Day Path Traversal Vulnerability in Mirth Connect Administrator HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connect.