diff --git a/jackrabbit-standalone-components/src/main/resources/WEB-INF/web.xml b/jackrabbit-standalone-components/src/main/resources/WEB-INF/web.xml
index e00199c57..8fa8b438d 100644
--- a/jackrabbit-standalone-components/src/main/resources/WEB-INF/web.xml
+++ b/jackrabbit-standalone-components/src/main/resources/WEB-INF/web.xml
@@ -170,10 +170,10 @@
-
- RMI
- org.apache.jackrabbit.servlet.remote.RemoteBindingServlet
-
+
+
+
+
@@ -186,10 +186,10 @@
JCRWebdavServer
/server/*
-
- RMI
- /rmi
-
+
+
+
+
diff --git a/jackrabbit-webapp/src/main/webapp/WEB-INF/templates/bootstrap.properties b/jackrabbit-webapp/src/main/webapp/WEB-INF/templates/bootstrap.properties
index ca373785f..046a7a9d3 100644
--- a/jackrabbit-webapp/src/main/webapp/WEB-INF/templates/bootstrap.properties
+++ b/jackrabbit-webapp/src/main/webapp/WEB-INF/templates/bootstrap.properties
@@ -23,9 +23,10 @@ repository.home=jackrabbit/repository
repository.name=jackrabbit.repository
# RMI Settings
-rmi.enabled=true
-rmi.port=0
-rmi.host=localhost
+rmi.enabled=false
+
+#rmi.port=0
+#rmi.host=localhost
# If the URI is not specified, it's composed as follows:
#rmi.uri=//${rmi.host}:${rmi.port}/${repository.name}
diff --git a/jackrabbit-webapp/src/main/webapp/WEB-INF/web.xml b/jackrabbit-webapp/src/main/webapp/WEB-INF/web.xml
index bfcf019d5..b809f2bcb 100644
--- a/jackrabbit-webapp/src/main/webapp/WEB-INF/web.xml
+++ b/jackrabbit-webapp/src/main/webapp/WEB-INF/web.xml
@@ -363,10 +363,10 @@
-
- RMI
- org.apache.jackrabbit.servlet.remote.RemoteBindingServlet
-
+
+
+
+
@@ -383,10 +383,10 @@
JCRWebdavServer
/server/*
-
- RMI
- /rmi
-
+
+
+
+
diff --git a/jackrabbit-webapp/src/main/webapp/remote.jsp b/jackrabbit-webapp/src/main/webapp/remote.jsp
index 1eedcfb1f..139502242 100644
--- a/jackrabbit-webapp/src/main/webapp/remote.jsp
+++ b/jackrabbit-webapp/src/main/webapp/remote.jsp
@@ -23,15 +23,21 @@ String base =
base = Text.encodeIllegalXMLCharacters(base);
%>
- The content repository within this web application is made available
+ The content repository within this web application may be made available
to remote clients through
RMI
and the jackrabbit-jcr-rmi component.
- The remote repository stub is available both in the RMI registry
- (one is started automatically by this web application if not already running)
- and as a direct HTTP download. The default URLs for accessing the remote
+ To access a remote repository stub, it needs to be registered in the RMI registry.
+ By default, this is not started automatically by this web application. To change that,
+ use the related properties in the bootstrap.properties file which are commented out
+ in the template file.
+ You can also make the stub available as a direct HTTP download by enabling the
+ RemoteBindingServlet and the corresponding servlet mapping, which are commented out
+ in the web.xml template.
+
+ The default URLs for accessing the remote
repository are: