FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix Payara remote instance handling: improve error reporting and version mismatch detection by jGauravGupta · Pull Request #9333 · apache/netbeans · GitHub

Fix Payara remote instance handling: improve error reporting and version mismatch detection - #9333

Draft
jGauravGupta wants to merge 1 commit into
apache:masterfrom
jGauravGupta:FISH-11211
Draft

Fix Payara remote instance handling: improve error reporting and version mismatch detection#9333
jGauravGupta wants to merge 1 commit into
apache:masterfrom
jGauravGupta:FISH-11211

Conversation

Copy link
Copy Markdown
Contributor

Summary

Improve handling of remote Payara instances with better error reporting and version mismatch detection.

Changes

  • Add RemoteInstanceStateListener for remote-specific warnings
  • Introduce new TaskEvents: VERSION_MISMATCH, CONNECTION_FAILED, CMD_URL_FAILED
  • Detect version mismatch and treat as SUCCESS with warning (for remote servers)
  • Replace generic exceptions with specific connection failure event
  • Add user-friendly, throttled warning notifications

Impact

  • Clearer error messages
  • No false failures for version mismatch
  • Improved remote server experience

…ion mismatch detection

Fix Payara remote instance handling: improve error reporting and version mismatch detection

- Add RemoteInstanceStateListener to handle remote server-specific warnings
- Introduce new TaskEvent types: VERSION_MISMATCH, CONNECTION_FAILED, CMD_URL_FAILED
- Improve CommandVersion logic with isVersionMismatch() for accurate comparison
- Treat version mismatch on remote servers as SUCCESS with warning instead of failure
- Update Runner to emit CONNECTION_FAILED instead of generic EXCEPTION
- Add user-facing warning messages for:
  - version mismatch
  - connection failure (host/port issues)
  - command URL construction errors
- Prevent popup spam with throttling in RemoteInstanceStateListener
jGauravGupta added the Java EE/Jakarta EE [ci] enable enterprise job label Apr 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Java EE/Jakarta EE [ci] enable enterprise job

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL