|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This bean represents the configuration of virtual web server within a WebLogic Server instance. Note that a server may define multiple web servers to support virtual hosts.
This MBean represents a virtual host.
Field Summary | |
static long |
CACHING_STUB_SVUID
|
static java.lang.String |
DEFAULT_LOG_FILE_NAME
|
static java.lang.String |
TIME_FORMAT
The format string for log file rotation start time. |
Fields inherited from class weblogic.management.configuration.DeploymentMBean |
CACHING_STUB_SVUID,
DEFAULT_ORDER,
MAX_ORDER,
MIN_ORDER |
Fields inherited from class weblogic.management.configuration.ConfigurationMBean |
CACHING_STUB_SVUID |
Method Summary | |
java.util.Map |
getCharsets()
|
java.lang.String |
getDefaultServerName()
Deprecated. |
WebAppComponentMBean |
getDefaultWebApp()
|
java.lang.String |
getFrontendHost()
Sets the HTTP frontendHost |
int |
getFrontendHTTPPort()
Sets the frontendHTTPPort |
int |
getFrontendHTTPSPort()
Sets the frontendHTTPSPort |
int |
getHttpsKeepAliveSecs()
Number of seconds to maintain HTTPS keep-alive before timing out the request. |
int |
getKeepAliveSecs()
Number of seconds to maintain HTTP keep-alive before timing out the request. |
int |
getLogFileBufferKBytes()
|
int |
getLogFileFlushSecs()
The interval (in seconds) at which the server checks the size of the buffer that stores HTTP requests. |
java.lang.String |
getLogFileFormat()
Specifies the format of the HTTP log file. |
java.lang.String |
getLogFileName()
The name of the file that stores the HTTP-request log. |
int |
getLogRotationPeriodMins()
The interval (in minutes) at which the server saves old HTTP requests to another log file. |
java.lang.String |
getLogRotationTimeBegin()
Determines the start time for a time-based rotation sequence. |
java.lang.String |
getLogRotationType()
Criteria for moving old HTTP requests to a separate log file: size . |
boolean |
getLogTimeInGMT()
Specifies whether the time stamps for HTTP log messages are in Greenwich Mean Time (GMT) regardless of the local time zone that the host computer specifies. |
int |
getMaxLogFileSizeKBytes()
The size (1 - 65535 kilobytes) that triggers the server to move log messages to a separate file. |
int |
getMaxPostSize()
|
int |
getMaxPostTimeSecs()
|
int |
getPostTimeoutSecs()
|
java.util.Map |
getURLResource()
|
int |
getWriteChunkBytes()
|
boolean |
isAcceptContextPathInGetRealPath()
|
boolean |
isAuthCookieEnabled()
|
boolean |
isChunkedTransferDisabled()
|
boolean |
isClusteringEnabled()
Deprecated. |
boolean |
isDebugEnabled()
|
boolean |
isEventsEnabled()
|
boolean |
isKeepAliveEnabled()
|
boolean |
isLoggingEnabled()
|
boolean |
isSendServerHeaderEnabled()
Indicates whether this server instance includes its name and WebLogic Server version number in HTTP response headers. |
boolean |
isSingleSignonDisabled()
|
boolean |
isUseHeaderEncoding()
|
boolean |
isUseHighestCompatibleHTTPVersion()
|
boolean |
isWAPEnabled()
|
void |
setAcceptContextPathInGetRealPath(boolean enable)
Beginning with this release inclusion of the contextPath in the virtualPath to the context.getRealPath() will not be allowed as it breaks the case when the subdirectories have the same name as contextPath. |
void |
setAuthCookieEnabled(boolean enable)
Enables use of additional secure AuthCookie to make access to https pages with security constraints more secure. |
void |
setCharsets(java.util.Map charsets)
User defined mapping between internet and Java charset names |
void |
setChunkedTransferDisabled(boolean disable)
Disables the use of Chunk Transfer-Encoding in HTTP/1.1 |
void |
setClusteringEnabled(boolean enable)
Deprecated. |
void |
setDefaultServerName(java.lang.String serverName)
Deprecated. |
void |
setDefaultWebApp(WebAppComponentMBean context)
Servlet 2.3 Web Application that maps to the "default" servlet context (where ContextPath = "/") |
void |
setFrontendHost(java.lang.String hostName)
|
void |
setFrontendHTTPPort(int httpPort)
|
void |
setFrontendHTTPSPort(int httpsPort)
|
void |
setHttpsKeepAliveSecs(int secs)
|
void |
setKeepAliveEnabled(boolean enabled)
Returns whether or not HTTP keep-alive is enabled |
void |
setKeepAliveSecs(int secs)
|
void |
setLogFileBufferKBytes(int kbytes)
The maximum size (in kilobytes) of the buffer that stores HTTP requests. |
void |
setLogFileFlushSecs(int secs)
|
void |
setLogFileFormat(java.lang.String format)
Sets the format of the HTTP log file. |
void |
setLogFileName(java.lang.String fileName)
|
void |
setLoggingEnabled(boolean enable)
Enables logging of HTTP requests. |
void |
setLogRotationPeriodMins(int mins)
|
void |
setLogRotationTimeBegin(java.lang.String when)
|
void |
setLogRotationType(java.lang.String type)
|
void |
setLogTimeInGMT(boolean useGMT)
|
void |
setMaxLogFileSizeKBytes(int kbytes)
The size (1 - 65535 kilobytes) that triggers the server to move log messages to a separate file. |
void |
setMaxPostSize(int bytes)
Max Post Size (in bytes) for reading HTTP POST data in a servlet request. |
void |
setMaxPostTimeSecs(int secs)
Max Post Time (in seconds) for reading HTTP POST data in a servlet request. |
void |
setPostTimeoutSecs(int secs)
Timeout (in seconds) for reading HTTP POST data in a servlet request. |
void |
setSendServerHeaderEnabled(boolean enabled)
Determines whether this server instance includes its name and WebLogic Server version number in HTTP response headers. |
void |
setSingleSignonDisabled(boolean disable)
Disables SingleSignon in webapps |
void |
setURLResource(java.util.Map resource)
Adds a URL connection factory resource into JNDI |
void |
setUseHeaderEncoding(boolean disable)
Enables use of Content-Type encoding for specific headers that are known to contain non-ISO-8859_1 characters. |
void |
setUseHighestCompatibleHTTPVersion(boolean disable)
Enables use of the highest compatible HTTP protocol version-string in the response. |
void |
setWAPEnabled(boolean enable)
Enables WAP |
Methods inherited from interface weblogic.management.configuration.DeploymentMBean |
addTarget,
getDeploymentOrder,
getTargets,
removeTarget,
setDeploymentOrder,
setTargets |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
addLinkMbeanAttribute,
getNotes,
isPersistenceEnabled,
setNotes |
Methods inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo,
getName,
getObjectName,
getParent,
getType,
isCachingDisabled,
isRegistered,
setName,
setParent |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute,
getAttributes,
invoke,
setAttribute,
setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister,
postRegister,
preDeregister,
preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
Field Detail |
public static final long CACHING_STUB_SVUID
public static final java.lang.String TIME_FORMAT
public static final java.lang.String DEFAULT_LOG_FILE_NAME
Method Detail |
public void setLoggingEnabled(boolean enable)
public boolean isLoggingEnabled()
public java.lang.String getLogFileFormat()
public void setLogFileFormat(java.lang.String format) throws javax.management.InvalidAttributeValueException, DistributedManagementException
public boolean getLogTimeInGMT()
Use this method to comply with the W3C specification for Extended Format Log Files. The specification states that all time stamps for Extended Format log entries be in GMT.
This method applies only if you have specified the extended
message format.
public void setLogTimeInGMT(boolean useGMT)
public java.lang.String getLogFileName()
This value is relevant only if HTTP logging is enabled.
The current logfile is always the one whose name equals value of the this attribute. If you have enabled log file rotation, when the current file exceeds the size or time limit, it is renamed.
To include a time and date stamp in the file name when the log file
is rotated, add java.text.SimpleDateFormat
variables to
the file name. Surround each variable with percentage (%
)
characters.
For example, if the file name is defined to be
access_%yyyy%_%MM%_%dd%_%hh%_%mm%.log
, the log file will
be named access_yyyy_mm_dd_hh_mm.log
.
When the log file is rotated, the rotated file name contains the date
stamp. For example, if the log file is rotated on 2 April, 2003 at
10:05 AM, the log file that contains the old messages will be named
access_2003_04_02_10_05.log
.
If you do not include a time and date stamp, the rotated log files
are numbered in order of creation. For example,
access.log0007
.
public void setLogFileName(java.lang.String fileName) throws javax.management.InvalidAttributeValueException
public java.lang.String getFrontendHost()
public void setFrontendHost(java.lang.String hostName) throws javax.management.InvalidAttributeValueException
public int getFrontendHTTPPort()
public void setFrontendHTTPPort(int httpPort) throws javax.management.InvalidAttributeValueException
public int getFrontendHTTPSPort()
public void setFrontendHTTPSPort(int httpsPort) throws javax.management.InvalidAttributeValueException
public void setLogFileBufferKBytes(int kbytes) throws javax.management.InvalidAttributeValueException
LogFileFlushSecs
property to determine the
frequency with which the server checks the size of the buffer.
public int getLogFileBufferKBytes()
public int getMaxLogFileSizeKBytes()
FileName.n
and create
a new one to store subsequent messages.
0
causes the file to grow indefinitely.
This property is relevant only if you choose to rotate files by
size
.
public void setMaxLogFileSizeKBytes(int kbytes) throws javax.management.InvalidAttributeValueException
FileName.n
and create
a new one to store subsequent messages.
0
causes the file to grow indefinitely.
This property is relevant only if you choose to rotate files by
size
.
kbytes
- The new maxLogFileSizeKBytes valuepublic java.lang.String getLogRotationType()
size
. When the log file reaches the size that you specify
in MaxLogFileSizeKBytes
, the server renames the file as
LogFileName.n
.
date
. At each time interval that you specify in
LogRotationPeriodMin
, the server renames the file as
LogFileName.n
.
After the server renames a file, subsequent messages accumulate in a new
file with the name that you specified in LogFileName
.
public void setLogRotationType(java.lang.String type) throws javax.management.InvalidAttributeValueException
public int getLogRotationPeriodMins()
date
-based rotation type.
public void setLogRotationPeriodMins(int mins) throws javax.management.InvalidAttributeValueException
public int getLogFileFlushSecs()
LogFileBufferKBytes
property, the server writes the data
in the buffer to the HTTP request log file.
public void setLogFileFlushSecs(int secs) throws javax.management.InvalidAttributeValueException
public java.lang.String getLogRotationTimeBegin()
LogRotationPeriodMins
.
Use the following format: MM-dd-yyyy-k:mm:ss
where
MM
is the month as expressed in the Gregorian calendar
dd
is the day of the month
yyyy
is the year
k
is the hour in a 24-hour format.
mm
is the minute
ss
is the second
By default, rotation starts 24 hours from the time that you restart the server instance.
public void setLogRotationTimeBegin(java.lang.String when) throws javax.management.InvalidAttributeValueException
public void setKeepAliveEnabled(boolean enabled)
public boolean isKeepAliveEnabled()
public int getKeepAliveSecs()
public void setKeepAliveSecs(int secs) throws javax.management.InvalidAttributeValueException
public int getHttpsKeepAliveSecs()
public void setHttpsKeepAliveSecs(int secs) throws javax.management.InvalidAttributeValueException
public void setPostTimeoutSecs(int secs) throws javax.management.InvalidAttributeValueException
public int getPostTimeoutSecs()
public void setMaxPostTimeSecs(int secs) throws javax.management.InvalidAttributeValueException
public int getMaxPostTimeSecs()
public void setMaxPostSize(int bytes) throws javax.management.InvalidAttributeValueException
public int getMaxPostSize()
public void setSendServerHeaderEnabled(boolean enabled)
public boolean isSendServerHeaderEnabled()
public void setDefaultWebApp(WebAppComponentMBean context)
public WebAppComponentMBean getDefaultWebApp()
public void setCharsets(java.util.Map charsets) throws javax.management.InvalidAttributeValueException
public java.util.Map getCharsets()
public void setURLResource(java.util.Map resource) throws javax.management.InvalidAttributeValueException
public java.util.Map getURLResource()
public void setChunkedTransferDisabled(boolean disable)
public boolean isChunkedTransferDisabled()
public void setUseHighestCompatibleHTTPVersion(boolean disable)
public boolean isUseHighestCompatibleHTTPVersion()
public void setUseHeaderEncoding(boolean disable)
public boolean isUseHeaderEncoding()
public void setAuthCookieEnabled(boolean enable)
public boolean isAuthCookieEnabled()
public int getWriteChunkBytes()
public boolean isDebugEnabled()
public boolean isEventsEnabled()
public void setWAPEnabled(boolean enable)
public boolean isWAPEnabled()
public void setAcceptContextPathInGetRealPath(boolean enable)
public boolean isAcceptContextPathInGetRealPath()
public void setSingleSignonDisabled(boolean disable)
public boolean isSingleSignonDisabled()
public void setClusteringEnabled(boolean enable)
public boolean isClusteringEnabled()
public java.lang.String getDefaultServerName()
public void setDefaultServerName(java.lang.String serverName) throws javax.management.InvalidAttributeValueException
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs70 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |