|
Home > Archive > WebSphere Application Server > November 2005 > JMX Custom Console MapWebModToVH ?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
JMX Custom Console MapWebModToVH ?
|
|
|
| Hello,
I'm working on a personal WAS 5.1 console, using the
provided documentation on MBeans (which is really thin).
I can successfully deploy an application on a selected server but I would now like to specify a given virtual host for my web modules.
In jacl, no problem it works with "MapWebModToVH". But using the JMX API, there are no infos. I saw that "AppConstants" provides one called "MapWebModToVHTask" that I tried below withour success...
Which "AppConstants" & syntax should be used to specify a virtual host for a web module ?
Thanks in advance.
Best regards,
Cyrille
// Mapping web modules to server & virtual host
Hashtable module2server = new Hashtable();
Hashtable mapwebtovhost = new Hashtable();
StringTokenizer modules = new StringTokenizer(webmoduleList, ",");
while(modules.hasMoreTokens()) {
String webmodule = modules.nextToken();
module2server.put(webmodule+".war+WEB-INF/web.xml","WebSphere:cell="+cell+",node="+node+",server="+server);
mapwebtovhost.put(webmodule+".war+WEB-INF/web.xml",webmoduleHost);
}
options.put(AppConstants.APPDEPL_MODULE_TO_SERVER, module2server);
options.put(AppConstants.MapWebModToVHTask, mapwebtovhost);
| |
|
| Hello,
I'm still seeking help on this issue. Any feedback welcomed.
Thank you in advance.
Best regards,
Cyrille
|
|
|
|
|