Skip to content

Commit

Permalink
ARQ-1232 Fixing random "contextRoot must not be null" failures
Browse files Browse the repository at this point in the history
Performs a lookup of all the sub-components in a deployment. This
bypasses the GlassFish RESTful Admin bug since it no longer filters on
servlets alone. The existing codebase in the adapter automatically
discards metadata of components like EJB JARs or StatelessSessionBeans
since it is programmed to look only for WebModules and Servlets to
prepare the HTTPContext.
  • Loading branch information
VineetReynolds committed Dec 4, 2012
1 parent df9c6c6 commit 8101de2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ private NodeAddress runningInstanceFilter(List<NodeAddress> nodeAddressList)
// the REST resource path template to retrieve the list of server instances
private static final String APPLICATION = "/applications/application";
private static final String APPLICATION_RESOURCE = "/applications/application/{name}";
private static final String LIST_SUB_COMPONENTS = "/applications/application/list-sub-components?id={application}&type=servlets";
private static final String LIST_SUB_COMPONENTS = "/applications/application/list-sub-components?id={application}";

public HTTPContext doDeploy(String name, FormDataMultiPart form) {

Expand Down

0 comments on commit 8101de2

Please sign in to comment.