Bugs item #706494, was opened at 2003-03-19 12:07 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=706494&group_id=22866
Category: JBossServer Group: v3.0 Rabbit Hole Status: Closed Resolution: Invalid Priority: 5 Submitted By: Dan Ciarniello (dciarnie) Assigned to: Scott M Stark (starksm) Summary: InitialContext missing jndi.properties entries Initial Comment: OS: Win2K JDK: 1.3.1 The only entries in conf/jndi.properties that are loaded into an InitialContext are javax.naming.factory.initial, java.naming.provider.url and java.naming.factory.url.pkgs. Any other entries are ignored. To test: 1. Add some extra entries to jndi.properties. 2. In an entity bean or a message bean, create an InitialContext and print out its environment. The only entries that are printed out are the ones named above; the extras are not. Note: Using the jmx console to list the system properties shows that all entries in the jndi.properties are loaded into the system property space; they are simply not loaded into the InitialContext. ---------------------------------------------------------------------- >Comment By: Dan Ciarniello (dciarnie) Date: 2003-03-19 14:55 Message: Logged In: YES user_id=529841 But the javadocs also state that all entries in all application resource files (i.e. all files named jndi.properties in the classpath) are also loaded into the Context's environment which is then inherited by other contexts. Does conf/jndi.properties not qualify as an application resource? ---------------------------------------------------------------------- Comment By: Scott M Stark (starksm) Date: 2003-03-19 14:39 Message: Logged In: YES user_id=175228 The only properites loaded into the InitialContext env from a jndi.properties file are the standard properties listed in the Context and LdapContext interface javadocs. For some legacy reason which is no longer valid, the jndi.properties are loaded into the system properties map by our naming service. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=706494&group_id=22866 ------------------------------------------------------- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
