bea.com | products | dev2dev | support | askBEA
 Download Docs   Site Map   Glossary 
Search

WebLogic Server Configuration Reference

 Previous Next Contents Index View as PDF  

COM

Description

This bean represents the server-wide configuration of COM

Syntax

<!ELEMENT COM EMPTY >
<!ATTLIST COM
   ApartmentThreaded          (true | false)           "false"
   MemoryLoggingEnabled       (true | false)           "false"
   NTAuthHost                 CDATA                    #IMPLIED
   Name                       CDATA                    #REQUIRED
   NativeModeEnabled          (true | false)           "false"
   Notes                      CDATA                    #IMPLIED
   PrefetchEnums              (true | false)           "false"
   VerboseLoggingEnabled      (true | false)           "false"
>

Parent Elements

The COM element is a child of the Server element.

Attributes

Table 9-1 COMMBean Element Attributes

Attribute

Description

Range of Values and Default

Console Label

Apartment-Threaded

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)

Default: false

Apartment Threaded

Memory-Logging-Enabled

Enables logging of memory usage

Default: false

Memory Logging Enabled

NTAuth-Host

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.


NTAuth Host

Name

The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.


Name

Native-Mode-Enabled

Use native DLLs to allow Java objects to interact with COM Objects. Only supported on Windows.

Default: false

Native Mode Enabled

Notes

Optional information that you can include to describe this configuration.


Notes

Prefetch-Enums

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.


Prefetch Enums

Verbose-Logging-Enabled

Enables verbose logging.

Default: false

Verbose Logging Enabled


 

 

Back to Top Previous Next