<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Dear Francesco,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></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:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">apt install python-software-properties<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">add-apt-repository ppa:webupd8team/java<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">apt update<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">apt install oracle-java8-installer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">update-alternatives --config java<o:p></o:p></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<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></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<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">so we did:<o:p></o:p></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<o:p></o:p></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<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">restart docker stack.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Now Geoserver -> Server Status:<o:p></o:p></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)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">:-)<o:p></o:p></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 ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><b><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:SR-LATN-ME">Ana Boljević<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:SR-LATN-ME">Direkcija za razvoj, pristup mreži i ICT<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:SR-LATN-ME">Sektor za ICT<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:SR-LATN-ME">Služba za GIS i tehničku bazu podataka<o:p></o:p></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="_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;mso-fareast-language:SR-LATN-ME"><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:SR-LATN-ME">DOO „Crnogorski elektrodistributivni sistem“ Podgorica<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:SR-LATN-ME">Ivana Milutinovića br.12, Podgorica<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:SR-LATN-ME">Tel: +382 20 408 473<o:p></o:p></span></p>
<p class="MsoNormal"><u><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:SR-LATN-ME"><a href="http://www.cedis.me/"><span style="color:#0563C1">www.cedis.me</span></a><o:p></o:p></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="_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;mso-fareast-language:SR-LATN-ME">Please
do not print this e-mail unless you really need to<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></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' <xbartolone@gmail.com><br>
<b>Cc:</b> geonode-users <geonode-users@lists.osgeo.org>; geonode-users-bounces@lists.osgeo.org<br>
<b>Subject:</b> RE: [GeoNode-users] How to Install Oracle Java Geonode on docker<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dear Francesco,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></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.<o:p></o:p></p>
<p class="MsoNormal"><br>
Kind regards,<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:SR-LATN-ME">Ana Boljević<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:SR-LATN-ME">Direkcija za razvoj, pristup mreži i ICT<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:SR-LATN-ME">Sektor za ICT<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:SR-LATN-ME">Služba za GIS i tehničku bazu podataka<o:p></o:p></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="Picture_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;mso-fareast-language:SR-LATN-ME"><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:SR-LATN-ME">DOO „Crnogorski elektrodistributivni sistem“ Podgorica<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:SR-LATN-ME">Ivana Milutinovića br.12, Podgorica<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:SR-LATN-ME">Tel: +382 20 408 473<o:p></o:p></span></p>
<p class="MsoNormal"><u><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:SR-LATN-ME"><a href="http://www.cedis.me/"><span style="color:#0563C1">www.cedis.me</span></a><o:p></o:p></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="Picture_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;mso-fareast-language:SR-LATN-ME">Please
do not print this e-mail unless you really need to<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></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">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">ana.boljevic@cedis.me</a>><br>
<b>Cc:</b> geonode-users <<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>>;
<a href="mailto:geonode-users-bounces@lists.osgeo.org">geonode-users-bounces@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [GeoNode-users] How to Install Oracle Java Geonode on docker<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Dear Ana,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></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">https://github.com/GeoNode/geoserver-docker/blob/master/Dockerfile#L1</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></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?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Francesco<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></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">ana.boljevic@cedis.me</a>> ha scritto:<o:p></o:p></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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Dear Geonode community,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">We have made fresh Geonode installation on docker (master branch), version 2.10rc4.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">In Geoserver container, we have made Oracle Java JDK 9 installation. Inside Geoserver container, output of command "java -version" is:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">root@8d03005bc67f:/usr/local/tomcat/tmp# java -version<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">java version "9.0.4"<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Java(TM) SE Runtime Environment (build 9.0.4+11)<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">But in the Geoserver -> Server Status page (see attachment):<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">JVM Version: Oracle Corporation: 1.8.0_181 (OpenJDK 64-Bit Server VM).<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Does anyone know how to help? Thanks in advance
<span style="font-family:Wingdings">J</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Kind regards,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="SR-LATN-ME" style="color:#1F497D">Ana Boljević</span></b><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="SR-LATN-ME" style="color:#1F497D">Direkcija za razvoj, pristup mreži i ICT</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="SR-LATN-ME" style="color:#1F497D">Sektor za ICT</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="SR-LATN-ME" style="color:#1F497D">Služba za GIS i tehničku bazu podataka</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="color:#1F497D"><img border="0" width="85" height="29" id="m_2638167302462353628Picture_x0020_1" src="cid:image001.jpg@01D466B2.E98D4B30" alt="CEDIS"></span></b><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="SR-LATN-ME" style="color:#1F497D">DOO „Crnogorski elektrodistributivni sistem“ Podgorica</span></b><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="SR-LATN-ME" style="color:#1F497D">Ivana Milutinovića br.12, Podgorica</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="SR-LATN-ME" style="color:#1F497D">Tel: +382 20 408 473</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#00B050"><img border="0" width="27" height="29" id="m_2638167302462353628Picture_x0020_2" src="cid:image002.jpg@01D466B2.E98D4B30" alt="jelkica"></span><span lang="SR-LATN-ME" style="color:#00B050">Please
do not print this e-mail unless you really need to</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></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><o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>