JMX Custom Console MapWebModToVH ?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Application Server > JMX Custom Console MapWebModToVH ?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    JMX Custom Console MapWebModToVH ?  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-09-05 12:50 PM

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 no
w like to specify a given virtual host for my web modules.

In jacl, no problem it works with "MapWebModToVH". But using the JMX API, th
ere are no infos. I saw that "AppConstants" provides one called "MapWebModTo
VHTask" 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);





[ Post a follow-up to this message ]



    Re: JMX Custom Console MapWebModToVH ?  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-17-05 11:20 PM

Hello,

I'm still seeking help on this issue. Any feedback welcomed.

Thank you in advance.

Best regards,

Cyrille





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:33 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register