-<GlobalNamingResources ...>
+<GlobalNamingResources>
...
<Resource name="sharedDataSource"
global="sharedDataSource"
diff --git a/webapps/docs/jndi-datasource-examples-howto.xml b/webapps/docs/jndi-datasource-examples-howto.xml
index b7165d52f..e005c0db1 100644
--- a/webapps/docs/jndi-datasource-examples-howto.xml
+++ b/webapps/docs/jndi-datasource-examples-howto.xml
@@ -206,8 +206,7 @@ resource to your Context.
For example:
-<Context path="/DBTest" docBase="DBTest"
- reloadable="true" crossContext="true">
+<Context>
<!-- maxActive: Maximum number of dB connections in pool. Make sure you
configure your mysqld max_connections large enough to handle
@@ -411,8 +410,7 @@ The Context element should look something like the following.
-<Context path="/someApp" docBase="someApp"
- crossContext="true" reloadable="true">
+<Context>
<Resource name="jdbc/postgres" auth="Container"
type="javax.sql.DataSource" driverClassName="org.postgresql.Driver"
diff --git a/webapps/docs/manager-howto.xml b/webapps/docs/manager-howto.xml
index 571b8ba5b..81ae2b016 100644
--- a/webapps/docs/manager-howto.xml
+++ b/webapps/docs/manager-howto.xml
@@ -71,7 +71,7 @@ Manager web application Context to a new host install the
$CATALINA_BASE/conf/[enginename]/[hostname] folder. Here is an
example:
@@ -162,8 +162,7 @@ could be restricted by the remote IP address or host by adding a
RemoteAddrValve or RemoteHostValve. Here is
an example of restricting access to the localhost by IP address: