Comments (5)
The relevant code is at:
--- Is your channel with the mapped value enabled or disabled? Is it deployed or undeployed? --- NVM I see it is started so it has to be enabled and deployed
If you call the /channel/portsInUse
API do you get back your mapped port?
The API actually does a DB lookup -
connect/donkey/donkeydbconf/postgres.xml
Line 197 in e0db549
For comparison, I wrote a plugin that adds the listening port to the dashboard view. You can see how my code does the template substitution at https://github.com/jonbartels/mirth-connect-dashboard-count/blob/bda790c9577ccb3f8d6bd8c8c7bd3dddfdf5b58a/server/src/main/java/com/jonbartels/mirthdashboard/server/servlet/ListeningPortServlet.java#L31 . I don't see where the ports in use listing from MC 4.2.0 does a similar template replacement. Note that my plugin is sensitive to deployment state.
from connect.
The logs were helpful. The problem is on this line: https://github.com/nextgenhealthcare/connect/blob/442b0895ab988071a294b5fda68b59474a4de8b7/donkey/src/main/java/com/mirth/connect/donkey/server/data/jdbc/JdbcDao.java#L3115\
See how it converts a string from the DB to an int? It reads ${AmaronFoundaBug}
and tries to convert that to an int.
NextGen needs to release 4.2.1 to fix this.
@AmaronSimonDeSmet - Great bug report. It sucks to find bugs but you wrote up the issue clearly and that helped to find the issue. Nice work and thanks for helping the community!
from connect.
Tagging @pladesma and @twest-mirthconnect .
from connect.
Thanks to both. We have the big and are in review with it.
from connect.
yes i have a fix for this issue. the string variables will be pulled in from the database then will be passed to the replacer module which will convert the velocity variable to its context value.
from connect.
Related Issues (20)
- [BUG] Error "oracle.jdbc.OracleDatabaseException: ORA-00984: column not allowed here" upgrading or installing on Oracle 11g
- [BUG] SSL used without being configured HOT 3
- [BUG] Mirth Versions 4.4.1 and 4.4.2 custom-lib folder needs to be empty for web service listener channel to start HOT 7
- [BUG] 4.4.2 not stating `Please define INSTALL4J_JAVA_HOME`
- Upgrading mirth 3.5.2 to 4.4.2 failed to start HOT 7
- mirth connect and MySQL compatibility HOT 1
- How to upgrade mirth connect version 3.5.2 to version 4.4.2 HOT 2
- [BUG] MacOS installer is sensitive to architecture. It requires an x86 JVM
- [IDEA] Display last sent datetime on dashboard HOT 28
- The database log file is too large to clean up (sqlserver) HOT 6
- Mirth TCP LLP channels getting froze sometimes and message stuck in received state
- Apple M2 Mirth Connect JDK17 issue HOT 7
- how the license.lic in mirth-client.jar generate,i compile the code with ant ,but there's none,i see others mirthconnect got one HOT 1
- [IDEA] On the Dashboard Allow Columns that are sourced from $gc vars.
- [IDEA] Allow configuring admin username and password using environment variables HOT 1
- [IDEA] Auto complete Java native and 3rd party libraries
- [BUG] Mirth 4.0,1 VDI unexpectedly stops writing to mirth.log HOT 6
- [BUG] Frame needs to load Extensions sooner
- [BUG] TCP receiver connector fails with UTF16-BE encoding using double byte MLLP HOT 7
- Health Checks for Mirth Connect server behind an Elastic Load Balancer in AWS 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.