Tuesday, 26 July 2011

Differences between Online mode and Offline mode in WLST

The following table shows the major differences between
Offline, Online commands:



WLST Offline WLST Online
1.WLST Offline commands can do: a) Create/modify domain templates b) Create domains c) Extend an existing domains by access and modify the configuration for an offline domain 2. WLST Offline mode commands can’t do: a) View runtime performance data b) Modify security data 1. WLST Online commands can do: a) Change configuration when servers are in RUNNING state b) View runtime data for monitoring various runtime MBeans performances c) Deploy applications targeting to Servers or clusters d) Start and stop servers or cluster members. 2. WLST Online commands can’t do the following: a) Create a new domain (must be offline mode) you can only update an existing domain configuration.
3. Default interactive mode will be in offline mode 3. The offline connect() command changes to online, disconnect() command used to come back to offline. Mostly script mode is useful.
4. Configuring resources like JDBC, JMS can be assigned with assign() command to targets. 4. Configuring resources required set command with Targets as argument and committing the changes with save(), activate() commands.

1 comment: