BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.management.configuration
Interface ServerMBean


public interface ServerMBean
extends KernelMBean, TargetMBean

This class represents a Weblogic Server. A WebLogic Server is a Java process that is a container for J2EE applications.

Author:
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Method Summary
 int getAdministrationPort()
           
 ClusterMBean getCluster()
          The cluster to which this server belongs.
 ClusterRuntimeMBean getClusterRuntime()
          Returns an mbean containing runtime information about the cluster which was started from this configuration mbean.
 int getClusterWeight()
          The "weight" of this server in the cluster it belongs to, if any.
 java.lang.String getDefaultIIOPPassword()
          Returns the password for the default IIOP user.
 java.lang.String getDefaultIIOPUser()
          Returns the default IIOP user.
 java.lang.String getDefaultTGIOPPassword()
          Returns the password for the default TGIOP user.
 java.lang.String getDefaultTGIOPUser()
          Returns the default TGIOP user.
 DomainLogFilterMBean getDomainLogFilter()
          Domain log filter to use for log messages of this server.
 boolean getExpectedToRun()
          Is this server expected to run if the domain is started.
 java.lang.String getExternalDNSName()
          Sets the external DNSName for the current server, which will be sent with the session cookies and also with the dynamic server lists to the proxies.
 java.lang.String getExtraEjbcOptions()
          Returns the extra options passed to ejbc during dynamic ejb compilation.
 java.lang.String getExtraRmicOptions()
          Returns the extra options passed to rmic during server-side generation.
 java.lang.String getHelpPageURL()
          Sets the directory or URL for the WebLogic Admin help pages The help pages are shipped in the "docs/adminhelp" directory, in the default document root in public_html
 java.lang.String getInterfaceAddress()
          The interface address used by this member to specify a NIC used to handle multicast traffic.
 java.lang.String getJavaCompiler()
          Returns the Java Compiler for all applications that need to compile Java code.
 java.lang.String getJavaCompilerPostClassPath()
          Returns the options to append to the Java compiler classpath for when we need to compile Java code.
 java.lang.String getJavaCompilerPreClassPath()
          Returns the options to prepend to the Java compiler classpath for when we need to compile Java code.
 java.lang.String getJDBCLogFileName()
          The name of the JDBC log file if JDBC logging is enabled.
 java.lang.String[] getJNDITransportableObjectFactoryList()
          List of factories that create transportable objects.
 java.lang.String getListenAddress()
          The IP address or DNS name this server uses to listen for incoming connections.
 int getListenDelaySecs()
          How long does the server delay starting listen thread (ses)
 int getListenPort()
          The server's listen port.
 int getListenThreadStartDelaySecs()
           
 int getLoginTimeout()
          Set the login timeout for the server.
 int getLoginTimeoutMillis()
          Interval to wait for a read to fail on login; 0 to disable
 MachineMBean getMachine()
          Return the machine on which this machine is intended to run or is running.
 java.lang.String getName()
          Returns the name of the MBean.
 java.lang.String getPreferredSecondaryGroup()
          The preferred replication group for the server's secondaries
 java.lang.String getReplicationGroup()
          The server's replication group.
 java.lang.String getRootDirectory()
          The root directory for the weblogic installation for this server.
 ServerStartMBean getServerStart()
          Returns the ServerStartMBean that can be used to start up this server remotely.
 java.lang.String getTransactionLogFilePrefix()
          Returns the transaction log file path prefix for the server.
 int getTunnelingClientPingSecs()
          Interval (in seconds) at which to ping an http-tunneled client to see if its still alive.
 int getTunnelingClientTimeoutSecs()
          Duration (in seconds) after which a missing http-tunneled client is considered dead.
 java.lang.String getVerboseEJBDeploymentEnabled()
          Returns true if verbose deployment of EJB's is enabled.
 WebServerMBean getWebServer()
          Return the web server for this server.
 boolean getWorkspaceShowUserKeysOnly()
          Controls whether user-inserted items are shown in the WebLogic console.
 XMLEntityCacheMBean getXMLEntityCache()
          Return the XML Entity Cache for the server
 XMLRegistryMBean getXMLRegistry()
          Return the XML Registry for the server
 java.lang.String getZACPublishRoot()
          Returns the root (storage) directory on WebLogic for ZAC packages.
 boolean isClasspathServletDisabled()
           
 boolean isClientCertProxyEnabled()
           
 boolean isDefaultInternalServletsDisabled()
           
 boolean isEnabledForDomainLog()
          This determines, if messages from this server are sent to the domain wide logfile.
 boolean isHttpdEnabled()
          Enables HTTP access
 boolean isHttpTraceSupportEnabled()
           
 boolean isIIOPEnabled()
          Whether or not IIOP support is enabled.
 boolean isJ2EE12OnlyModeEnabled()
          According to Sun, we should be able to prevent the applications written to J2EE 1.3 features (EJB 2.0, Servlet 2.3, JCA 1.0) from being deployed, if the server runs in J2EE 1.2 only mode.
 boolean isJ2EE13WarningEnabled()
          When running in J2EE 1.3 mode (the normal mode with the latest versions enabled), we should warn the customers about the ptential changes to the specs (J2EE 1.3 is not final yet).
 boolean isJDBCLoggingEnabled()
          Whether or not logging of JDBC logstream is enabled.
 boolean isJMSDefaultConnectionFactoriesEnabled()
          Enables JMS default connection factories
 boolean isServletExtensionCaseSensitive()
           
 boolean isTGIOPEnabled()
          Whether or not TGIOP support is enabled.
 boolean isTunnelingEnabled()
          Enables tunneling via http
 boolean isWeblogicPluginEnabled()
           
 boolean isZACEnabled()
          Whether or not the Zero Admin Client feature is enabled.
 void setAcceptBacklog(int count)
           
 void setAdministrationPort(int port)
           
 void setClasspathServletDisabled(boolean enabled)
          The ClasspathServlet will serve any class file in the classpath and is registered by default in every webapp (including management).
 void setClientCertProxyEnabled(boolean ccp)
          HttpClusterServlet will proxy the client certificate in a special header.
 void setCluster(ClusterMBean cluster)
          Set the cluster to which this server belongs.
 void setClusterWeight(int weight)
          Set the cluster weight for this server.
 void setConsoleInputEnabled(boolean enable)
           
 void setDefaultIIOPPassword(java.lang.String password)
          Sets the password for the default IIOP user.
 void setDefaultIIOPUser(java.lang.String user)
          Set the default IIOP user.
 void setDefaultInternalServletsDisabled(boolean enabled)
          This disables all default servlets in the servlet engine.
 void setDefaultTGIOPPassword(java.lang.String password)
          Sets the password for the default TGIOP user.
 void setDefaultTGIOPUser(java.lang.String user)
          Set the default TGIOP user.
 void setDomainLogFilter(DomainLogFilterMBean filter)
           
 void setEnabledForDomainLog(boolean choice)
           
 void setExternalDNSName(java.lang.String externalDNSName)
           
 void setExtraEjbcOptions(java.lang.String options)
           
 void setExtraRmicOptions(java.lang.String options)
           
 void setHelpPageURL(java.lang.String url)
           
 void setHttpdEnabled(boolean enable)
           
 void setHttpTraceSupportEnabled(boolean tse)
          Attackers may abuse HTTP TRACE functionality to gain access to information in HTTP headers such as cookies and authentication data.
 void setIIOPConnectionPools(java.util.Map pools)
          Set the WLEC/IIOP connection pools
 void setIIOPEnabled(boolean enable)
          Set whether or not IIOP support is enabled.
 void setInterfaceAddress(java.lang.String address)
          Sets the interface address used by this memeber to specify which NIC to use for multicast traffic.
 void setJ2EE12OnlyModeEnabled(boolean enable)
           
 void setJ2EE13WarningEnabled(boolean enable)
           
 void setJavaCompiler(java.lang.String javaCompiler)
           
 void setJavaCompilerPostClassPath(java.lang.String postClassPath)
           
 void setJavaCompilerPreClassPath(java.lang.String preClassPath)
           
 void setJDBCLogFileName(java.lang.String logFileName)
           
 void setJDBCLoggingEnabled(boolean enable)
           
 void setJMSDefaultConnectionFactoriesEnabled(boolean enabled)
           
 void setJNDITransportableObjectFactoryList(java.lang.String[] list)
           
 void setListenAddress(java.lang.String address)
           
 void setListenDelaySecs(int seconds)
          set ListenDelaySecs
 void setListenPort(int port)
          Set the listen port for the server.
 void setLoginTimeout(int timeout)
          Set the login timeout for the server, in milliseconds.
 void setLoginTimeoutMillis(int count)
          Set the login timeout for the server, in milliseconds.
 void setMachine(MachineMBean machine)
          Set the machine on which this server is meant to run.
 void setName(java.lang.String name)
          Set the name of the MBean.
 void setPreferredSecondaryGroup(java.lang.String group)
          Set the preferred replication group for the server's secondaries.
 void setReplicationGroup(java.lang.String group)
          Set the server's replication group.
 void setRootDirectory(java.lang.String root)
          Set the root directory for the weblogic installation for this server.
 void setServletExtensionCaseSensitive(boolean enable)
          Specifies whether file lookups for Java Server Pages (JSPs) are case sensitive on all platforms except win32; file lookups from standard win32 file systems are always case-insensitive.
 void setTGIOPEnabled(boolean enable)
          Set whether or not TGIOP support is enabled.
 void setTransactionLogFilePrefix(java.lang.String pathPrefix)
           
 void setTunnelingClientPingSecs(int secs)
           
 void setTunnelingClientTimeoutSecs(int secs)
           
 void setTunnelingEnabled(boolean enabled)
           
 void setVerboseEJBDeploymentEnabled(java.lang.String verbose)
           
 void setWeblogicPluginEnabled(boolean wpe)
          WLS HttpRequest.getRemoteAddr() used to rely on X-Forwarded-For for its returned value.
 void setWorkspaceShowUserKeysOnly(boolean b)
           
 void setXMLEntityCache(XMLEntityCacheMBean cache)
          Set the XML Registry for the server
 void setXMLRegistry(XMLRegistryMBean registry)
          Set the XML Entity Cache for the server
 void setZACEnabled(boolean enable)
          Set whether or not the Zero Admin Client feature is enabled.
 void setZACPublishRoot(java.lang.String path)
          Set the root (storage) directory on WebLogic for ZAC packages.
 void stop()
          Stop this server.
 java.lang.String synchronousKill()
          Kill this server.
 java.lang.String synchronousStart()
          Start this server.
 
Methods inherited from interface weblogic.management.configuration.KernelMBean
getCompleteHTTPMessageTimeout, getCompleteIIOPMessageTimeout, getCompleteT3MessageTimeout, getDefaultProtocol, getDefaultSecureProtocol, getExecuteQueues, getIdleIIOPConnectionTimeout, getLog, getMaxHTTPMessageSize, getMaxIIOPMessageSize, getMaxOpenSockCount, getMaxT3MessageSize, getSSL, getStdoutSeverityLevel, getThreadPoolPercentSocketReaders, getValidProtocols, isInstrumentStackTraceEnabled, isLogRemoteExceptionsEnabled, isNativeIOEnabled, isReverseDNSAllowed, isStdoutDebugEnabled, isStdoutEnabled, setDefaultProtocol, setDefaultSecureProtocol, setDGCIdlePeriodsUntilTimeout, setInstrumentStackTraceEnabled, setLogRemoteExceptionsEnabled, setMaxOpenSockCount, setNativeIOEnabled, setReverseDNSAllowed, setStdoutDebugEnabled, setStdoutEnabled, setStdoutSeverityLevel, setThreadPoolPercentSocketReaders
 
Methods inherited from interface weblogic.management.configuration.TargetMBean
setDeployments
 

Method Detail

getRootDirectory

public java.lang.String getRootDirectory()
The root directory for the weblogic installation for this server.

A configurable MBean attribute
Default Value: "."
Old Property: weblogic.system.home

setRootDirectory

public void setRootDirectory(java.lang.String root)
                      throws javax.management.InvalidAttributeValueException
Set the root directory for the weblogic installation for this server.


getMachine

public MachineMBean getMachine()
Return the machine on which this machine is intended to run or is running. If this returns null, it means that this server is not assigned to run on any machine and will not be started by the infrastructure.

A configurable MBean attribute

setMachine

public void setMachine(MachineMBean machine)
                throws javax.management.InvalidAttributeValueException
Set the machine on which this server is meant to run. If the server is already running, this will migrate the server to a different machine. If the machine is the same as the machine is the server is already running on, this is a no-op.

Migration consists of taking down the machine using the stop method on the Server (#stop), and restarting the server on the new machine. If anything fails during migration, the appropriate exception will be thrown.

Setting the machine to null means that the server should not be started. If it is already running, it is shutdown.

Throws:
java.lang.NullPointerException - if the machine argument is invalid.

getListenPort

public int getListenPort()
The server's listen port.

A configurable MBean attribute
Default Value: 7001

setListenPort

public void setListenPort(int port)
                   throws javax.management.InvalidAttributeValueException
Set the listen port for the server.

Legal Minimum Value: 1
Legal Maximum Value: 65534

getLoginTimeout

public int getLoginTimeout()
Set the login timeout for the server.

A configurable MBean attribute
Default Value: 1000

setLoginTimeout

public void setLoginTimeout(int timeout)
                     throws javax.management.InvalidAttributeValueException,
                            DistributedManagementException
Set the login timeout for the server, in milliseconds. This value must be equal to or greater than 0.

A dynamic MBean attribute
Legal Minimum Value: 0

getCluster

public ClusterMBean getCluster()
The cluster to which this server belongs.

A configurable MBean attribute
Default Value: null

setCluster

public void setCluster(ClusterMBean cluster)
Set the cluster to which this server belongs.


getClusterWeight

public int getClusterWeight()
The "weight" of this server in the cluster it belongs to, if any.

A configurable MBean attribute
Default Value: 100
Legal Minimum Value: 1
Legal Maximum Value: 100

setClusterWeight

public void setClusterWeight(int weight)
                      throws javax.management.InvalidAttributeValueException
Set the cluster weight for this server.

Legal Minimum Value: 1
Legal Maximum Value: 100

getReplicationGroup

public java.lang.String getReplicationGroup()
The server's replication group.


setReplicationGroup

public void setReplicationGroup(java.lang.String group)
                         throws javax.management.InvalidAttributeValueException
Set the server's replication group.


getPreferredSecondaryGroup

public java.lang.String getPreferredSecondaryGroup()
The preferred replication group for the server's secondaries


setPreferredSecondaryGroup

public void setPreferredSecondaryGroup(java.lang.String group)
                                throws javax.management.InvalidAttributeValueException
Set the preferred replication group for the server's secondaries.


getClusterRuntime

public ClusterRuntimeMBean getClusterRuntime()
Returns an mbean containing runtime information about the cluster which was started from this configuration mbean. Returns null if no such cluster exists.


getWebServer

public WebServerMBean getWebServer()
Return the web server for this server. A server has exactly one WebServer. A server may also have one or more VirtualHosts. A VirtualHost is a subclass of WebServer.


getExpectedToRun

public boolean getExpectedToRun()
Is this server expected to run if the domain is started.

A configurable MBean attribute
Default Value: true

synchronousStart

public java.lang.String synchronousStart()
Start this server. This is a blocking call. Returns String containg NodeManger log for starting the server.

Throws:
InsufficientConfigurationException - if the server's configuration is not sufficient to start it.

stop

public void stop()
Stop this server. This method attempts a soft shutdown of the server. If the server is not responsive, the kill method may be used.


synchronousKill

public java.lang.String synchronousKill()
Kill this server. This is a blocking call. Returns String containg NodeManger log for killing the server.


isJDBCLoggingEnabled

public boolean isJDBCLoggingEnabled()
Whether or not logging of JDBC logstream is enabled.

Old Property: weblogic.jdbc.enableLogFile

setJDBCLoggingEnabled

public void setJDBCLoggingEnabled(boolean enable)


getJDBCLogFileName

public java.lang.String getJDBCLogFileName()
The name of the JDBC log file if JDBC logging is enabled.

Old Property: weblogic.jdbc.logFileName

setJDBCLogFileName

public void setJDBCLogFileName(java.lang.String logFileName)
                        throws javax.management.InvalidAttributeValueException


isJ2EE12OnlyModeEnabled

public boolean isJ2EE12OnlyModeEnabled()
According to Sun, we should be able to prevent the applications written to J2EE 1.3 features (EJB 2.0, Servlet 2.3, JCA 1.0) from being deployed, if the server runs in J2EE 1.2 only mode.

Default Value: false

setJ2EE12OnlyModeEnabled

public void setJ2EE12OnlyModeEnabled(boolean enable)


isJ2EE13WarningEnabled

public boolean isJ2EE13WarningEnabled()
When running in J2EE 1.3 mode (the normal mode with the latest versions enabled), we should warn the customers about the ptential changes to the specs (J2EE 1.3 is not final yet). This property disables the warning.

Default Value: true

setJ2EE13WarningEnabled

public void setJ2EE13WarningEnabled(boolean enable)


isZACEnabled

public boolean isZACEnabled()
Whether or not the Zero Admin Client feature is enabled.

Default Value: true

setZACEnabled

public void setZACEnabled(boolean enable)
Set whether or not the Zero Admin Client feature is enabled.

Old Property: weblogic.zac.enable

getZACPublishRoot

public java.lang.String getZACPublishRoot()
Returns the root (storage) directory on WebLogic for ZAC packages.

Default Value: "exports"
Old Property: weblogic.zac.publishRootProp

setZACPublishRoot

public void setZACPublishRoot(java.lang.String path)
                       throws javax.management.InvalidAttributeValueException
Set the root (storage) directory on WebLogic for ZAC packages.


isIIOPEnabled

public boolean isIIOPEnabled()
Whether or not IIOP support is enabled.

Default Value: true
Old Property: weblogic.system.enableIIOP

setIIOPEnabled

public void setIIOPEnabled(boolean enable)
Set whether or not IIOP support is enabled.


getDefaultIIOPUser

public java.lang.String getDefaultIIOPUser()
Returns the default IIOP user.

Default Value: null
Old Property: weblogic.iiop.user

setDefaultIIOPUser

public void setDefaultIIOPUser(java.lang.String user)
                        throws javax.management.InvalidAttributeValueException
Set the default IIOP user.


getDefaultIIOPPassword

public java.lang.String getDefaultIIOPPassword()
Returns the password for the default IIOP user.

Default Value: null
Old Property: weblogic.iiop.password

setDefaultIIOPPassword

public void setDefaultIIOPPassword(java.lang.String password)
                            throws javax.management.InvalidAttributeValueException
Sets the password for the default IIOP user.


isTGIOPEnabled

public boolean isTGIOPEnabled()
Whether or not TGIOP support is enabled.

Default Value: false
Old Property: weblogic.system.enableTGIOP

setTGIOPEnabled

public void setTGIOPEnabled(boolean enable)
Set whether or not TGIOP support is enabled.


getDefaultTGIOPUser

public java.lang.String getDefaultTGIOPUser()
Returns the default TGIOP user.

Default Value: "guest"

setDefaultTGIOPUser

public void setDefaultTGIOPUser(java.lang.String user)
                         throws javax.management.InvalidAttributeValueException
Set the default TGIOP user.


getDefaultTGIOPPassword

public java.lang.String getDefaultTGIOPPassword()
Returns the password for the default TGIOP user.

Default Value: "guest"

setDefaultTGIOPPassword

public void setDefaultTGIOPPassword(java.lang.String password)
                             throws javax.management.InvalidAttributeValueException
Sets the password for the default TGIOP user.


isHttpdEnabled

public boolean isHttpdEnabled()
Enables HTTP access

Default Value: true
Old Property: weblogic.httpd.enable

setHttpdEnabled

public void setHttpdEnabled(boolean enable)


getHelpPageURL

public java.lang.String getHelpPageURL()
Sets the directory or URL for the WebLogic Admin help pages The help pages are shipped in the "docs/adminhelp" directory, in the default document root in public_html

Default Value: "/docs/adminhelp/"
Old Property: weblogic.system.helpPageURL

setHelpPageURL

public void setHelpPageURL(java.lang.String url)
                    throws javax.management.InvalidAttributeValueException


getWorkspaceShowUserKeysOnly

public boolean getWorkspaceShowUserKeysOnly()
Controls whether user-inserted items are shown in the WebLogic console.

Default Value: false;
Old Property: weblogic.workspace.showUserKeysOnly

setWorkspaceShowUserKeysOnly

public void setWorkspaceShowUserKeysOnly(boolean b)


setConsoleInputEnabled

public void setConsoleInputEnabled(boolean enable)


getListenThreadStartDelaySecs

public int getListenThreadStartDelaySecs()


getListenAddress

public java.lang.String getListenAddress()

The IP address or DNS name this server uses to listen for incoming connections. Servers can be reached through the following URL:
protocol://listen-address:listen-port

Note:
To resolve a DNS name to an IP address, Weblogic Server must be able to contact an appropriate DNS server or obtain the IP address mapping locally. Therefore, if you specify a DNS name for the listen address, you must either leave a port open long enough for the WebLogic Server instance to connect to a DNS server and cache its mapping or you must specify the IP address mapping in a local file. If you specify an IP address for ListenAddress and then a client request specifies a DNS name, WebLogic Server will attempt to resolve the DNS name, but if it cannot access DNS name mapping, the request will fail.

Old Property: weblogic.system.bindAddr

setListenAddress

public void setListenAddress(java.lang.String address)
                      throws javax.management.InvalidAttributeValueException


getExternalDNSName

public java.lang.String getExternalDNSName()
Sets the external DNSName for the current server, which will be sent with the session cookies and also with the dynamic server lists to the proxies. This will be required for the configurations in which you have firewall doing Network Address Translations

A configurable MBean attribute
Default Value: null
Old Property: weblogic.system.DNSName

setExternalDNSName

public void setExternalDNSName(java.lang.String externalDNSName)
                        throws javax.management.InvalidAttributeValueException


getInterfaceAddress

public java.lang.String getInterfaceAddress()
The interface address used by this member to specify a NIC used to handle multicast traffic.

A configurable MBean attribute
Old Property: weblogic.cluster.interfaceAddress

setInterfaceAddress

public void setInterfaceAddress(java.lang.String address)
                         throws javax.management.InvalidAttributeValueException
Sets the interface address used by this memeber to specify which NIC to use for multicast traffic. This may not take effect once the server has already started listening on a MulticastSocket.

Throws:
java.lang.IllegalArgumentException - if the argument is not a well-formed IP address.

setAcceptBacklog

public void setAcceptBacklog(int count)
                      throws javax.management.InvalidAttributeValueException


getLoginTimeoutMillis

public int getLoginTimeoutMillis()
Interval to wait for a read to fail on login; 0 to disable

Default Value: 5000
Old Property: webogic.system.readTimeoutMillis
Legal Minimum Value: 0
Legal Maximum Value: 100000

setLoginTimeoutMillis

public void setLoginTimeoutMillis(int count)
                           throws javax.management.InvalidAttributeValueException
Set the login timeout for the server, in milliseconds. This value must be equal to or greater than 0.

A dynamic MBean attribute
Legal Minimum Value: 0

getAdministrationPort

public int getAdministrationPort()

Default Value: 0
Old Property: webogic.system.AdministrationPort

setAdministrationPort

public void setAdministrationPort(int port)
                           throws javax.management.InvalidAttributeValueException


getJNDITransportableObjectFactoryList

public java.lang.String[] getJNDITransportableObjectFactoryList()
List of factories that create transportable objects.

Old Property: weblogic.jndi.transportableObjectFactories

setJNDITransportableObjectFactoryList

public void setJNDITransportableObjectFactoryList(java.lang.String[] list)
                                           throws javax.management.InvalidAttributeValueException


setIIOPConnectionPools

public void setIIOPConnectionPools(java.util.Map pools)
                            throws javax.management.InvalidAttributeValueException
Set the WLEC/IIOP connection pools


getXMLRegistry

public XMLRegistryMBean getXMLRegistry()
Return the XML Registry for the server

A configurable MBean attribute

setXMLEntityCache

public void setXMLEntityCache(XMLEntityCacheMBean cache)
                       throws javax.management.InvalidAttributeValueException
Set the XML Registry for the server


getXMLEntityCache

public XMLEntityCacheMBean getXMLEntityCache()
Return the XML Entity Cache for the server

A configurable MBean attribute

setXMLRegistry

public void setXMLRegistry(XMLRegistryMBean registry)
                    throws javax.management.InvalidAttributeValueException
Set the XML Entity Cache for the server


getJavaCompiler

public java.lang.String getJavaCompiler()
Returns the Java Compiler for all applications that need to compile Java code.

Default Value: "javac"

setJavaCompiler

public void setJavaCompiler(java.lang.String javaCompiler)
                     throws javax.management.InvalidAttributeValueException


getVerboseEJBDeploymentEnabled

public java.lang.String getVerboseEJBDeploymentEnabled()
Returns true if verbose deployment of EJB's is enabled.

Default Value: "false"

setVerboseEJBDeploymentEnabled

public void setVerboseEJBDeploymentEnabled(java.lang.String verbose)


getJavaCompilerPreClassPath

public java.lang.String getJavaCompilerPreClassPath()
Returns the options to prepend to the Java compiler classpath for when we need to compile Java code.

Default Value: null

setJavaCompilerPreClassPath

public void setJavaCompilerPreClassPath(java.lang.String preClassPath)
                                 throws javax.management.InvalidAttributeValueException


getJavaCompilerPostClassPath

public java.lang.String getJavaCompilerPostClassPath()
Returns the options to append to the Java compiler classpath for when we need to compile Java code.

Default Value: null

setJavaCompilerPostClassPath

public void setJavaCompilerPostClassPath(java.lang.String postClassPath)
                                  throws javax.management.InvalidAttributeValueException


getExtraRmicOptions

public java.lang.String getExtraRmicOptions()
Returns the extra options passed to rmic during server-side generation.

Default Value: null

setExtraRmicOptions

public void setExtraRmicOptions(java.lang.String options)
                         throws javax.management.InvalidAttributeValueException


getExtraEjbcOptions

public java.lang.String getExtraEjbcOptions()
Returns the extra options passed to ejbc during dynamic ejb compilation.

Default Value: null

setExtraEjbcOptions

public void setExtraEjbcOptions(java.lang.String options)
                         throws javax.management.InvalidAttributeValueException


getTransactionLogFilePrefix

public java.lang.String getTransactionLogFilePrefix()
Returns the transaction log file path prefix for the server.

Default Value: "./"

setTransactionLogFilePrefix

public void setTransactionLogFilePrefix(java.lang.String pathPrefix)
                                 throws javax.management.InvalidAttributeValueException


isEnabledForDomainLog

public boolean isEnabledForDomainLog()
This determines, if messages from this server are sent to the domain wide logfile.

Default Value: true

setEnabledForDomainLog

public void setEnabledForDomainLog(boolean choice)
                            throws javax.management.InvalidAttributeValueException,
                                   DistributedManagementException

A dynamic MBean attribute

getDomainLogFilter

public DomainLogFilterMBean getDomainLogFilter()
Domain log filter to use for log messages of this server. If none, is specified, all messages of severity ERROR and above are forwarded to the domain logfile. To disable this behaviour use 'EnabledForDomainLog' attribute.


setDomainLogFilter

public void setDomainLogFilter(DomainLogFilterMBean filter)
                        throws javax.management.InvalidAttributeValueException,
                               DistributedManagementException

A dynamic MBean attribute

isTunnelingEnabled

public boolean isTunnelingEnabled()
Enables tunneling via http

A dynamic MBean attribute
Default Value: false
Old Property: weblogic.httpd.tunnelingenabled

setTunnelingEnabled

public void setTunnelingEnabled(boolean enabled)
                         throws DistributedManagementException


getTunnelingClientPingSecs

public int getTunnelingClientPingSecs()
Interval (in seconds) at which to ping an http-tunneled client to see if its still alive.

Default Value: 45
Old Property: weblogic.httpd.tunneling.clientPingSecs

setTunnelingClientPingSecs

public void setTunnelingClientPingSecs(int secs)
                                throws javax.management.InvalidAttributeValueException


getTunnelingClientTimeoutSecs

public int getTunnelingClientTimeoutSecs()
Duration (in seconds) after which a missing http-tunneled client is considered dead.

Default Value: 40
Old Property: weblogic.httpd.tunneling.clientTimeoutSecs

setTunnelingClientTimeoutSecs

public void setTunnelingClientTimeoutSecs(int secs)
                                   throws javax.management.InvalidAttributeValueException


isJMSDefaultConnectionFactoriesEnabled

public boolean isJMSDefaultConnectionFactoriesEnabled()
Enables JMS default connection factories

A dynamic MBean attribute
Default Value: true

setJMSDefaultConnectionFactoriesEnabled

public void setJMSDefaultConnectionFactoriesEnabled(boolean enabled)
                                             throws DistributedManagementException


setName

public void setName(java.lang.String name)
             throws javax.management.InvalidAttributeValueException,
                    ManagementException
Set the name of the MBean.

Legal Value: weblogic.management.configuration.LegalHelper.serverMBeanSetNameLegalCheck(self,value);

getName

public java.lang.String getName()
Returns the name of the MBean.


getServerStart

public ServerStartMBean getServerStart()
Returns the ServerStartMBean that can be used to start up this server remotely.


getListenDelaySecs

public int getListenDelaySecs()
How long does the server delay starting listen thread (ses)

A configurable MBean attribute
Default Value: 0
Old Property: webogic.system.listenDelaySecs

setListenDelaySecs

public void setListenDelaySecs(int seconds)
set ListenDelaySecs

Legal Minimum Value: 0
Legal Maximum Value: 3600

setClasspathServletDisabled

public void setClasspathServletDisabled(boolean enabled)
The ClasspathServlet will serve any class file in the classpath and is registered by default in every webapp (including management). It does not need to be turned on for many applications though, and represents a security hole if unchecked.

Default Value: false

isClasspathServletDisabled

public boolean isClasspathServletDisabled()


setDefaultInternalServletsDisabled

public void setDefaultInternalServletsDisabled(boolean enabled)
This disables all default servlets in the servlet engine. This includes: weblogic.servlet.ClasspathServlet weblogic.servlet.utils.iiop.GetIORServlet weblogic.rjvm.http.TunnelSendServlet weblogic.rjvm.http.TunnelRecvServlet weblogic.rjvm.http.TunnelLoginServlet weblogic.rjvm.http.TunnelCloseServlet If set to true, this property overrides the ClasspathServletDisabled property.

Default Value: false

isDefaultInternalServletsDisabled

public boolean isDefaultInternalServletsDisabled()


setClientCertProxyEnabled

public void setClientCertProxyEnabled(boolean ccp)
HttpClusterServlet will proxy the client certificate in a special header. This is a security hole if left open, as that header could be spoofed fairly easily with any certificate. The ServletRequest has that functionality turned off by default now. This will turn it back on. It's strongly suggested that it's used only in conjunction with ConnectionFilters to make certain the WebLogic proxy machine is the only one connecting. This is duplicated in CluterMBean both for compatability with wls610 as well as being able to set it cluster-wide. ClusterMBean overrides ServerMBean

Default Value: false

isClientCertProxyEnabled

public boolean isClientCertProxyEnabled()


setWeblogicPluginEnabled

public void setWeblogicPluginEnabled(boolean wpe)
WLS HttpRequest.getRemoteAddr() used to rely on X-Forwarded-For for its returned value. This is a security hole due to HTTP header can be easily mocked and we end up with returning wrong value. This is improved by introducing a proprietary header WL-Proxy-Client-IP from our plugins and this header will only be used if WLS is configured to use our plugins. This is duplicated both in ClusterMBean and ServerMBean so the attribute WeblogicPluginEnabled can be used cluster-wide. ClusterMBean overrides ServerMBean

Default Value: false

isWeblogicPluginEnabled

public boolean isWeblogicPluginEnabled()


setHttpTraceSupportEnabled

public void setHttpTraceSupportEnabled(boolean tse)
Attackers may abuse HTTP TRACE functionality to gain access to information in HTTP headers such as cookies and authentication data. In the presence of other cross-domain vulnerabilities in web browsers, sensitive header information could be read from any domains that support the HTTP TRACE method. This attribute is for disabling HTTP TRACE support. It is duplicated both in ClusterMBean and ServerMBean so the attribute HttpTraceSupportEnabled can be used cluster-wide. ClusterMBean overrides ServerMBean

Default Value: false

isHttpTraceSupportEnabled

public boolean isHttpTraceSupportEnabled()


setServletExtensionCaseSensitive

public void setServletExtensionCaseSensitive(boolean enable)
Specifies whether file lookups for Java Server Pages (JSPs) are case sensitive on all platforms except win32; file lookups from standard win32 file systems are always case-insensitive. On case-insensitive file systems other than win32 (such as NT Samba mounts from UNIX or Mac OS that has been installed in case-insensitive mode), specify case insensitive lookups (set this attribute to false) to prevent the JSP from returning its source code. For example, if a JSP is being served from a Samba mount and you have specified case insensitive lookups, WebLogic Server converts all file name extensions in a request to lower case before looking up the JSP. For example, foo.jsP is converted to foo.jsp. If you do not specify case insensitive lookups for this same JSP, requests that include a mixed-case file extension cause the mapped servlet to return the JSP source code. The ServletExtensionCaseSensitive setting on the ClusterMBean overrides this setting on the ServerMBean for the servers that belong to the cluster.

Default Value: true

isServletExtensionCaseSensitive

public boolean isServletExtensionCaseSensitive()


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.