Add an additional application server (JVM) to WAS 6.1 - Base version

Posted by eichelgartenweg on 12:30 PM with No comments
In "WebSphere WAS 6.1 Base Version" only one application server is available (server1).
Via administrative console an additional server CAN NOT be created.
However there are alternative ways to do this.
1. Use wsadmin command line tool (start it with .../bin/wsadmin.sh(.bat))

1.1 Use following command to define the Node which you want to add an application server
set node [$AdminConfig getid /Node:"NODE NAME"/]
1.2 Use this command to create an application server
$AdminTask createApplicationServer "NODE NAME" {-name "AppServer-Name" –templateName default}
1.3 Save changes with
$AdminConfig save


2. Hack the properties of administrativ console
2.1 Go to \profiles\config\cells\"cell name"\nodes\"node name"\
2.2 Open node-metadata.properties
2.3
Change the property com.ibm.websphere.deployed.features from com.ibm.ws.base_6.0.0.0,
com.ibm.ws.express_6.0.0.0,
com.ibm.ws.j2ee_6.0.0.0,
com.ibm.ws.uddi_6.0.0.0,
com.ibm.ws.wsgateway_6.0.0.0
to
com.ibm.ws.base_6.0.0.0,
com.ibm.ws.express_6.0.0.0,
com.ibm.ws.j2ee_6.0.0.0,
com.ibm.ws.nd_6.0.0.0
,
com.ibm.ws.uddi_6.0.0.0,
com.ibm.ws.wsgateway_6.0.0.0
2.4 Save file and restart servers
2.5 New ApplicationServers can now be created via administrative console

Note: Not all added menu items will work. Some background scripts aren't provided in WAS Base Version (e.g. Add Webservice gateway instance)