Oracle GlassFish Server 3.0.1 Upgrade Guide

Remapping of HTTP Service Attributes and Properties

The following tables describe how attributes and properties in the HTTP Service configuration for v3 Prelude are remapped to attributes in the Network Service configuration for GlassFish Server 3.0.1 and Sun GlassFish Enterprise Server v3. If you use a configuration from a Sun GlassFish Enterprise Server v2 or v3 release, this remapping happens automatically and then discontinued elements are deleted.

Table 1–2 com.sun.grizzly Property Remapping

com.sun.grizzly Property

New Owning Element 

New Attribute Name 

selector.timeout

transport

selector-poll-timeout-millis

displayConfiguration

transport

display-configuration

enableSnoop

transport

snoop-enabled

readTimeout

transport

read-timeout-millis

writeTimeout

transport

write-timeout-millis

Table 1–3 connection-pool Attribute Remapping

connection-pool Attribute

New Owning Element 

New Attribute Name 

queue-size-in-bytes

thread-pool

max-queue-size

max-pending-count

transport

max-connections-count

receive-buffer-size-in-bytes

http

request-body-buffer-size-bytes

send-buffer-size-in-bytes

http

send-buffer-size-bytes

Table 1–4 http-file-cache Attribute Remapping

http-file-cache Attribute

New Owning Element 

New Attribute Name 

file-caching-enabled

file-cache

enabled

max-age-in-seconds

file-cache

max-age-seconds

medium-file-space-in-bytes

file-cache

max-cache-size-bytes

max-files-count

file-cache

max-files-count

globally-enabled

none 

not supported 

medium-file-size-limit-in-bytes

none 

not supported 

small-file-size-limit-in-bytes

none 

not supported 

small-file-space-in-bytes

none 

not supported 

file-transmission-enabled

none 

not supported 

hash-init-size

none 

not supported 

Table 1–5 http-listener Attribute Remapping

http-listener Attribute

New Owning Element 

New Attribute Name 

id

network-listener

name

address

network-listener

address

port

network-listener

port

enabled

network-listener

enabled

acceptor-threads

transport

acceptor-threads

security-enabled

protocol

security-enabled

default-virtual-server

http

default-virtual-server

server-name

http

server-name

redirect-port

http

redirect-port

xpowered-by

http

xpowered-by

external-port

none 

not supported 

family

none 

not supported 

blocking-enabled

none 

not supported 

Table 1–6 http-listener Property Remapping

http-listener Property

New Owning Element 

New Attribute Name 

maxKeepAliveRequests

http

max-connections

authPassthroughEnabled

http

auth-pass-through-enabled

compression

http

compression

compressableMimeType

http

compressable-mime-type

noCompressionUserAgents

http

no-compression-user-agents

compressionMinSize

http

compression-min-size-bytes

restrictedUserAgents

http

restricted-user-agents

cometSupport

http

comet-support-enabled

connectionUploadTimeout

http

connection-upload-timeout-millis

disableUploadTimeout

http

upload-timeout-enabled

chunkingDisabled

http

chunking-enabled

uriEncoding

http

uri-encoding

traceEnabled

http

trace-enabled

rcmSupport

http

rcm-support-enabled

jkEnabled

network-listener

jk-enabled

crlFile

ssl

crl-file

trustAlgorithm

ssl

trust-algorithm

trustMaxCertLength

ssl

trust-max-cert-length-bytes

tcpNoDelay

transport

tcp-no-delay

bufferSize

transport

buffer-size-bytes

use-nio-direct-bytebuffer

transport

byte-buffer-type

proxyHandler

none 

not supported 

proxiedProtocols

none 

not supported 

recycle-objects

none 

not supported 

reader-threads

none 

not supported 

acceptor-queue-length

none 

not supported 

reader-queue-length

none 

not supported 

connectionTimeout

none 

not supported 

monitoring-cache-enabled

none 

not supported 

monitoring-cache-refresh-in-millis

none 

not supported 

ssl-cache-entries

none 

not supported 

ssl3-session-timeout

none 

not supported 

ssl-session-timeout

none 

not supported 

Table 1–7 http-protocol Attribute Remapping

http-protocol Attribute

New Owning Element 

New Attribute Name 

version

http

version

forced-response-type

http

forced-response-type

default-response-type

http

default-response-type

dns-lookup-enabled

none 

not supported 

ssl-enabled

none 

not supported 

Table 1–8 http-service Property Remapping

http-service Property

New Owning Element 

New Attribute or Property Name 

accessLoggingEnabled

http-service, virtual-server

access-logging-enabled attribute

ssl-cache-entries

http-service

unchanged property 

ssl3-session-timeout

http-service

unchanged property 

ssl-session-timeout

http-service

unchanged property 

proxyHandler

http-service

unchanged property 

connectionTimeout

http-service

unchanged property 

all other properties 

none 

not supported 

Table 1–9 keep-alive Attribute Remapping

keep-alive Attribute

New Owning Element 

New Attribute Name 

max-connections

http

max-connections

timeout-in-seconds

http

timeout-seconds

thread-count

none 

not supported 

Table 1–10 request-processing Attribute Remapping

request-processing Attribute

New Owning Element 

New Attribute Name 

thread-count

thread-pool

max-thread-pool-size

initial-thread-count

thread-pool

min-thread-pool-size

header-buffer-length-in-bytes

http

header-buffer-length-bytes

request-timeout-in-seconds

http

request-timeout-seconds

thread-increment

none 

not supported 

Table 1–11 ssl Attribute Changes

Previous Attribute or Property 

Previous Owning Element 

New ssl Attribute

none 

none 

key-store

none 

none 

trust-store

crlFile property

http-listener

crl-file

trustAlgorithm property

http-listener

trust-algorithm

trustMaxCertLength property

http-listener

trust-max-cert-length-bytes

all other ssl attributes

ssl

unchanged 

Table 1–12 thread-pool Attribute Changes

Previous Attribute 

Previous Owning Element 

New thread-pool Attribute

none 

none 

classname

none 

none 

max-queue-size

thread-pool-id

thread-pool

name

idle-thread-timeout-in-seconds

thread-pool

idle-thread-timeout-seconds

num-work-queues

thread-pool

not supported 

all other thread-pool attributes

thread-pool

unchanged 

Table 1–13 virtual-server Attribute Changes

Previous Attribute or Property 

Previous Owning Element 

New virtual-server Attribute

http-listeners attribute

virtual-server

network-listeners

accessLoggingEnabled property

http-service

access-logging-enabled

sso-enabled property

virtual-server

sso-enabled

ssoCookieSecure property

virtual-server

sso-cookie-secure

all other virtual-server attributes

virtual-server

unchanged 

all other virtual-server properties

virtual-server

unchanged, still properties