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 ♦
4163712
accept rate: 5%

edited 24 Mar '17, 14:47


12next »

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

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

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

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

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

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

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

permanent link

answered 16 Mar '17, 13:38

Open%20Foris's gravatar image

Open Foris ♦♦
1.0k5714
accept rate: 10%

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

answered 16 Mar '17, 14:20

lecrabe's gravatar image

lecrabe ♦
4163712
accept rate: 5%

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/

permanent link

answered 16 Mar '17, 17:05

Open%20Foris's gravatar image

Open Foris ♦♦
1.0k5714
accept rate: 10%

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

(20 Mar '17, 11:25) lecrabe ♦ lecrabe's gravatar image

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 ♦
4163712
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

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

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

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 ♦
4163712
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,
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

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

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 ♦
1.0k16
accept rate: 17%

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:

×494

question asked: 16 Mar '17, 13:33

question was seen: 11,546 times

last updated: 08 May '18, 15:59