Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FISH-761 Deployment of unpacked WAB fails when using Felix fileinstall #4440

Merged
merged 2 commits into from Nov 17, 2020

Conversation

bjetal
Copy link
Contributor

@bjetal bjetal commented Jan 17, 2020

Description

Add explicit support for the "jardir" schema used by fileinstall for unpacked directories by translating it to to the "file" schema. This allows unpacked WAB (and probably EJB bundles) installed via Felix FileInstall to be deployed successfully (barring other bugs)

Fixes: #4415

This works because the path portion of the jardir: URL is the directory path. The "jardir:" provides some additional features that don't appear to be needed during Java EE module deployment and it isn't supported for the NIO FileSystem API, which Payara uses during deployment.

Testing

New tests

None added

Testing Performed

Tested this with the application under which we discovered this bug

Test suites executed

None

Testing Environment

OS: RedHat Linux 7
JDK: OpenJDK 8.0.201
Maven: 3.6.2

Documentation

N/A

Notes for Reviewers

N/A

@bjetal bjetal closed this Jan 20, 2020
@bjetal bjetal reopened this Jan 20, 2020
@rdebusscher rdebusscher added the PR: Awaiting CLA Contributor does not have a CLA or has submitted an unconfirmed CLA. label Jan 21, 2020
@OndroMih OndroMih assigned OndroMih and unassigned OndroMih Feb 10, 2020
@rdebusscher
Copy link
Contributor

@bjetal We are awaiting the signed CLA (https://github.com/payara/Payara/blob/master/PayaraCLA.pdf) otherwise we need to close this PR.

@rdebusscher rdebusscher added the Status: Abandoned User has not supplied reproducers for bug report, soon to be closed if user doesn’t come back label Apr 3, 2020
@bjetal
Copy link
Contributor Author

bjetal commented Apr 3, 2020

I apologize, I thought I had emailed it, but in looking at it I realized I had sent it to the wrong email address. I have emailed it again, this time to the correct address.

@smillidge smillidge added PR: CLA CLA submitted on PR by the contributor and removed PR: Awaiting CLA Contributor does not have a CLA or has submitted an unconfirmed CLA. labels Apr 6, 2020
@smillidge
Copy link
Contributor

We've got the CLA

@rdebusscher rdebusscher added community-contribution and removed Status: Abandoned User has not supplied reproducers for bug report, soon to be closed if user doesn’t come back labels Apr 6, 2020
Co-authored-by: Andrew Pielage <pandrex247@hotmail.com>
@MeroRai
Copy link
Member

MeroRai commented Nov 17, 2020

jenkins test please

@MeroRai MeroRai changed the title fixes #4415 - Deployment of unpacked WAB fails when using Felix fileinstall FISH-761 Deployment of unpacked WAB fails when using Felix fileinstall Nov 17, 2020
@MeroRai MeroRai added the Status: Accepted Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev label Nov 17, 2020
@MeroRai MeroRai merged commit 39d14da into payara:master Nov 17, 2020
Cousjava pushed a commit to Cousjava/Payara that referenced this pull request Jan 27, 2021
  FISH-761 Deployment of unpacked WAB fails when using Felix fileinstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: CLA CLA submitted on PR by the contributor Status: Accepted Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deployment of unpacked WAB fails when using Felix fileinstall
7 participants