WebSphere-Modify WAS Datasource Attributes Dynamically
Some WAS Datasource attributes can be modified dynamically without restarting the server.
Using the following command to change the attributes
(1) get the datasource id
set ds [$AdminControl queryNames type=DataSource,name=Datasource1, process=server1,*]
(2) change the datasource minimum connections from default value 1 to 0
$AdminControl setAttribute $ds minConnections 0
(3) get the minimum connections
$AdminControl getAttribute $ds minConnections
(4) list all datasource attributes and its operations
$Help attributes $ds
$Help operations $ds
(5) show the data source connection pool content
$AdminControl invoke $ds showPoolContents
About this entry
You’re currently reading “WebSphere-Modify WAS Datasource Attributes Dynamically,” an entry on WebSphere Cloud
- Published:
- December 21, 2010 / 4:14 PM
- Category:
- Uncategorized
- Tags:
No comments yet
Jump to comment form | comment rss [?] | trackback uri [?]