The Hotspot compiler does not have an ExitOnOutOfMemoryError as the JRockit compiler does. You can simulate it on linux with something like what is below. We start with our test code that will ensure an out of memory condition… import…
Month: December 2012
Finding memory metrics in JBOSS
I can never remember how to do this, so this is just a placeholder for exposing memory utilization in JBOSS. c:\jboss-eap-5.1.2\jboss-eap-5.1\jboss-as\bin>twiddle.bat -u admin -p admin get jboss.system:type=ServerInfo | findstr Memory MaxMemory=3579183104 TotalMemory=3087007744 FreeMemory=2852457960 c:\jboss-eap-5.1.2\jboss-eap-5.1\jboss-as\bin>
Printing counts of page requests
Simple post today, this just strips the request parameter string of a URL recorded in the Apache style log, and groups the times each base page was requested in sorted order. -bash-4.1$ grep -v login /opt/jboss/versions/jboss-eap-5.1/jboss-as/server/q_ecm_01/log/localhost_access_log.2012-12-12.log | grep jsp |…
ATG custom property descriptor to change data upon retrieving and persisting property
While coming up with a soon to be posted simple example of using the ATG stack to create an order, I found that using the encrypted credit number stored in the DPS_USER_CREDIT_CARD table was not usable upon checkout, as it…
Add BCC admin user with SQL
I was having an issue using my AD account to log into the BCC in the load test environment. In production, we have deleted the admin account for security reasons. This forces users to use their LDAP credentials, which is…
Quick way to trace a session on a server
If you identify an Oracle database process consuming a high amount of CPU, or want to trace it for any reason, you can simply run the following script and pass the PID of the offending process when requested. begin for…