Skip to content

Conversation

@ndp-opendap
Copy link
Contributor

@ndp-opendap ndp-opendap commented May 20, 2025

Here is a potential solution for HYRAX-1754

With this PR we move to Tomcat-11 and the java servlet-api-6.1

In migrating our code to use the java servlet-api-6.x(Where some group of deciders decided to change all the package names in the servlet-api. Nice, thanks for that.) we find there is a surprising amount of phaphphing about to do.

Update: This is working on RHEL-9 with Tomcat-11, and the Redis session manager.

We have to decide if it's "time to migrate", which is not insignificant because we have to bring libdap4, the new bes-deps, and the bes along for the ride to RHEL-9.

decided to change all the package names in the servlet-api.
Nice.
Thanks for that.
With this branch we move to catalina-11.0.7 and servlet-api-6.1
Copy link
Contributor

@dh-opendap dh-opendap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Need to determine if memcached session manager works with catalian-11.0.7 before merging.

@ndp-opendap
Copy link
Contributor Author

I think we should try it with a Tomcat 11 deployment! I have no idea if t works, just that it compiles.
But if we merge this then it will break the hyrax-docker production because that task is still using Tomcat 9 images

@dh-opendap
Copy link
Contributor

Agreed, let's try this with memcached.

Copy link
Contributor

@dh-opendap dh-opendap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woth trying with memcached session manager

@sonarqubecloud
Copy link

@ndp-opendap
Copy link
Contributor Author

So now that this works with RHEL-9, Tomcat-11, and Redis we have to decide if it's "time to migrate"

Not insignificant because we have to bring libdap4, bes-deps, and the bes along for the ride to RHEL-9.

@sonarqubecloud
Copy link

Copy link
Member

@jgallagher59701 jgallagher59701 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - Pretty simple change with a massive footprint.

Copy link
Collaborator

@hannahilea hannahilea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have to decide if it's "time to migrate", which is not insignificant because we have to bring libdap4, the new bes-deps, and the bes along for the ride to RHEL-9.

Do we have a ticket w/ acceptance criteria for this? If it turns out we don't want to take this on right now, probably worth filing a ticket with how to pick it up in the future and then closing the PR (without merging).

(I'll be honest, only "requesting changes" instead of letting it linger so that I stop getting pinged daily for review by my slackbot...)

@ndp-opendap
Copy link
Contributor Author

We have to decide if it's "time to migrate", which is not insignificant because we have to bring libdap4, the new bes-deps, and the bes along for the ride to RHEL-9.

Do we have a ticket w/ acceptance criteria for this? If it turns out we don't want to take this on right now, probably worth filing a ticket with how to pick it up in the future and then closing the PR (without merging).

(I'll be honest, only "requesting changes" instead of letting it linger so that I stop getting pinged daily for review by my slackbot...)

Session Management

Currently we are using memcached as our session manager in NGAP. The memcached session manager code is stale and no longer under development. It contains many instances of soon to be abandoned API usage and issues dire warnings to this effect at start-up. In order to move to a new session manager based on Redis we have to migrate the OLFS to a newer Tomcat, and as a result, a newer language level. That's what this PR is about.

Q: Is there an epic in the JIRA for this migration to Redis?
A: Apparently not, but here are the related tickets that I could easily find:

Related

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants