[closed] Deployment of Calc on Ubuntu Server

  • Asked
  • Active
  • Viewed 5749 times

The question has been closed for the following reason "Question is off-topic or not relevant" by Mino Togna

0

Dear all,

after successful installation of Collect on our Ubuntu Server we are now struggling with Calc. We setup the tomcat server and installed all relevant R packages (incl. rJava). When we access the page our.server:8080/calc we can see the page but it freezes immediately. However it is not starting. The log files catalina.out show a problem with the JRI path: "Cannot find JRI native library!". The JRI library is installed under /usr/local/lib/R/site-library/rJava/jri. However, I am not sure where to set this environmental variabl as there are so many different files in ../tomcat7/bin. Should we specify the path in setenv.sh?? or later in catalina.sh ...? Any suggestions welcome.

Greetings Paul

0

Accepted answer

Ok, I found the solution: The path to the jri library need to be speciefed in the .../tomcat7/bin/setenv.sh file:

export JAVA_OPTS="-Xms256m -Xmx1024m -XX:MaxPermSize=256m -Dfile.encoding=UTF-8 -Djava.library.path=/usr/local/lib/R/site-library/rJava/jri/"

Regards Paul

Menu

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.