Sun GlassFish Enterprise Server v3 Domain File Format Reference

http-listener

This element is not supported. If this element is present in the domain.xml file, its attributes and properties are remapped to other elements and then it is deleted. For remapping details, see the Attributes and Properties tables for this element.

Superelements

http-service

Subelements

The following table describes subelements for the http-listener element.

Table 1–60 http-listener Subelements

Element 

Required 

Description 

ssl

zero or one 

Defines Secure Socket Layer (SSL) parameters. 

property

zero or more 

Specifies a property or a variable. 

Attributes

The following table describes attributes for the http-listener element.

Table 1–61 http-listener Attributes

Attribute 

Default 

Description 

id

none 

Remapped to the name attribute of a network-listener element.

address

none 

Remapped to the address attribute of a network-listener element.

port

none 

Remapped to the port attribute of a network-listener element.

external-port

none 

Not implemented. Do not use. 

family

 

Not implemented. Do not use. 

blocking-enabled

false

Not implemented. Do not use. 

acceptor-threads

1

Remapped to the acceptor-threads attribute of a transport element.

security-enabled

false

Remapped to the security-enabled attribute of a protocol element.

default-virtual-server

none 

Remapped to the default-virtual-server attribute of an http element.

server-name

none 

Remapped to the server-name attribute of an http element.

redirect-port

none 

Remapped to the redirect-port attribute of an http element.

xpowered-by

true

Remapped to the xpowered-by attribute of an http element.

enabled

true

Remapped to the enabled attribute of a network-listener element.

Properties

The following table describes property remappings for the http-listener element. A few of these properties can be defined as http-service properties, applying to all network-listener elements.

Table 1–62 http-listener Properties

Property 

Default 

Description 

monitoring-cache-enabled

true

Not implemented. Do not use. 

monitoring-cache-refresh-in-millis

5000

Not implemented. Do not use. 

ssl-cache-entries

10000

Implemented only for http-service.

ssl3-session-timeout

86400

Implemented only for http-service.

ssl-session-timeout

100

Implemented only for http-service.

recycle-objects

true

Not implemented. Do not use. 

reader-threads

0

Not implemented. Do not use. 

acceptor-queue-length

4096

Not implemented. Do not use. 

reader-queue-length

4096

Not implemented. Do not use. 

use-nio-direct-bytebuffer

true

Remapped to the byte-buffer-type attribute of a transport element.

authPassthroughEnabled

false

Remapped to the auth-pass-through-enabled attribute of an http element.

proxyHandler

com.sun.enterprise.web.ProxyHandlerImpl

Implemented only for http-service.

proxiedProtocol

none 

Not implemented. Do not use. 

bufferSize

4096

Remapped to the buffer-size-bytes attribute of a transport element.

connectionTimeout

30

Implemented only for http-service.

maxKeepAliveRequests

250

Remapped to the max-connections attribute of an http element.

traceEnabled

true

Remapped to the trace-enabled attribute of an http element.

cometSupport

false

Remapped to the comet-support-enabled attribute of an http element.

jkEnabled

false

Remapped to the jk-enabled attribute of a network-listener element.

compression

off

Remapped to the compression attribute of an http element.

compressableMimeType

text/html,text/xml,text/plain

Remapped to the compressable-mime-type attribute of an http element.

noCompressionUserAgents

empty String (regexp matching disabled)

Remapped to the no-compression-user-agents attribute of an http element.

minCompressionSize or compressionMinSize

none 

Remapped to the compression-min-size-bytes attribute of an http element.

crlFile

none 

Remapped to the crl-file attribute of an ssl element.

trustAlgorithm

none  

Remapped to the trust-algorithm attribute of an ssl element.

trustMaxCertLength

5

Remapped to the trust-max-cert-length attribute of an ssl element.

disableUploadTimeout

true

Remapped to the upload-timeout-enabled attribute of an http element.

connectionUploadTimeout

5

Remapped to the connection-upload-timeout-millis attribute of an http element.

uriEncoding

UTF-8

Remapped to the uri-encoding attribute of an http element.