diff --git a/base/ca/shared/webapps/ca/WEB-INF/web.xml b/base/ca/shared/webapps/ca/WEB-INF/web.xml
index 8d55f258552..ba184ee92bb 100644
--- a/base/ca/shared/webapps/ca/WEB-INF/web.xml
+++ b/base/ca/shared/webapps/ca/WEB-INF/web.xml
@@ -3,43 +3,6 @@
Certificate Authority
-
-
-
- org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap
-
-
-
- resteasy.servlet.mapping.prefix
- /rest
-
-
-
- resteasy.role.based.security
- true
-
-
-
- resteasy.resource.method-interceptors
-
- org.jboss.resteasy.core.ResourceMethodSecurityInterceptor
-
-
-
-
- Resteasy
- org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher
-
- javax.ws.rs.Application
- org.dogtagpki.server.ca.rest.CAApplication
-
-
-
-
- Resteasy
- /rest/*
-
-
Account Services
diff --git a/base/ca/src/main/java/org/dogtagpki/server/ca/rest/CAApplication.java b/base/ca/src/main/java/org/dogtagpki/server/ca/rest/CAApplication.java
index 19ad67d64cb..12fd4a50378 100644
--- a/base/ca/src/main/java/org/dogtagpki/server/ca/rest/CAApplication.java
+++ b/base/ca/src/main/java/org/dogtagpki/server/ca/rest/CAApplication.java
@@ -3,6 +3,7 @@
import java.util.LinkedHashSet;
import java.util.Set;
+import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
import org.dogtagpki.server.rest.ACLInterceptor;
@@ -19,6 +20,7 @@
import org.dogtagpki.server.rest.SessionContextInterceptor;
import org.dogtagpki.server.rest.UserService;
+@ApplicationPath("/rest")
public class CAApplication extends Application {
public static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(CAApplication.class);
diff --git a/base/kra/shared/webapps/kra/WEB-INF/web.xml b/base/kra/shared/webapps/kra/WEB-INF/web.xml
index cc5eb7f7006..8d5c76d9ee5 100644
--- a/base/kra/shared/webapps/kra/WEB-INF/web.xml
+++ b/base/kra/shared/webapps/kra/WEB-INF/web.xml
@@ -547,44 +547,6 @@
admin
-
-
-
-
- org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap
-
-
-
- resteasy.servlet.mapping.prefix
- /rest
-
-
-
- resteasy.role.based.security
- true
-
-
-
- resteasy.resource.method-interceptors
-
- org.jboss.resteasy.core.ResourceMethodSecurityInterceptor
-
-
-
-
- Resteasy
- org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher
-
- javax.ws.rs.Application
- org.dogtagpki.server.kra.rest.KRAApplication
-
-
-
-
- Resteasy
- /rest/*
-
-
kraserver
/server
diff --git a/base/kra/src/main/java/org/dogtagpki/server/kra/rest/KRAApplication.java b/base/kra/src/main/java/org/dogtagpki/server/kra/rest/KRAApplication.java
index 4a6b84ea77e..fa3970e2cb5 100644
--- a/base/kra/src/main/java/org/dogtagpki/server/kra/rest/KRAApplication.java
+++ b/base/kra/src/main/java/org/dogtagpki/server/kra/rest/KRAApplication.java
@@ -3,6 +3,7 @@
import java.util.LinkedHashSet;
import java.util.Set;
+import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
import org.dogtagpki.server.rest.ACLInterceptor;
@@ -18,6 +19,7 @@
import org.dogtagpki.server.rest.SessionContextInterceptor;
import org.dogtagpki.server.rest.UserService;
+@ApplicationPath("/rest")
public class KRAApplication extends Application {
public static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(KRAApplication.class);
diff --git a/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml b/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml
index 06437c052ff..f8be9c55bb1 100644
--- a/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml
+++ b/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml
@@ -446,41 +446,6 @@
admin
-
- org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap
-
-
-
- resteasy.servlet.mapping.prefix
- /rest
-
-
-
- resteasy.role.based.security
- true
-
-
-
- resteasy.resource.method-interceptors
-
- org.jboss.resteasy.core.ResourceMethodSecurityInterceptor
-
-
-
-
- Resteasy
- org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher
-
- javax.ws.rs.Application
- org.dogtagpki.server.ocsp.rest.OCSPApplication
-
-
-
-
- Resteasy
- /rest/*
-
-
ocspacl
/acl
diff --git a/base/ocsp/src/main/java/org/dogtagpki/server/ocsp/rest/OCSPApplication.java b/base/ocsp/src/main/java/org/dogtagpki/server/ocsp/rest/OCSPApplication.java
index 27b62f3d06d..837f88da74b 100644
--- a/base/ocsp/src/main/java/org/dogtagpki/server/ocsp/rest/OCSPApplication.java
+++ b/base/ocsp/src/main/java/org/dogtagpki/server/ocsp/rest/OCSPApplication.java
@@ -3,6 +3,7 @@
import java.util.LinkedHashSet;
import java.util.Set;
+import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
import org.dogtagpki.server.rest.ACLInterceptor;
@@ -17,6 +18,7 @@
import org.dogtagpki.server.rest.SessionContextInterceptor;
import org.dogtagpki.server.rest.UserService;
+@ApplicationPath("/rest")
public class OCSPApplication extends Application {
public static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(OCSPApplication.class);
diff --git a/base/server-webapp/src/main/java/org/dogtagpki/server/rest/PKIApplication.java b/base/server-webapp/src/main/java/org/dogtagpki/server/rest/PKIApplication.java
index f3f71024d7c..db7d5e18f7d 100644
--- a/base/server-webapp/src/main/java/org/dogtagpki/server/rest/PKIApplication.java
+++ b/base/server-webapp/src/main/java/org/dogtagpki/server/rest/PKIApplication.java
@@ -21,8 +21,10 @@
import java.util.LinkedHashSet;
import java.util.Set;
+import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
+@ApplicationPath("/rest")
public class PKIApplication extends Application {
private Set