Server setup for deploying collect.war

  • Asked
  • Active
  • Viewed 4540 times
0

Hi, we like to run collect and calc on an Ubuntu Server. As we cannot use the bitrocket installers provided without gui we try to directly deploy the collec.war files on a tomcat 7 instance. However, this is currently not working, see logfile below. Are there any information available on how to setup the server to get collect running? What addional files are needed? Which java version (currently we use open-jdk). According to the collect.log file there is an issue to resolve [jdbc]

Any suggestions are welcome!

Greetings Paul

collect.log: Caused by: javax.naming.NameNotFoundException: Name [jdbc/collectDs] is not bound in this Context. Unable to find [jdbc].

1

Accepted answer

Hi Paul,
you almost completed the configuration of Collect... just other few steps are left.
First of all, Collect works with the only JRE 7+ (JDK is not required).
What is still missing is the "context" configuration file that describes the configuration to the database. You need to create a file called collect.xml inside the folder .../tomcat/conf/Catalina/localhost. An example of this file can be found here: collect.xml and here you can find instructions on how to modify it in order to use Collect with a PostgreSQL database: Collect Server Setup
Let us know if you have any other questions.

Many thanks,
Open Foris Support

Yes, that solved the issue. Collect is now running on the server!

pmagdon pmagdon

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.