---
title: "[SOLVED] Failing installation of Collect on Ubuntu 16.04 (64-bits)"
url: "https://openforis.support/questions/1163/solved-failing-installation-of-collect-on-ubuntu-1604-64-bits"
tags: ["collect"]
status: "answered"
score: 0
answer_count: 13
asked: "2017-03-16T13:33:14"
last_activity: "2018-05-08T15:59:44"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# [SOLVED] Failing installation of Collect on Ubuntu 16.04 (64-bits)

Asked by lecrabe on 2017-03-16

Dear all,

I know there is a thread on installing Collect in LINUX environment but it is several months old so I take the initiative to start another one.

The latest installer for Linux (3.12.24) doesn't work for me. I run Ubuntu 16.04 in 64-bits

    > uname -a
    > Linux dannunzio-HP-EliteBook-820-G3 4.8.0-41-generic #44~16.04.1-Ubuntu SMP Fri Mar 3 17:11:16 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Installation seems to go fine, no error message. Collect gets installed on my ~/ rather than /opt/ but I get the desktop links and all seems fine. 

I made all repository executable but whenever I try to start Collect the HTML page fails, I suspect the server is not starting.

Could someone help me sort that out ?

Thanks


## Answer (score 2, by Stefano (OF) on 2017-03-20)

Link: https://openforis.support/questions/1163/solved-failing-installation-of-collect-on-ubuntu-1604-64-bits/1174

Hi,  
We are currently working on a new simplified installer for Collect that will use an embedded Jetty server instead of Tomcat.  
Please be patient, the installer will be ready and available in our website by tomorrow.  
Thanks,  
Open Foris Team


## Answer (score 1, by Stefano (OF) on 2017-03-24)

Link: https://openforis.support/questions/1163/solved-failing-installation-of-collect-on-ubuntu-1604-64-bits/1193

Dear Rémi,  
We finalized the installer for Linux 64 bit and it's available in our website, please [download it][1] and let us know if you still have problem running Collect on your environment. Also please have a look to the updated documentation on how to use the new **Collect Control Panel**.  
Many thanks,  
Open Foris Team


  [1]: http://www.openforis.org/nexus/service/local/artifact/maven/redirect?r=releases&g=org.openforis.collect&a=collect-installer&v=LATEST&c=linux-x64&e=run

> Dear Stefano Up and running, many thanks for support Works just fine (lecrabe)

## Answer (score 0, by Open Foris on 2017-03-16)

Link: https://openforis.support/questions/1163/solved-failing-installation-of-collect-on-ubuntu-1604-64-bits/1164

What is the URL address that is shown in the browser when it is opened?

There has been a change on the last version of Collect (using port 8380 by default in the server) that might affect the workflow (as Collect might be opeining the browser using the 8080 "old" port.

Can you also post the contents of the log file??
 
Should be found at **~/openforis/collect/tomcat/logs**


## Answer (score 0, by lecrabe on 2017-03-16)

Link: https://openforis.support/questions/1163/solved-failing-installation-of-collect-on-ubuntu-1604-64-bits/1165

Hi

it opens in 8380, may be a problem
There are several log files: 

two which contain something  (catalina) and then 5 that are empty (hostmanager, localhost, manager, mondrian, saiku)

The message from the catalina log suggest that Collect is trying to find the java library in i386 but I am functioning on 64-bits so maybe that is the issue ?

Here is my Java version:

    dannunzio@dannunzio-HP-EliteBook-820-G3:~$ java -version
    openjdk version "1.8.0_121"
    OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13)
    OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)



LOGS are below


catalina.2017-03-16.log 

    Mar 16, 2017 11:10:06 AM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production  environments was not found on the java.library.path: /usr/java/packages/lib/i386:/lib:/usr/lib
    Mar 16, 2017 11:10:30 AM org.apache.catalina.core.AprLifecycleListener init
     INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/i386:/lib:/usr/lib

catalina.out

    Mar 16, 2017 11:10:06 AM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/i386:/lib:/usr/lib
    java.lang.UnsatisfiedLinkError: /home/dannunzio/OpenForis/Collect/java/lib/i386/libawt_xawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
    	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
    	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
    	at java.lang.Runtime.load0(Runtime.java:809)
    	at java.lang.System.load(System.java:1086)
    	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
    	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
    	at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    	at java.lang.System.loadLibrary(System.java:1122)
    	at java.awt.Toolkit$3.run(Toolkit.java:1636)
    	at java.awt.Toolkit$3.run(Toolkit.java:1634)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
    	at java.awt.Toolkit.<clinit>(Toolkit.java:1668)
    	at sun.awt.AppContext$2.run(AppContext.java:277)
    	at sun.awt.AppContext$2.run(AppContext.java:266)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.awt.AppContext.initMainAppContext(AppContext.java:266)
    	at sun.awt.AppContext.access$400(AppContext.java:135)
    	at sun.awt.AppContext$3.run(AppContext.java:321)
    	at sun.awt.AppContext$3.run(AppContext.java:304)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.awt.AppContext.getAppContext(AppContext.java:303)
    	at javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:154)
    	at javax.imageio.ImageIO.<clinit>(ImageIO.java:66)
    	at org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent(JreMemoryLeakPreventionListener.java:259)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
    	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:99)
    	at org.apache.catalina.startup.Catalina.load(Catalina.java:633)
    	at org.apache.catalina.startup.Catalina.load(Catalina.java:658)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
    Mar 16, 2017 11:10:30 AM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/i386:/lib:/usr/lib
    java.lang.UnsatisfiedLinkError: /home/dannunzio/OpenForis/Collect/java/lib/i386/libawt_xawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
    	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
    	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
    	at java.lang.Runtime.load0(Runtime.java:809)
    	at java.lang.System.load(System.java:1086)
    	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
    	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
    	at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    	at java.lang.System.loadLibrary(System.java:1122)
    	at java.awt.Toolkit$3.run(Toolkit.java:1636)
    	at java.awt.Toolkit$3.run(Toolkit.java:1634)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
    	at java.awt.Toolkit.<clinit>(Toolkit.java:1668)
    	at sun.awt.AppContext$2.run(AppContext.java:277)
    	at sun.awt.AppContext$2.run(AppContext.java:266)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.awt.AppContext.initMainAppContext(AppContext.java:266)
    	at sun.awt.AppContext.access$400(AppContext.java:135)
    	at sun.awt.AppContext$3.run(AppContext.java:321)
    	at sun.awt.AppContext$3.run(AppContext.java:304)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.awt.AppContext.getAppContext(AppContext.java:303)
    	at javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:154)
    	at javax.imageio.ImageIO.<clinit>(ImageIO.java:66)
    	at org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent(JreMemoryLeakPreventionListener.java:259)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
    	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:99)
    	at org.apache.catalina.startup.Catalina.load(Catalina.java:633)
    	at org.apache.catalina.startup.Catalina.load(Catalina.java:658)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)


## Answer (score 0, by Open Foris on 2017-03-16)

Link: https://openforis.support/questions/1163/solved-failing-installation-of-collect-on-ubuntu-1604-64-bits/1166

Can you try starting the server manually??

Go to ~/OpenForis/Collect and stype ./start.sh , afterwards open the broser and navigate to the Collect URL :

http://localhost:8080/collect or http://localhost:8380/collect/

> Dear, Any further help on that side ? I am still stuck and unable to use Collect ... Thanks (lecrabe)

## Answer (score 0, by lecrabe on 2017-03-16)

Link: https://openforis.support/questions/1163/solved-failing-installation-of-collect-on-ubuntu-1604-64-bits/1167

Hey,

thanks for support

Like I said, I have tried many things to start the server, including manually

    ~/OpenForis/Collect$ ./start.sh 
    Using CATALINA_BASE:   /home/dannunzio/OpenForis/Collect/tomcat
    Using CATALINA_HOME:   /home/dannunzio/OpenForis/Collect/tomcat
    Using CATALINA_TMPDIR: /home/dannunzio/OpenForis/Collect/tomcat/temp
    Using JRE_HOME:        /home/dannunzio/OpenForis/Collect/java
    Using CLASSPATH:       /home/dannunzio/OpenForis/Collect/tomcat/bin/bootstrap.jar:/home/dannunzio/OpenForis/Collect/tomcat/bin/tomcat-juli.jar
    touch: cannot touch '/home/dannunzio/OpenForis/Collect/tomcat/logs/catalina.out': Permission denied
    /home/dannunzio/OpenForis/Collect/tomcat/bin/catalina.sh: 389: /home/dannunzio/OpenForis/Collect/tomcat/bin/catalina.sh: cannot create /home/dannunzio/OpenForis/Collect/tomcat/logs/catalina.out: Permission denied
    [4552:4552:0316/183648.597752:ERROR:child_thread_impl.cc(762)] Request for unknown Channel-associated interface: ui::mojom::GpuMain

But then the 8380 or 8080 don't open the Collect page

> oh, and it also crashes when I "sudo ./start.sh". Dont know what to do (lecrabe)

## Answer (score 0, by Stefano (OF) on 2017-03-22)

Link: https://openforis.support/questions/1163/solved-failing-installation-of-collect-on-ubuntu-1604-64-bits/1180

Hi Remi,  
Please try to download the latest version of Collect (3.12.25) and please have a look to the updated documentation on our website. There is a new Control Panel that will make the startup/shutdown process easier and should work fine even for Linux.  
Many thanks,  
Open Foris Team


## Answer (score 0, by lecrabe on 2017-03-22)

Link: https://openforis.support/questions/1163/solved-failing-installation-of-collect-on-ubuntu-1604-64-bits/1182

Hi and thanks for the update
Unfortunately, it still doesn't go through
Installation goes all fine, shortcuts created and no error message.

But when I double click the shortcuts nothing happens (no Control Panel)

And when running the launcher.run I get the following errors.

**~/OpenForis/Collect$ sudo ./OpenForisCollect-launcher.run**

    Graphics Device initialization failed for :  es2, sw
    Error initializing QuantumRenderer: no suitable pipeline found
    java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no   suitable pipeline found

I tried to install the GTK libraries (**libswt-gtk-3-java** and **libgtk-3-dev**) but it didn't change any of that problem.

Still stuck, please help !

> I suspect again the fact that I have linux 64-bits may be the issue: in the local Java folder of OpenForis, there is only a i386 version, could that be why ? (lecrabe)

## Answer (score 0, by Stefano (OF) on 2017-03-22)

Link: https://openforis.support/questions/1163/solved-failing-installation-of-collect-on-ubuntu-1604-64-bits/1184

Hi Remi,  
I'm using the same environment as your without problems...  
Adding libswt-gtk-3-java should be enough to solve your problem... Anyway if you want you can use our online installation: [www.openforis.org/collect][1] and access it with username "demo" and password "demo123" (be careful to not put sensitive data there because it will be visible to everyone has access to the demo installation...). 
Instead if you want to use it locally, try to use the collect.war file in the webapps folder and lut it into a Tomcat installation, then configure a jndi resource for the "collect" context using the parameters you find in the collect.properties file (use this file as an example: [collect.xml][2]  
Let us know thanks!  
Open Foris Team


  [1]: http://www.openforis.org/collect
  [2]: https://raw.githubusercontent.com/openforis/collect/master/collect-assembly/src/main/assembly/resources/tomcat/conf/Catalina/localhost/collect.xml


## Answer (score 0, by collectearth on 2017-03-22)

Link: https://openforis.support/questions/1163/solved-failing-installation-of-collect-on-ubuntu-1604-64-bits/1185

This is the message I get on a fresh Ubuntu-64 installation

    openforis@openforis-VirtualBox:~/OpenForis/Collect$ ./OpenForisCollect-launcher.run 
    Graphics Device initialization failed for :  es2, sw
    Error initializing QuantumRenderer: no suitable pipeline found
    java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
    	at com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:280)
    	at com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:221)
    	at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:205)
    	at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:209)
    	at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:675)
    	at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:337)
    	at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
    Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
    	at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:94)
    	at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124)
    	at java.lang.Thread.run(Thread.java:745)
    Exception in thread "main" java.lang.reflect.InvocationTargetException
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
    Caused by: java.lang.RuntimeException: No toolkit found
    	at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:217)
    	at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:209)
    	at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:675)
    	at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:337)
    	at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
    	... 5 more
    openforis@openforis-VirtualBox:~/OpenForis/Collect$


## Answer (score 0, by lecrabe on 2017-03-23)

Link: https://openforis.support/questions/1163/solved-failing-installation-of-collect-on-ubuntu-1604-64-bits/1186

@collectearth, We get the same error, which in a way is good news because it means a reproducible problem. Thanks for reporting

@OF Collect, could it be possible to get some more information on your configuration and why it works on yours and not ours ?

There is most likely a couple of libraries that are missing from a fresh Ubuntu 64-bits. Any chance to have a more interactive session to try to find out which ?

Dummy question: do you need to have Java installed first ?

help still very much needed, using the online installation is not an option (for ownership reasons) and I got lost at your last instructions for local version

Thanks in advance


## Answer (score 0, by Stefano (OF) on 2017-03-23)

Link: https://openforis.support/questions/1163/solved-failing-installation-of-collect-on-ubuntu-1604-64-bits/1189

Hi Remi,  
I have a Ubuntu 16.04.2 LTS 64-bit and I have installed the libraries libgtk2.0-0 and libgtk3-0. This can make the difference between our configurations.  
Anyway, we will change the control panel so that no additional libraries will be required in Linux. The new version will be ready by tomorrow.   
Thanks a lot,  
Open Foris Team


## Answer (score 0, by muhammad on 2018-05-01)

Link: https://openforis.support/questions/1163/solved-failing-installation-of-collect-on-ubuntu-1604-64-bits/1768

Hi 
I am getting the same error on version collect-installer-3.21.12-linux.run

When I run ./OpenForisCollect-launcher.run , following error appears


Graphics Device initialization failed for :  es2, sw
Error initializing QuantumRenderer: no suitable pipeline found
java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
	at com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:280)
	at com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:221)
	at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:205)
	at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:209)
	at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:675)
	at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:337)
	at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
	at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:94)
	at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124)
	at java.lang.Thread.run(Thread.java:745)
Exception in thread "main" java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
Caused by: java.lang.RuntimeException: No toolkit found
	at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:217)
	at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:209)
	at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:675)
	at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:337)
	at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
	... 5 more


I am not using OpenJDK but java-8-oracle version 1.8.0_171 on Ubuntu 16.04.

Note: I installed CollectEarth few weeks back and it is working.

> Sorry, my bad I installed the 32bit version. After some suggestion from Openforis team like installation of two libraries libswt-gtk-3-java, libgtk-3-dev and quick version check I found out that I am not working with 64bit, correct installation solved the issue. (muhammad)
