[SJN-48] Can/t use System properties to initialise the JNDI | |
| Status: | Closed |
| Project: | Simple-JNDI |
| Component/s: | |
| Affects Version/s: | 0.8 |
| Fix Version/s: | 0.8.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Henri Yandell | Assignee: | Henri Yandell |
| Resolution: | Fixed | ||
| Environment: | |||
| Description |
| But if I do the same but using the system environment (see below) it doesn't work: root and delimiter are set to defaults. System.setProperty("java.naming.factory.initial","org.osjava.jndi.PropertiesFactory"); System.setProperty("org.osjava.jndi.root","classpath://config"); System.setProperty("org.osjava.jndi.delimiter","/"); Context ctxt = new InitialContext(); |
| Comment by bayard [ Sun, 18 Jan 2004 17:17:40 -0800 (PST) ] |
| This was from a comment on the mail list from a user; Gary Howard. Unit tests continue to pass and one of the examples is changed to use the -D method. |