Test Connectivity with Weblogic to Database server

Hi All,

Weblogic server provides two very handy utilities to test/ping the connectivity.
1. Client to Weblogic server
2. Weblogic to Database server

And it proves to very helpful the time when you are facing lots of problem with the connectivity vice versa.

1. Test Client to Weblogic
Set the weblogic environment using setWLSEnv.cmd(windows) or setWLSenv.sh(Unix)
Run the below command
java weblogic.Admin -adminurl t3://localhost:6001 -username weblogic -password weblogic PING

OUTPUT

2. Test Weblogic to Database
Set the weblogic environment using setWLSEnv.cmd(windows) or setWLSenv.sh(Unix)

Run the below Command
java utils.dbping ORACLE_THIN DB_USER DB_PASSWORD 127.0.0.1:1521:MY_SID01

OUTPUT

Hope this helps.


Thanks
R Vashi

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s