jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From unc...@apache.org
Subject svn commit: r124473 - /incubator/jackrabbit/trunk/xdocs/firststeps.xml
Date Fri, 07 Jan 2005 04:00:59 GMT
Author: uncled
Date: Thu Jan  6 20:00:58 2005
New Revision: 124473

URL: http://svn.apache.org/viewcvs?view=rev&rev=124473
Log:
fixed first steps example code regading PROVIDER_URL
Modified:
   incubator/jackrabbit/trunk/xdocs/firststeps.xml

Modified: incubator/jackrabbit/trunk/xdocs/firststeps.xml
Url: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/xdocs/firststeps.xml?view=diff&rev=124473&p1=incubator/jackrabbit/trunk/xdocs/firststeps.xml&r1=124472&p2=incubator/jackrabbit/trunk/xdocs/firststeps.xml&r2=124473
==============================================================================
--- incubator/jackrabbit/trunk/xdocs/firststeps.xml	(original)
+++ incubator/jackrabbit/trunk/xdocs/firststeps.xml	Thu Jan  6 20:00:58 2005
@@ -54,6 +54,7 @@
       
       Hashtable env = new Hashtable();
       env.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.jackrabbit.core.jndi.provider.DummyInitialContextFactory");
+      env.put(Context.PROVIDER_URL, "localhost");
       InitialContext ctx = new InitialContext(env);
       
       RegistryHelper.registerRepository(ctx, "repo", configFile, repHomeDir, true);
@@ -164,6 +165,7 @@
       
       Hashtable env = new Hashtable();
       env.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.jackrabbit.core.jndi.provider.DummyInitialContextFactory");
+      env.put(Context.PROVIDER_URL, "localhost");
       InitialContext ctx = new InitialContext(env);
       
       RegistryHelper.registerRepository(ctx, "repo", configFile, repHomeDir, true);
@@ -278,6 +280,7 @@
 
       Hashtable env = new Hashtable();
       env.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.jackrabbit.core.jndi.provider.DummyInitialContextFactory");
+      env.put(Context.PROVIDER_URL, "localhost");
       InitialContext ctx = new InitialContext(env);
 
       RegistryHelper.registerRepository(ctx, "repo", configFile, repHomeDir, true);

Mime
View raw message