Friday, September 30, 2011

Web logic : Importance of Web logic.jar and Weblogic.Admin Command

 

web logic.Server is a java class with main method which is packed in web logic.jar , web logic server starts like any java class.

There are several ways of starting weblogic server and each way calls the main method of this class by virtual machine.

Some Gems of Weblogic.Admin Command

This command is use for administration purpose.

After setting environment  you can run following command where url , username , password is compulsory and then you can give command.

java weblogic.Admin -url localhost:7001 -username weblogic -password welcome1  [COMMAND]

COMMAND – There are many commands  PING , CONNECT , VERSION , HELP , START , SHUTDOWN , FORCE SHUTDOWN , RESUME , SERVERLOG , THREAD_DUMP

Most of command are self explanatory.

SERVERLOG – Display server log file for specific server

THREAD_DUMP –  Display status of thread of weblogic server that are running.

LIST – List JNDI tree

No comments:

Post a Comment