| Summary: | NamingService alias NameService does not work | ||
|---|---|---|---|
| Product: | JacORB | Reporter: | Joonas Haapsaari <joonash> |
| Component: | Naming Service | Assignee: | Gerald Brose <gerald.brose> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 1.4.1 | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Attachments: | Fixed NameServer.java -file | ||
Created attachment 26 [details]
Fixed NameServer.java -file
|
The predefined corbaloc alias for JacORB Naming Service is not functional. This means that trying to locate the NS with the corbaloc 'corbaloc::127.0.0.1:2323/NameService' won't work. Furthermore, you cannot override this single alias in the config file either as it is hard-coded. It seems that in class org.jacorb.naming.NameServer there is some garbage before the target in the line putting the mapping to the properties. This is easily fixed: Replace (on line 218): props.put("jacorb.orb.objectKeyMap.NameService", < "%01StandardNS/NameServer%2DPOA/_root"); with props.put("jacorb.orb.objectKeyMap.NameService", -> "StandardNS/NameServer%2DPOA/_root");