Sponsored Content
Top Forums Shell Programming and Scripting Get the STATE of the weblogic instances via shell script. Post 302410493 by joshilalit2004 on Tuesday 6th of April 2010 06:50:58 AM
Old 04-06-2010
Get the STATE of the weblogic instances via shell script.

Can I get the STATE(instance are RUNNING or not and HEALTH is OK or not) of the weblogic instances(Admin and Managed) running on my unix machine via shell script.
Someone told me that it can be done via "weblogic.Admin GETSTATE"....but it is not working for me(might be I am doing something wrong)
Searched the threads but not found any thread related to it.Can someone please help....

What I tried is:
/local/bea/wls92/jdk/bin/java -classpath /home/user/LIB/weblogic.jar weblogic.Admin -url t3://serverSmilieort -username user -password pass GETSTATE

but it is showing me the error as:
Failed to connect to t3://server(I entered server name here)Smilieort(I entered port here): Destination unreachable; nested exception is:
java.io.IOException: Empty server reply; No available router to destination


but when I am doing ping the server shows me as alive and I am able to open the console via the mentioned server and port....

PLEASE HELP!!!!!!!!!!Thanks in advance...
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Weblogic monitoring shell script

HI, I'm new in unix. I would like to know if you have a ready script for monitoring the weblogic and managed servers. I want to have a script that checks the weblogic once in a while if it's up and running. if not running, will send an email to me. any idea? please help me. i will... (4 Replies)
Discussion started by: tungaw2004
4 Replies

2. Shell Programming and Scripting

Script that checks for previous instances running

Hello, I'm trying to write a script that checks for previous instances of the same script which may still be running (this script is scheduled to run every 30 minutes). I want to somehow use the pid from each instance to make sure the previous one isn't running before continuing with my... (5 Replies)
Discussion started by: bd_joy
5 Replies

3. Shell Programming and Scripting

Multiple instances of the job in shell script.

Hi, Please let us know how to create a multiple instances of a job in the shell script. Thanks. Gangegowda K.G (1 Reply)
Discussion started by: Gangegowda
1 Replies

4. Shell Programming and Scripting

Want to have delay in multiple instances of the same shell script

Hello, My goal is to run the same Shell script in a parallel mode. This script will get triggered from different machines and different application teams by some job scheduling tool. They may trigger the process at the same time. so I want to have them in QUEUE ..and release them for execution on... (3 Replies)
Discussion started by: chetan_sonar
3 Replies

5. Shell Programming and Scripting

How can i get the state of weblogic server

Hi, all Now i want write a shell to get the state of weblogic server,and when the Managed Server's state is not ok, after 3 times checking, i will send msg to the system administrator by sms. BTW, my environment is : Linux ,Redhat 5.4 64bit weblogic version: 10.3.3 the count number... (1 Reply)
Discussion started by: wangsk
1 Replies

6. Shell Programming and Scripting

How to run multiple instances of shell script in linux?

How we can run the multiple instances of the script? I need to run the script which I am calling from the below function.I can doit with cron but I don't want to put it in the cron.This cript dploy the build and here I want when the build stage then it should run with multilpe instances of... (6 Replies)
Discussion started by: anuragpgtgerman
6 Replies

7. AIX

Open firmware state to running state

Hi Admins, I am having a whole system lpar in open firmware state on HMC. How can I bring it to running state ? Let me know. Thanks. (2 Replies)
Discussion started by: snchaudhari2
2 Replies

8. Shell Programming and Scripting

Help needed with a shell script for deploying ear file to a weblogic server using WLST

Hi, Please help me through a shell script to run from command prompt using WLST for the below purpose: Automation process: >Check the availability of an application. >Stops the EAR if it already exists in Weblogic Server >Undeploys/Delete the project (EAR file) >Deploys the new ear file... (2 Replies)
Discussion started by: Amulya
2 Replies

9. Shell Programming and Scripting

Shell script to find weblogic home directory

Hi, I am trying to find the weblogic home directory whether it is installed in the Linux box. if it is existing display the weblogic home and the corresponding Java home directory else display message as that wl home does not exist. I already wrote a program but it was not working properly.... (11 Replies)
Discussion started by: spgreddy
11 Replies

10. Shell Programming and Scripting

Korn Shell script in stopped state while running in background

Hi, I want to run a shell script in background . but its going to stopped state $ ksh cat_Duplicate_Records_Removal.ksh & 8975 $ + Stopped (tty output) ksh cat_Duplicate_Records_Removal.ksh & why is this happening? Also could anyone please tell me what is a stopped... (12 Replies)
Discussion started by: TomG
12 Replies
asadmin-shutdown(1AS)						   User Commands					     asadmin-shutdown(1AS)

NAME
asadmin-shutdown, shutdown - brings down the administration server SYNOPSIS
shutdown [--user admin_user][--password admin_password][--host localhost] [--port 4848][--passwordfile filename][--secure|-s] shutdown gracefully brings down the administration server and all the running instances. You must manually start the administration server to bring it up again. OPTIONS
--user administrative user associated for the instance. --password administrative password corresponding to the administrative user. --host host name of the machine hosting the administrative instance. --port administrative port number associated with the administrative host. --passwordfile file containing passwords appropriate for the command (e.g., administrative instance). --secure if true, uses SSL/TLS to communicate with the administrative instance. Example 1: Using the shutdown command asadmin> shutdown --user admin --password adminadmin --host bluestar --port 4848 Waiting for admin server to shutdown... Admin server has been shutdown EXIT STATUS
0 command executed successfully 1 error in executing the command INTERFACE EQUIVALENT
Administration Server page asadmin-start-instance(1AS), asadmin-stop-instance(1AS), asadmin-restart-instance(1AS)asadmin-start-domain(1AS), asadmin-stop-domain(1AS), asadmin-start-appserv(1AS), asadmin-stop-appserv(1AS) J2EE 1.4 SDK March 2004 asadmin-shutdown(1AS)
All times are GMT -4. The time now is 08:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy