Quantcast
Channel: GlassFish Related Items on Java.net
Viewing all articles
Browse latest Browse all 1091

restart one web application programmatically from another web application

$
0
0

Hi, All
I plan to restart one web application B from another web application A programatically. Both of them are under the same instance. The Application Web A is essentially a tiny part of AdminConsole to manage application B.

This functionality is already provided by AdminConsole. But I do not want to expose AdminConsole to Administrator. Moreover, I found that I can only successfully restart application B in two attempts. After the first attempt(redeployment), the application failed restarting and dispappear from the AdminConsole.

I guess I need to use the code in deployment-admin.jar. How can I reuse those code in a web application?

Thanks

-jason


Viewing all articles
Browse latest Browse all 1091

Trending Articles