Example wsadmin scripts for WebSphere Application Server V5.0
 Technote (troubleshooting)
 
Problem(Abstract)
How do you create wsadmin scripts using JACL for administration tasks in WebSphere@ V5.0.?
 
Resolving the problem
Depending on how you search the IBM@ website you may miss these useful scripts available from the WebSphere Developers Domain Library:
http://www7b.software.ibm.com/wsdd/library/samples/SampleScripts.html

Developer's Domain provides practical how-to information and lets you can rate the usefulness of the information provided.

  1. ex1.jacl: Create and modify a server, load an application onto the server, and start the server.
  2. ex2.jacl: Stop a server on a given node, uninstall an application, and remove the server from the configuration.
  3. ex3.jacl: Create a server group on the server, and start the server (requires Network Deployment configuration).
    NOTE: This requires Network Deployment configuration.
  4. ex4.jacl: Invoke useful problem-determination actions involving traces and thread dump.
  5. ex5.jacl: Invoke various application install commands.
  6. ex6.jacl: Invoke commands that produce a short summary of configuration and runtime information about the WebSphere installation.
  7. ex7.jacl: Creation JDBCProvider object using a template.
  8. ex8.jacl: Demonstrate J2C Security configuration by installing a J2CResourceAdapter and creating a J2CConnectionFactory.
  9. ex9.jacl: Create a JDBCProvider, DataSource and CMPConnectorFactory objects.
  10. ex10.jacl: Create use a variable for a URLProvider object.
  11. ex11.jacl: Set port numbers kept in the serverindex.xml file.
  12. ex12.jacl: Update configuration attributes that are presented in lists or lists of objects.
  13. ex13.jacl: List all enterprise applications installed on a specific application server.
    NOTE: Due to the size this one is in a separate .zip file.

NOTE: There are also a set of security sample scripts available at this site.

 
Related information
WebSphere Developers Domain
 
wsadminExampleScripts[1].zip
wsadminEx13[1].zip
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Administrative Console (all non-scripting)
Operating system(s): Windows
Software version: 5.0
Software edition:
Reference #: 1121441
IBM Group: Software Group
Modified date: Apr 16, 2006