stage is the worst term for this. Seriously. stage, to me at least, implies a temporary location. I come from a database background, so a staging table is thought of as the location where data is stored prior to being…
Category: Application servers
Weblogic simple Queue publish and subscribe
This is a total rip from the oracle site, but sometimes other sites content changes. As such, I wanted to post it here after I worked through it and enhanced it a bit. I created the queue using the admin…
JBOSS – total CPU time compared to total page response time
I thought this was interesting. By taking the total response time of pages from the access log, you can take the amount of server CPU used and compare it to the total elapsed request time. This works for web servers,…
Determine the number of active sessions from the JBOSS access log
While planning for holiday shopper traffic, we realized that we did not record the number of active sessions at any given time during holiday 2013. To come up with something that would get us close, we wrote what is below…
Automated Weblogic versioned app deployment
We had a need to automate deployments with a versioned app. You can place an entry in the MANIFEST.MF for “Weblogic-Application-Version: v14”, or whatever, or you can dynamically assign it at deployment time. What is below will do the latter…
Weblogic WLST – Accessing OS variables
As with all thing wlst, almost everything you can do in python you can do in wlst. Below is just a simple example of accessing host variables from inside of weblogic. [sa-weblogic@cmhldecomadm01 Middleware]$ export FOO=”BAR” [sa-weblogic@cmhldecomadm01 Middleware]$ ./Oracle_Home/oracle_common/common/bin/wlst.sh Initializing WebLogic…
Getting count of sessions created by minute
In the wake of a flood of 24,000 application server sessions created per minute at the start of Black Friday week, we wanted to share how we calculated how many sessions were created per minute. This can be obtained from…
Interrupting a thread in java
Often, someone will wish to somehow terminate a thread that is causing issues. These issues could be things such as blocking threads that prevent other threads from doing work, or something that is using a lot of CPU. While the…
Adding the session_id to JBOSS and the ATG order repository
We wanted to be able to track the path a shopper took through the initial order creation process in ATG. The IP address is often insufficient for reasons such as a shared internet connection, proxy server, etc. We extended the…
JBOSS – Which threads have a database connection checked out of the pool?
We had an issue in ATG which was eventually traced to deadlocked sessions on checkout, each of which was attempting to decrement inventory for SKU’s in opposite order. In other words, session one wanted to decrement inventory for A and…