Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# OpenAS2 Server
# Version 4.4.0
# Version 4.5.0
# RELEASE NOTES
-----
The OpenAS2 project is pleased to announce the release of OpenAS2 4.4.0
The OpenAS2 project is pleased to announce the release of OpenAS2 4.5.0

The release download file is: OpenAS2Server-4.4.0.zip
The release download file is: OpenAS2Server-4.5.0.zip

The zip file contains a PDF document (OpenAS2HowTo.pdf) providing information on installing and using the application.
## NOTE: Testing covers Java 11 to 21.
## Java 8 is NO LONGER SUPPORTED.

Version 4.4.0 - 2025-05-10
Version 4.5.0 - 2025-05-10

This is an enhancement release.

1. Log the file size of the file being processed in the AS2 vmessage builder.
1. Add configuration paramerter "resend_on_ssl_exception" to enter into a resend loop when an SSL exception occurs connecting to a partner.

##Upgrade Notes
See the openAS2HowTo appendix for the general process on upgrading OpenAS2.
Expand All @@ -24,7 +24,7 @@ This is an enhancement release.
2. The property for email configuration in the config.xml changed:
Change ALL occurrences of javax.mail.properties to jakarta.mail.properties in config.xml and the .properties file if you implemented it.
3. If using an external database for message state tracking, make sure that your configuration will work with the new Hikari JDBC pool that improves performance. See the OpenAS2HowTo.pdf message state tracking section for more details.
4. Completely replace all library files in the existing "lib" folder wit hthe ones supplied in the new install package (per recommended standard procedure in the user guide).
4. Completely replace all library files in the existing "lib" folder with the ones supplied in the new install package (per recommended standard procedure in the user guide).

### Upgrading to 3.6 or newer from 3.5 (or older) version:
1. Run the following command after the upgrade of the code base is complete and BEFORE you start the OpenAS2 server:
Expand Down
2 changes: 1 addition & 1 deletion Server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- DO NOT CHANGE THIS "groupId" WITHOUT CHANGING XMLSession.getManifestAttributes.MANIFEST_VENDOR_ID_ATTRIB -->
<groupId>net.sf.openas2</groupId>
<artifactId>OpenAS2</artifactId>
<version>4.4.0</version>
<version>4.5.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
1 change: 1 addition & 0 deletions Server/src/main/java/org/openas2/partner/Partnership.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public class Partnership implements Serializable {
public static final String PA_SPLIT_FILE_THRESHOLD_SIZE_IN_BYTES = "split_file_threshold_size_in_bytes";
public static final String PA_SPLIT_FILE_CONTAINS_HEADER_ROW = "split_file_contains_header_row";
public static final String PA_SPLIT_FILE_NAME_PREFIX = "split_file_name_prefix";
public static final String PA_RESEND_ON_SSL_EXCEPTION = "resend_on_ssl_exception";
// A hopefully temporary key to maintain backwards compatibility
public static final String USE_NEW_CERTIFICATE_LOOKUP_MODE = "use_new_certificate_lookup_mode";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ public void handle(String action, Message msg, Map<String, Object> options) thro
logger.error(msg.getLogMsg(), e);
msg.setOption("STATE", Message.MSG_STATE_SEND_FAIL);
msg.trackMsgState(getSession());
if ("true".equalsIgnoreCase(msg.getPartnership().getAttributeOrProperty(Partnership.PA_RESEND_ON_SSL_EXCEPTION, "false"))) {
resend(msg, new OpenAS2Exception(org.openas2.util.Logging.getExceptionMsg(e)), false);
}
return;
} catch (Exception e) {
msg.setLogMsg("Unexpected error sending file: " + org.openas2.util.Logging.getExceptionMsg(e));
Expand Down
6 changes: 6 additions & 0 deletions changes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
**IMPORTANT NOTE**: Please review upgrade notes in the RELEASE-NOTES.md if you are upgrading

Version 4.5.0 - 2025-05-18

This is an enhancement release.

1. Add configuration paramerter "resend_on_ssl_exception" to enter into a resend loop when an SSL exception occurs connecting to a partner.

Version 4.4.0 - 2025-05-10

This is an enhancement release.
Expand Down
Binary file modified docs/OpenAS2HowTo.odt
Binary file not shown.
Binary file modified docs/OpenAS2HowTo.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.sf.openas2</groupId>
<artifactId>OpenAS2</artifactId>
<version>4.4.0</version>
<version>4.5.0</version>
<name>OpenAS2</name>
<packaging>pom</packaging>

Expand Down