ideo Posted January 25, 2013 Share Posted January 25, 2013 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 belowCATALINA_HOME = /usr/share/tomcat7CATALINA_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 Link to comment Share on other sites More sharing options...
ideo Posted January 25, 2013 Author Share Posted January 25, 2013 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now