Thanks for your help !

I upgraded Java to version 8 as I said in my first e-mail and I was able to reach https://gbrds.gbif-uat.org/ but the IPT still didn't work.
After some time, I found that /etc/default/tomcat7 was rewriting $JAVA_HOME. So, I changed it and it works fine :-).

If you do something like this (ps -ef | grep tomcat), we will be able to see which version of Java Tomcat use.

Cheers,
Marie

On Tue, Mar 14, 2017 at 8:05 AM, Julien Cigar <julien@perdition.city> wrote:
On Tue, Mar 14, 2017 at 02:35:21PM +0000, Hólmgrímur Helgason wrote:
> Thanks Pieter
>
> Just to remind,  if you are using some other system on the server it is
> possible that system don't support java8.
>
> I'm running Geonetwork 3.0.5 on the same server and it is NOT supporting
> java8!

you should play with JAVA_HOME environment variable, for ex:

$> JAVA_HOME="/usr/local/openjdk7/" ./startup_script
$> JAVA_HOME="/usr/local/openjdk8/" ./another_startup_script

... or you could always import the missing CA root with:
$> keytool -importcert -file ... -keystore /your/jdk/home/jre/lib/secutiry/cacerts

>
> On Tue, Mar 14, 2017 at 2:27 PM, Peter Desmet <peter.desmet.work@gmail.com>
> wrote:
>
> > Thanks all!
> >
> > On 14 March 2017 at 14:57, Pieter Provoost <pieterprovoost@gmail.com>
> > wrote:
> > > For people trying to install or upgrade Java on Ubuntu, this should work
> > for
> > > Ubuntu 14.10 and above:
> > >
> > > sudo apt-get update
> > > sudo apt-get install openjdk-8-jdk
> > > sudo update-alternatives --config java
> > >
> > > If you are on Ubuntu 14.04, do this before apt-get update:
> > >
> > > sudo add-apt-repository ppa:openjdk-r/ppa
> > >
> > > Best regards,
> > > Pieter
> > >
> > > On 14 March 2017 at 14:02, Peter Desmet <peter.desmet.work@gmail.com>
> > wrote:
> > >>
> > >> Hi Matt,
> > >>
> > >> Same problem. I can reach http and https GBRDS from my machine, so not
> > >> a firewall issue. When I do "java -version" I get "java version
> > >> "1.7.0_51", so I guess that is 7 and I need to upgrade to 8? Any good
> > >> tutorial for this and does that mean I'd have to update Tomcat too?
> > >>
> > >> Cheers,
> > >>
> > >> Peter
> > >>
> > >> On 14 March 2017 at 12:23, Matthew Blissett <mblissett@gbif.org> wrote:
> > >> > Dear all,
> > >> >
> > >> > The IPT has changed from accessing the GBIF registry over a non-secure
> > >> > HTTP
> > >> > connection, to using a secure HTTPS connection.  If there is a
> > firewall
> > >> > between your IPT server and the internet, you may need to ask for
> > access
> > >> > through it for secure connections.
> > >> >
> > >> > On the Ubuntu (or other Linux) server, first verify that you can see
> > the
> > >> > registry over a non-secure HTTP connection using this command:
> > >> >
> > >> >     curl http://gbrds.gbif-uat.org/
> > >> >
> > >> > There should be some HTML, ending with "You have connected to the
> > GBRDS
> > >> > API!", and it should appear quickly -- typically in less than a
> > second.
> > >> >
> > >> > Then try again, but with a secure (https) connection:
> > >> >
> > >> >     curl https://gbrds.gbif-uat.org/
> > >> >
> > >> > You should see the same result.  If you do not, you probably need to
> > ask
> > >> > the
> > >> > system administrator to open port 443 on the firewall for you.
> > >> >
> > >> >
> > >> > On a Windows server, you can check both URLs using a web browser.
> > >> >
> > >> >
> > >> > On both Linux and Windows, if you can see the HTTPS page but the IPT
> > >> > still
> > >> > doesn't work, check you are using Java 8.  Java 7 and earlier do not
> > >> > support
> > >> > the newer encryption standards.
> > >> >
> > >> > I've updated the IPT FAQ with this information:
> > >> >
> > >> > https://github.com/gbif/ipt/wiki/FAQ.wiki#7-what-outgoing-
> > connections-does-the-ipt-make
> > >> >
> > >> > Kind regards,
> > >> >
> > >> > Matt
> > >> >
> > >> >
> > >> > On 13/03/17 23:21, Marie Elise Lecoq wrote:
> > >> >
> > >> > Dear all,
> > >> >
> > >> > I tried to update the IPT that we used for training (test mode) with
> > the
> > >> > new
> > >> > version that Kyle sent and I got the same error than Marta.
> > >> > For information, I work with Tomcat 7 and java 8. I'm running the IPT
> > on
> > >> > Ubuntu 14.04.
> > >> >
> > >> > You will find attached the log of the error.
> > >> >
> > >> > Thanks in advance for your help !
> > >> > Best regards,
> > >> > Marie
> > >> >
> > >> >
> > >> > On Mon, Mar 13, 2017 at 11:52 AM, CALDENTEY Marta
> > >> > <MCALDENTEY@mincyt.gob.ar>
> > >> > wrote:
> > >> >>
> > >> >> Dear Kyle,
> > >> >>
> > >> >>
> > >> >>
> > >> >> We have tried to upgrade our UAT environment and we get the following
> > >> >> error.
> > >> >>
> > >> >>
> > >> >>
> > >> >> We also tried to request to https://gbrds.gbif-uat.org but we have
> > no
> > >> >> answer.
> > >> >>
> > >> >>
> > >> >>
> > >> >> Is this environment working?
> > >> >>
> > >> >>
> > >> >>
> > >> >> Kind regards,
> > >> >>
> > >> >> Marta
> > >> >>
> > >> >>
> > >> >>
> > >> >>
> > >> >>
> > >> >>
> > >> >>
> > >> >>
> > >> >> Ing. Marta B. Caldentey
> > >> >>
> > >> >> Direccion de Sistemas de Informacion
> > >> >>
> > >> >> Mincyt
> > >> >>
> > >> >> Int 1014
> > >> >>
> > >> >>
> > >> >>
> > >> >>
> > >> >> _______________________________________________
> > >> >> IPT mailing list
> > >> >> IPT@lists.gbif.org
> > >> >> http://lists.gbif.org/mailman/listinfo/ipt
> > >> >>
> > >> >
> > >> >
> > >> >
> > >> > --
> > >> >
> > >> >
> > >> >
> > >> > _______________________________________________
> > >> > IPT mailing list
> > >> > IPT@lists.gbif.org
> > >> > http://lists.gbif.org/mailman/listinfo/ipt
> > >> >
> > >> >
> > >> >
> > >> > _______________________________________________
> > >> > IPT mailing list
> > >> > IPT@lists.gbif.org
> > >> > http://lists.gbif.org/mailman/listinfo/ipt
> > >> >
> > >> _______________________________________________
> > >> IPT mailing list
> > >> IPT@lists.gbif.org
> > >> http://lists.gbif.org/mailman/listinfo/ipt
> > >
> > >
> > _______________________________________________
> > IPT mailing list
> > IPT@lists.gbif.org
> > http://lists.gbif.org/mailman/listinfo/ipt
> >
>
>
>
> --
> Hólmgrímur Helgason (Hóddi)
> CAFF - Data Manager
> hoddi@caff.is
> +354 462 3357

> _______________________________________________
> IPT mailing list
> IPT@lists.gbif.org
> http://lists.gbif.org/mailman/listinfo/ipt


--
Julien Cigar
Belgian Biodiversity Platform (http://www.biodiversity.be)
PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.

_______________________________________________
IPT mailing list
IPT@lists.gbif.org
http://lists.gbif.org/mailman/listinfo/ipt




--