[Oskari-user] WEB-INF/jsp/index.jsp
Mäkinen Sami (MML)
sami.makinen at maanmittauslaitos.fi
Mon Mar 18 03:48:09 PDT 2019
Hi,
one common reason is that Jetty uses the system default tmp-folder for storing the unzipped versions of the current running webapps. Operating systems tend to have some automagic cleanup of temporary items and there have been some issues before that the automatic cleanup has removed files from the running app. Depending on your system setup you can define a custom temporary folder for Oskari with TMPDIR env variable for Jetty or -Djava.io.tmpdir to Java on the startup script like this:
- https://github.com/oskariorg/sample-configs/blob/master/ansible/jetty9-install/roles/oskari-server/templates/oskari-initdconfig.j2#L11
- https://github.com/oskariorg/sample-configs/blob/master/ansible/jetty9-install/roles/oskari-server/templates/oskari-sysconfig.j2#L17
When you use a custom tmp-folder you need to cleanup the old versions once in a while so your disk doesn't fill up after deploying a new version but you get rid of these kind of issues.
BR,
Sami
Lähettäjä: Oskari-user <oskari-user-bounces at lists.osgeo.org> Puolesta Petri Linna (TAU)
Lähetetty: lauantai 16. maaliskuuta 2019 17.56
Vastaanottaja: Oskari-user at lists.osgeo.org
Aihe: [Oskari-user] WEB-INF/jsp/index.jsp
Hi
There is problem with www.peltodata.fi<http://www.peltodata.fi> service. The oskari UI is not working. Geoserver is working. When you go the peltodata-page, there appears error: "Problem accessing /WEB-INF/jsp/index.jsp. Reason: /WEB-INF/jsp/index.jsp"
Have you any ideas, what causes that and how to fix that?
Best regards, Petri Linna
---
Tampere University of Technology -> Tampere University
PL300, 28100 PORI
work: +358 408262720 -> +358 45 183 9630
@petrilinna
My new email address will be petri.linna at tuni.fi<mailto:petri.linna at tuni.fi>, because of combination of three higher education institution. https://www.tuni.fi/en. Please, update also my phone number.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/oskari-user/attachments/20190318/25be04f9/attachment.html>
More information about the Oskari-user
mailing list