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]

asked 19 Nov '15, 12:39

pmagdon's gravatar image

pmagdon
214813
accept rate: 0%

closed 14 Dec '15, 13:24

Mino%20Togna's gravatar image

Mino Togna ♦♦
52116

The question has been closed for the following reason "Question is off-topic or not relevant" by Mino Togna 14 Dec '15, 13:24


12next »

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

permanent link

answered 19 Nov '15, 13:06

Mino%20Togna's gravatar image

Mino Togna ♦♦
52116
accept rate: 12%

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

permanent link

answered 19 Nov '15, 13:10

Mino%20Togna's gravatar image

Mino Togna ♦♦
52116
accept rate: 12%

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

permanent link

answered 19 Nov '15, 13:14

pmagdon's gravatar image

pmagdon
214813
accept rate: 0%

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

permanent link

answered 19 Nov '15, 13:52

Mino%20Togna's gravatar image

Mino Togna ♦♦
52116
accept rate: 12%

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

Greetings Paul

permanent link

answered 19 Nov '15, 14:59

pmagdon's gravatar image

pmagdon
214813
accept rate: 0%

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

permanent link

answered 20 Nov '15, 12:08

pmagdon's gravatar image

pmagdon
214813
accept rate: 0%

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.

(23 Nov '15, 13:47) joseph joseph's gravatar image

Dear Paul,

you have already mentioned the problem with R https://openforis.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

permanent link

answered 24 Nov '15, 10:44

Mino%20Togna's gravatar image

Mino Togna ♦♦
52116
accept rate: 12%

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

permanent link

answered 24 Nov '15, 10:59

pmagdon's gravatar image

pmagdon
214813
accept rate: 0%

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

permanent link

answered 24 Nov '15, 11:04

Mino%20Togna's gravatar image

Mino Togna ♦♦
52116
accept rate: 12%

Dear Paul,

if you use a 64 bit machine, did you install R 64 bit files as well?

Thank you

Mino

permanent link

answered 24 Nov '15, 11:05

Mino%20Togna's gravatar image

Mino Togna ♦♦
52116
accept rate: 12%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×83

question asked: 19 Nov '15, 12:39

question was seen: 11,363 times

last updated: 14 Dec '15, 13:24