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

asked 16 Mar '17, 13:33

lecrabe's gravatar image

lecrabe ♦
3712511
accept rate: 5%

edited 24 Mar '17, 14:47


12next »

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.

permanent link

answered 01 May '18, 13:57

muhammad's gravatar image

muhammad
111
accept rate: 0%

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.

(08 May '18, 15:59) muhammad muhammad's gravatar image

Dear Rémi,
We finalized the installer for Linux 64 bit and it's available in our website, please download it 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

permanent link

answered 24 Mar '17, 14:39

OF%20Collect's gravatar image

OF Collect ♦♦
2.6k8
accept rate: 21%

Dear Stefano Up and running, many thanks for support Works just fine

(24 Mar '17, 14:46) lecrabe ♦ lecrabe's gravatar image

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

permanent link

answered 23 Mar '17, 12:08

OF%20Collect's gravatar image

OF Collect ♦♦
2.6k8
accept rate: 21%

@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

permanent link

answered 23 Mar '17, 08:48

lecrabe's gravatar image

lecrabe ♦
3712511
accept rate: 5%

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$
permanent link

answered 22 Mar '17, 23:02

collectearth's gravatar image

collectearth ♦
63015
accept rate: 15%

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 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
Let us know thanks!
Open Foris Team

permanent link

answered 22 Mar '17, 19:23

OF%20Collect's gravatar image

OF Collect ♦♦
2.6k8
accept rate: 21%

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 !

permanent link

answered 22 Mar '17, 18:12

lecrabe's gravatar image

lecrabe ♦
3712511
accept rate: 5%

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 ?

(22 Mar '17, 18:15) lecrabe ♦ lecrabe's gravatar image

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

permanent link

answered 22 Mar '17, 17:10

OF%20Collect's gravatar image

OF Collect ♦♦
2.6k8
accept rate: 21%

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

permanent link

answered 20 Mar '17, 16:33

OF%20Collect's gravatar image

OF Collect ♦♦
2.6k8
accept rate: 21%

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

permanent link

answered 16 Mar '17, 18:37

lecrabe's gravatar image

lecrabe ♦
3712511
accept rate: 5%

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

(20 Mar '17, 11:26) lecrabe ♦ lecrabe's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×347

question asked: 16 Mar '17, 13:33

question was seen: 4,609 times

last updated: 08 May '18, 15:59