Skip to content

Commit f31ad45

Browse files
Merge pull request #82 from TIBCOSoftware/release-8.1.1
Release 8.1.1
2 parents 0ea7442 + 5174dfd commit f31ad45

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+138
-141
lines changed

jaspersoft-containers/Docker/jrs/.env

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
INSTALL_CHROMIUM=false
22
JASPERREPORTS_SERVER_APP_IMAGE_NAME=jasperserver-webapp
33
JASPERREPORTS_SERVER_BUILDOMATIC_IMAGE_NAME=jasperserver-buildomatic
4-
JASPERREPORTS_SERVER_VERSION=8.1.0
5-
JASPERREPORTS_SERVER_APP_IMAGE_TAG=8.1.0
6-
JASPERREPORTS_SERVER_BUILDOMATIC_IMAGE_TAG=8.1.0
4+
JASPERREPORTS_SERVER_VERSION=8.1.1
5+
JASPERREPORTS_SERVER_APP_IMAGE_TAG=8.1.1
6+
JASPERREPORTS_SERVER_BUILDOMATIC_IMAGE_TAG=8.1.1
77
TOMCAT_BASE_IMAGE=tomcat:9.0.54-jdk11-openjdk
88
JDK_BASE_IMAGE=openjdk:11-jdk
99
RELEASE_DATE=May 13,2022

jaspersoft-containers/Docker/jrs/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#ARG TOMCAT_BASE_IMAGE=tomcat:9.0.54-jdk11-corretto
66
ARG TOMCAT_BASE_IMAGE=tomcat:9.0.54-jdk11-openjdk
77
ARG INSTALL_CHROMIUM=false
8-
ARG JASPERREPORTS_SERVER_VERSION=8.1.0
8+
ARG JASPERREPORTS_SERVER_VERSION=8.1.1
99

1010
FROM ${TOMCAT_BASE_IMAGE} as deployment
1111

@@ -16,7 +16,7 @@ ARG JRS_DISTRO=jasperreports-server-pro-${JASPERREPORTS_SERVER_VERSION}-bin
1616

1717

1818
ENV INSTALL_CHROMIUM ${INSTALl_CHROMIUM:-false}
19-
ENV JASPERREPORTS_SERVER_VERSION ${JASPERREPORTS_SERVER_VERSION:-8.1.0}
19+
ENV JASPERREPORTS_SERVER_VERSION ${JASPERREPORTS_SERVER_VERSION:-8.1.1}
2020
ENV JRS_HOME /usr/src/jasperreports-server
2121
ENV BUILDOMATIC_MODE non-interactive
2222

jaspersoft-containers/Docker/jrs/Dockerfile.buildomatic

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
ARG JDK_BASE_IMAGE=openjdk:11-jdk
77
FROM ${JDK_BASE_IMAGE}
88

9-
ARG JASPERREPORTS_SERVER_VERSION=8.1.0
9+
ARG JASPERREPORTS_SERVER_VERSION=8.1.1
1010
ARG CONTAINER_DISTRO=jaspersoft-containers/Docker/jrs
1111
ARG JRS_DISTRO=jasperreports-server-pro-${JASPERREPORTS_SERVER_VERSION}-bin
1212

13-
ENV JASPERREPORTS_SERVER_VERSION ${JASPERREPORTS_SERVER_VERSION:-8.1.0}
13+
ENV JASPERREPORTS_SERVER_VERSION ${JASPERREPORTS_SERVER_VERSION:-8.1.1}
1414
ENV JRS_HOME /usr/src/jasperreports-server
1515
ENV BUILDOMATIC_MODE non-interactive
1616
ENV RELEASE_DATE ${RELEASE_DATE:- 13-05-2022}

jaspersoft-containers/Docker/jrs/README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ These variables are passed to the command line with `--build-arg` for docker bui
7171
|INSTALL_CHROMIUM| Whether Chromium installed. **Note: TIBCO Software Inc. is not liable for license violation of chromium.**| false|
7272
|JASPERREPORTS_SERVER_APP_IMAGE_NAME| Name of the TIBCO JasperReports® Server image | jasperserver-webapp|
7373
|JASPERREPORTS_SERVER_BUILDOMATIC_IMAGE_NAME| Name of the TIBCO JasperReports® Server buildomatic image | jasperserver-buildomatic|
74-
|JASPERREPORTS_SERVER_VERSION|Version number of TIBCO JasperReports® Server|8.1.0|
75-
|JASPERREPORTS_SERVER_APP_IMAGE_TAG|Image tag of the TIBCO JasperReports® Server web app |8.1.0|
76-
|JASPERREPORTS_SERVER_BUILDOMATIC_IMAGE_TAG|Image tag of the TIBCO JasperReports® Server buildomatic |8.1.0|
74+
|JASPERREPORTS_SERVER_VERSION|Version number of TIBCO JasperReports® Server|8.1.1|
75+
|JASPERREPORTS_SERVER_APP_IMAGE_TAG|Image tag of the TIBCO JasperReports® Server web app |8.1.1|
76+
|JASPERREPORTS_SERVER_BUILDOMATIC_IMAGE_TAG|Image tag of the TIBCO JasperReports® Server buildomatic |8.1.1|
7777
|TOMCAT_BASE_IMAGE|Tomcat Docker image certified for the version of TIBCO JasperReports® Server being deployed based on Debian and Amazon Linux 2. It is of two types "tomcat:9.0.54-jdk11-openjdk" for Debian and "tomcat:9.0.54-jdk11-corretto" for Amazon Linux 2 |tomcat:9.0.54-jdk11-openjdk|
7878
|JDK_BASE_IMAGE|Java Docker image certified for the version of TIBCO JasperReports® Server being deployed based on Debian and Amazon Linux 2. It is of two types openjdk:11-jdk and amazoncorretto:11|openjdk:11-jdk|
7979
RELEASE_DATE|Release date of TIBCO JasperReports® Server | May 13, 2022 |
@@ -231,13 +231,12 @@ If you plan to work with **default** JasperReports® Server and buildomatic setu
231231
# Deploying the Application in Cluster Mode
232232

233233
- It uses haproxy as a load balancer and activemq as a cache replication. Before launching the application, make sure images are created successfully and repository DB setup is also completed.
234+
- Update the value of parameter 'replicas' in cluster-docker-compose.yml file depending upon how many containers you would want to create.
234235

235236
`docker-compose -f cluster-docker-compose.yml up -d`
236237

237238
- Wait for the application to start and access the application by using `host-name/jasperserver-pro` (port is not needed, haproxy is running on port 80).
238239

239-
**Note:** Although an external repository DB is used, a PostgreSQL container is created, and it does not impact TIBCO JasperReports® Server. If you don't want to create a PostgreSQL container, then remove repository dependency from jasperserver-webapp-1 and jasperserver-webapp-2 services in cluster-docker-compose.yaml.
240-
241240

242241
# Deploying JasperReports Server and Scalable Query Engine
243242

jaspersoft-containers/Docker/jrs/cluster-config/haproxy.cfg

+21-9
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,39 @@ global
33
daemon
44
maxconn 256
55

6+
resolvers docker
7+
nameserver dns1 127.0.0.11:53
8+
resolve_retries 3
9+
timeout resolve 1s
10+
timeout retry 1s
11+
hold other 10s
12+
hold refused 10s
13+
hold nx 10s
14+
hold timeout 10s
15+
hold valid 10s
16+
hold obsolete 10s
17+
618
defaults
7-
mode http
8-
timeout connect 5000ms
19+
mode http
20+
timeout connect 5000ms
921
timeout client 50000ms
1022
timeout server 50000ms
23+
log global
24+
option httplog
1125

12-
listen stats
26+
listen stats
1327
bind *:9999
1428
stats enable
1529
stats hide-version
1630
stats uri /stats
1731
stats auth admin:admin@123
18-
32+
1933
frontend myApp
2034
bind *:80
21-
#acl acl_myApp path_sub myApp
22-
#use_backend myAppBackEnd if acl_myApp
2335
use_backend jasperserver-pro
2436

2537
backend jasperserver-pro
2638
balance roundrobin
27-
cookie JSESSIONID prefix nocache
28-
server web01 jasperserver-webapp-1:8080 check cookie web01
29-
server web02 jasperserver-webapp-2:8080 check cookie web02
39+
dynamic-cookie-key mysecretphrase
40+
cookie JSESSIONID prefix dynamic nocache
41+
server-template jasperserver-webapp- 10 jasperserver-webapp:8080 check resolvers docker init-addr libc,none

jaspersoft-containers/Docker/jrs/cluster-docker-compose.yml

+25-42
Original file line numberDiff line numberDiff line change
@@ -5,71 +5,54 @@
55
version: '3.9'
66

77
services:
8-
##### JRS First instance
9-
jasperserver-webapp-1:
8+
##### JRS First instance
9+
jasperserver-webapp:
1010
image: "${JASPERREPORTS_SERVER_APP_IMAGE_NAME}:${JASPERREPORTS_SERVER_APP_IMAGE_TAG}"
11+
networks:
12+
- jrs_network
1113
env_file: .env
1214
environment:
13-
JAVA_OPTS: "-Xmx3500M -Djs.license.directory=/usr/local/share/jasperserver-pro/license -Djasperserver.cache.jms.provider=tcp://activemq:61616 "
15+
JAVA_OPTS: "-XX:+UseContainerSupport -XX:MinRAMPercentage=33.0 -XX:MaxRAMPercentage=75.0 -Djs.license.directory=/usr/local/share/jasperserver-pro/license -Djasperserver.cache.jms.provider=tcp://activemq:61616 "
1416
volumes:
1517
- ./resources/keystore:/usr/local/share/jasperserver-pro/keystore
1618
- ./resources/license/jasperserver.license:/usr/local/share/jasperserver-pro/license/jasperserver.license
1719
mem_limit: 6g
1820
mem_reservation: 3g
1921
cpu_shares: 1000
20-
21-
depends_on:
22-
- activemq
23-
- repository
24-
25-
##### JRS Second instance
26-
jasperserver-webapp-2:
27-
image: "${JASPERREPORTS_SERVER_APP_IMAGE_NAME}:${JASPERREPORTS_SERVER_APP_IMAGE_TAG}"
28-
env_file: .env
29-
environment:
30-
JAVA_OPTS: "-Xmx3500M -Djs.license.directory=/usr/local/share/jasperserver-pro/license -Djasperserver.cache.jms.provider=tcp://activemq:61616 "
31-
volumes:
32-
- ./resources/keystore:/usr/local/share/jasperserver-pro/keystore
33-
- ./resources/license/jasperserver.license:/usr/local/share/jasperserver-pro/license/jasperserver.license
34-
mem_limit: 6g
35-
mem_reservation: 3g
36-
cpu_shares: 1000
37-
22+
deploy:
23+
mode: replicated
24+
replicas: 2
3825
depends_on:
3926
- activemq
40-
- repository
4127

42-
####### Loadbalancer to manage the JRS Instances and session replication
28+
####### Loadbalancer to manage the JRS Instances and session replication
4329
haproxy:
4430
image: haproxy:2.3.9-alpine
31+
networks:
32+
- jrs_network
4533
ports:
4634
- 80:80
4735
- 9999:9999
4836
volumes:
4937
- ./cluster-config:/usr/local/etc/haproxy
5038
depends_on:
51-
- jasperserver-webapp-1
52-
- jasperserver-webapp-2
39+
- jasperserver-webapp
5340

54-
##### Repository cache replication runs on 61616 port and 8161 to access from web
41+
##### Repository cache replication runs on 61616 port and 8161 to access from web
5542
activemq:
56-
image: rangareddyv/activemq-openshift:5.16.2
43+
image: bansamadev/activemq:5.17.2
44+
networks:
45+
- jrs_network
5746
ports:
5847
- 8161:8161
5948
- 61616:61616
6049

61-
#### JRS Repository database
62-
repository:
63-
image: postgres:12
64-
ports:
65-
- 5432:5432
66-
environment:
67-
- POSTGRES_USER=postgres
68-
- POSTGRES_PASSWORD=postgres
69-
volumes:
70-
- postgres-data:/var/lib/postgresql/data
71-
72-
#### Postgresql Volume
73-
volumes:
74-
postgres-data:
75-
name: jrs-repository-vol
50+
networks:
51+
jrs_network:
52+
# use the bridge driver, but enable IPv6
53+
driver: bridge
54+
ipam:
55+
driver: default
56+
config:
57+
- subnet: 172.16.238.0/24
58+
gateway: 172.16.238.1

jaspersoft-containers/Docker/jrs/docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ services:
2020
- 8080:8080
2121
- 8443:8443
2222
environment:
23-
JAVA_OPTS: "-Xmx3500M -Djs.license.directory=/usr/local/share/jasperserver-pro/license -Djasperserver.cache.jms.provider=tcp://activemq:61616 "
23+
JAVA_OPTS: "-XX:+UseContainerSupport -XX:MinRAMPercentage=33.0 -XX:MaxRAMPercentage=75.0 -Djs.license.directory=/usr/local/share/jasperserver-pro/license -Djasperserver.cache.jms.provider=tcp://activemq:61616 "
2424
volumes:
2525
- ./resources/keystore:/usr/local/share/jasperserver-pro/keystore
2626
- ./resources/license/jasperserver.license:/usr/local/share/jasperserver-pro/license/jasperserver.license
@@ -60,7 +60,7 @@ services:
6060
- postgres-data:/var/lib/postgresql/data
6161

6262
activemq:
63-
image: rangareddyv/activemq-openshift:5.16.2
63+
image: bansamadev/activemq:5.17.2
6464
ports:
6565
- 8161:8161
6666
- 61616:61616

jaspersoft-containers/Docker/scalableQueryEngine/.env

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
JASPERREPORTS_SERVER_VERSION=8.1.0
1+
JASPERREPORTS_SERVER_VERSION=8.1.1
22
SCALABLE_QUERY_ENGINE_IMAGE_NAME=scalable-query-engine
33
SCALABLE_QUERY_ENGINE_DRIVER_IMAGE_NAME=scalable-query-engine-drivers
4-
SCALABLE_QUERY_ENGINE_DRIVER_IMAGE_TAG=8.1.0
5-
SCALABLE_QUERY_ENGINE_IMAGE_TAG=8.1.0
4+
SCALABLE_QUERY_ENGINE_DRIVER_IMAGE_TAG=8.1.1
5+
SCALABLE_QUERY_ENGINE_IMAGE_TAG=8.1.1
66
JDK_BASE_IMAGE=openjdk:11-jdk
77
ks=/etc/secrets/keystore
88
ksp=/etc/secrets/keystore

jaspersoft-containers/Docker/scalableQueryEngine/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
#ARG JDK_BASE_IMAGE=amazoncorretto:11
66
ARG JDK_BASE_IMAGE=openjdk:11-jdk
7-
ARG JASPERREPORTS_SERVER_VERSION=8.1.0
7+
ARG JASPERREPORTS_SERVER_VERSION=8.1.1
88

99
FROM ${JDK_BASE_IMAGE} AS worker
1010

1111
ARG JASPERREPORTS_SERVER_VERSION
1212
ARG CONTAINER_DISTRO=jaspersoft-containers/Docker/scalableQueryEngine
13-
ENV JASPERREPORTS_SERVER_VERSION ${JASPERREPORTS_SERVER_VERSION:-8.1.0}
13+
ENV JASPERREPORTS_SERVER_VERSION ${JASPERREPORTS_SERVER_VERSION:-8.1.1}
1414
ARG JRS_DISTRO=jasperreports-server-pro-${JASPERREPORTS_SERVER_VERSION}-bin
1515

1616
ENV WORKER_HOME /usr/local/scalable-query-engine
@@ -59,4 +59,4 @@ COPY --from=worker --chown=jasperserver:root /usr/local/scalable-query-engine/sp
5959
COPY --from=worker --chown=jasperserver:root /usr/local/scalable-query-engine/snapshot-dependencies/ .
6060
COPY --from=worker --chown=jasperserver:root /usr/local/scalable-query-engine/application/ .
6161

62-
ENTRYPOINT ["java", "org.springframework.boot.loader.PropertiesLauncher"]
62+
ENTRYPOINT ["java", "org.springframework.boot.loader.PropertiesLauncher"]

jaspersoft-containers/Docker/scalableQueryEngine/Dockerfile.drivers

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
# in the license file that is distributed with this file
44
#ARG JDK_BASE_IMAGE=amazoncorretto:11
55
ARG JDK_BASE_IMAGE=openjdk:11-jdk
6-
ARG JASPERREPORTS_SERVER_VERSION=8.1.0
6+
ARG JASPERREPORTS_SERVER_VERSION=8.1.1
77

88
FROM ${JDK_BASE_IMAGE} as driver
99

1010
ARG JASPERREPORTS_SERVER_VERSION
11-
ENV JASPERREPORTS_SERVER_VERSION ${JASPERREPORTS_SERVER_VERSION:-8.1.0}
11+
ENV JASPERREPORTS_SERVER_VERSION ${JASPERREPORTS_SERVER_VERSION:-8.1.1}
1212
ARG JRS_DISTRO=jasperreports-server-pro-${JASPERREPORTS_SERVER_VERSION}-bin
1313
ARG CONTAINER_DISTRO=jaspersoft-containers/Docker/scalableQueryEngine
1414
ENV JRS_HOME /usr/local/jasperreports-server
@@ -26,7 +26,7 @@ FROM ${JDK_BASE_IMAGE}
2626
ARG CONTAINER_DISTRO=jaspersoft-containers/Docker/scalableQueryEngine
2727
ENV WAR_JARS=/usr/local/jasperreports-server/buildomatic/conf_source/iePro/lib
2828
ENV WAR_LIB_JARS=/usr/local/jasperreports-server/jasperserver-pro/WEB-INF/lib
29-
ENV JASPERREPORTS_SERVER_VERSION ${JASPERREPORTS_SERVER_VERSION:-8.1.0}
29+
ENV JASPERREPORTS_SERVER_VERSION ${JASPERREPORTS_SERVER_VERSION:-8.1.1}
3030
ENV RELEASE_DATE ${RELEASE_DATE:- 13-05-2022}
3131

3232
LABEL "org.jasperosft.name"="Jasper Reports Server Scalable Query Engine" \

jaspersoft-containers/Docker/scalableQueryEngine/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ and all the deployment configurations are managed by Helm charts and Redis is us
5656

5757
| Environment Variable Name | Description | Default Value|
5858
|------------| -------------|--------------|
59-
|JASPERREPORTS_SERVER_VERSION | JasperReports Server release version | 8.1.0|
59+
|JASPERREPORTS_SERVER_VERSION | JasperReports Server release version | 8.1.1|
6060
|SCALABLE_QUERY_ENGINE_IMAGE_NAME| Scalable Query Engine image name |scalable-query-engine|
6161
|SCALABLE_QUERY_ENGINE_DRIVER_IMAGE_NAME| Scalable Query Engine JDBC drivers image name| scalable-query-engine-driver|
62-
|SCALABLE_QUERY_ENGINE_DRIVER_IMAGE_TAG| Docker tag for Scalable Query Engine | 8.1.0|
63-
|SCALABLE_QUERY_ENGINE_IMAGE_TAG| Docker tag for Scalable Query Engine Driver | 8.1.0|
62+
|SCALABLE_QUERY_ENGINE_DRIVER_IMAGE_TAG| Docker tag for Scalable Query Engine | 8.1.1|
63+
|SCALABLE_QUERY_ENGINE_IMAGE_TAG| Docker tag for Scalable Query Engine Driver | 8.1.1|
6464
|JDK_BASE_IMAGE | Docker image certified for the version of JasperReports Server being deployed based on Debian and Amazon Linux 2, and it is of two types **openjdk:11-jdk** for Debian and **amazoncorretto:11** for Amazon Linux 2 |openjdk:11-jdk|
6565
|ks | .jrsks keystore path |/etc/secrets/keystore|
6666
|ksp | .jrsksp keystore path | /etc/secrets/keystore |

0 commit comments

Comments
 (0)