Friday, April 3, 2009

Useful Unix scripts

find files with size greater than 1GB:
find /ednpdtu3/u01/pipe -type f -size +1048576

Weblogic and Debug Flags for Transactions

digging in the weblogic.jdbc.jta.DataSource code, the weblogic.jdbcx.base.BaseXAResource, weblogic.transaction.internal.XAServerResourceInfo etc you can see that these flags are used to determine what should be logged:

JTAXA (DebugJTAXA)
JTAXAStackTrace (DebugJTAXAStackTrace)
JTA2PC (DebugJTA2PC)
JTARecovery (not important IMHO) (DebugJTARecovery)
JTAResourceHealth (DebugJTAResourceHealth)

all the JTA flags are:

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

Thursday, April 2, 2009

Weblogic and Threads

for those who have missed the event, Weblogic doesn't have any more the concept of configurable Execute Queues for threads.
Instead, we have a single Thread Pool, and the different Work Manager will poach threads from it.

More on this topic:

http://edocs.bea.com/wls/docs100/ConsoleHelp/pagehelp/Corecoreserverservermonitorthreadstitle.html