Pages

Test Connectivity with Weblogic to Database server

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



Courtesy:http://rocksolutions.wordpress.com/2010/03/31/test-connectivity-with-weblogic-and-wls-to-database/

2 comments:

  1. I have read your blog its very attractive and impressive. I like it your blog.

    Java Online Training Java EE Online Training Java EE Online Training Java 8 online training Java 8 online training

    Java Online Training from India Java Online Training from India Core Java Training Online Core Java Training Online Java Training InstitutesJava Training Institutes

    ReplyDelete