#1 2016-03-24 11:06:47

tok
Member
From: Finland
Registered: 2016-03-22

ReportServer creates new directory structure on startup

My ReportServer is running on Tomcat 8.0 installed in Windows Server 2013. The installation directory of Tomcat is
C:\Program Files\Apache Software Foundation\Tomcat 8.0

When Tomcat starts the ReportServer creates a directory structure C:\Program%20Files\Apache%20Software%20Foundation\Tomcat%208.0\temp\rsidb
This is identical to Tomcat's install directory except spaces in directory names are replaced with %20. All the directories are empty. It seems like ReportServer needs to create directory "rsidb" under Tomcat's install directory, fails to understand spaces in directory names and ends up creating the whole directory path.

Is this a bug or what?

Offline

#2 2016-03-24 11:37:40

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: ReportServer creates new directory structure on startup

Hi Tok,

my guess is that this is the location where ReportServer tries to create the demo datasource (which is a file based h2 datasource and which is generated when installing the demo data). If you've installed the demo data, have a look at the jdbc url of  Datasources/sample datasources and then the "Demodaten" datasource. A second point to check would be the configuration of the internal-db (which is used by the demodata). This is found in the config file (internal filesystem) etc/datasources/internaldb.cf. There you can also specify a custom location for the h2 database.

In any case, this problem will also be dealt with once you've upgraded to ReportServer 3.0 (will be out very soon) as here the internal db has been refactored and now uses any standard RDBMs and no longer the file based H2 databse.

Cheers,
Arno

Offline

Board footer

Powered by FluxBB