rbeckman-nextgen / test-mc

test-migration
1 stars 0 forks source link

SqlConfig can't load plugin mapper files when launched from Eclipse #3008

Open rbeckman-nextgen opened 4 years ago

rbeckman-nextgen commented 4 years ago

First, the Server's run configuration in Eclipse needs to start the server from com.mirth.connect.server.launcher.MirthLauncher. However this still fails to install new plugins because it looks for the extensions in ./extensions when it is actually ./bin/extensions when launched from Eclipse.

SqlConfig will then fail to load the MyBatis mapper file specified in the plugin metadata and will halt the server.

Imported Issue. Original Details: Reporter: brentm Created: 2013-11-08T09:19:10.000-0800

rbeckman-nextgen commented 4 years ago

The current workaround to this problem is to manually unzip the plugin in the /extensions folder when launching from Eclipse. The plugin's mapper files will load correctly.

However, the ideal long-term solution would be to have Eclipse start the server from MirthLauncher. We will still need to resolve the problem stated in the description above.

Imported Comment. Original Details: Author: brentm Created: 2013-12-05T16:38:24.000-0800