Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000058 [Resin] minor always 03-28-05 00:00 03-28-05 00:00
Reporter ferg View Status public  
Assigned To
Priority urgent Resolution no change required  
Status closed   Product Version 3.0.12
Summary 0000058: InitialContext lookup
Description RSN-49
Prashant Khanwale

cxt = new InitialContext(props)

cxt.lookup("foo/bar");

Additional Information
Attached Files

- Relationships

- Notes
(0000061)
ferg
03-28-05 00:00

(from Prashant Khanwale)

 I just figured this out. I was supplying a java.util.Properties constructed using default properties. Now if you look up a propertiy, it is OK, but if you use it as a Hashtable, it ignores the default properties. Since the naming API requires a hastable, Resin uses the properties I supplied as a Hashtable , finds nothing inside it (correctly) and gives me its own context. So I do not think this is an issue with Resin. This is a problem with the Properties class. Thank you for your time. You might want to post this on your FAQ's to help others who might be in my situation.
 

- Issue History
Date Modified Username Field Change
03-28-05 00:00 ferg New Issue


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker