Sunday Jul 13, 2008
Monday Jul 07, 2008
By malkit on Jul 07, 2008
Often times things work fine for Single Instance App Server, but when the same application is put on cluster mode, the results are not as expected. For glassfish, the steps I use for enabling the debugger for cluster mode is slightly from non-cluster mode. Also, there is one extra manual step involved to make the debugger work.
First for Clustered Glassfish, you can easily enable the debugger using the Admin Web GUI. Here are the steps involved. (for the purposes of illustration cluster name and instance name is assumed to be cluster1 and instance-ONE)
- Log on to Admin GUI (http://<server>:4848/index.jsf).
- Navigate to Configurations -> cluster1-config -> JVM Settings
- On the General Tab, Enable the Debug Check Box and for the Debug Options Text Box remove the port number. Leave it blank (Figure 1).
- Shutdown node agent (asadmin stop-node-agent)
- Go to domain.xml for the cluster instance (\\openesb\\glassfish\\nodeagents\\cluster1-nodeagent\\instance-ONE\\config) and enable the debug-enabled flag to true for the cluster1-config (Figure 2).
- Start the node agent (asadmin start-node-agent) and look for the debug port in the server log (Figure 3). The server log will print the port to use.
|Figure 1||Figure 2|
Malkit works in software development at Oracle, Inc. working in Oracle Business Process Manager, part of Oracle Fusion Middleware. Malkit came to Oracle through Sun Microsystems acquisition, living and working in Los Angeles, California.
- Funny world of Improv
- Finding Missing Value
- Kth Order Statistics/Partial ordering – Using Tournament Algorithm (optimized)
- Finding Kth Minimum (partial ordering) – Using Tournament Algorithm
- Finding Second Minimum with REPEATING elements in array
- Finding Second Minimum element in an Array
- Oracle SOA Suite - BPEL to JMS JDeveloper Project
- Euler Problem 18 and 67
- My First Scratch (Golf)
- Crazy week of Hikes - 8 Days, 5 hikes, 44 miles, 13,000 feet elevation gain