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
-
are you trying to build with Java 8? this is not supported yet.
-
Windows installers are signed. Linux/Mac not. For each Pro/Community release artifact we also provide checksums.
-
Jasper Server and Java 1.8 - Error During Server Startup
mrcaffeine replied to varun.arbatti's topic in Products
JasperReports Server 5.5 does not support Java 1.8- 3 replies
-
- jasperreports server
- spring
-
(and 3 more)
Tagged with:
-
Deploying multiple versions of JasperReports Server to a single application server
mrcaffeine posted an entry in Best Practices
mrcaffeine posted an entry in Best Practices
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. -
Video: How to Drill Down from a Chart in a Dashboard to a Report
mrcaffeine commented on kcollins's entry in FAQs
Changed Resolution from Open to No Change Required Changed Status from New to Closed Changed Assigned User from - to @User_306070 test only -
Dashboard with Multiple Charts with the Legend Disappears or is Cut Off
mrcaffeine commented on Paul Jimenez's entry in FAQs
Changed Resolution from Open to No Change Required Changed Status from New to Closed Changed Assigned User from - to @User_306070 test only -
Unable to start JasperReports Server on Linux Ubuntu (Tomcat7 and MySQL 5.5)
mrcaffeine replied to ideo's topic in Products
does the tomcat log file indicate some errors, like db not available? have there ben any errors during the installation? -
Unable to Build JasperServer Pro 5 for Jboss AS 7 from sources
mrcaffeine replied to svager's topic in Products
the jar is in the jasperserver-repo that is part of the source download. It looks like buildomatic is not configured correctly? -
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?
- 7 replies
-
- ireport designer
- date
-
(and 1 more)
Tagged with:
-
Do I need Jasper Reports Library and Reports server?
mrcaffeine replied to mroark1's topic in Products
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. -
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.
- 3 replies
-
- ireport designer
- jasperreports server
-
(and 2 more)
Tagged with:
-
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}))))
- 7 replies
-
- ireport designer
- date
-
(and 1 more)
Tagged with:
-
How to get the currently logged in user detail
mrcaffeine replied to thillai_selvan's topic in Products
are you looking for an answer related to JasperReports Server v3.7.1? -
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?
- 7 replies
-
- ireport designer
- date
-
(and 1 more)
Tagged with:
-
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.
-
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.
-
Me da este error, con querer realizar un reporte con parametros
mrcaffeine replied to dulcechatita's topic in Products
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. -
Unable to install Jasper report server on windows server2008 R2
mrcaffeine replied to swallan's topic in Products
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.- 3 replies
-
- installation
- jasperreports server
-
(and 1 more)
Tagged with:
-
rest_v2 scheduled job won't run if it has a Date parameter
mrcaffeine replied to andy.hill's topic in Products
this sounds to me like a bug. Please add it to the tracker including steps how to reproduce and post the tracker number here.- 2 replies
-
- scheduler
- web services
- (and 5 more)
-
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.