Posts

Monitoring Tools

Java VisualVM Java VisualVM is a new monitoring and profiling tool for troubleshooting Java applications It incorporates various technologies, including jvmstat and JMX, as well as CPU and memory profiling, to provide one easy-to-use integrated visualization tool  Developers can rapidly create their own extensions using a public API, and may share them with the community on a central repository Display local and remote Java applications Display application configuration and runtime environment Monitor application memory consumption and runtime behavior Monitor application threads Profile application performance or analyze memory allocation (Local applications only) Create and display thread dumps Create and browse heap dumps Analyze core dumps Analyze applications offline Get additional plugins contributed by the community Write and share your own plugins JConsole Launch a GUI to monitor and manage Java applications and Java VMs on a local or remote...

Troubleshooting Tips on SolarisOS /Linux and windows for weblogic

Hung,Deadlocked, Looping Process Post-Mortem Diagnostics,Memory Leaks Monitoring OtherFunctions. Hung, Deadlocked, or Looping Process ·      Print thread stack for all Java threads: o    Control-Break o    jstack  pid ·    Detect deadlocks: o    Request deadlock detection:       JConsole tool, Threads tab o    Print information on deadlocked threads:         Control-Break o    Print lock information for a process:        jstack -l  pid ·     Get a heap histogram for a process: o    Start Java process with -XX:+PrintClassHistogram, then Control-Break o    jmap -histo  pid ·      Dump Java heap for a process in binary format to file: o...

Weblogic Trouble Shooting issues(Application /URL is not working)

Trouble shoot issue for Application down: When any of ur client comes up saying Application is not working need to access the Application URL from our side.  If we get the following errors in accessing application.  Page can’t display error. Blank Page error. Redirection error: If the application is move to another a server 503 error If file is not found in app server then we get 404 error pages. 403 if user is not authorized person(forbidden) NSAPI (back end not available) Network (TCP/IP) error. Packets lost error: Packets are lost while data being transferred from one server. Intermittent failure of application. Access logs,Error logs (web Server-Apache/Tomcat/IIS) Access logs (app server weblogic/Jboss/Websphere) Need to disable the option show friendly urls in the internet explorer. Ping  can be used to check the response is coming from application server. Connection between the app and database server can be chec...

List of the commands for Weblogic for interview

1. How to set the Class Path? WL-Home\servers\bin SetwlsEnv.cmd (windows) WL-Home\servers\bin SetwlsEnv.sh (Unix) 2. How to set Domain? WL-Home\servers\bin SetDomainEnv.cmd(windows) WL-Home\servers\bin SetDomainEnv.sh(Unix) 3.How to increase WLS Memory? set minimum and maximum to same size $ Java ...-ms32m -mx32m      -> it will allocate 32 megabytes. :Xms2048m - Xmx2048m 4. How to increase Permgenspace ? Increase the max permgen space    -XX :Maxpermsize=256m  (default =64m) 5.How to Enable verboseGC? Java_Options = -"Xverbose:Memory,gcreport,gcpause- xverbosetimestamp" 6.How to Enable core dump? sun JVM;  -xx:+ShowMessageBoxOnError Jrockit JVM: -Djrockit.WaitOnError  Windows 7.How  to check whether server is listening on the  specified port number or not? telnet <IP> <Port> Ex: telnet 199.129.212.1 8080 8.How to check server is alive or not? Ping <IP> Ex: Ping 199.129.212.1 9.How to start Managed Server Independen...

OutOfMemoryError in SOA

Oracle SOA Suite, while powerful, is not immune to memory issues. One of the most common and disruptive errors administrators face is the  java.lang.OutOfMemoryError . Let's break down what it means, why it happens, and how to tackle it—without the copy-paste tech lingo. What Does  OutOfMemoryError  Mean? Imagine your SOA server like a workspace. It can only hold so much stuff before it gets cluttered. If you keep piling in data, background tasks, and logs without cleaning up or expanding the room, eventually it crashes under the weight. That crash in Java terms is:  OutOfMemoryError . It’s the JVM’s way of telling you: “I’ve run out of memory, and I can’t go on.” There are different flavors of this error depending on  where  the memory is exhausted: Heap Space  – The general area for object allocation is full. PermGen / Metaspace  – Class metadata storage is exhausted. GC Overhead  – Too much time is spent on garbage collection, but memory i...

Interview Questions for Security-OWSM

1)  When we need to secure our services? Security only require when we expose our services to external world. 2)  How we implement security in SOA Suite tool?  We use OWSM to implement security in SOA Suite tool. 3) What is OWSM?  OWSM stands for Oracle Web Service Manager. Oracle Web Services Manager offers a comprehensive and easy-to-use solution for policy management and security of service infrastructure. It is a standalone platform for securing and managing access to web services. 4)  Do we need to install OWSM?  Yes, we need to check OWSM option while creating a domain so that we can use predefine policies. 5) How we can add OWSM policies to SOA Composite?  We can add OWSM policies to SOA composites by following ways. 1. Through policy annotations at design time using JDeveloper 2. Via the Administration Console at runtime 3. Via Fusion Middleware Control or WLST 6)  How we categories the policies? We categories policies t...

Interview Questions Error Handling-1

1)Error/Fault?   Error or Fault means when we didn’t receive expected response. 2) Types of faults in SOA Suite tool ?.  We have fault into two categories. 1. Business Faults 2. Technical Faults 3) Business Fault?  faults are related to business scenarios. These errors are thrown explicitly in code by us. 4)  Technical Fault? Has part of technical Fault ,generally receive connectivity errors under technical faults. 5) Can we define our own faults?  Yes, In SOA Suite tool we can  define our own faults , we generally created fault for business fault scenario where we explicitly throw error. 6) Steps  to follow to create custom error?  Follow below steps to generate custom error. 1. Define XML structure for fault message. 2. Create message based on that XML structure in WSDL. 3. Associate that message in WSDL operation. 7)  Difference between Remote /Binding fault?  We receive remote fault when we have con...