[infinispan-commits] Infinispan SVN: r2364 - in branches/4.2.x/server/rest/src/main/webapp: WEB-INF and 1 other directory.

infinispan-commits at lists.jboss.org infinispan-commits at lists.jboss.org
Tue Sep 14 10:47:14 EDT 2010


Author: manik.surtani at jboss.com
Date: 2010-09-14 10:47:13 -0400 (Tue, 14 Sep 2010)
New Revision: 2364

Modified:
   branches/4.2.x/server/rest/src/main/webapp/WEB-INF/web.xml
   branches/4.2.x/server/rest/src/main/webapp/index.html
Log:
[ISPN-645] (Default web.xml for REST server has the wrong param-name for configuration property)

Modified: branches/4.2.x/server/rest/src/main/webapp/WEB-INF/web.xml
===================================================================
--- branches/4.2.x/server/rest/src/main/webapp/WEB-INF/web.xml	2010-09-14 13:29:41 UTC (rev 2363)
+++ branches/4.2.x/server/rest/src/main/webapp/WEB-INF/web.xml	2010-09-14 14:47:13 UTC (rev 2364)
@@ -21,7 +21,7 @@
 
       <!-- specify your cache configuration file -->
       <init-param>
-         <param-name>infinispan.configuration</param-name>
+         <param-name>infinispan.config</param-name>
          <param-value>infinispan.xml</param-value>
       </init-param>
 

Modified: branches/4.2.x/server/rest/src/main/webapp/index.html
===================================================================
--- branches/4.2.x/server/rest/src/main/webapp/index.html	2010-09-14 13:29:41 UTC (rev 2363)
+++ branches/4.2.x/server/rest/src/main/webapp/index.html	2010-09-14 14:47:13 UTC (rev 2364)
@@ -42,7 +42,7 @@
 			<h4>
                 Configuration</h4>                                    <!-- class="proj_define"  FOR BOX EFFECT -->
 <p>
-    Out of the box, Infinispan will use its LOCAL mode cache. To set a custom configuration, create an infinispan config file (xml) and set the PATH to it in your web.xml file, under the key <b>infinispan.configuration</b>.  See the sample web.xml file for details.  The value should be a path to your config file. Please note that the REST server only allows interaction with either the default cache named as "___defaultcache" or one of the named caches in the configuration file. This is because the REST server starts default and pre-defined caches on startup in order to provide a more consistent behaivour. So, if you don't pass any configuration file, you'll only be able to interact with the default cache. To interact with more caches, pass a configuration file with the desired named caches.
+    Out of the box, Infinispan will use its LOCAL mode cache. To set a custom configuration, create an infinispan config file (xml) and set the PATH to it in your web.xml file, under the key <b>infinispan.config</b>.  See the sample web.xml file for details.  The value should be a path to your config file. Please note that the REST server only allows interaction with either the default cache named as "___defaultcache" or one of the named caches in the configuration file. This is because the REST server starts default and pre-defined caches on startup in order to provide a more consistent behaivour. So, if you don't pass any configuration file, you'll only be able to interact with the default cache. To interact with more caches, pass a configuration file with the desired named caches.
 		</div><div style="clear: both;"></div><div id="commonContent"  >
 
     <h5>



More information about the infinispan-commits mailing list