I have been trying for couple of weeks now but could not get a Collect server working on Ubuntu (this is a multi-user environment). I installed a latest Sqlite and postgresql driver but still the same. Can anyone help me with this issue. Note: I'm using latest version of Collect server. I tried on both Tomcat 9 and 10 but still the same. asked 29 Mar '22, 23:05 simiti |
Dear user, answered 29 Mar '22, 23:14 Stefano (OF) ♦♦ Thanks. Which version of tomcat would you prefer best for collect deployment.
(30 Mar '22, 05:30)
simiti
Please use the latest version of Tomcat 9 (9.0.60) until we make Collect work with Tomcat 10 too. Many thanks.
(30 Mar '22, 15:07)
Stefano (OF) ♦♦
Some of the error message. Caused by: javax.naming.NameNotFoundException: Name [jdbc/collectDs] is not bound in this Context. Unable to find [jdbc]. at org.apache.naming.NamingContext.lookup(NamingContext.java:824) ~[catalina.jar:8.5.77] at org.apache.naming.NamingContext.lookup(NamingContext.java:171) ~[catalina.jar:8.5.77] at org.apache.naming.SelectorContext.lookup(SelectorContext.java:161) ~[catalina.jar:8.5.77]
(30 Mar '22, 15:46)
simiti
org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [org/openforis/collect/application-context-core.xml]:
(30 Mar '22, 15:47)
simiti
there is a problem with the configuration of the database... have you defined the file collect.xml inside tomcat/conf/Catalina/localhost? Is the configuration correct? Do you have any other errors related to the DB?
(30 Mar '22, 15:50)
Stefano (OF) ♦♦
Here is my collect.xml
<?xml version="1.0" encoding="UTF-8"?>
<context path="/collect" reloadable="false">
(30 Mar '22, 16:18)
simiti
please try to follow the instructions here: https://www.openforis.support/questions/1821/setup-collect-desktop-in-a-server-for-a-multi-user-environment
(30 Mar '22, 16:23)
Stefano (OF) ♦♦
I've gone through this link couple of times but still no luck. Just out of curiosity. what java version is preferred. I'm using version 11.
(30 Mar '22, 16:37)
simiti
The structure of your XML file seems to be broken.
(30 Mar '22, 17:01)
Stefano (OF) ♦♦
I didn't put the entire script because the number of character is more than what is allowed in this comment box.
(30 Mar '22, 17:09)
simiti
Here is the error when try to manually start the collect from tomcat. FAIL - Application at context path [/collect] could not be started
(30 Mar '22, 17:10)
simiti
We have contacted you to your private email, please answer that email, many thanks.
(30 Mar '22, 17:15)
Stefano (OF) ♦♦
showing 5 of 12
show 7 more comments
|
Thanks. Issue now resolved by adding to tomcat/lib these files. 1. commons-pool-1.6.jar 2. commons-dbcp-1.4.jar All good now and thanks Openforis support. answered 01 Apr '22, 02:05 simiti |