Installing virtual member manager
Virtual member manager is installed as a WebSphere® system application during the installation of WebSphere Application Server. See the WebSphere Application Server documentation for installation instructions.
You can optionally deploy the virtual member manager service EJB and the compatibility EJB onto a target. Run the following wsadmin commands to deploy the EJB.
$AdminApp install app_server_root/systemApps/wim.ear {-appname wim -server dmgr -systemApp}
$AdminApp install app_server_root/systemApps/wim.ear {-appname wim -node node1 -server server1 -systemApp}
$AdminApp install app_server_root/systemApps/wim.ear {-appname wim -cluster cluster1 -systemApp}
$AdminApp install app_server_root/installableApps/wimperdomain.ear
{-appname wimperdomain -BindJndiForEJBNonMessageBinding
{{wim.ejb WIMService wimejb.jar,META-INF/ejb-jar.xml
ejbdomain1/com/ibm/websphere/wim/ejb/WIMServiceHome}}
-MapModulesToServers {{wim.ejb wimejb.jar,META-INF/ejb-jar.xml
WebSphere:cell=myCell,node=myNode,server=server1}} -systemApp}
This procedure enables you to call virtual member manager APIs through EJB for a specific domain. Only users with the required access roles for virtual member manager APIs or superusers in that domain can call the respective APIs.
Limitation: If a virtual member manager EJB is deployed on a managed node, it results in failure of configuration, schema, or file registry update operations.
See the wsadmin command documentation for "$AdminApp install" in the reference section of the WebSphere information center for the complete command syntax information.
Examples
$AdminApp install app_server_root/systemApps/wim.ear {-appname wim -cell MyCell -cluster mycluster -systemApp}
$AdminApp install app_server_root/systemApps/wim.ear {-appname wim -cell MyCell -server server1 -systemApp}
Uninstalling virtual member manager
wim.ear
. To uninstall
wim.ear
, run the following commands:
$AdminApp uninstall wim {-cell myCell -node myNode -server dmgr}
$AdminConfig save