Error while installing jasperreports server war file distribution on Ubuntu Linux

0

 

I am trying to install jasperreports server from the war file distribution (jasperreports-server-cp-5.0.0-bin), for a server with Tomcat7 and MySQL 5.5.29.

Following the instructions (A.8.5 Tomcat 6 Installed Using apt-get), I went to the section of my default_master.properties that looks like this:

# Tomcat app server root dir

appServerDir = C:\\Program Files\\Apache Software Foundation\\Tomcat 7.0
# appServerDir = /home/devuser/apache-tomcat-7.0.26
# if linux package managed tomcat instance, set two properties below
# CATALINA_HOME = /usr/share/tomcat6
# CATALINA_BASE = /var/lib/tomcat6
 
and I have changed it to the following:
 
# Tomcat app server root dir
# appServerDir = C:\\Program Files\\Apache Software Foundation\\Tomcat 7.0
# appServerDir = /home/devuser/apache-tomcat-7.0.26
# if linux package managed tomcat instance, set two properties below
CATALINA_HOME = /usr/share/tomcat7
CATALINA_BASE = /var/lib/tomcat7
 
 
When running js-install-ce.sh, I obtain the following messages.
 
==========================================
(1) First, it seems to be ok:
 
----------------------------------------------------------------------
Running JasperReports Server install script at 2013-01-25_15-36
----------------------------------------------------------------------
[default]
Running install-normal-ce Ant task.
----------------------------------------------------------------------
Buildfile: /home/jasperreports-server-cp-5.0.0-bin/buildomatic/build.xml
     [echo] Filtering properties (cleaning out blank spaces)
     [echo] chkIfPackageManagedTomcat: check if package managed tomcat
     [echo] chkIfPackageManagedTomcat: CATALINA_HOME and CATALINA_BASE are BOTH set 
     [echo] chkIfPackageManagedTomcat: CATALINA_HOME folder location exists
     [echo] chkIfPackageManagedTomcat: CATALINA_BASE folder location exists
     [echo] tomcatPackageManaged IS SET
     [echo] Overriding fixedAppServerDir with value from CATALINA_BASE
     [echo] using settings file: /home/jasperreports-server-cp-5.0.0-bin/buildomatic/build_conf/default/maven_settings.xml
 
==========================================
(2) But the next lines are no more friendly at all:
 
gen-config:
     [echo] Regen config files if they have already been cleaned:
     [echo] currentConf= /home/jasperreports-server-cp-5.0.0-bin/buildomatic/build_conf/default
 
test-ce-all-props:
     [echo] Checking properties:
     [echo]   appServerType=tomcat7
     [echo]   appServerDir=${appServerDir}
 
BUILD FAILED
/home/jasperreports-server-cp-5.0.0-bin/buildomatic/bin/setup.xml:808: The following error occurred while executing this line:
/home/jasperreports-server-cp-5.0.0-bin/buildomatic/bin/validation.xml:319: The following error occurred while executing this line:
/home/jasperreports-server-cp-5.0.0-bin/buildomatic/bin/validation.xml:335: Error: appServerDir property is not set
 
Total time: 4 seconds
Checking Ant return code: OK
 
==========================================
What should I do?
 
Thanks !
 
Rémi
 

 

ideo's picture
11
Joined: Jan 25 2013 - 1:20am
Last seen: 7 years 7 months ago
I found a way out in doing the contrary of the instructions ! I have left the line ;appServerDir = ... without colon and I have put : appServerDir = /var/lib/tomcat7 and the installation is going ok until the end. (But now I have a new problem. In a new question.) Did I have right to override the instructions? Rémi
ideo - 7 years 8 months ago

0 Answers:

No answers yet
Feedback