…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
Summary
Improve handling of remote Payara instances with better error reporting and version mismatch detection.
Changes
Impact