Skip to content

Commit 17fe216

Browse files
committed
Merge branch 'release/9.0.1'
2 parents 0d79323 + 8356fc1 commit 17fe216

File tree

8 files changed

+18
-8
lines changed

8 files changed

+18
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project are documented in this file following the [K
44
Issues reported on [GitHub](https://github.com/authzforce/server/issues) are referenced in the form of `[GH-N]`, where N is the issue number. Issues reported on [OW2](https://jira.ow2.org/browse/AUTHZFORCE/) are mentioned in the form of `[OW2-N]`, where N is the issue number.
55

66

7+
## 9.0.1
8+
### Fixed
9+
- Tomcat startup error after Debian package install
10+
11+
712
## 9.0.0
813
*See the [Upgrader tool](upgrader/src) for upgrading from 8.x versions.*
914

dist/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.ow2.authzforce</groupId>
55
<artifactId>authzforce-ce-server</artifactId>
6-
<version>9.0.0</version>
6+
<version>9.0.1</version>
77
<relativePath>..</relativePath>
88
</parent>
99
<artifactId>authzforce-ce-server-dist</artifactId>

dist/src/debian/control/postinst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,16 @@ if [ "$RET" = false ]; then
1212
rm -rf /opt/[[productId]]/data/domains/*
1313
fi
1414

15+
# We have changed Tomcat systemd config file during the install, so systemctl daemon-reload must be called
16+
systemctl daemon-reload
17+
1518
db_get [[productId]]/restartTomcat
1619
if [ "$RET" = true ]; then
1720
export JAVA_OPTS='"-Djava.awt.headless=true -Djavax.xml.accessExternalSchema=all -Xms1024m -Xmx1024m -XX:+UseConcMarkSweepGC -server"'
1821
sed -i 's|^\(JAVA_OPTS\s*=\s*\).*$|\1'"$JAVA_OPTS"'|' /etc/default/tomcat9
19-
systemctl restart tomcat9
22+
systemctl stop tomcat9
23+
rm -rf /var/log/tomcat9/*
24+
systemctl start tomcat9
2025
fi
2126

2227
echo "If you answered 'No' to the second question, you need to set the JAVA_OPTS in '/etc/default/tomcat9' by yourself before restarting Tomcat:"

dist/src/docker/Dockerfile.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# The alternative is to use FROM ubuntu:* then install tomcat ubuntu package and use upstart/sysctl init script but this is not the way to go:
2525
# https://github.com/docker/docker/issues/6800
2626
FROM tomcat:9-jre8
27-
MAINTAINER AuthzForce Team (contact mailing list: http://scr.im/azteam)
27+
MAINTAINER AuthzForce Team
2828

2929
ENV DEBIAN_FRONTEND noninteractive
3030

@@ -40,7 +40,7 @@ ENV DEBIAN_FRONTEND noninteractive
4040
ENV JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom -Djava.awt.headless=true -Djavax.xml.accessExternalSchema=all -Xms1024m -Xmx1024m -XX:+UseConcMarkSweepGC -server"
4141

4242
ENV AUTHZFORCE_SERVER_VERSION="${project.version}"
43-
ENV AUTHZFORCE_SERVER_DOWNLOAD_URL="http://repo1.maven.org/maven2/org/ow2/authzforce/authzforce-ce-server-dist/$AUTHZFORCE_SERVER_VERSION/authzforce-ce-server-dist-$AUTHZFORCE_SERVER_VERSION.deb"
43+
ENV AUTHZFORCE_SERVER_DOWNLOAD_URL="https://repo1.maven.org/maven2/org/ow2/authzforce/authzforce-ce-server-dist/$AUTHZFORCE_SERVER_VERSION/authzforce-ce-server-dist-$AUTHZFORCE_SERVER_VERSION.deb"
4444

4545
# Download and install Authzforce Server (service starts automatically)
4646
# Where there is a command with a pipe, we need to put in between quotes and make it an argument to bash -c command

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</parent>
99
<artifactId>authzforce-ce-server</artifactId>
1010
<!-- FIWARE Versioning + Version must be equal or higher than 'authzforce-ce-rest-api-model' dependency in 'rest-service' module -->
11-
<version>9.0.0</version>
11+
<version>9.0.1</version>
1212
<packaging>pom</packaging>
1313
<name>${project.groupId}:${project.artifactId}</name>
1414
<description>AuthzForce CE Server</description>

rest-service/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>org.ow2.authzforce</groupId>
55
<artifactId>authzforce-ce-server</artifactId>
66
<!-- Version must be equal or higher than authzforce-ce-rest-api-model dependency -->
7-
<version>9.0.0</version>
7+
<version>9.0.1</version>
88
<relativePath>..</relativePath>
99
</parent>
1010
<artifactId>authzforce-ce-server-rest-service</artifactId>

upgrader/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.ow2.authzforce</groupId>
55
<artifactId>authzforce-ce-server</artifactId>
6-
<version>9.0.0</version>
6+
<version>9.0.1</version>
77
<relativePath>..</relativePath>
88
</parent>
99
<artifactId>authzforce-ce-server-upgrader</artifactId>

webapp/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.ow2.authzforce</groupId>
55
<artifactId>authzforce-ce-server</artifactId>
6-
<version>9.0.0</version>
6+
<version>9.0.1</version>
77
<relativePath>..</relativePath>
88
</parent>
99
<artifactId>authzforce-ce-server-webapp</artifactId>

0 commit comments

Comments
 (0)