Jacl scripts
Overview
Commandline usage for scripts go something like the following...
wsadmin.sh -username system \ -password password \ -f createcluster.jacl clstrname "node1 node2 ..." svrprefix 1 1See wasmenu.sh for a menu that prompts for parameters and runs some scripts.
Jacl Apps
Admin Scripts
Note: To execute these Jacl scripts, put your jacl commands in a file, for example filename.jacl, and execute by running:
wsadmin.sh -username system -password password -f filename.jacl
- Configure JDBC provider and datasources
wsadmin.sh -username user -password passwd -f set_jdbc.jacl cellname dbuser dbpassword "JDBCname" "DataSourceName" "template" "desc" classpath authDataAliasFor example:
wsadmin.sh -username system -password password -f set_jdbc.jacl cellA wsdev3 dev "NAPXAJDBC" "NAPDATASOURCE" "Oracle JDBC Thin Driver (XA)" "Oracle JDBC Thin Driver (XA)" /usr/local/username/lib/classes12.jar acmeManager/oracleAlias- Configure data source max connections.
wsadmin.sh -username system \ -password password \ -f set_ds_max_conns.jacl- Configure data source custom properties
wsadmin.sh -username system \ -password password \ -f set_ds_custom_properties.jacl- Generate an installation report using display.jacl
wsadmin.sh -username system \ -password \ -f display.jacl- Uninstall an application, run uninstallApp.jacl
wsadmin.sh -username system \ -password \ -f uninstallApp.jacl clustername appName- Display summary information about a WAS installation.
- Create server, modify, load app, start server
- Stop server, uninstall app, remove server
- Setting traces and dumping threads
- Various app install options
- Use a template to create a JDBCProvider and DataSource; modify DataSource
- J2C security; installing J2CResourceAdapter and creating J2CConnectionFactory
- Create JDBCProvider using template; create CMPConnectionFactory
- Create WebSphere variable; create URLProvider and URLs using this variable
- Modify WebSphere ports in the serverindex.xml file.
- Modifying attributes that are lists
- wsadminEx13.jacl
- installapp.py