|
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. 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,
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
java.util.Map |
getCharsets()
Gets the charsets attribute of the WebServerMBean object |
java.lang.String |
getDefaultServerName()
Sets the HTTP defaultServerName |
WebAppComponentMBean |
getDefaultWebApp()
Gets the defaultWebApp attribute of the WebServerMBean object |
java.lang.String |
getFrontendHost()
Sets the HTTP frontendHost Provides a method to ensure that the webapp will always have the correct HOST information, even when the request is coming through a firewall or a proxy. |
int |
getFrontendHTTPPort()
Sets the frontendHTTPPort Provides a method to ensure that the webapp will always have the correct PORT information, even when the request is coming through a firewall or a proxy. |
int |
getFrontendHTTPSPort()
Sets the frontendHTTPSPort Provides a method to ensure that the webapp will always have the correct PORT information, even when the request is coming through a firewall or a proxy. |
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()
Gets the logFileBufferKBytes attribute of the WebServerMBean object |
int |
getLogFileCount()
The maximum number of log files that the server creates when it rotates the log. |
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()
Gets the maxPostSize attribute of the WebServerMBean object |
int |
getMaxPostTimeSecs()
Gets the maxPostTimeSecs attribute of the WebServerMBean object |
int |
getPostTimeoutSecs()
Gets the postTimeoutSecs attribute of the WebServerMBean object |
java.util.Map |
getURLResource()
Gets the uRLResource attribute of the WebServerMBean object |
int |
getWriteChunkBytes()
Gets the writeChunkBytes attribute of the WebServerMBean object |
boolean |
isAcceptContextPathInGetRealPath()
Gets the acceptContextPathInGetRealPath attribute of the WebServerMBean object |
boolean |
isAuthCookieEnabled()
|
boolean |
isChunkedTransferDisabled()
Gets the chunkedTransferDisabled attribute of the WebServerMBean object |
boolean |
isClusteringEnabled()
Gets the clusteringEnabled attribute of the WebServerMBean object |
boolean |
isDebugEnabled()
Gets the debugEnabled attribute of the WebServerMBean object |
boolean |
isEventsEnabled()
Gets the eventsEnabled attribute of the WebServerMBean object |
boolean |
isKeepAliveEnabled()
Gets the keepAliveEnabled attribute of the WebServerMBean object |
boolean |
isLogFileLimitEnabled()
Indicates whether a server will limit the number of log files that it creates when it rotates the log. |
boolean |
isLoggingEnabled()
Gets the loggingEnabled attribute of the WebServerMBean object |
boolean |
isSendServerHeaderEnabled()
Indicates whether this server instance includes its name and WebLogic Server version number in HTTP response headers. |
boolean |
isSingleSignonDisabled()
Gets the singleSignonDisabled attribute of the WebServerMBean object |
boolean |
isUseHeaderEncoding()
|
boolean |
isUseHighestCompatibleHTTPVersion()
Gets the useHighestCompatibleHTTPVersion attribute of the WebServerMBean object |
boolean |
isWAPEnabled()
Gets the wAPEnabled attribute of the WebServerMBean object Indicates whether the session ID should include JVM information. |
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)
Enables HTTP clustering |
void |
setDefaultServerName(java.lang.String serverName)
Sets the defaultServerName attribute of the WebServerMBean object |
void |
setDefaultWebApp(WebAppComponentMBean context)
Servlet 2.3 Web Application that maps to the "default" servlet context (where ContextPath = "/"). |
void |
setFrontendHost(java.lang.String hostName)
Sets the frontendHost attribute of the WebServerMBean object |
void |
setFrontendHTTPPort(int httpPort)
Sets the frontendHTTPPort attribute of the WebServerMBean object |
void |
setFrontendHTTPSPort(int httpsPort)
Sets the frontendHTTPSPort attribute of the WebServerMBean object |
void |
setHttpsKeepAliveSecs(int secs)
Sets the httpsKeepAliveSecs attribute of the WebServerMBean object |
void |
setKeepAliveEnabled(boolean enabled)
Returns whether or not HTTP keep-alive is enabled |
void |
setKeepAliveSecs(int secs)
Sets the keepAliveSecs attribute of the WebServerMBean object |
void |
setLogFileBufferKBytes(int kbytes)
The maximum size (in kilobytes) of the buffer that stores HTTP requests. |
void |
setLogFileCount(int value)
Sets the LogFileCount attribute. |
void |
setLogFileFlushSecs(int secs)
Sets the logFileFlushSecs attribute of the WebServerMBean object |
void |
setLogFileFormat(java.lang.String format)
Sets the format of the HTTP log file. |
void |
setLogFileLimitEnabled(boolean value)
Sets the LogFileLimitEnabled attribute. |
void |
setLogFileName(java.lang.String fileName)
Sets the name of the file that stores the HTTP-request log. |
void |
setLoggingEnabled(boolean enable)
Enables logging of HTTP requests. |
void |
setLogRotationPeriodMins(int mins)
Sets the logRotationPeriodMins attribute of the WebServerMBean object |
void |
setLogRotationTimeBegin(java.lang.String when)
Determines the start time for a time-based rotation sequence. |
void |
setLogRotationType(java.lang.String type)
Sets the logRotationType attribute of the WebServerMBean object |
void |
setLogTimeInGMT(boolean useGMT)
Sets the logTimeInGMT attribute of the WebServerMBean object |
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 |
freezeCurrentValue,
getNotes,
restoreDefaultValue,
setComments,
setDefaultedMBean,
setNotes,
setPersistenceEnabled |
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,
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)
enable
- The new loggingEnabled valuepublic boolean isLoggingEnabled()
public java.lang.String getLogFileFormat()
public void setLogFileFormat(java.lang.String format) throws javax.management.InvalidAttributeValueException, DistributedManagementException
format
- The new logFileFormat valuepublic 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)
useGMT
- The new logTimeInGMT valuepublic 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
This value is relevant only if HTTP logging is enabled.
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
.
fileName
- The new logFileName valuepublic java.lang.String getFrontendHost()
public void setFrontendHost(java.lang.String hostName) throws javax.management.InvalidAttributeValueException
hostName
- The new frontendHost valuepublic int getFrontendHTTPPort()
public void setFrontendHTTPPort(int httpPort) throws javax.management.InvalidAttributeValueException
httpPort
- The new frontendHTTPPort valuepublic int getFrontendHTTPSPort()
public void setFrontendHTTPSPort(int httpsPort) throws javax.management.InvalidAttributeValueException
httpsPort
- The new frontendHTTPSPort valuepublic void setLogFileBufferKBytes(int kbytes) throws javax.management.InvalidAttributeValueException
LogFileFlushSecs
property to determine the
frequency with which the server checks the size of the buffer.
kbytes
- The new logFileBufferKBytes valuepublic 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
type
- The new logRotationType valuepublic int getLogRotationPeriodMins()
date
-based rotation type.
public void setLogRotationPeriodMins(int mins) throws javax.management.InvalidAttributeValueException
mins
- The new logRotationPeriodMins valuepublic 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
secs
- The new logFileFlushSecs valuepublic 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 based on the time that you restart the server instance plus the rotation period.
public void setLogRotationTimeBegin(java.lang.String when) throws javax.management.InvalidAttributeValueException
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. Valid values are
1-24
, where 24
is midnight.
mm
is the minute
ss
is the second
By default, rotation starts based on the time that you restart the server instance plus the rotation period.
when
- The new logRotationTimeBegin valuepublic void setKeepAliveEnabled(boolean enabled)
enabled
- The new keepAliveEnabled valuepublic boolean isKeepAliveEnabled()
public int getKeepAliveSecs()
public void setKeepAliveSecs(int secs) throws javax.management.InvalidAttributeValueException
secs
- The new keepAliveSecs valuepublic int getHttpsKeepAliveSecs()
public void setHttpsKeepAliveSecs(int secs) throws javax.management.InvalidAttributeValueException
secs
- The new httpsKeepAliveSecs valuepublic void setPostTimeoutSecs(int secs) throws javax.management.InvalidAttributeValueException
secs
- The new postTimeoutSecs valuepublic int getPostTimeoutSecs()
public void setMaxPostTimeSecs(int secs) throws javax.management.InvalidAttributeValueException
secs
- The new maxPostTimeSecs valuepublic int getMaxPostTimeSecs()
public void setMaxPostSize(int bytes) throws javax.management.InvalidAttributeValueException
bytes
- The new maxPostSize valuepublic int getMaxPostSize()
public void setSendServerHeaderEnabled(boolean enabled)
enabled
- The new sendServerHeaderEnabled valuepublic boolean isSendServerHeaderEnabled()
public void setDefaultWebApp(WebAppComponentMBean context)
context
- The new defaultWebApp valuepublic WebAppComponentMBean getDefaultWebApp()
public void setCharsets(java.util.Map charsets) throws javax.management.InvalidAttributeValueException
charsets
- The new charsets valuepublic java.util.Map getCharsets()
public void setURLResource(java.util.Map resource) throws javax.management.InvalidAttributeValueException
resource
- The new uRLResource valuepublic java.util.Map getURLResource()
public void setChunkedTransferDisabled(boolean disable)
disable
- The new chunkedTransferDisabled valuepublic boolean isChunkedTransferDisabled()
public void setUseHighestCompatibleHTTPVersion(boolean disable)
disable
- The new useHighestCompatibleHTTPVersion valuepublic boolean isUseHighestCompatibleHTTPVersion()
public void setUseHeaderEncoding(boolean disable)
public boolean isUseHeaderEncoding()
public void setAuthCookieEnabled(boolean enable)
Using this feature, the Web site designer can prevent session stealing. With this feature enabled, once you have logged in over https, the secure cookie is only sent encrypted over the network and therefore can never be stolen in transit. Therefore, a Web site designer can ensure that session stealing is not a problem by making all sensitive data require https. While the http session cookie (JSESSIONID) is still vulnerable to being stolen and used, all sensitive operations require the secure AuthCookie (_wl_authcookie_ cookie), which cannot be stolen, so those operations are protected.
Note: This feature requires the browser to use cookies. If the browser does not support cookies and this feature is enabled, the user will not be able of login over https.
public boolean isAuthCookieEnabled()
public int getWriteChunkBytes()
public boolean isDebugEnabled()
public boolean isEventsEnabled()
public void setWAPEnabled(boolean enable)
enable
- The new wAPEnabled valuepublic boolean isWAPEnabled()
public void setAcceptContextPathInGetRealPath(boolean enable)
enable
- The new acceptContextPathInGetRealPath valuepublic boolean isAcceptContextPathInGetRealPath()
public void setSingleSignonDisabled(boolean disable)
disable
- The new singleSignonDisabled valuepublic boolean isSingleSignonDisabled()
public void setClusteringEnabled(boolean enable)
enable
- The new clusteringEnabled valuepublic boolean isClusteringEnabled()
public java.lang.String getDefaultServerName()
public void setDefaultServerName(java.lang.String serverName) throws javax.management.InvalidAttributeValueException
serverName
- The new defaultServerName valuepublic boolean isLogFileLimitEnabled()
getLogFileCount
.
public void setLogFileLimitEnabled(boolean value)
value
- public int getLogFileCount()
isLogFileLimitEnabled
is true and setLogRotationType
is either
Size
or Time
.
public void setLogFileCount(int value)
value
-
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |