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 ♦
4163612
accept rate: 6%

edited 24 Mar '17, 14:47


« previous12

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

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 ♦
4163612
accept rate: 6%

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 ♦♦
9995714
accept rate: 10%

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:

×493

question asked: 16 Mar '17, 13:33

question was seen: 10,674 times

last updated: 08 May '18, 15:59