<div dir="ltr">Hi Ana,<div><br></div><div>I would say you can stay with the base jvm inherited from the tomcat image as I show in the previous email.</div><div><br></div><div>Hope this helps</div><div>Francesco</div></div><br><div class="gmail_quote"><div dir="ltr">Il giorno gio 18 ott 2018 alle ore 11:59 Ana Boljevic <<a href="mailto:ana.boljevic@cedis.me">ana.boljevic@cedis.me</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div class="m_471500306078017670WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Dear Francesco,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">We have installed Oracle Java jre inside Geoserver container:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">apt install python-software-properties<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">add-apt-repository ppa:webupd8team/java<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">apt update<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">apt install oracle-java8-installer<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">update-alternatives --config java<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">choose path: /usr/lib/jvm/java-8-oracle/jre/bin/java<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">We saw that in Geoserver container JAVA_HOME is /docker-java-home/jre<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">so we did:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">mv /docker-java-home/jre /docker-java-home/jre_orig<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">cp /usr/lib/jvm/java-8-oracle/jre /docker-java-home<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">restart docker stack.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Now Geoserver -> Server Status:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">JVM Version Oracle Corporation: 1.8.0_181 (OpenJDK 64-Bit Server VM)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">:-)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Should we try to install newer version Oracle JRE9/10 ?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><b><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Ana Boljević<u></u><u></u></span></b></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Direkcija za razvoj, pristup mreži i ICT<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Sektor za ICT<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Služba za GIS i tehničku bazu podataka<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><img width="85" height="29" id="m_471500306078017670_x0000_i1030" src="cid:image001.jpg@01D466D7.B4816E10" alt="CEDIS"></span></b><b><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">DOO „Crnogorski elektrodistributivni sistem“ Podgorica<u></u><u></u></span></b></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Ivana Milutinovića br.12, Podgorica<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Tel: +382 20 408 473<u></u><u></u></span></p>
<p class="MsoNormal"><u><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><a href="http://www.cedis.me/" target="_blank"><span style="color:#0563c1">www.cedis.me</span></a><u></u><u></u></span></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#00b050"><img border="0" width="27" height="29" id="m_471500306078017670_x0000_i1029" src="cid:image002.jpg@01D466D7.B4816E10" alt="jelkica"></span><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#00b050">Please
do not print this e-mail unless you really need to<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Ana Boljevic
<br>
<b>Sent:</b> Thursday, October 18, 2018 10:54 AM<br>
<b>To:</b> 'francesco bartoli' <<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>><br>
<b>Cc:</b> geonode-users <<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>>; <a href="mailto:geonode-users-bounces@lists.osgeo.org" target="_blank">geonode-users-bounces@lists.osgeo.org</a><br>
<b>Subject:</b> RE: [GeoNode-users] How to Install Oracle Java Geonode on docker<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Dear Francesco,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">No, we haven't faced any unexpecting behavior from deployment.<br>
>From inside geoserver container we have done:<br>
apt install python-software-properties<br>
add-apt-repository ppa:webupd8team/java<br>
apt update<br>
apt install oracle-java8-installer<br>
update-alternatives --config java<br>
choose path: /usr/lib/jvm/java-8-oracle/jre/bin/java <br>
restart geonode stack.<u></u><u></u></p>
<p class="MsoNormal"><br>
Kind regards,<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Ana Boljević<u></u><u></u></span></b></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Direkcija za razvoj, pristup mreži i ICT<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Sektor za ICT<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Služba za GIS i tehničku bazu podataka<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><img border="0" width="85" height="29" id="m_471500306078017670Picture_x0020_1" src="cid:image001.jpg@01D466D7.B4816E10" alt="CEDIS"></span></b><b><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">DOO „Crnogorski elektrodistributivni sistem“ Podgorica<u></u><u></u></span></b></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Ivana Milutinovića br.12, Podgorica<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Tel: +382 20 408 473<u></u><u></u></span></p>
<p class="MsoNormal"><u><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><a href="http://www.cedis.me/" target="_blank"><span style="color:#0563c1">www.cedis.me</span></a><u></u><u></u></span></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#00b050"><img border="0" width="27" height="29" id="m_471500306078017670Picture_x0020_2" src="cid:image002.jpg@01D466D7.B4816E10" alt="jelkica"></span><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#00b050">Please
do not print this e-mail unless you really need to<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> francesco bartoli [<a href="mailto:xbartolone@gmail.com" target="_blank">mailto:xbartolone@gmail.com</a>]
<br>
<b>Sent:</b> Thursday, October 18, 2018 9:53 AM<br>
<b>To:</b> Ana Boljevic <<a href="mailto:ana.boljevic@cedis.me" target="_blank">ana.boljevic@cedis.me</a>><br>
<b>Cc:</b> geonode-users <<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>>;
<a href="mailto:geonode-users-bounces@lists.osgeo.org" target="_blank">geonode-users-bounces@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [GeoNode-users] How to Install Oracle Java Geonode on docker<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Dear Ana,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">JVM is supposed to be JRE8 as you can see here <a href="https://github.com/GeoNode/geoserver-docker/blob/master/Dockerfile#L1" target="_blank">https://github.com/GeoNode/geoserver-docker/blob/master/Dockerfile#L1</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">So the message from the server status is correct, actually I don't know why you are getting that output from inside the container. Let me investigate more, anyway are you facing any wrong behavior from your deployment?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Francesco<u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Il giorno gio 18 ott 2018 alle ore 07:30 Ana Boljevic <<a href="mailto:ana.boljevic@cedis.me" target="_blank">ana.boljevic@cedis.me</a>> ha scritto:<u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal">Dear Geonode community,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">We have made fresh Geonode installation on docker (master branch), version 2.10rc4.<u></u><u></u></p>
<p class="MsoNormal">In Geoserver container, we have made Oracle Java JDK 9 installation. Inside Geoserver container, output of command "java -version" is:<u></u><u></u></p>
<p class="MsoNormal">root@8d03005bc67f:/usr/local/tomcat/tmp# java -version<u></u><u></u></p>
<p class="MsoNormal">java version "9.0.4"<u></u><u></u></p>
<p class="MsoNormal">Java(TM) SE Runtime Environment (build 9.0.4+11)<u></u><u></u></p>
<p class="MsoNormal">Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)<u></u><u></u></p>
<p class="MsoNormal">But in the Geoserver -> Server Status page (see attachment):<u></u><u></u></p>
<p class="MsoNormal">JVM Version: Oracle Corporation: 1.8.0_181 (OpenJDK 64-Bit Server VM).<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Does anyone know how to help? Thanks in advance
<span style="font-family:Wingdings">J</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Kind regards,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><b><span lang="SR-LATN-ME" style="color:#1f497d">Ana Boljević</span></b><u></u><u></u></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="color:#1f497d">Direkcija za razvoj, pristup mreži i ICT</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="color:#1f497d">Sektor za ICT</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="color:#1f497d">Služba za GIS i tehničku bazu podataka</span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="color:#1f497d"><img border="0" width="85" height="29" id="m_471500306078017670m_2638167302462353628Picture_x0020_1" alt="CEDIS"></span></b><u></u><u></u></p>
<p class="MsoNormal"><b><span lang="SR-LATN-ME" style="color:#1f497d">DOO „Crnogorski elektrodistributivni sistem“ Podgorica</span></b><u></u><u></u></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="color:#1f497d">Ivana Milutinovića br.12, Podgorica</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="color:#1f497d">Tel: +382 20 408 473</span><u></u><u></u></p>
<p class="MsoNormal"><u><span lang="SR-LATN-ME" style="color:#1f497d"><a href="http://www.cedis.me/" target="_blank"><span style="color:#0563c1">www.cedis.me</span></a></span></u><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#00b050"><img border="0" width="27" height="29" id="m_471500306078017670m_2638167302462353628Picture_x0020_2" alt="jelkica"></span><span lang="SR-LATN-ME" style="color:#00b050">Please
do not print this e-mail unless you really need to</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-users</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>
</blockquote></div>