Troubleshooting WebSphere Application Server Start/Stop Issues



Similar documents
IBM Software Services for Lotus Consulting Education Accelerated Value Program. Log Files IBM Corporation

WebSphere Application Server V6: Diagnostic Data. It includes information about the following: JVM logs (SystemOut and SystemErr)

Common Memory Issues in WebSphere Application Server

SSL Certificate and Key Management

Getting Started with WebSphere Application Server v8.5 Version to Version Migrations

Tuning WebSphere Application Server ND 7.0. Royal Cyber Inc.

Configuring Secure Socket Layer (SSL) for use with BPM 7.5.x

Tool - 1: Health Center

How to use IBM HeapAnalyzer to diagnose Java heap issues

SW5706 Application deployment problems

EVALUATION ONLY. WA2088 WebSphere Application Server 8.5 Administration on Windows. Student Labs. Web Age Solutions Inc.

Setting Up SSL From Client to Web Server and Plugin to WAS

PASS4TEST 専 門 IT 認 証 試 験 問 題 集 提 供 者

This document summarizes the steps of deploying ActiveVOS on the IBM WebSphere Platform.

Installing IBM Websphere Application Server 7 and 8 on OS4 Enterprise Linux

InfoSphere Master Data Management operational server v11.x OSGi best practices and troubleshooting guide

DMZ Secure Proxy Environment setup for IP Forwarding

Best Practices for Installing and Configuring IBM WebSphere Network Deployment Before Running SAS Deployment Wizard

Installing and Configuring DB2 10, WebSphere Application Server v8 & Maximo Asset Management

Managing and Replacing WebSphere 6.1 SSL Certificates

WebSphere Business Monitor V7.0: Clustering Single cluster deployment environment pattern

WebSphere v5 Administration, Network Deployment Edition

A Step-By-Step Guide to Configuring a WebSphere Portal v8.0 Cluster

TCP Packet Tracing Part 1

ITG Software Engineering

Deploying Intellicus Portal on IBM WebSphere

Also on the Performance tab, you will find a button labeled Resource Monitor. You can invoke Resource Monitor for additional analysis of the system.

IBM Operational Decision Manager Version 8 Release 5. Getting Started with Business Rules

Determine the process of extracting monitoring information in Sun ONE Application Server

SOA Software: Troubleshooting Guide for WebSphere Application Server Agent

Exam Name: IBM InfoSphere MDM Server v9.0

A Step-By-Step Guide to Configuring a WebSphere Portal v Dynamic Cluster

WebSphere Business Monitor V7.0 Installation and stand-alone server profile creation

Configuring IBM WebSphere Application Server 7.0 for Web Authentication with SAS 9.3 Web Applications

Securing SAS Web Applications with SiteMinder

IBM WEBSPHERE LOAD BALANCING SUPPORT FOR EMC DOCUMENTUM WDK/WEBTOP IN A CLUSTERED ENVIRONMENT

escan SBS 2008 Installation Guide

Deploying Physical Solutions to InfoSphere Master Data Management Server Advanced Edition v11

<Insert Picture Here> Managing WebLogic Server Lifecycle

Install guide for Websphere 7.0

IBM InfoSphere MDM Server v9.0. Version: Demo. Page <<1/11>>

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

Enterprise Content Management System Monitor. Server Debugging Guide CENIT AG Bettighofer, Stefan

WebSphere Business Monitor

Using AppMetrics to Handle Hung Components and Applications

Symantec ApplicationHA Agent for WebSphere Application Server Configuration Guide

DEPLOYING EMC DOCUMENTUM BUSINESS ACTIVITY MONITOR SERVER ON IBM WEBSPHERE APPLICATION SERVER CLUSTER

FioranoMQ 9. High Availability Guide

Sample copy. Introduction To WebLogic Server Property of Web 10.3 Age Solutions Inc.

WebSphere Plug-in Session Affinity and Load Balancing

1 of 24 7/26/2011 2:48 PM

User Guide for VMware Adapter for SAP LVM VERSION 1.2

Syslog Monitoring Feature Pack

WebSphere Business Monitor V7.0 Configuring a remote CEI server

Configuring ADOBE LIVECYCLE ES4 Application Server Cluster using WEBSPHERE

TDA - Thread Dump Analyzer

Configuring IBM HTTP Server as a Reverse Proxy Server for SAS 9.3 Web Applications Deployed on IBM WebSphere Application Server

IBM WebSphere Partner Gateway V6.2.1 Advanced and Enterprise Editions

WebLogic Server System Administration Top Ten Fundamentals Concepts Session ID# 11579

PassGuide.C Q

THE BUSY DEVELOPER'S GUIDE TO JVM TROUBLESHOOTING

Cúram Deployment Guide for WebSphere Application Server

vcenter Hyperic Configuration Guide

WebLogic Server: Installation and Configuration

EXPRESSCLUSTER X for Windows Quick Start Guide for Microsoft SQL Server Version 1

Oracle Enterprise Performance Management System IBM WebSphere Manual Deployment Guide

How To Improve Performance On An Asa 9.4 Web Application Server (For Advanced Users)

Weblogic Server Administration Top Ten Concepts. Mrityunjay Kant, AST Corporation Scott Brinker, College of American Pathologist

Witango Application Server 6. Installation Guide for Windows

Web services with WebSphere Studio: Deploy and publish

WEBLOGIC ADMINISTRATION

BPM Scheduling with Job Scheduler

Monitoring IBM WebSphere extreme Scale (WXS) Calls With dynatrace

Rational Application Developer Performance Tips Introduction

JBoss Cookbook: Secret Recipes. David Chia Senior TAM, JBoss May 5 th 2011

Troubleshooting Citrix MetaFrame Procedures

for Networks Installation Guide for the application on the server July 2014 (GUIDE 2) Lucid Rapid Version 6.05-N and later

defacto installation guide

Course Description. Course Audience. Course Outline. Course Page - Page 1 of 5

for Networks Installation Guide for the application on a server September 2015 (GUIDE 2) Memory Booster version 1.3-N and later

What is Aconex Local Copy? Controlling Access to a Datastore Hardware Requirements Software Requirements Installing Aconex Local Copy Troubleshooting

Chapter 2 SYSTEM MANAGEMENT. SYS-ED/ Computer Education Techniques, Inc.

IBM Connections 4.5 Integration From Zero to Social Hero

IBM WebSphere Application Server Version 7.0

IBM Tivoli WebSphere App Studio V3.2. Version: Demo. Page <<1/9>>

Actualtests.C questions

How To Integrate IIS6 and Apache Tomcat

Dell UPS Local Node Manager USER'S GUIDE EXTENSION FOR MICROSOFT VIRTUAL ARCHITECTURES Dellups.com

IBM WebSphere Server Administration

WebSphere Server Administration Course

AGENDA. Introduction About Weblogic Server Weblogic Server Administration Top Ten Concepts Q & A

Application. 1.1 About This Tutorial Tutorial Requirements Provided Files

Using Logon Agent for Transparent User Identification

Novell Access Manager

System Administration Guide

Enhanced Connector Applications SupportPac VP01 for IBM WebSphere Business Events 3.0.0

Configuring IBM WebSphere Application Server 6.1 to Support SAS 9.2 Web Applications

Spectrum Technology Platform. Version 9.0. Spectrum Spatial Administration Guide

Transcription:

IBM Software Group Troubleshooting WebSphere Application Server Start/Stop Issues Ganesan Karuppaiah & Kumaran Nathan WebSphere Application Server L2 Support kganesh@us.ibm.com, kumaran@us.ibm.com WebSphere Support Technical Exchange

Agenda IBM Software Group Overview Server Start/Stop options Anatomy of a Server Start Introduction to Server logs Troubleshooting Questions and Answers WebSphere Support Technical Exchange 2 of 24

Overview Server Start/Stop options WebSphere Support Technical Exchange 3 of 24

Application Server Start - Different Options From Profile Root Command line <PROFILE_HOME>\bin\startServer server1 From Install Root Command line for AppServer specifying profile name <INSTALL_HOME>\bin\startServer profilename AppSrv01 server1 Windows Start menu Start Programs IBM WebSphere Application Server V7.0 Profiles <Profile> Start the Server If Server was registered as Windows Services Registration using WASService.exe or at the time of creating the profile Control Panel Administrative Tools Services WebSphere Support Technical Exchange 4 of 24

Starting/Stopping Dmgr and Node Agent Start/Stop Deployment Manager from AppServer Install Root startmanager -profilename <dmgr Profile Name> startserver - profilename <dmgr Profile Name> dmgr stopmanager -profilename <dmgr Profile Name> stopserver - profilename < <dmgr Profile Name> dmgr Start/Stop Node from AppServer Install Root startnode -profilename <Managed Node Profile Name> startserver - profilename <Managed Node Profile Name> nodeagent stopnode -profilename <Node Profile Name> stopserver - profilename <Managed Node Profile Name> nodeagent Administrative Console DMGR and Nodeagent START - NO For running Node Agent re-start and stop YES Additional start/stop options for Windows OS From Windows services From Start menu WebSphere Support Technical Exchange 5 of 24

Anatomy of a Server Start WebSphere Support Technical Exchange 6 of 24

What happens when a server is started <PROFILE_HOME>\bin\startServer server1 Two JVMs are actually launched. The first JVM is the Systems Management server launch utility. Launches Application Server specified by <servername> Loads all bootstrap classes, server.xml, serverindex.xml files and construct JVM Arguments. Spawn the second JVM The second JVM is the actual server process specified by <servername> Actual JVM, starts all components. Ex WebContainer, W ebcontainer, Security Components and Applications. WebSphere Support Technical Exchange 7 of 24

What happens when a server is stopped <PROFILE_HOME>\bin\stopServer server1 Creates new JVM to read configuration and send message to server to shutdown By default, the stopserver utility does not return control to the command line until the server completes shut down Unless invoked with the nowait option, it will not return until the server is fully stopped. User ID and password required to stop a secure Application Server WebSphere Support Technical Exchange 8 of 24

Introduction to Server logs WebSphere Support Technical Exchange 9 of 24

Introduction to Server logs Process logs Native code, including Java virtual machines (JVM), might write data to these process streams. By default, the stdout and stderr streams are redirected to log files at application server startup. By default, these files are stored as profile_root /logs/server_name/native_stderr.log and profile_root /logs/server_name/native_stdout.log. Java virtual machine (JVM) log settings The System.out log is used to monitor the health of the running application server. The System.err log contains exception stack trace information that is useful when performing problem analysis. startserver and stopserver creates respective logs at profile_root/logs/server_name/ The first failure data capture (FFDC) log file saves information that is generated from a processing failure. profile_root /logs/ffdc WebSphere Support Technical Exchange 10 of 24

Troubleshooting WebSphere Support Technical Exchange 11 of 24

Failure with error in SystemOut.log SystemOut.log file is created Do you see open for e-business message? Is there any exception in the log file? No Exception and No open for e-business message? variables.xml, virtualhosts.xml FileNotFound exceptions can be ignored. Most of the warning messages can be ignored including FFDC messages. WebSphere Support Technical Exchange 12 of 24

No SystemOut.log created WebSphere Support Technical Exchange 13 of 24

Troubleshooting Cont.. SystemOut.log file is not created Look for native_stderr.log and native_stdout.log file If you find any exception or warning message, most likely JVM classpath, classes folder or generic JVM argument causing the problem. Start the server server with trace option to get more information in the startserver.log file. WebSphere Support Technical Exchange 14 of 24

Debugging the Server Launcher WebSphere Support Technical Exchange 15 of 24

Debugging the Server Launcher Start the server with script option and then use the launch script to start the server. -script option creates a launch script for server1, does not start the server. startserver server1 script launchserver1.sh Launch Scripts can be used to start the server (JVM) Reduces start time by not parsing configuration files If the JVM settings are changed, create a new launch script WebSphere Support Technical Exchange 16 of 24

When Server Start /Stop Hangs WebSphere Support Technical Exchange 17 of 24

When Server Start/Stop Hangs What may look like a hang? Deadlock, Infinite loop and Resource issue (LDAP, Database ) How to isolate the problem? If it is a start issue, disable all the application and try to start just the AppServer JVM Disabling an Enterprise Application from starting when WebSphere Application Server starts http://www-01.ibm.com/support/docview.wss?uid=swg21140292 If it is auto shutdown then enabling com.ibm.ws.runtime.dumpshutdown will generate threaddump automatically. Process to get a thread dump or javacore during server shutdown http://www-01.ibm.com/support/docview.wss?&uid=swg21304559 What do we need? Javacore on IBM JVMTM Generated by signal Summarizes the state of the JVM Troubleshooting Guide for WebSphere Application Server -Performance http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg27005324 Hung thread detection policy 6.1.0.19 onwards http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/ com.ibm.websphere.nd.doc/info/ae/ae/ttrb_confighangdet.html WebSphere Support Technical Exchange 18 of 24

Common issues Port Conflict. Invalid or wrong argument in genericjvmargument. Missing or Corrupted config files. Running server as non-root user. Permission issues. Server hang - > related to database or HAManager. Security related exceptions. Too many open files. File descriptor/ulimit. Windows Service issues. Classloader or Runtime issues. WebSphere Support Technical Exchange 19 of 24

When All Else Fails WebSphere Support Technical Exchange 20 of 24

When All Else Fails MustGather: Application Server, dmgr, and nodeagent start and stop problems http://www.ibm.com/support/docview.wss? rs=180&uid=swg21201014 WebSphere Support Technical Exchange 21 of 24

Additional WebSphere Product Resources Learn about upcoming WebSphere Support Technical Exchange webcasts, and access previously recorded presentations at: http://www.ibm.com/software/websphere/support/supp_tech.html Discover the latest trends in WebSphere Technology and implementation, participate in technically-focused briefings, webcasts and podcasts at: http://www.ibm.com/developerworks/websphere/community/ Join the Global WebSphere User Group Community: http://www.websphere.org Access key product show-me demos and tutorials by visiting IBM Education Assistant: http://www.ibm.com/software/info/education/assistant View a webcast replay with step-by-step instructions for using the Service Request (SR) tool for submitting problems electronically: http://www.ibm.com/software/websphere/support/d2w.html Sign up to receive weekly technical My Notifications emails: http://www.ibm.com/software/support/einfo.html WebSphere Support Technical Exchange 22 of 24

We Want to Hear From You! Tell us about what you want to learn Suggestions for future topics Improvements and comments about our webcasts We want to hear everything you have to say! Please send your suggestions and comments to: wsehelp@us.ibm.com WebSphere Support Technical Exchange 23 of 24

Questions and Answers WebSphere Support Technical Exchange 24 of 24