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. |
Dear user, Thanks. Which version of tomcat would you prefer best for collect deployment. Please use the latest version of Tomcat 9 (9.0.60) until we make Collect work with Tomcat 10 too. Many thanks. 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] 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]: 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? Here is my collect.xml
<?xml version="1.0" encoding="UTF-8"?>
<context path="/collect" reloadable="false"> please try to follow the instructions here: https://www.openforis.support/questions/1821/setup-collect-desktop-in-a-server-for-a-multi-user-environment 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. The structure of your XML file seems to be broken.
I didn't put the entire script because the number of character is more than what is allowed in this comment box. Here is the error when try to manually start the collect from tomcat. FAIL - Application at context path [/collect] could not be started We have contacted you to your private email, please answer that email, many thanks.
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. |