Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database Tasks don't work on PostgreSQL 9.6 #3995

Closed
rbeckman-nextgen opened this issue Nov 12, 2019 · 3 comments
Closed

Database Tasks don't work on PostgreSQL 9.6 #3995

rbeckman-nextgen opened this issue Nov 12, 2019 · 3 comments
Milestone

Comments

@rbeckman-nextgen
Copy link
Owner

It appears this is a bug in the PostgreSQL JDBC driver:

The solution appears to be to upgrade to the latest version of the driver.

Imported Issue. Original Details:
Reporter: narupley
Created: 2016-11-10T11:44:25.000-0800

@rbeckman-nextgen rbeckman-nextgen added this to the 3.5.0 milestone Nov 12, 2019
@rbeckman-nextgen
Copy link
Owner Author

Revision 8137: Updated the PostgreSQL JDBC driver to the latest 4.1 (JRE 7 compatible) release.

Imported Comment. Original Details:
Author: narupley
Created: 2016-11-10T12:18:58.000-0800

@rbeckman-nextgen
Copy link
Owner Author

The forum thread [here|http://www.mirthcorp.com/community/forums/showthread.php?t=216632] mentions a separate error occurring in logs, possibly related to autovacuuming and ASLR. I haven't been able to reproduce it, but worth looking into in case it's related. Test on appliances as well.

Imported Comment. Original Details:
Author: narupley
Created: 2016-11-10T12:51:50.000-0800

@rbeckman-nextgen
Copy link
Owner Author

OS(s) and JRE version: virtual Window 7 with JRE version 1.8.0_111-b14
Version(s)/Build(s) to reproduce failure: mirthconnect-3.4.2.8129.b167-windows-x64
Version(s)/Build(s) to verify fixes: mirthconnect-3.5.0.8156.b2066-windows-x64
PostgreSQL version: postgresql-9.6.1-1-windows-x64.exe
How Tested:

Install Postgres 9.6.1 (including pgadmin 4)

Using pgadmin to Create "mirthdb" database in Postgres

Launch MC server using postgres for mirthdb (database.url = jdbc:postgresql://localhost:5434/mirthdb)

Create a channel (channel read/writer)

Deploy channel

In Channels view, locate channel local ID (should be 1)

From pgadmin, expand mirthdb > Schemas > public > Tables > d_mm1 > Indexes > Select "d_mm1_index3" , then select "Delete/Drop"

Back to MC administrator > Settings > Database Tasks > Refresh, expect to see Task Name "Add Metadata Index"

Select Run Task and verify Task completes successfully

Observed Failure:
In MC 342, NOT able to view Database task
{code}ERROR 2017-01-05 09:49:20,051 [AWT-EventQueue-2] com.mirth.connect.client.ui.Frame: Error loading database tasks: com.mirth.connect.client.core.ClientException: {code}

Verified Fixed:
Able to open Database task and Run Task successfully
Tested successfully with the following tasks:

Add Metadata Index

Remove Old Pre-3.3 Code Template table

Remove Old 2.x Message Table

Imported Comment. Original Details:
Author: minht
Created: 2017-01-05T13:24:28.000-0800

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant