This tab defines configuration attributes for controlling various aspects of communication between COM applications and WebLogic Server, such as authentication, timeouts and packet sizes. Use the attribute fields on this tab to:
Configure the server's listen port to listen for COM calls
Limit the number of seconds WebLogic Server will wait for a complete COM message
Limit how large a COM message packet WebLogic Server accepts
Set the primary domain controller to be used for authentication
Allow or disallow COM clients and WebLogic Servers to communicate in jCOM's native mode
Enable the logging of memory usage
Allow prefetching of elements
Allow or disallow apartment-threaded COM initialization in native mode
Tasks
Tasks are divided into two categories: those that require a server restart for the attribute change to take effect and those that don't. All but two require a server restart. We describe those two tasks first.
Specify the maximum COM message size allowable in a message header. This attribute attempts to prevent a denial of service attack whereby a caller attempts to force the server to allocate more memory than is available thereby keeping the server from responding quickly to other requests. This setting only applies to connections that are initiated using one of the default ports (ServerMBean setListenPort and setAdministrationPort or SSLMBean setListenPort). Connections on additional ports are tuned via the NetworkChannelMBean.
Specify the maximum number of seconds spent waiting for a complete COM message to be received. This attribute helps guard against denial of service attacks in which a caller indicates that they will be sending a message of a certain size which they never finish sending. This setting only applies to connections that are initiated using one of the default ports (ServerMBean setListenPort and setAdministrationPort or SSLMBean setListenPort). Connections on additional ports are tuned via the NetworkChannelMBean.
The address of the primary domain controller to be used for authenticating clients. If this property is not set, COM clients will not be authenticated.
Some COM methods return a COM VariantEnumeration type. The java2com tool automatically converts the returned type into a java.lang.Enumeration. This is not a perfect match since COM enumerations have no equivalent to the hasMoreElements() call. The client must continue to call nextElement until a NoSuchElementExceptionoccurs. Setting this property will cause jCOM to prefetch the next element in behind the scenes and return the correct value when hasMoreElements is called.
Controls the flag that is used to initialize COM in native mode. By default, jCOM initializes COM using the COINIT_MULTITHREADED_FLAG. If the server logs a Class Not Registered Message when using native mode, try setting this property. (COINIT_APARTMENTTHREADED)