May 2024
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Categories

May 2024
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Enabling/Disabling the Debug flags through WLST script – Weblogic

he Debugging flags will help us to enable/disable the debugging for different modules in weblogic.
This can done in different ways.

JVM start arguments:
Add the flags with -D to the server start up script
-DDebugEjbCaching=true

Through Admin Console:
Environment–>Servers–><<Server>>–>Debug
Select the required flags and click on Enable/Disable.

 

weblogicssrrerew-1

 

WLST Script:
EnableORDisableDFlags.py

adminURL=’t3://localhost:8000′
adminUserName=’weblogic’
adminPassword=’welcome1′
connect(adminUserName, adminPassword, adminURL)

edit()
startEdit()
serverNames=cmo.getServers()
for name in serverNames:
cd(‘/Servers/’+name.getName()+’/ServerDebug/’+name.getName())
set(‘DebugSSL’,’true’)
print ‘Modified the DFlag for ‘+name.getName()
save()
activate()
disconnect()

Execute the script.
cd %WLS_HOME%\common\bin
wlst.sh EnableORDisableDFlags.py

Debug flags for the Reference:

DebugAbbreviation                           
DebugAppContainer                           
DebugAsyncQueue                             
DebugBootstrapServlet                       
DebugClassRedef                             
DebugClassSize                             
DebugCluster                               
DebugClusterAnnouncements                   
DebugClusterFragments                       
DebugClusterHeartbeats                     
DebugConfigurationEdit                     
DebugConfigurationRuntime                   
DebugConnection                             
DebugConsensusLeasing                       
DebugDGCEnrollment                         
DebugDRSCalls                               
DebugDRSHeartbeats                         
DebugDRSMessages                           
DebugDRSQueues                             
DebugDRSStateTransitions                   
DebugDRSUpdateStatus                       
DebugDeploy                                 
DebugDeployment                             
DebugDeploymentService                     
DebugDeploymentServiceInternal             
DebugDeploymentServiceStatusUpdates         
DebugDeploymentServiceTransport             
DebugDeploymentServiceTransportHttp         
DebugDescriptor                             
DebugDiagnosticAccessor                     
DebugDiagnosticArchive                     
DebugDiagnosticArchiveRetirement           
DebugDiagnosticCollections                 
DebugDiagnosticContext                     
DebugDiagnosticDataGathering               
DebugDiagnosticFileArchive                 
DebugDiagnosticImage                       
DebugDiagnosticInstrumentation             
DebugDiagnosticInstrumentationActions       
DebugDiagnosticInstrumentationConfig       
DebugDiagnosticInstrumentationEvents       
DebugDiagnosticInstrumentationWeaving       
DebugDiagnosticInstrumentationWeavingMatches
DebugDiagnosticJdbcArchive                 
DebugDiagnosticLifecycleHandlers           
DebugDiagnosticQuery                       
DebugDiagnosticWatch                       
DebugDiagnosticWlstoreArchive               
DebugDiagnosticsHarvester                   
DebugDiagnosticsHarvesterData               
DebugDiagnosticsHarvesterMBeanPlugin       
DebugDiagnosticsHarvesterTreeBeanPlugin     
DebugDiagnosticsModule                     
DebugDomainLogHandler                       
DebugEjbCaching                             
DebugEjbCmpDeployment                       
DebugEjbCmpRuntime                         
DebugEjbCompilation                         
DebugEjbDeployment                         
DebugEjbInvoke                             
DebugEjbLocking                             
DebugEjbMdbConnection                       
DebugEjbPooling                             
DebugEjbSecurity                           
DebugEjbSwapping                           
DebugEjbTimers                             
DebugEmbeddedLDAP                           
DebugEmbeddedLDAPLogToConsole               
DebugEmbeddedLDAPWriteOverrideProps         
DebugEventManager                           
DebugFailOver                               
DebugFileDistributionServlet               
DebugHttp                                   
DebugHttpLogging                           
DebugHttpSessions                           
DebugIIOP                                   
DebugIIOPConnection                         
DebugIIOPMarshal                           
DebugIIOPNaming                             
DebugIIOPOTS                               
DebugIIOPReplacer                           
DebugIIOPSecurity                           
DebugIIOPStartup                           
DebugIIOPTransport                         
DebugIIOPTunneling                         
DebugJ2EEManagement                         
DebugJAXPIncludeClass                       
DebugJAXPIncludeLocation                   
DebugJAXPIncludeName                       
DebugJAXPIncludeTime                       
DebugJAXPUseShortClass                     
DebugJDBCConn                               
DebugJDBCDriverLogging                     
DebugJDBCInternal                           
DebugJDBCONS                               
DebugJDBCRAC                               
DebugJDBCRMI                               
DebugJDBCSQL                               
DebugJMSAME                                 
DebugJMSBackEnd                             
DebugJMSBoot                               
DebugJMSCDS                                 
DebugJMSCommon                             
DebugJMSConfig                             
DebugJMSDispatcher                         
DebugJMSDistTopic                           
DebugJMSDurableSubscribers                 
DebugJMSFrontEnd                           
DebugJMSJDBCScavengeOnFlush                 
DebugJMSLocking                             
DebugJMSMessagePath                         
DebugJMSModule                             
DebugJMSPauseResume                         
DebugJMSSAF                                 
DebugJMSStore                               
DebugJMST3Server                           
DebugJMSWrappers                           
DebugJMSXA                                 
DebugJMX                                   
DebugJMXCompatibility                       
DebugJMXCore                               
DebugJMXDomain                             
DebugJMXEdit                               
DebugJMXRuntime                             
DebugJNDI                                   
DebugJNDIFactories                         
DebugJNDIResolution                         
DebugJTA2PC                                 
DebugJTA2PCStackTrace                       
DebugJTAAPI                                 
DebugJTAGateway                             
DebugJTAGatewayStackTrace                   
DebugJTAHealth                             
DebugJTAJDBC                               
DebugJTALLR                                 
DebugJTALifecycle                           
DebugJTAMigration                           
DebugJTANaming                             
DebugJTANamingStackTrace                   
DebugJTANonXA                               
DebugJTAPropagate                           
DebugJTARMI                                 
DebugJTARecovery                           
DebugJTARecoveryStackTrace                 
DebugJTAResourceHealth                     
DebugJTATLOG                               
DebugJTAXA                                 
DebugJTAXAStackTrace                       
DebugJpaDataCache                           
DebugJpaEnhance                             
DebugJpaJdbcJdbc                           
DebugJpaJdbcSchema                         
DebugJpaJdbcSql                             
DebugJpaManage                             
DebugJpaMetaData                           
DebugJpaProfile                             
DebugJpaQuery                               
DebugJpaRuntime                             
DebugJpaTool                               
DebugLeaderElection                         
DebugLibraries                             
DebugLoadBalancing                         
DebugLoggingConfiguration                   
DebugMessaging                             
DebugMessagingBridgeRuntime                 
DebugMessagingBridgeRuntimeVerbose         
DebugMessagingBridgeStartup                 
DebugMessagingKernel                       
DebugMessagingKernelBoot                   
DebugMuxer                                 
DebugMuxerConnection                       
DebugMuxerDetail                           
DebugMuxerException                         
DebugMuxerTimeout                           
DebugPathSvc                               
DebugPathSvcVerbose                         
DebugRA                                     
DebugRAClassloader                         
DebugRAConnEvents                           
DebugRAConnections                         
DebugRADeployment                           
DebugRALifecycle                           
DebugRALocalOut                             
DebugRAParsing                             
DebugRAPoolVerbose                         
DebugRAPooling                             
DebugRASecurityCtx                         
DebugRAWork                                 
DebugRAWorkEvents                           
DebugRAXAin                                 
DebugRAXAout                               
DebugRAXAwork                               
DebugRC4                                   
DebugRSA                                   
DebugReplication                           
DebugReplicationDetails                     
DebugRouting                               
DebugSAFAdmin                               
DebugSAFLifeCycle                           
DebugSAFManager                             
DebugSAFMessagePath                         
DebugSAFReceivingAgent                     
DebugSAFSendingAgent                       
DebugSAFStore                               
DebugSAFTransport                           
DebugSAFVerbose                             
DebugSNMPAgent                             
DebugSNMPExtensionProvider                 
DebugSNMPProtocolTCP                       
DebugSNMPToolkit                           
DebugSSL                                   
DebugScaContainer                           
DebugSecurityAdjudicator                   
DebugSecurityAtn                           
DebugSecurityAtz                           
DebugSecurityAuditor                       
DebugSecurityCertPath                       
DebugSecurityCredMap                       
DebugSecurityEEngine                       
DebugSecurityEncryptionService             
DebugSecurityJACC                           
DebugSecurityJACCNonPolicy                 
DebugSecurityJACCPolicy                     
DebugSecurityKeyStore                       
DebugSecurityPasswordPolicy                 
DebugSecurityPredicate                     
DebugSecurityRealm                         
DebugSecurityRoleMap                       
DebugSecuritySAML2Atn                       
DebugSecuritySAML2CredMap                   
DebugSecuritySAML2Lib                       
DebugSecuritySAML2Service                   
DebugSecuritySAMLAtn                       
DebugSecuritySAMLCredMap                   
DebugSecuritySAMLLib                       
DebugSecuritySAMLService                   
DebugSecuritySSL                           
DebugSecuritySSLEaten                       
DebugSecurityService                       
DebugSecurityUserLockout                   
DebugSelfTuning                             
DebugServerLifeCycle                       
DebugServerMigration                       
DebugServerStartStatistics                 
DebugStoreAdmin                             
DebugStoreIOLogical                         
DebugStoreIOLogicalBoot                     
DebugStoreIOPhysical                       
DebugStoreIOPhysicalVerbose                 
DebugStoreXA                               
DebugStoreXAVerbose                         
DebugTunnelingConnection                   
DebugTunnelingConnectionTimeout             
DebugURLResolution                         
DebugWANReplicationDetails                 
DebugWTCConfig                             
DebugWTCCorbaEx                             
DebugWTCGwtEx                               
DebugWTCJatmiEx                             
DebugWTCTDomPdu                             
DebugWTCUData                               
DebugWTCtBridgeEx                           
DebugWebAppIdentityAssertion               
DebugWebAppModule                           
DebugWebAppSecurity                         
DebugWorkContext                           
DebugXMLEntityCacheIncludeClass             
DebugXMLEntityCacheIncludeLocation         
DebugXMLEntityCacheIncludeName             
DebugXMLEntityCacheIncludeTime             
DebugXMLEntityCacheUseShortClass           
DebugXMLRegistryIncludeClass               
DebugXMLRegistryIncludeLocation             
DebugXMLRegistryIncludeName                 
DebugXMLRegistryIncludeTime                 
DebugXMLRegistryUseShortClass

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>