Skip to content

Commit a27c7a1

Browse files
joshmc82tonygermano
authored andcommitted
Allow jetty to find webapps after version update
updated setWar method to use full context path to support new Jetty version Cherry-picked-from: Innovar-Healthcare/BridgeLink@388cd0b Issue: Innovar-Healthcare/BridgeLink#65 Signed-off-by: Tony Germano <[email protected]>
1 parent d925e2d commit a27c7a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/com/mirth/connect/server/MirthWebServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ public boolean accept(File file) {
319319

320320
logger.debug("webApp Context Path: " + webapp.getContextPath());
321321

322-
webapp.setWar(file.getPath());
322+
webapp.setWar(file.getAbsolutePath());
323323
handlers.addHandler(webapp);
324324
webapps.add(webapp);
325325
}
@@ -852,4 +852,4 @@ public void handle(String target, Request baseRequest, HttpServletRequest reques
852852
baseRequest.setHandled(true);
853853
}
854854
}
855-
}
855+
}

0 commit comments

Comments
 (0)