Tuesday, April 26, 2011

Concurrency Control - Transaction Locking

Transaction isolation can be achieved through locking a resource when it is being accessed.
The two types are Optimistic and pessimistic locking.

Here are few sites with good explanations.
Optimistic vs Pessimistic locking
Strategies for concurrency control


Wednesday, April 20, 2011

Recover Weblogic Password

I happened to lose my weblogic password that I setup a few months earlier.

Since I keep forgetting how to reset/obtain the password, I will use the blog to document it.

The instructions to recover the password can be found here and here.

Location of SerializedSystemIni.dat
- %WL_HOME%\user_projects\domains\base_domain\security

Location of encrypted username and password (boot.properties file)
- %WL_HOME%\user_projects\domains\base_domain\servers\AdminServer\security

Note: There could be multiple SerializedSystemIni.dat and boot.properties file. Point to the correct one.