inbox service: fix javax.mail duplicate jar with jetty

This commit is contained in:
Benjamin Gamard 2018-03-04 16:43:40 +01:00
parent 44a1389dd7
commit f3f21bbf73
2 changed files with 5 additions and 0 deletions

View File

@ -8,5 +8,8 @@ RUN apt-get update && apt-get -y -q install ffmpeg mediainfo tesseract-ocr tesse
ENV TESSDATA_PREFIX /usr/share/tesseract-ocr
ENV LC_NUMERIC C
# Remove the embedded javax.mail jar from Jetty
RUN rm -f /opt/jetty/lib/jndi/javax.mail.glassfish-*.jar
ADD docs.xml /opt/jetty/webapps/docs.xml
ADD docs-web/target/docs-web-*.war /opt/jetty/webapps/docs.war

View File

@ -46,10 +46,12 @@ public class InboxService extends AbstractScheduledService {
@Override
protected void startUp() {
log.info("Inbox service starting up");
}
@Override
protected void shutDown() {
log.info("Inbox service shutting down");
}
@Override