---
title: "Non response of calc"
url: "https://openforis.support/questions/378/non-response-of-calc"
tags: ["calc"]
status: "closed"
score: 0
answer_count: 11
asked: "2015-11-19T12:39:17"
last_activity: "2015-12-14T13:24:55"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# Non response of calc

Asked by pmagdon on 2015-11-19

Dear all,
I installed the latest version of calc on my Windows 7 machine. I did'nt get any error messages during the installation. However, the start-up of calc leaves the website unreponsive at all. Any idea what went wrong?

Here is the log output



Nov 19, 2015 12:24:15 PM org.apache.catalina.core.AprLifecycleListener init
INFORMATION: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jdk1.8.0_25\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\WINDOWS LIVE;C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT SHARED\WINDOWS LIVE;C:\Windows\SYSTEM32;C:\Windows;C:\Windows\SYSTEM32\WBEM;C:\Windows\SYSTEM32\WINDOWSPOWERSHELL\V1.0\;;C:\PROGRAM FILES (X86)\COMMON FILES\LENOVO;C:\PROGRAM FILES (X86)\COMMON FILES\ULEAD SYSTEMS\MPEG;C:\PROGRAM FILES (X86)\WINDOWS LIVE\SHARED;C:\SWTOOLS\READYAPPS;C:\PROGRAM FILES (X86)\INTEL\SERVICES\IPT\;C:\PROGRAM FILES\INTEL\WIFI\BIN\;C:\PROGRAM FILES\COMMON FILES\INTEL\WIRELESSCOMMON\;C:\PROGRAM FILES\THINKPAD\BLUETOOTH SOFTWARE\;C:\PROGRAM FILES\THINKPAD\BLUETOOTH SOFTWARE\SYSWOW64;C:\Users\pmagdon\IDLWorkspace81\fep\bin\win\gdal_17\bin;D:\Projekte\FEPY\bin\win\apps\6SV\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\QuickTime\QTSystem\;C:/Program Files (x86)/Java/jdk1.8.0_25\bin;C:\R\R-3.1.1\bin\x64;C:\R\R-3.1.1\library\rJava\jri\x64;C:/Program Files (x86)/Java/jdk1.8.0_25\jre\bin\server;;C:/Program Files (x86)/Java/jdk1.8.0_25\bin;C:\R\R-3.1.1\bin\x64;C:\R\R-3.1.1\library\rJava\jri\x64;C:/Program Files (x86)/Java/jdk1.8.0_25\jre\bin\server;D:\Anaconda;D:\Anaconda\Scripts;C:\texlive\2014\bin\win32;C:\Users\pmagdon\AppData\Local\Programs\Git\cmd;C:\MiKTeX\miktex\bin\x64\;.
Nov 19, 2015 12:24:16 PM org.apache.coyote.AbstractProtocol init
INFORMATION: Initializing ProtocolHandler ["http-bio-8081"]
Nov 19, 2015 12:24:16 PM org.apache.coyote.AbstractProtocol init
INFORMATION: Initializing ProtocolHandler ["ajp-bio-8010"]
Nov 19, 2015 12:24:16 PM org.apache.catalina.startup.Catalina load
INFORMATION: Initialization processed in 2659 ms
Nov 19, 2015 12:24:16 PM org.apache.catalina.core.StandardService startInternal
INFORMATION: Starting service Catalina
Nov 19, 2015 12:24:16 PM org.apache.catalina.core.StandardEngine startInternal
INFORMATION: Starting Servlet Engine: Apache Tomcat/7.0.47
Nov 19, 2015 12:24:16 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFORMATION: Deploying configuration descriptor D:\programs\openforis\calc\calc-server\tomcat\conf\Catalina\localhost\calc.xml
Nov 19, 2015 12:24:37 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom
INFORMATION: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [680] milliseconds.
Nov 19, 2015 12:24:51 PM org.apache.catalina.startup.HostConfig deployDirectory
INFORMATION: Deploying web application directory D:\programs\openforis\calc\calc-server\tomcat\webapps\host-manager
Nov 19, 2015 12:24:51 PM org.apache.catalina.startup.HostConfig deployDirectory
INFORMATION: Deploying web application directory D:\programs\openforis\calc\calc-server\tomcat\webapps\manager
Nov 19, 2015 12:24:52 PM org.apache.catalina.startup.HostConfig deployDirectory
INFORMATION: Deploying web application directory D:\programs\openforis\calc\calc-server\tomcat\webapps\saiku
Nov 19, 2015 12:25:22 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFORMATION: Scanning for root resource and provider classes in the packages:
  org.saiku.web
Nov 19, 2015 12:25:22 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFORMATION: Root resource classes found:
  class org.saiku.web.rest.resources.OlapDiscoverResource
  class org.saiku.web.rest.resources.ExporterResource
  class org.saiku.web.rest.resources.BasicRepositoryResource
  class org.saiku.web.rest.resources.SessionResource
  class org.saiku.web.rest.resources.BasicTagRepositoryResource
  class org.saiku.web.rest.resources.StatisticsResource
  class org.saiku.web.rest.resources.QueryResource
  class org.saiku.web.rest.resources.BasicRepositoryResource2
  class org.saiku.web.rest.resources.DataSourceResource
Nov 19, 2015 12:25:22 PM com.sun.jersey.api.core.ScanningResourceConfig init
INFORMATION: No provider classes found.
Nov 19, 2015 12:25:23 PM org.codehaus.enunciate.modules.jersey.EnunciateJerseyServletContainer configure
INFORMATION: org.codehaus.enunciate.modules.amf.JAXRSProvider not found.
Nov 19, 2015 12:25:23 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFORMATION: Registering Spring bean, datasourceResourceBean, of type org.saiku.web.rest.resources.DataSourceResource as a root resource class
Nov 19, 2015 12:25:23 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFORMATION: Registering Spring bean, olapDiscoverBean, of type org.saiku.web.rest.resources.OlapDiscoverResource as a root resource class
Nov 19, 2015 12:25:23 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFORMATION: Registering Spring bean, queryResource, of type org.saiku.web.rest.resources.QueryResource as a root resource class
Nov 19, 2015 12:25:23 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFORMATION: Registering Spring bean, sessionResource, of type org.saiku.web.rest.resources.SessionResource as a root resource class
Nov 19, 2015 12:25:23 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFORMATION: Registering Spring bean, repositoryBean, of type org.saiku.web.rest.resources.BasicRepositoryResource as a root resource class
Nov 19, 2015 12:25:23 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFORMATION: Registering Spring bean, repository2bean, of type org.saiku.web.rest.resources.BasicRepositoryResource2 as a root resource class
Nov 19, 2015 12:25:23 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFORMATION: Registering Spring bean, tagRepositoryBean, of type org.saiku.web.rest.resources.BasicTagRepositoryResource as a root resource class
Nov 19, 2015 12:25:23 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFORMATION: Registering Spring bean, exporterBean, of type org.saiku.web.rest.resources.ExporterResource as a root resource class
Nov 19, 2015 12:25:23 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
INFORMATION: Registering Spring bean, statsBean, of type org.saiku.web.rest.resources.StatisticsResource as a root resource class
Nov 19, 2015 12:25:23 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFORMATION: Initiating Jersey application, version 'Jersey: 1.11 12/09/2011 10:27 AM'
Nov 19, 2015 12:25:26 PM org.apache.catalina.startup.HostConfig deployDirectory
INFORMATION: Deploying web application directory D:\programs\openforis\calc\calc-server\tomcat\webapps\saiku-ui
Nov 19, 2015 12:25:26 PM org.apache.coyote.AbstractProtocol start
INFORMATION: Starting ProtocolHandler ["http-bio-8081"]
Nov 19, 2015 12:25:26 PM org.apache.coyote.AbstractProtocol start
INFORMATION: Starting ProtocolHandler ["ajp-bio-8010"]
Nov 19, 2015 12:25:26 PM org.apache.catalina.startup.Catalina start
INFORMATION: Server startup in 70010 ms
Nov 19, 2015 12:25:34 PM org.apache.coyote.AbstractProtocol pause
INFORMATION: Pausing ProtocolHandler ["http-bio-8081"]
Nov 19, 2015 12:25:34 PM org.apache.coyote.AbstractProtocol pause
INFORMATION: Pausing ProtocolHandler ["ajp-bio-8010"]
Nov 19, 2015 12:25:34 PM org.apache.catalina.core.StandardService stopInternal
INFORMATION: Stopping service Catalina
Nov 19, 2015 12:25:34 PM org.apache.catalina.core.StandardWrapper unload
INFORMATION: Waiting for 3 instance(s) to be deallocated for Servlet [spring]
Nov 19, 2015 12:25:35 PM org.apache.catalina.core.StandardWrapper unload
INFORMATION: Waiting for 3 instance(s) to be deallocated for Servlet [spring]
Nov 19, 2015 12:25:36 PM org.apache.catalina.core.StandardWrapper unload
INFORMATION: Waiting for 3 instance(s) to be deallocated for Servlet [spring]


## Answer (score 0, by Mino Togna on 2015-11-19)

Link: https://openforis.support/questions/378/non-response-of-calc/379

Dear pmagdon

From the log file it looks like the application started up correctly, but it seems it received a shutdown command afterwards.
I cannot see any problem in the log file you sent.

The first time you execute Calc, it creates all database tables required by the application to work; this operation might take a bit longer; but however we're talking about 30 seconds/2 minutes (depending on your hardware capacity). Is this the case?
How long did you wait, approximately, since you started Calc, to shut it down or send this email?

Thank you.

Regards,

Mino


## Answer (score 0, by Mino Togna on 2015-11-19)

Link: https://openforis.support/questions/378/non-response-of-calc/380

Dear pmagdon

from the log file i see that the application Server startup in 70010 ms Nov 19, 2015 12:25:34 PM, but then you shut it down on 
Nov 19, 2015 12:25:34 PM, immediately after it started.

It took 700010 milliseconds to start = 1.1668333 minutes.

Please be patient to let the application start correctly. 

Regards,
Mino


## Answer (score 0, by pmagdon on 2015-11-19)

Link: https://openforis.support/questions/378/non-response-of-calc/381

Hi Mino,

thanx for the support. I see that catalina service has stopped. However, I didn't stop it actively. Actually it seems stopping them self.

Any idea why?

Regards,
Paul


## Answer (score 0, by Mino Togna on 2015-11-19)

Link: https://openforis.support/questions/378/non-response-of-calc/382

Hi Paul!

Difficult to imagine why. Can you please zip together all log files (CALC_INSTALL_DIR/calc-server/tomcat/logs) from today and send them to you? 

Thank you,
Mino


## Answer (score 0, by pmagdon on 2015-11-19)

Link: https://openforis.support/questions/378/non-response-of-calc/383

Dear Mino,
please send me your mail adress. I will share the logs then.

Greetings
Paul


## Answer (score 0, by pmagdon on 2015-11-20)

Link: https://openforis.support/questions/378/non-response-of-calc/386

Hi Mino,

I have now reproduced exactly the same behavior on a different machine with windows 7 and a fresh install of R, postgres and calc. I found that calc doesn't accept R 3.2.x. However, also  with R 3.1.x calc is stopping the server automatically. Can it be related to the postgres version? I installed the latest 9.5? However, I see that calc has sucessfully created a db 'Calc' with a schema 'calc' that includes 23 tables. So calc has access to postres.

Any idea? I already send you the log files as a zip file.

Regards Paul

> Dear Mino, did you see my question/comment in this regard: I could meanwhile install Calc with newest JDK, Postgres 9.2, but R 3.1.0 only. Trying to install with R 3.2.2 but also with 3.1.3 did not succeed yet. (joseph)

## Answer (score 0, by Mino Togna on 2015-11-24)

Link: https://openforis.support/questions/378/non-response-of-calc/392

Dear Paul,

you have already mentioned the problem with R http://www.openforis.org/support/questions/253/install-error-installpackages-typesource 

At the moment we're developing the new version of Calc, that won't require any specific R version. 

From the log file i cannot see any problem, and the fact that the server stops automatically seems quite unrealistic, unless something strange is happening in your computer.
But are you able to use the software?

Regards.

Mino


## Answer (score 0, by pmagdon on 2015-11-24)

Link: https://openforis.support/questions/378/non-response-of-calc/393

Dear Mino,
Thank you for the support! Currently, I cannot use the program as the problem is actually quite realistic :) on both of my machines. So I have no clue were to start looking for „something strange happening" on my computers. Any idea would be much appreciated. Did you received my mail with all the log files you were asking for? If not please send me the correct email address.

Greetings 
Paul


## Answer (score 0, by Mino Togna on 2015-11-24)

Link: https://openforis.support/questions/378/non-response-of-calc/394

Dear Paul,

Yes, i received your log files. I have also commented that i couldn't see any problem.

Can you please indicate me how you start calc?
Can you please send me a screen shot of all active windows of your desktop after having started Calc?

Thank you

Mino


## Answer (score 0, by Mino Togna on 2015-11-24)

Link: https://openforis.support/questions/378/non-response-of-calc/395

Dear Paul,

if you use a 64 bit machine, did you install R 64 bit files as well?

Thank you

Mino


## Answer (score 0, by pmagdon on 2015-11-24)

Link: https://openforis.support/questions/378/non-response-of-calc/398

Dear Mino,
Thanks to your valuable comments regarding the 32bit / 64 bit R issue I finally finally solved the problem! I both cases it was related to the %PATH variable JAVA_HOME in windows. For some reasons it pointed to an old 32bit JDK version, even though I installed the new JDK 1.8+ according to the installation instructions. Obviously the JDK installer is not updating the JAVA_HOME %PATH variable. Due to that issue the R library rJava was correctly installed but could not be loaded in R 64bit (See also here [http://stackoverflow.com/questions/7019912/using-the-rjava-package-on-win7-64-bit-with-r] [1]). You can test this using the R console and type library(rJava). After correcting the JAVA_HOME variable and setting it to the correct JDK path everything runs smoothly. Two suggestions from my side: 1.) Put a note in the [installation instructions] [2] to check the JAVA_HOME path or 2.) Implement a test routine in the installer to check whether the libraries (rJava) are installed AND can be loaded.

Thanks again for you greater support to solve the issue!

Paul

  [1]: http://stackoverflow.com/questions/7019912/using-the-rjava-package-on-win7-64-bit-with-r
  [2]: http://www.openforis.org/tools/calc/tutorials/installation.html
