User: juha
Date: 00/08/27 13:05:32
Modified: webstore/src/org/jboss/zol/webstore/common JNDIContext.java
Log:
webstore for jBoss 2
Revision Changes Path
1.2 +6 -4 zola/webstore/src/org/jboss/zol/webstore/common/JNDIContext.java
Index: JNDIContext.java
===================================================================
RCS file:
/products/cvs/ejboss/zola/webstore/src/org/jboss/zol/webstore/common/JNDIContext.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- JNDIContext.java 2000/05/10 14:30:51 1.1
+++ JNDIContext.java 2000/08/27 20:05:31 1.2
@@ -31,10 +31,12 @@
InitialContext ic = null;
try {
- Hashtable h = new Hashtable();
- h.put(Context.INITIAL_CONTEXT_FACTORY,
- "org.jnp.interfaces.NamingContextFactory");
- ic = new InitialContext(h);
+// Hashtable h = new Hashtable();
+// h.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
+// h.put(Context.PROVIDER_URL, "localhost");
+// h.put(Context.URL_PKG_PREFIXES, "org.jboss.naming");
+
+ ic = new InitialContext(/*h*/);
} catch (Exception e) {
e.printStackTrace();
}