WSO2 API Manager major version upgrade: what changes

Upgrading WSO2 API Manager to a newer major version starts with JDK 21 or 25 and the 4.7.0 default changes. This page covers what the 4.7.0 release changes, the steps to plan, test and roll back, and when outside help fits.

On this page

What a WSO2 API Manager major version upgrade changes first

A team on an older WSO2 API Manager release that needs to move to a newer major version should start with its Java runtime. WSO2 API Manager 4.7.0, the latest GitHub release at research time (published April 29, 2026), requires JDK 21 or 25, so deployments on JDK 11 or 17 must upgrade their JDK before they migrate. Record the JDK version, Java vendor and install method for every node in the deployment, including gateways and traffic managers, so you can see which nodes need work before any product files change. Read the WSO2 4.7.0 release notes against that inventory. This page does not set end-of-life dates or a complete migration procedure, so confirm the current release and the support status of your own release with WSO2 before you set a schedule.

The 4.7.0 release notes also list defaults that change behavior in an existing deployment, and these are the first places an upgrade can break working traffic. Control plane access on port 9443 now defaults to deny, so confirm which administrators, pipelines and tools reach the control plane and allow them explicitly in the new configuration. Token persistence is disabled by default, so check any process that expects tokens to be stored and read back. Secure XML processing is enabled by default, which can affect mediation and payloads that depend on XML features the new setting restricts. The default encryption mechanism has also changed, so test how existing encrypted values in your configuration are read after the upgrade. Java Security Manager support was removed, and callback and redirect URI validation is stricter, so review every OAuth application whose redirect URIs were registered loosely.

Turn these changes into a test plan before you set any date. Run the upgrade on a staging copy that matches your production topology, and confirm each default above against your configuration files and integration tests. Keep a rollback path that you have tested: a backup of the databases and configuration taken before the change, the steps to restore them, and a named approver for the decision to roll back. Ask WSO2 which support window applies to your current release, whether your subscription covers the target version, and how it handles upgrade questions for the topology you run. WSO2 sells commercial subscriptions that include expert support and continuous product updates, which matters most to teams that cannot absorb an unplanned upgrade on their own schedule.

Which WSO2 API Manager versions and support dates to check

This table lists the version, runtime and configuration items that shape a WSO2 API Manager major version upgrade, with what to confirm for each. Read the JDK rows first, since they decide whether you can start, and the configuration rows next, since they decide what to test. The main takeaway is that support end dates are not stated on the sources this page cites, so confirm them with WSO2 before you approve a target release.

ItemStatusWhat to confirm
WSO2 API Manager 4.7.0Latest GitHub release, published April 29, 2026. Requires JDK 21 or 25.Check on your upgrade date that 4.7.0 is still the latest release, and choose JDK 21 or 25 for the target runtime.
JDK 11 or 17Must be upgraded before migrating to 4.7.0, according to the release notes.Test custom Java components, extensions and startup scripts on JDK 21 or 25 in a staging cluster before cutover.
Support end dates for 4.7.0 and your current release lineNot stated on the sources this page cites.Confirm end-of-life and support dates with WSO2 support lifecycle information before you approve the target version.
Control plane access on port 9443Defaults to deny in 4.7.0.List which admin, Publisher and automation clients still reach port 9443, and allow each one explicitly before go-live.
Token persistenceDisabled by default in 4.7.0.Check whether refresh flows, long-lived tokens and downstream integrations assume persistence, then test them after the upgrade.
Java Security Manager and redirect URIsSecurity Manager support removed. Callback and redirect URI validation is stricter.Review custom Java code that relied on the Security Manager, and list every registered callback and redirect URI for testing.
Default encryption and XML processingDefault encryption mechanism updated. Secure XML processing enabled by default.Confirm that existing encrypted values decrypt correctly on 4.7.0 using a copy of your data, and test XML-based mediation.
Current release at upgrade timeThis page may lag the release feed.Confirm which release is current on the WSO2 API Manager GitHub releases page on your upgrade date before fixing the target version.

The upgrade sequence for moving to 4.7.0

This sequence moves a WSO2 API Manager deployment from its current release to 4.7.0 with the JDK, changed defaults, backups and rollback point settled before any production change. It produces a staging-tested runbook, a recorded rollback point and a signed-off cutover. The migration tool names and database steps must come from WSO2's upgrade documentation for your starting release, so confirm them before work begins.

  1. Record the starting state of the deployment

    The platform team records the running WSO2 API Manager release, the JDK version and the deployment model: on-premises, Kubernetes, hybrid with a SaaS control plane and on-premises gateways, or WSO2's fully managed SaaS. List every gateway node, every integration, every custom extension and every mediation or connector your APIs depend on. Confirm which of these WSO2 supports for your contract and flag any extension without a named owner. Done when the API owners and the admin team sign off this inventory and every extension has an owner and a retest need.

  2. Upgrade the JDK before migrating

    If you run JDK 11 or 17, upgrade the JDK to 21 or 25 before any migration step. WSO2's 4.7.0 release notes say the release requires JDK 21 or 25 and that deployments on JDK 11 or 17 must upgrade their JDK before migrating. Confirm with WSO2 that your current release runs on the target JDK, then run it in staging and check that it starts, serves traffic and passes your smoke tests. Done when the current release runs cleanly on the new JDK in staging and the JDK build is recorded in the change ticket.

  3. Review 4.7.0 defaults that affect traffic

    Read the 4.7.0 release notes and list each changed default that touches your traffic or admin access. The notes cover control plane access on port 9443 defaulting to deny, token persistence disabled by default, secure XML processing enabled by default and an updated default encryption mechanism. They also say Java Security Manager support was removed and that callback and redirect URI validation is stricter. For each item, record who is affected, whether any client, admin script or integration relies on the old behavior, and the change you will make. Done when every item has an owner and a decision.

  4. Back up configuration and data

    Take a full backup of the configuration, the databases, the registry artifacts, the keystores and the custom extensions before any migration step. Store the backup outside the upgrade target and restore a copy into an isolated environment to confirm it can be read. Confirm the backup procedure and the list of components with WSO2's documentation for your starting release and with your database administrators. Done when a restore test succeeds and the backup location, checksum and time are recorded in the change ticket.

  5. Run the documented migration in staging

    Run WSO2's documented migration procedure for your starting release against a staging copy of production. The migration tool names, the order of commands and the database migration steps must come from WSO2's upgrade documentation for that release, so confirm them before work begins. Log every command, error and manual change, because the log becomes the cutover runbook. Do not rely on memory or on a generic database script. Done when the staging control plane and gateways start on 4.7.0, the migration log has no unexplained errors and the runbook has been reviewed by the person who will run production.

  6. Test staging against the testing checks

    Run the checks described in the testing section against the migrated staging copy. Cover API publishing, gateway routing, throttling, developer portal sign-in, token issuance and admin access. Add a test for each changed default from the review step, such as an admin request to port 9443 from an allowed network and a token flow that depends on persistence. Repeat any failing test after each fix. Done when every check passes on the final build, every remaining failure is closed or accepted in writing by its owner and the results are stored with the runbook.

  7. Cut over in a planned window

    Schedule a change window with the API owners, the security team and the on-call engineer, and agree the go and no-go criteria in advance. Record the rollback point before the first production change: the verified backup, the previous release binaries and the database state needed to return to the old version. Run the staging runbook step by step and stop if production differs from staging. Done when the cutover log shows each step completed, the rollback point is confirmed in the ticket and a named owner records the go decision.

  8. Verify and monitor after cutover

    Repeat the smoke tests against production, then watch gateway error rates, throttling events, authentication failures and admin access logs for the monitoring period the owners agreed. Confirm that audit logs from 4.7.0 still reach your SIEM or log store, because logging paths can change during an upgrade. Keep the rollback point available until the owners sign off. Done when the smoke tests pass, monitoring shows no unexplained change from the pre-upgrade baseline and the sign-off and closed rollback record are filed.

What a WSO2 API Manager major version upgrade changes by default

WSO2 API Manager 4.7.0 changes six behaviors by default, and each one can affect a setup that worked on the previous version. The cards follow the release notes, so you can match each change to the consoles, scripts, mediation flows and applications in your own environment. Start with the changes that reach every client, such as port access and token behavior, then work through those that affect specific extensions and login paths.

Control plane access on port 9443

WSO2 API Manager 4.7.0 changes control plane access on port 9443 so that it defaults to deny. Admin consoles, automation and monitoring tools that reach port 9443 without an explicit allowance can stop connecting after cutover. Before you cut over, list every client that uses that port, confirm each source is on the allow list, and run one scripted call from each consumer against the upgraded test environment. Include monitoring agents and deployment pipelines, since they often run from hosts that nobody reviews during an upgrade.

Release notes

Token persistence turned off

Token persistence is disabled by default in 4.7.0, so tokens may not survive a server restart. Applications, integration scripts and batch jobs that store a token and reuse it after a restart will fail on their first call. Check how each client refreshes tokens, what it does when a token is rejected, and whether any job caches tokens between runs. Test issuance, refresh and revocation end to end on the upgraded build before you rely on it in production.

Secure XML processing by default

Secure XML processing is enabled by default in 4.7.0. Mediation sequences, custom handlers and policies that parse XML may reject payloads that the previous default accepted. Inventory every XML-based flow, including message transformations, SOAP passthrough and custom Java code that builds XML parsers. Replay representative request and response samples through each flow on the upgraded test system, compare the results with production, and ask WSO2 which settings, if any, can be adjusted for flows that need the old behavior.

Default encryption mechanism updated

The default encryption mechanism changed in 4.7.0, which affects stored secrets and encrypted configuration. Values protected under the previous default must remain readable after migration, and datasource passwords, keystore entries and other encrypted settings need to decrypt on the new build. Before cutover, ask WSO2 how existing encrypted values are handled, whether any re-encryption step is required, and how to roll back if decryption fails. Keep a copy of configuration files and key material from before the upgrade so you can compare them afterward.

Java Security Manager support removed

Java Security Manager support was removed in 4.7.0, which matters for hardened JVM setups and custom Java extensions that depended on it. Startup options, policy files and extension code that assume the Security Manager is present will need review, and the control it provided is no longer available from the platform. Plan replacement controls before cutover, such as container security profiles, restricted service accounts, filesystem permissions and network segmentation. Ask your security team to confirm that each replacement meets the same control objective, and record the decision for auditors.

Stricter callback and redirect URI validation

Callback and redirect URI validation is stricter in 4.7.0. Sign-in and OAuth flows that depend on loose redirect URIs may be rejected even when the identity provider and the application are both healthy. After cutover, test each application's login path, including sign-in, logout, token exchange and callbacks for web, mobile and single-page apps. Compare every registered callback URI with the exact value the client sends, and update registrations where an older, looser value was relied on.

Preparing the upgrade by deployment model

Teams that run WSO2 API Manager from extracted packages on their own servers own every step, from the JDK to the database. Begin with the JDK check: the About this release 4.7.0 notes say the release requires JDK 21 or 25, and deployments on JDK 11 or 17 must upgrade their JDK before migrating. Then work through the changed defaults and security settings that now behave differently.

  • Configuration and keystores: Back up deployment configuration, keystores and encryption settings, then compare them with 4.7.0 defaults, since the default encryption mechanism changed.
  • Access and network rules: Control plane access on port 9443 now defaults to deny, so confirm that admin, monitoring and automation paths still reach it.
  • Extensions and mediation: Inventory custom Java extensions, mediators and scripts, and test them without Java Security Manager, which 4.7.0 removed.
  • OAuth callbacks and tokens: Test each application's callback and redirect URIs against stricter validation, and check any process that relied on token persistence, which is disabled by default.
  • Rollback: The operations owner decides on rollback, backed by a restore of the database and package directories that was tested before cutover.

Confirm with WSO2 the documented migration steps from your current version to 4.7.0, including any database scripts they require.

Two rollback points sit on either side of cutover

This illustrative sequence is built from the upgrade steps above and starts with an inventory of deployed components. Deployments on JDK 11 or 17 must upgrade the JDK before migrating, since the 4.7.0 release requires JDK 21 or 25. The first rollback point sits after a verified backup. Staging migration then feeds security regression tests that cover the changed defaults, including control plane access on port 9443, token persistence and secure XML processing. The go or no-go decision comes next, and the second rollback point sits after production cutover. A rollback from there needs a procedure WSO2 has confirmed, so ask for it before cutover.

Illustrative sequence built from the upgrade steps, with rollback points marked.

How to test and roll back a WSO2 API Manager major version upgrade

Give each changed default its own regression test before you set a cutover date. Confirm that control plane access on port 9443, now denied by default, still lets your administrators and publishers reach the consoles from their networks. Test token flows with token persistence disabled by default, since scripts and clients that assumed stored tokens may fail. Send XML inputs through secure XML processing, which is now on by default, and check each mediation sequence that parses XML. Verify that encrypted configuration still decrypts under the updated default encryption mechanism, and test sign-in redirect URIs and callback URLs against the stricter validation. Finally, any custom Java extension that relied on the Java Security Manager, now removed in 4.7.0, needs a replacement control and its own test.

Add a performance and throttling check that runs against production-like load, meaning the same gateway sizing, policies and traffic mix you run in production. Throttling needs its own scenario, because a consumer may be limited in ways that a simple throughput figure hides. Measure latency, error rates and throttled responses on the gateway, and compare them with the baseline recorded before the upgrade. Confirm the load profile and test tooling with the people who own them before the run starts. Write the regression results, the baseline, and every accepted deviation into one sign-off record, and name who approves it. Auditors and change boards often ask for that record, so keep it with the test evidence.

For rollback, this page does not describe a documented WSO2 rollback procedure for 4.7.0, so ask WSO2 in writing for the supported downgrade or restore route before cutover. Ask which backups and database states it expects, and whether the route depends on the JDK you run, since 4.7.0 requires JDK 21 or 25 and deployments on JDK 11 or 17 must upgrade first. Define the rollback point as a verified backup of configuration and data, taken after the final pre-cutover sync and proven by restoring it to a separate environment. Rehearse the full restore in staging against a copy of production data, and time each step with its owner. Record go and no-go criteria for the rollback decision. If WSO2 cannot confirm a supported route, plan the cutover as irreversible and make the approval decision with that risk in view.

What buyers ask before a WSO2 API Manager upgrade

What drives the cost of a WSO2 API Manager upgrade?

The main cost drivers are the number of deployments and environments, the amount of custom mediation and Java extension code to review and retest, the JDK work on each node, the depth of test coverage, and who performs each step. Every deployment and environment has to be upgraded, tested and signed off, so a production cluster with separate staging, performance and disaster recovery copies multiplies the effort. Custom mediation sequences and Java extensions need checking against the 4.7.0 changes, and extensions without automated tests take the longest to verify. Costs fall into one-time work (assessment, upgrade, testing, cutover and documentation) and recurring items such as WSO2 subscription fees, if you buy one, or an ongoing retainer for upgrades and testing. DeployOpen does not publish a price list, and a quote follows from the written scope. Ask every quote to list each environment, each extension, who does each step and which tests are included.

How long does a WSO2 API Manager major upgrade take?

The duration depends on scope and test coverage, so no single figure applies to every estate. Illustrative: one small deployment with strong automated tests moves much faster than three production clusters with undocumented mediation sequences and manual test scripts. The longest stretches are usually extension rework, JDK upgrades on older nodes and test cycles that wait on business owners to approve results. Ask for a timeline in the written scope that lists the environments, the extensions in scope, the test types, the change windows and the review gates. Check it against your own calendar for freezes and audit periods. Ask the implementer how many test rounds the timeline assumes and what happens if a defect surfaces late in testing. Most DeployOpen engagements are fixed-scope, so the timeline and deliverables are agreed in writing before work starts.

What does an upgrade need from our team before it starts?

It needs environment access, a current inventory of APIs and extensions, named testing owners, agreed change windows and security sign-off. Environment access covers the gateway, the control plane, the database, the identity provider and the deployment tooling, using credentials your change process approves. The inventory lists each published API, its mediation sequences, custom Java components, policies, throttling tiers and downstream consumers, so the team knows what to retest. Testing needs owners who can confirm that each API still returns correct results, and these people often sit in application teams as well as the platform team. Change windows must fit your freeze calendar and rollback plan. Security sign-off covers the changed defaults on port 9443, token handling, XML processing and encryption settings, so your security team should review them before cutover.

Can our own team upgrade WSO2 API Manager without a partner?

Yes, if your team has JDK and WSO2 administration skills and follows WSO2's 4.7.0 release notes for your starting release. The team must be able to move each node to JDK 21 or 25, since nodes on JDK 11 or 17 must upgrade their JDK before migrating. It also needs to review custom extensions for the removed Java Security Manager support and check callback and redirect URI settings against the stricter validation. Testing and cutover sequencing across several deployments tend to take the most planning, so budget that work explicitly. WSO2's commercial subscription is an option to weigh. It provides expert support, continuous product updates, vulnerability monitoring and access to the licensed distribution for commercial use. If you want a second team to plan, implement, test and document the upgrade inside your infrastructure, DeployOpen works from a written scope.

Does DeployOpen certify a WSO2 API Manager upgrade for compliance?

No. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies issue those. For an upgrade, the evidence usually includes the before and after configuration for the changed defaults, test results for each API, rollback test records, change records and security sign-off. Ask the implementer to deliver that evidence in a form your compliance team can map to the controls in your framework, referring to control IDs and titles. Agree in advance with your auditor which evidence they will accept and when they will review it. Confirm with the auditor what counts as sufficient before the work starts.

What should we check in WSO2 API Manager 4.7.0 before we start?

Start with the upgrade-affecting changes WSO2 lists for 4.7.0, because each one can break a deployment that otherwise runs cleanly:

  • JDK: 4.7.0 requires JDK 21 or 25, and nodes on JDK 11 or 17 must upgrade first.
  • Control plane: access on port 9443 defaults to deny.
  • Tokens: token persistence is disabled by default.
  • XML: secure XML processing is enabled by default.
  • Encryption: the default encryption mechanism was updated.
  • Security Manager: Java Security Manager support was removed.
  • Redirects: callback and redirect URI validation is stricter.

Test each item against your own configuration and extensions in a non-production environment first, and record the results for your change and audit files. The WSO2 API Manager 4.7.0 release on GitHub is the starting point for the full list.

When an upgrade needs an implementation partner

Bring in an implementation partner when the upgrade touches custom code and gateway estates that WSO2 support cannot see from the outside. The first trigger is custom Java extensions, especially any that depend on the Java Security Manager, which WSO2 API Manager 4.7.0 removed. Those extensions must be rebuilt for the JDK 21 or 25 requirement and retested, and the WSO2 4.7.0 release notes also describe stricter callback and redirect URI validation, which can reject redirects that worked before. The second trigger is scale. Many gateways across hybrid or Kubernetes estates each need the same change, in the same order, with the same rollback path. A partner can script and rehearse that sequence, but only if the written scope names every gateway, control plane and environment it covers.

The third trigger is regulated change control. If your change board needs dated evidence for the JDK move, the control plane access default on port 9443, the token persistence setting, secure XML processing and the updated default encryption mechanism, someone must test, document and sign off each change, and the evidence must match what was deployed. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or attestations. Your auditor and change board decide what is sufficient. Outside help also matters most when no one on the team has recently upgraded a JDK or a WSO2 product in production.

An in-house team with WSO2 subscription support may be enough when the gateway is a standard self-hosted deployment without custom Java extensions, the team has already moved a JDK version in production, and the change board accepts vendor support and the team's own test results as evidence. Test those conditions before you request a quote. DeployOpen plans, implements, documents and supports self-hosted platforms inside the client's own infrastructure. Most engagements are fixed-scope, with scope, deliverables and timeline agreed in writing before work starts, and a quote follows from that written scope. DeployOpen publishes no price list, so ask for a quote against a named list of gateways, extensions and environments. DeployOpen is not an official WSO2 partner, reseller or certified provider.

How DeployOpen plans and runs a WSO2 API Manager upgrade

DeployOpen plans and runs WSO2 API Manager upgrades inside your own infrastructure, starting from a written scope that covers the JDK change, the 4.7.0 default changes and your own integrations. We implement, test, document and back up the upgrade so your team can review each step before cutover. Engagements are fixed-scope, with ongoing support available as a retainer.

How we scope

  • The written scope names your current version, the target release and every gateway and integration in use.
  • The JDK plan covers moving deployments on JDK 11 or 17 to JDK 21 or 25 before migrating.
  • Engagements are fixed-scope, and ongoing support is available as a retainer after handover.

How we build

  • We review the 4.7.0 default changes, including control plane access on port 9443 defaulting to deny, against your current configuration.
  • We check token persistence, secure XML processing, the encryption mechanism and callback and redirect URI validation in a test environment.
  • We identify any reliance on Java Security Manager, which 4.7.0 removed, and plan replacements in the build.

How we hand over

  • Each test run and fix is documented, so your team can repeat the upgrade or audit the changes later.
  • Rollback steps and backups are tested before cutover, and the rollback path is written into the handover pack.
  • Handover covers configuration, deployment code, runbooks and the evidence your security and compliance teams asked for.

How we support

  • Upgrades and patches after cutover can run under a retainer, scoped in writing like the original project.
  • Continuous security testing can cover the API layer, so later WSO2 changes can be tested before they reach production.
  • Confirm WSO2's current supported-version and end-of-life dates with WSO2 before you set the target release.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.