Skip to content

Bug Report: Saving settings on network listener throws error/FISH-14073 #8277

Description

@scrmtrey91

Brief Summary

When changing settings in network listeners , payara admin console throw an error on UI.

Settings should be saved without error on screen, like some previous versions of payara.

At least settings seems to be saved, but when user see an error it is not sure that settings were applied.

User can only check in domain.xml or refresh the admin console and check again the values in UI.

Image
  RestResponse.getResponse() gives FAILURE.  endpoint = 
'http://localhost:4848/management/domain/configs/config/server-config/network-
config/protocols/protocol/http-listener-2/http'; attrs = '{dnsLookupEnabled=null, sendBufferSizeBytes=8192, 
websocketsSupportEnabled=true, maxRequestHeaders=100, chunkingEnabled=true, http2PushEnabled=null, 
http2CleanFrequencyCheck=50, serverHeader=true, maxPostSizeBytes=-1, websocketsTimeoutSeconds=900, 
encodedSlashEnabled=null, maxRequestParameters=10000, compressionLevel=-1, jkConfigurationFile=${com.sun.aas.instanceRoot}/config/glassfish-jk.properties, cometSupportEnabled=null, 
maxResponseHeaders=100, adapter=org.glassfish.grizzly.http.server.StaticHttpHandler, defaultVirtualServer=server, http2MaxHeaderListSizeInBytes=4096, defaultResponseType=null, 
cookieSameSiteValue=None, compressionMinSizeBytes=2048, requestTimeoutSeconds=900, authPassThroughEnabled=null, http2CleanPercentage=0.5, timeoutSeconds=30, compression=off, 
rcmSupportEnabled=null, scheme=null, http2InitialWindowSizeInBytes=65535, remoteUserMapping=null, serverName=null, allowPayloadForUndefinedHttpMethods=false, forcedResponseType=null, 
http2MaxFramePayloadSizeInBytes=16777215, redirectPort=null, http2MaxConcurrentStreams=100, maxSwallowingInputBytes=-1, http2DisableCipherCheck=null, maxConnections=250, maxSavePostSizeBytes=4096, 
maxFormPostSizeBytes=2097152, compressionStrategy=Default, restrictedUserAgents=null, schemeMapping=null, cookieSameSiteEnabled=null, connectionUploadTimeoutMillis=300000, headerBufferLengthBytes=8192, 
noCompressionUserAgents=null, http2Enabled=true, compressableMimeType=text/html,text/xml,text/plain, uriEncoding=UTF-8, jkEnabled=null, http2StreamsHighWaterMark=0.5, traceEnabled=null, 
uploadTimeoutEnabled=true, xframeOptions=true}']]


Expected Outcome

Settings are saved without error, like previous versions.

Current Outcome

Settings seems to be saved, but throws and error on screen.

Reproducer

Goto admin console:

  1. server-config -> nework config -> network listeners -> admin-listener.http -> SAVE button
  2. server-config -> nework config -> network listeners -> http-listener-1 -> SAVE button
  3. server-config -> nework config -> network listeners -> http-listener-2 -> SAVE button

Operating System

Docker, Windows 11

JDK Version

Zulu 25

Payara Distribution

Payara Server Full Profile

Metadata

Metadata

Assignees

Labels

Status: AcceptedConfirmed defect or accepted improvement to implement, issue has been escalated to Platform DevType: BugLabel issue as a bug defect

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions