WebLogic Server Debug Flags

These debug flags are added in the JAVA_OPTIONS in the start script of the server as:
-Dweblogic.debug.DebugJMSBackEnd=true for example.

1—Application related debugs:

Application deployment: (Gives all the information about internal activities when the application is being deployed)

MasterDeployer
ApplicationContainer
DebugAppContainer
DebugDeploy
DebugDeployment
DebugDeploymentService
DebugDeploymentServiceInternal
DebugDeploymentServiceStatusUpdates
DebugDeploymentServiceTransport
DebugDeploymentServiceTransportHttp
DebugWebAppModule

EJBs: (Information on EJB deployments, container, connections)

DebugEjbCaching
DebugEjbCmpDeployment
DebugEjbCmpRuntime
DebugEjbCompilation
DebugEjbDeployment
DebugEjbInvoke
DebugEjbLocking
DebugEjbMdbConnection
DebugEjbPooling
DebugEjbSecurity
DebugEjbSwapping
DebugEjbTimers

For information on Java functionalities and classes of the applications deployed on the server:

ClassChangeNotifier
ClassFinder
ClassLoader
ClassLoaderVerbose
ClassloaderWebApp
ClasspathServlet
DebugBootstrapServlet
DebugClassRedef
DebugClassSize
DebugFileDistributionServlet
DebugJ2EEManagement

JPA – Java Persistence API (Application deployment, runtime information)

DebugJpaDataCache
DebugJpaEnhance
DebugJpaJdbcJdbc
DebugJpaJdbcSchema
DebugJpaJdbcSql
DebugJpaManage
DebugJpaMetaData
DebugJpaProfile
DebugJpaQuery
DebugJpaRuntime
DebugJpaTool

2—Core Concepts related debugs:

Cluster debugs: (Gives more information about cluster activities and data replication service)

DebugCluster
DebugClusterAnnouncements
DebugClusterFragments
DebugClusterHeartbeats
DebugConfigurationEdit
DebugConfigurationRuntime
DebugConnection
DebugConnectorService
DebugConsensusLeasing
DebugDGCEnrollment
DebugDRSCalls
DebugDRSHeartbeats
DebugDRSMessages
DebugDRSQueues
DebugDRSStateTransitions
DebugDRSUpdateStatus
DebugFailOver
DebugLoadBalancing
DebugHttpSessions
DebugReplication
DebugReplicationDetails
DebugRouting
DebugLeaderElection

Cluster messaging mode (Unicast and Multicast)

DebugUnicastMessaging
DebugClusterFragments
DebugClusterHeartbeats

XML parsing flags (To have more information about xml parsers, schema validations, xml entities)

DebugXMLEntityCacheDebugName:
DebugXMLEntityCacheIncludeClass
DebugXMLEntityCacheIncludeLocation
DebugXMLEntityCacheIncludeName
DebugXMLEntityCacheIncludeTime
DebugXMLEntityCacheOutputStream:
DebugXMLEntityCacheUseShortClass
DebugXMLRegistryDebugLevel
DebugXMLRegistryDebugName
DebugXMLRegistryIncludeClass
DebugXMLRegistryIncludeLocation
DebugXMLRegistryIncludeName
DebugXMLRegistryIncludeTime
DebugXMLRegistryOutputStream:
DebugXMLRegistryUseShortClass

JDBC (Get information about datasources, connection pool, connectivity)

DebugJDBCConn
DebugJDBCDriverLogging
DebugJDBCInternal
DebugJDBCRMI
DebugJDBCSQL

Server internal information: (lifecycle, input output)

DebugSelfTuning
DebugServerLifeCycle
DebugServerMigration
DebugStoreAdmin
DebugStoreIOLogical
DebugStoreIOLogicalBoot
DebugStoreIOPhysical
DebugStoreIOPhysicalVerbose
DebugLibraries

Communication related issues in servers:

DebugMuxer
DebugMuxerConnection
DebugMuxerDetail
DebugMuxerException
DebugMuxerTimeout

Resource information:

JMX:

DebugJMX
DebugJMXCompatibility
DebugJMXCore
DebugJMXDomain
DebugJMXEdit
DebugJMXRuntime

SNMP:

DebugSNMPAgent
DebugSNMPProtocolTCP
DebugSNMPToolkit

Server Protocols:

HTTP:

DebugHttp
DebugHttpLogging
DebugTunnelingConnection
DebugTunnelingConnectionTimeout

IIOP:

DebugIIOP
DebugIIOPConnection
DebugIIOPMarshal
DebugIIOPNaming
DebugIIOPOTS
DebugIIOPReplacer
DebugIIOPSecurity
DebugIIOPStartup
DebugIIOPTransport
DebugIIOPTunneling

JNDI related information of resources:

DebugJNDI
DebugJNDIFactories
DebugJNDIResolution

Windows service:

DebugPathSvc
DebugPathSvcVerbose
beasvc -debug “SERVICE NAME”

3– JMS

Basic JMS: (includes information about queues, topics, persistence stores, configurations)

DebugJMSAME
DebugJMSBackEnd
DebugJMSBoot
DebugJMSCDS
DebugJMSCommon
DebugJMSConfig
DebugJMSDispatcher
DebugJMSDistTopic
DebugJMSDurableSubscribers
DebugJMSFrontEnd
DebugJMSJDBCScavengeOnFlush
DebugJMSLocking
DebugJMSMessagePath
DebugJMSModule
DebugJMSPauseResume
DebugJMSStore
DebugJMST3Server
DebugJMSWrappers

SAF:

DebugSAFAdmin
DebugSAFLifeCycle
DebugSAFManager
DebugSAFMessagePath
DebugSAFReceivingAgent
DebugSAFSendingAgent
DebugSAFStore
DebugSAFTransport
DebugSAFVerbose
DebugJMSSAF

Messaging Bridge:

DebugMessaging
DebugMessagingBridgeRuntime
DebugMessagingBridgeRuntimeVerbose
DebugMessagingBridgeStartup
DebugMessagingKernel
DebugMessagingKernelBoot

Resource Adapter:

DebugRA
DebugRAConnEvents
DebugRAConnections
DebugRADeployment
DebugRALifecycle
DebugRALocalOut
DebugRAParsing
DebugRAPoolVerbose
DebugRAPooling
DebugRASecurityCtx
DebugRAWork
DebugRAWorkEvents
DebugRAXAin
DebugRAXAout
DebugRAXAwork

4– JTA (XA and NON-XA)

DebugJTA2PC
DebugJTA2PCStackTrace
DebugJTAAPI
DebugJTAGateway
DebugJTAGatewayStackTrace
DebugJTAHealth
DebugJTAJDBC
DebugJTALLR
DebugJTALifecycle
DebugJTAMigration
DebugJTANaming
DebugJTANamingStackTrace
DebugJTANonXA
DebugJTAPropagate
DebugJTARMI
DebugJTARecovery
DebugJTARecoveryStackTrace
DebugJTAResourceHealth
DebugJTAResourceName
DebugJTATLOG
DebugJTATransactionName
DebugJTAXA
DebugJTAXAStackTrace

5– Security

Basic security (SSL, Authentication, authorization, auditing, keystores, roles, policies)

DebugSSL
DebugSecurityAdjudicator
DebugSecurityAtn
DebugSecurityAtz
DebugSecurityAuditor
DebugSecurityCertPath
DebugSecurityCredMap
DebugSecurityEEngine
DebugSecurityEncryptionService
DebugSecurityJACC
DebugSecurityJACCNonPolicy
DebugSecurityJACCPolicy
DebugSecurityKeyStore
DebugSecurityPasswordPolicy
DebugSecurityPredicate
DebugSecurityRealm
DebugSecurityRoleMap
DebugSecuritySSL
DebugSecuritySSLEaten
DebugSecurityService
DebugSecurityUserLockout

SAML:

DebugSecuritySAML2Atn
DebugSecuritySAML2CredMap
DebugSecuritySAML2Lib
DebugSecuritySAML2Service
DebugSecuritySAMLAtn
DebugSecuritySAMLCredMap
DebugSecuritySAMLLib
DebugSecuritySAMLService

6– WLDF (Includes watches, harvester, other modules):

DebugDiagnosticAccessor
DebugDiagnosticArchive
DebugDiagnosticArchiveRetirement
DebugDiagnosticCollections
DebugDiagnosticContext
DebugDiagnosticFileArchive
DebugDiagnosticImage
DebugDiagnosticInstrumentation
DebugDiagnosticInstrumentationActions
DebugDiagnosticInstrumentationConfig
DebugDiagnosticInstrumentationEvents
DebugDiagnosticInstrumentationWeaving
DebugDiagnosticInstrumentationWeavingMatches
DebugDiagnosticJdbcArchive
DebugDiagnosticLifecycleHandlers
DebugDiagnosticQuery
DebugDiagnosticWatch
DebugDiagnosticWlstoreArchive
DebugDiagnosticsHarvester
DebugDiagnosticsHarvesterData
DebugDiagnosticsHarvesterMBeanPlugin
DebugDiagnosticsHarvesterTreeBeanPlugin
DebugDiagnosticsModule

You can also login to the admin console, go to the particular Server, Debugs tab, Expand weblogic, and enable Debugs flags.

5 comments

  1. Congrats Divya on your first post!!
    Good Work.. looking forward to more and more posts from u!!

  2. I would love to use these but not having much luck. Set a bunch of them in my JAVA_OPTIONS and then started my Weblogic 9.2 server but not seeing any extra logging? Am I missing something?

    1. Hi,

      The debug logging goes into the server logs directly. Check the server logs for the debug statements.

      Try to set the debug as below.

      set JAVA_OPTIONS=%SAVE_JAVA_OPTIONS% -Dweblogic.Debug.DebugSecurityATN=true -Dweblogic.Debug.DebugSecurityAtz=true

      You can also check the server log to verify whether the DEBUG flags are getting picked up or not.

      The debug statements would like below.

      Alternatively you can set the debug flags from the console, just select the server –> Debug tab –> Enable the required debug flags.

      Please let us know how it goes.

      Regards,
      Anandraj

  3. Hello,

    Thank you very much for this share.
    To show debug info choosed with flags, the server log severity must be at debug level (propety Server > Logging tab > General > Advanced > Minimum severity to log > choose Debug).

    Regards,

Comments are closed.