Class: com.sybase.djc.server.SocketListener (Socket Listener) EAServer 6.3 Help
Description A socket listener defines a server-side connection endpoint for incoming client connections.

See also: httpListeners and iiopListeners (Application Server Properties).

Configuration See Set Properties Task.
Properties alarmJavaMemLimit, alarmLogInterval, alarmMemLimit, criticalJavaMemLimit, criticalMemLimit, headerBufferSize, host, includeServerInfoInSession, listenBacklog, maxIdleTime, maxThreads, maximumResponseTime, memoryThreadMonitor, numberOfAcceptors, performanceThreadMonitor, port, protocol, readDelayTime, requestBufferSize, responseBufferSize, securityProfile, soLingerTime, threadPerConnection, useSocketChannel
Files Repository/Instance/com/sybase/djc/server/SocketListener/*.properties

Property: alarmJavaMemLimit (JVM Memory Limit for Alarm (%))
Description The percentage of available JVM memory before an alarm message is logged.
Default Value -1
Minimum Value -1
Maximum Value 100

Property: alarmLogInterval (Alarm Log Interval (s))
Description The amount of time in seconds to wait between logging alarm messages.
Default Value 30
Minimum Value 1
Maximum Value 2147483647

Property: alarmMemLimit (Memory Limit for Alarm (%))
Description The percentage of available virtual memory before an alarm message is logged.
Default Value -1
Minimum Value -1
Maximum Value 100

Property: criticalJavaMemLimit (Critical JVM Memory Limit (%))
Description The percentage of available JVM memory before requests are rejected.
Default Value -1
Minimum Value -1
Maximum Value 100

Property: criticalMemLimit (Critical Memory Limit (%))
Description The percentage of available virtual memory before requests are rejected.
Default Value -1
Minimum Value -1
Maximum Value 100

Property: headerBufferSize (Header Buffer Size (bytes))
Description Specifies the size of buffer header in bytes. Only used for HTTP listeners.
Default Value 8192
Minimum Value 1024
Maximum Value 2147483647

Property: host (Host Name)
Description The name of the machine on which EAServer is running.

Property: includeServerInfoInSession (Include Server Info in Session ID)
Description When enabled, will include the server's ip address and port in the http session id. This is required when using the web redirectors for load balancing to ensure sticky sessions.
Only Used If Property protocol has the value "http".
Default Value false
Legal Values false, true

Property: listenBacklog (Listen Back Log)
Description Specifies the maximum backlog for incoming connections.
Default Value 50
Minimum Value 0
Maximum Value 2147483647

Property: listenBacklog (Listen Back Log)
Description Specifies the maximum backlog for incoming connections.
Default Value 50
Minimum Value 0
Maximum Value 2147483647

Property: maxIdleTime (Maximum Idle Time (ms))
Description Specifies the idle time in milliseconds before socket disconnects. Only used for HTTP listeners.
Default Value 3600000
Minimum Value 0
Maximum Value 2147483647

Property: maxThreads (Maximum Number of Threads)
Description The maximum number of active threads that the server will allow for this listener. This value must be less than or equal to the allowed number of connections.
Default Value 30
Minimum Value 30
Maximum Value 2147483647

Property: maximumResponseTime (Maximum Response Time)
Description The average maximum response time in milliseconds for a request before the allowed number of active threads is decreased.
Default Value -1
Minimum Value -1
Maximum Value 2147483647

Property: memoryThreadMonitor (Memory Thread Monitor)
Description The ThreadMonitor associated with memory monitoring for this listener.
Default Value memory

Property: memoryThreadMonitor (Memory Thread Monitor)
Description The ThreadMonitor associated with memory monitoring for this listener.
Default Value memory

Property: numberOfAcceptors (Number of Acceptors)
Description Specifies the number of acceptor threads to be run.
Default Value 3
Minimum Value 1
Maximum Value 2147483647

Property: performanceThreadMonitor (Performance Thread Monitor)
Description The ThreadMonitor associated with performance monitoring for this listener.
Default Value performance

Property: port (Port)
Description The port number where the server listens for requests.
Default Value 1
Minimum Value 1
Maximum Value 2147483647

Property: protocol (Protocol)
Description Determines the type of client supported. Protocols starting with "http" support browser and web service clients. Protocols starting with "iiop" support CORBA and EJB clients. A terminating "s" indicates secure socket support. The "rmi" type is for JMX system management clients.
Legal Values iiop, iiops, http, https, jtds, rmi

Property: readDelayTime (Read Delay Time (ms))
Description Time to delay first read
Default Value 300
Minimum Value 0
Maximum Value 2147483647

Property: requestBufferSize (Request Buffer Size (bytes))
Description Specifies the size of request buffer in bytes. Only used for HTTP listeners.
Default Value 32768
Minimum Value 1024
Maximum Value 2147483647

Property: responseBufferSize (Response Buffer Size (bytes))
Description Specifies the size of response buffer in bytes. Only used for HTTP listeners.
Default Value 65536
Minimum Value 1024
Maximum Value 2147483647

Property: securityProfile (Security Profile)
Description The security profile to use for HTTPS and IIOPS listeners.

Property: soLingerTime (Socket Linger Time (ms))
Description Specifies the time in milliseconds that a socket should linger before disconnecting.
Default Value 1000
Minimum Value 1000
Maximum Value 2147483647

Property: threadPerConnection (Thread Per Connection)
Description Specifies if use wants to use Thread Per Connection model. This facility is only available with HTTP type listeners
Default Value true
Legal Values false, true

Property: useSocketChannel (Use SocketChannel type Listener)
Description Use java.net.SocketChannel type listener instead of plain Socket listener. This property is only valid for HTTP Protocol.IIOP will always use Blocking NIO, IIOP(S)/HTTPS Protocol will always use Socket Listeners
Default Value true
Legal Values false, true