Jump to content
We've recently updated our Privacy Statement, available here ×

mrcaffeine

Members
  • Posts

    112
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by mrcaffeine

  1. are you trying to build with Java 8? this is not supported yet.
  2. Windows installers are signed. Linux/Mac not. For each Pro/Community release artifact we also provide checksums.
  3. Changed Assigned User from - to @User_306070 have you considered war-bin installer for fully automated installations?
  4. Changed Resolution from Open to Not Fixable Changed Status from New to Closed Due to JasperReports Server memory requirements and memory limitations of 32bit systems winx86 installer is no longer provided.
  5. Use caseIt is advisable that you do not run multiple JasperReports Server in a single application container. However it might be desired for some test and development scenarios. The following article outlines required actions and refers to the installation guide when required. I cover the installation with the war-bin installer package as this is advisable for customized installation processes and non-standard environments. The guide will cover both CE and Pro version of JasperReports Server and applies to all versions from v4 on. In the sample use case I'll work under assumption that I'm a developer who is embedding JasperReports Server into another application. For that I have 2 branches - my development branch with JasperReports Server modifications and my stable branch into which I merge verified modifications. The reader should be familiar with JasperReports Server war-bin installer as well as with Tomcat or Glassfish application server. As database postgres is used, for other database configurations please see install guide and provided samples for reference. Example: glassfish 3.1.2In order to have 2 JasperReports Server running on one Glassfish Server instance you should create for each instance a separate glassfish domain. This can be done with glassfish command line tools. Install on Glassfish ServerThis part will outline how to create 2 domains for JasperReports Server. cd <glassfish home>/bin Create domain for development instance that should be running on portbase 5800# create a domain from command line ./asadmin create-domain --portbase 5800 --checkports true --user admin --nopassword true jrs-devel # add admin password ./asadmin --user admin --passwordfile <path to password change file> change-admin-password --domain_name jrs-devel # starting domain for additional settings ./asadmin --user admin --passwordfile <path to password file> start-domain jrs-devel # configure glassfish to allow remote access ./asadmin --user admin --passwordfile <path to password file> --port 5848 enable-secure-admin # stop glassfish domain ./asadmin --user admin --passwordfile <path to password file> stop-domain jrs-develCreate domain for stable instance that should be running on portbase 6800#run same commands as above, just change port and domain name ./asadmin create-domain --portbase 6800 --checkports true --user admin --nopassword true jrs-stable ./asadmin --user admin --passwordfile <path to password change file> change-admin-password --domain_name jrs-stable ./asadmin --user admin --passwordfile <path to password file> start-domain jrs-stable ./asadmin --user admin --passwordfile <path to password file> --port 6848 enable-secure-admin ./asadmin --user admin --passwordfile <path to password file> stop-domain jrs-stableConfigure buildomaticDevelopment instancecreate a new file gf_devel_master.properties in <jrs war-bin dir>/buildomatic # app server settings appServerType = glassfish3 appServerDir=<glassfish home folder> glassfishPort=5848 glassfishDomain=jrs-devel glassfishUser=admin AS_ADMIN_PASSWORD=<password> # db settings dbType=postgresql dbHost=localhost dbUsername=postgres dbPassword=postgres js.dbName=jrsdevel #other settings diagnostic.jmx.name=jrsdevelNow you can run installation process ./js-ant gen-config -DconfName=gf_devel ./js-ant create-js-db -DconfName=gf_devel ./js-ant init-js-db-pro -DconfName=gf_devel ./js-ant import-minimal-pro -DconfName=gf_devel ./js-ant import-sample-data-pro -DconfName=gf_devel ./js-ant deploy-webapp-pro -DconfName=gf_develhttp://localhost:5880/jasperserver-pro should be available after deployment. Stable instancecreate a new file gf_stable_master.properties in <jrs war-bin dir>/buildomatic # app server settings appServerType = glassfish3 appServerDir=<glassfish home folder> glassfishPort=6848 glassfishDomain=jrs-stable glassfishUser=admin AS_ADMIN_PASSWORD=<password> # db settings dbType=postgresql dbHost=localhost dbUsername=postgres dbPassword=postgres js.dbName=jrsstable #other settings diagnostic.jmx.name=jrsstableNow installation process again ./js-ant gen-config -DconfName=gf_stable ./js-ant create-js-db -DconfName=gf_stable ./js-ant init-js-db-pro -DconfName=gf_stable ./js-ant import-minimal-pro -DconfName=gf_stable ./js-ant import-sample-data-pro -DconfName=gf_stable ./js-ant deploy-webapp-pro -DconfName=gf_stablehttp://localhost:6880/jasperserver-pro should be available after deployment. ConclusionsYou have independent JasperReports Server instances installed on one glassfish server, both domains can be operated independently. For CE edition of JasperReports Server it is same process, please refer to documentation for specific manual installation commands. TomcatTomcat as application container has not availability of fine granular control about separate web applications. In order to have multiple parallel instances on tomcat there are 2 choices: install 2 tomcat and configure them to run on different ports.deploy JasperReports Server into one tomcat and manually configure tomcat as required.Multiple tomcat instancesDownload and unzip tomcat package. Configure ports for http, ajp and shutdown as outlined in tomcat configuration. Apply other configurations as desired and required. Development instancecreate a new file tc_devel_master.properties in <jrs war-bin dir>/buildomatic # app server settings appServerType=tomcat7 appServerDir=<path to devel instance tomcat> # db settings dbType=postgresql dbHost=localhost dbUsername=postgres dbPassword=postgres js.dbName=jrsdevel #other settings diagnostic.jmx.name=jrsdevelNow you can run installation process ./js-ant gen-config -DconfName=tc_devel ./js-ant create-js-db -DconfName=tc_devel ./js-ant init-js-db-pro -DconfName=tc_devel ./js-ant import-minimal-pro -DconfName=tc_devel ./js-ant import-sample-data-pro -DconfName=tc_devel ./js-ant deploy-webapp-pro -DconfName=tc_devel http://localhost:<devel port>/jasperserver-pro should be available after deployment. Stable instancecreate a new file tc_stable_master.properties in <jrs war-bin dir>/buildomatic # app server settings appServerType=tomcat7 appServerDir=<path to stable instance tomcat> # db settings dbType=postgresql dbHost=localhost dbUsername=postgres dbPassword=postgres js.dbName=jrsstable #other settings diagnostic.jmx.name=jrsstableNow installation process again as outline above with -DconfName=tc_stable instead of -DconfName=tc_devel. http://localhost:<stable port>/jasperserver-pro should be available after deployment. Single tomcat instanceDevelopment instancecreate a new file tc_devel_master.properties in <jrs war-bin dir>/buildomatic # app server settings appServerType=tomcat7 appServerDir=<path to tomcat> # db settings dbType=postgresql dbHost=localhost dbUsername=postgres dbPassword=postgres js.dbName=jrsdevel #other settings diagnostic.jmx.name=jrsdevel webAppNamePro=jrs-develNow you can run installation process as outlined before, http://localhost:8080/jrs-devel should be available after deployment. Stable instancecreate copy of file tc_devel_master.properties with name tc_stable_master.properties in <jrs war-bin dir>/buildomatic Change properties js.dbNamediagnostic.jmx.namewebAppNameProand add values for stable instance there. Then run installation process again as outlined before. http://localhost:8080/<webAppNamePro> should be available after deployment. Conclusionsin order to not overwrite the web applications you need to set individual names. Also - after deployment you need to verify tomcat memory settings to see if they fit the needs of your scenario. Other Application ServersFor Jboss and other web application server follow example as given for glassfish. Once individual instances / domains / profiles etc have been created, configure JasperReports Server accordingly and start manual installation steps.
  6. Changed Resolution from Open to No Change Required Changed Status from New to Closed Changed Assigned User from - to @User_306070 test only
  7. Changed Resolution from Open to Unable to Reproduce Changed Status from New to Closed Changed Assigned User from - to @User_306070 test only
  8. Changed Resolution from Open to No Change Required Changed Status from New to Closed Changed Assigned User from - to @User_306070 test only
  9. Changed Resolution from Open to No Change Required Changed Status from New to Closed Changed Assigned User from - to @User_306070 test only
  10. does the tomcat log file indicate some errors, like db not available? have there ben any errors during the installation?
  11. the jar is in the jasperserver-repo that is part of the source download. It looks like buildomatic is not configured correctly?
  12. Have a look at these samples: Custom Data Source Java Bean DatasourcesThese samples are also part of the iReport distribution.
  13. what is the output if you add "new SimpleDateFormat("HH:mm:ss").format(new Date((long)($V{total}*1000-TimeZone.getDefault().getOffset($V{total}))))" in the summary band?
  14. Both iReport and JasperReports Server are embedding JasperReports library, so you wouldn't need it extra. If you are looking for scheduled reports, then you can use the JasperReports Server. To schedule report you need to deploy them from iReport to JasperReports Server. Once the report is deployed, you can define any schedule to run the report to run at defined times. This tutorial might be helpful.
  15. you need to upload all resources your report requires to JasperReports Server, if you use iReport use the wizard and upload the report again. It will identify additional resources, upload them and add add valid expressions to find the resources on JasperReports Server.
  16. In the last table column you configured as text field expression $F{timediff(updateddateTime,CreatedTime)}, if I understand your requirement correctly, it should be $V{total} instead. This would aggregate the seconds, you'd need to modify the formatting so that you get the desired output. There might be a more elegant way, however this seems to work: new SimpleDateFormat("HH:mm:ss").format(new Date((long)($V{total}*1000-TimeZone.getDefault().getOffset($V{total}))))
  17. are you looking for an answer related to JasperReports Server v3.7.1?
  18. please attach the JRXML. Also, to make sure that I understand you correctly - the last column should contain the total instead of the current difference?
  19. Changed Resolution from Open to No Change Required Changed Status from New to Resolved Changed Assigned User from @teodord to @mrcaffeine This is an ANT related issue "double "$$" got mapped to "$" for backwards compatibility." (see http://ant.apache.org/ant_task_guidelines.html for details)As workaround replace each single $ with 4 $ signs, as shown below.dbPassword=pa$$$$$$$$word1works for me, the generated property files are correctly using pa$$word1. the deployment doesn't fail.
  20. Is your host name really HOST? The error states that JasperReports is unable to connect. So please verify host name, port, network connection and proxy to verify that you can access the machine running hive.
  21. The exception is a class cast error,ie somewhere true or false is expected but instead a number is returned. Verify your report design and check if all fields an printWhen expressions indeed contain Boolean values.
  22. This is Postgres related bug. Please try to install and configure Postgres separately, then run the JasperReports Server installation again and choose to install against an existing Postgres database. This should work around the problem.
  23. this sounds to me like a bug. Please add it to the tracker including steps how to reproduce and post the tracker number here.
  24. Windows has a path length limitation of 260 characters (see here for details). Instead of installing JRS from C:UsersbsmithDesktopProjectsJasperReports Serverjasperreports-server-5.0.1-bin try to install it from C:Usersbsmithjasperreports-server-5.0.1-bin or C:jasperreports-server-5.0.1-bin.
×
×
  • Create New...